#A BADASS list for faster Web Development!
Recently, I decided to organize my bookmarks. So, like a good fellow, I am sharing with you. I hope you enjoy!
Frameworks | Weapons | Checklist | Docs | Community | Learning | For The Win
#A BADASS list for faster Web Development!
Recently, I decided to organize my bookmarks. So, like a good fellow, I am sharing with you. I hope you enjoy!
Frameworks | Weapons | Checklist | Docs | Community | Learning | For The Win
| RUN apt update | |
| RUN apt upgrade -y | |
| RUN apt install -y apt-utils | |
| RUN a2enmod rewrite | |
| RUN apt install -y libmcrypt-dev | |
| RUN docker-php-ext-install mcrypt | |
| RUN apt install -y libicu-dev | |
| RUN docker-php-ext-install -j$(nproc) intl | |
| RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev | |
| RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { | |
| datetimeFormat := "2006-01-02 15:04:05" | |
| timeNow := time.Now().Format(datetimeFormat) // 2009-11-10 23:00:00 (value of Go Playground) |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { | |
| datetimeFormat := "2006-01-02 15:04:05" | |
| today, _ := time.Parse(datetimeFormat, "2017-04-16 23:00:00") |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { | |
| datetimeFormat := "2006-01-02 15:04:05" | |
| now := time.Now() |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { | |
| timeFormat := "15:04:05" | |
| ########## Install NGINX ############## | |
| # Install software-properties-common package to give us add-apt-repository package | |
| sudo apt-get install -y software-properties-common | |
| # Install latest nginx version from community maintained ppa | |
| sudo add-apt-repository ppa:nginx/stable | |
| # Update packages after adding ppa |
| console.log("This is a console.log") | |
| console.warn("This is a console.warn") | |
| console.error("This is a console.error") | |
| console.debug("this is a debug", {name: "fake object that you want debug"}) | |
| console.group("This is a init of console.group") | |
| console.log("This is a item of a console.group in the level 1") |
| module github.com/acme/foo | |
| go 1.12 | |
| require ( | |
| github.com/acme/bar v1.0.0 | |
| ) | |
| replace github.com/acme/bar => /path/to/local/bar |