国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| package main | |
| import ( | |
| "runtime" | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { | |
| // Print our starting memory usage (should be around 0mb) |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| package main | |
| import ( | |
| "context" | |
| "log" | |
| "net/http" | |
| "time" | |
| "github.com/gin-gonic/gin" | |
| ) |
echo 'export PATH="${HOME}/.local/bin:$PATH"' >> ~/.bashrc
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| brew options ffmpeg | |
| brew install ffmpeg \ | |
| --with-chromaprint \ | |
| --with-fdk-aac \ | |
| --with-fontconfig \ | |
| --with-freetype \ | |
| --with-frei0r \ | |
| --with-game-music-emu \ | |
| --with-libass \ |
| vi /etc/environment | |
| add these lines... | |
| LANG=en_US.utf-8 | |
| LC_ALL=en_US.utf-8 |
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
| location ^~ /demo { | |
| alias /var/www/demo/; | |
| autoindex on; | |
| # set to on means use localtime | |
| autoindex_localtime on; | |
| # show size with unit 'MB' instead of 'Byte' | |
| autoindex_exact_size off; | |
| } |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.