Remove all stopped containers
$ docker rm $(docker ps -a -q)
Remove all the untagged (<none>) images.
$ docker rmi $(docker images -q --filter "dangling=true")
import { path } from 'path'; | |
import { glob } from 'glob'; | |
import { push } from 'react-router-redux'; | |
export const INCREMENT_CURSOR = 'INCREMENT_CURSOR'; | |
export const DECREMENT_CURSOR = 'DECREMENT_CURSOR'; | |
export const SET_PATH = 'SET_PATH'; | |
export const ADD_ALBUM = 'ADD_ALBUM'; | |
import fs from 'fs'; |
import storage from 'electron-json-storage'; | |
const remote = require('electron').remote; | |
const dialog = remote.require('dialog'); | |
export default class Settings { | |
constructor() { | |
this.pathKey = 'imagesFolder' | |
} | |
resetLocalStorage() { |
import React, { Component, PropTypes } from 'react'; | |
import { connect } from 'react-redux'; | |
import MapFrame from './MapFrame'; | |
import NavBar from './NavBar'; | |
import PostListFrame from './PostListFrame'; | |
import PostViewFrame from './PostViewFrame'; | |
import { fetchAllPosts, queryForBounds, selectPost, unselectPost } from '../actions'; | |
export default class MapApp extends Component { | |
componentDidMount() { |
I hereby claim:
To claim this, I am signing this object:
Revised date: 07/11/2012
Between us [company name] and you [customer name]
We’ll always do our best to fulfil your neelids and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.
#!/usr/bin/env bash | |
#fail on failures :) | |
set -e | |
apt-get -y update | |
# Install dependencies | |
apt-get -y install build-essential git-core curl libxml2-dev libxslt1-dev libreadline-dev libyaml-dev libcurl4-openssl-dev libncurses5-dev libgdbm-dev libffi-dev sqlite3 libsqlite3-dev | |
# Install Ruby 2.1.0 from source |
// Chris Coyier's MD5 Library | |
// http://css-tricks.com/snippets/javascript/javascript-md5/ | |
var MD5 = function (string) { | |
function RotateLeft(lValue, iShiftBits) { | |
return (lValue<<iShiftBits) | (lValue>>>(32-iShiftBits)); | |
} | |
function AddUnsigned(lX,lY) { | |
var lX4,lY4,lX8,lY8,lResult; |
{ | |
"sublimelinter_executable_map": | |
{ | |
// setting to current output of "which ruby" | |
"ruby": "/Users/username/.rvm/rubies/ruby-1.9.3-p392/bin/ruby" | |
} | |
} |