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
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
I hereby claim:
To claim this, I am signing this object:
| # Installing ClojureScript |
| ```JAVASCRIPT | |
| // notifications.js | |
| var EventEmitter, Notifier, compareLocations, fs, getNewLocation, http, internationalSpaceStation, locationBuffer, notifyUser, pushupdates, updateBuffer; | |
| EventEmitter = require("events").EventEmitter; | |
| http = require("http"); | |
| fs = require("fs"); |
| ```JAVASCRIPT | |
| // music_library.js | |
| var Album, legend, mongoose; | |
| mongoose = require("mongoose"); | |
| mongoose.connect("mongodb://localhost/music_library"); | |
| Album = mongoose.model("Album", { | |
| title: String, |
| ```JAVASCRIPT | |
| // click.js | |
| $(document).ready(function() { | |
| return $("#auth-btn").click(function() { | |
| var signin; | |
| signin = $("#form-template").html(); | |
| return $("#learn-lib").append(signin); | |
| }); | |
| }); |
| ```HTML | |
| <!-- callbacks.html --> | |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Corporate Learning Center</title> |
| //To fetch a branch, you simply need to: | |
| git fetch origin | |
| //This will fetch all of the remote branches for you. With the remote branches | |
| //in hand, you now need to check out the branch you are interested in, giving | |
| //you a local working copy: | |
| git checkout -b test origin/test |
| $> launchctl unload -w ~/Library/LaunchAgents/com.mysql.mysqld.plist | |
| $> /usr/local/Cellar/mysql/5.5.9/bin/mysqld --basedir=/usr/local/Cellar/mysql/5.5.9 --datadir=/usr/local/Cellar/mysql/5.5.9/data --plugin-dir=/usr/local/Cellar/mysql/5.5.9/lib/plugin --log-error=/usr/local/Cellar/mysql/5.5.9/data/errors.err --pid-file=/usr/local/Cellar/mysql/5.5.9/data/pidfile.pid --skip-grant-tables | |
| $> mysql | |
| mysql> UPDATE mysql.user SET Password=PASSWORD('root_password') WHERE User='root'; | |
| mysql> FLUSH PRIVILEGES; | |
| $> kill `cat /usr/local/Cellar/mysql/5.5.9/data/pidfile.pid` |
| # A simple Makefile alternative to using Grunt for your static asset compilation | |
| # | |
| ## Usage | |
| # | |
| # $ npm install | |
| # | |
| # And then you can run various commands: | |
| # | |
| # $ make # compile files that need compiling | |
| # $ make clean all # remove target files and recompile from scratch |