create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| #!/bin/sh | |
| # Just copy and paste the lines below (all at once, it won't work line by line!) | |
| # MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
| function abort { | |
| echo "$1" | |
| exit 1 | |
| } | |
| set -e |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| SELECT id,state,command,time,left(replace(info,'\n','<lf>'),120) | |
| FROM information_schema.processlist | |
| WHERE command <> 'Sleep' | |
| AND info NOT LIKE '%PROCESSLIST%' | |
| ORDER BY time DESC LIMIT 50; |
| <?php | |
| class DoMath { | |
| public $var; | |
| public static $boo; | |
| public function addToVar($value) { | |
| // $this->var += $value; | |
| } | |
| <?php | |
| return array( | |
| 'debug' => true, | |
| ); |
| <?php | |
| return array( | |
| 'debug' => true, | |
| ); |
| // Sassy Bootstrap Colors | |
| // | |
| // Hopefully, an easier way to globally update Bootstrap colors from a single color list. | |
| // Nothing ground breaking, but it helps me out when clients request Bootstrap. | |
| // | |
| // Also included is a small function that allows you to use the color names list when building | |
| // custom modules/components as needed. I threw in a few color trumps at the end too, | |
| // so you can override any text or background color with a class. | |
| // | |
| // The best thing to do, if using Bootstrap, is just customize the whole thing from the ground up. But |
| var debug = process.env.NODE_ENV !== "production"; | |
| var webpack = require('webpack'); | |
| module.exports = { | |
| context: __dirname, | |
| devtool: debug ? "inline-sourcemap" : null, | |
| entry: "./js/scripts.js", | |
| output: { | |
| path: __dirname + "/js", | |
| filename: "scripts.min.js" |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm