create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
times in msec | |
clock self+sourced self: sourced script | |
clock elapsed: other lines | |
000.011 000.011: --- VIM STARTING --- | |
000.097 000.086: Allocated generic buffers | |
000.521 000.424: locale set | |
000.526 000.005: clipboard setup |
" Vim configuration. Thoroughly annotated with comments for two reasons: | |
" 1. Hopefully this is helpful to others | |
" 2. I often can't remember why something is set is a certain way or what a | |
" specific plugin provides! | |
" | |
" Note to future self: Git history was lost during a rename; you can see it by | |
" adding the `--follow` option to `git log`. | |
" | |
" Any questions, contact @lbwski |
Keeping a clean docker environment
run interactive containers with --rm
flag to avoid having to remove them later.
Remove all stopped containers:
$ docker rm $(docker ps -a | grep Exited | awk '{print $1}')
Clean up un-tagged docker images:
$ docker rmi $(docker images -q --filter "dangling=true")
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80 | |
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 80 | |
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 80 | |
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool Min (editable)" 80 | |
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 80 | |
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 80 | |
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 80 |
// ==UserScript== | |
// @name gmail layout | |
// @namespace http://mail.gogogle.com | |
// @version 0.1 | |
// @description This script reorders some parts of the gmail layout | |
// @author jottr | |
// @match https://mail.google.com/mail/* | |
// @grant none | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js |
#!/bin/bash | |
usage="$(basename "$0") sets the DNS for the wifi network to one of the following: | |
[-n]ative: sets to local DNS | |
[-g]oogle: sets to google DNS | |
[-t]unlr: sets to tunlr DNS | |
[-h]elp prints this help message. | |
" |
--------------------------------------------------------------------------- | |
DatabaseError Traceback (most recent call last) | |
<ipython-input-19-7bbf1816cba4> in <module>() | |
1 # open gnucash database as writeable | |
----> 2 book = pc.open_book("/tmp/foo.gnucash", readonly = False, open_if_lock = True) | |
/usr/local/lib/python2.7/site-packages/piecash/core/session.pyc in open_book(sqlite_file, uri_conn, readonly, open_if_lock, do_backup, db_type, db_user, db_password, db_name, db_host, db_port, **kwargs) | |
241 shutil.copyfile(url, url_backup) | |
242 |