Light Youtube Embed

by Amir Sadeghian Posted on | Javascript

As part of my daily job, I deal with many clients that have their own YouTube channel and use this powerful service for hosting their videos. Clients want to embed their videos on their website. Sometimes they want many videos on the same page.YouTube uses iframe for allowing users to embed videos on their websites….

GoLang Dice Project

by Amir Sadeghian Posted on | Golang

The main goal of this project is to make you more familiar with random in Go programming language. In this project you are going to practice your knowledge in the following topics: If else condition Function definition, function parameter Unix time Random Println To generate a random number in Go, rand from math need to…

Get Shopify products grouped by their collections

by Amir Sadeghian Posted on | Shopify

Shopify is an e-commerce platform that has been built using Ruby on Rails language. If you would like to customize your Shopify store your options are very limited. Shopify has a specific series of objects for every entity. For example, a collection is an object. Collections is another object that contains all collections. In this…

Mixed content problem and a quick way to solve it

by Amir Sadeghian Posted on | Web Development

Did you recently see the following warning message? “Mixed Content: The page at … was loaded over HTTPS, but requested an insecure script … . This request has been blocked; the content must be served over HTTPS. ” or “Blocked loading mixed active content”. These messages are all signs of mixed content. What is mixed…