As configured in my dotfiles.
start new:
tmux
start new with session name:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
As configured in my dotfiles.
start new:
tmux
start new with session name:
Since this is on Hacker News and reddit...
_t
in my types. I spend a lot of time at a level where I can do that; "reserved for system libraries? I am the system libraries".char *
s.type * name
, however, is entirely intentional.git reset 56e05fced #resets index to former commit; replace '56e05fced' with your commit code | |
git reset --soft HEAD@{1} #moves pointer back to previous HEAD | |
git commit -m "Revert to 56e05fced" | |
git reset --hard #updates working copy to reflect the new commit |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: SystemEmail | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Send email | |
# Description: Sends an email at system start and shutdown | |
### END INIT INFO |
require 'rubygems' | |
require 'mechanize' | |
FIRST_NAME = 'FIRST_NAME' | |
LAST_NAME = 'LAST_NAME' | |
PHONE = 'PHONE' | |
EMAIL = 'EMAIL@provider.com' | |
PARTY_SIZE = 2 | |
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' } |
#!/usr/bin/env bash | |
if [ ! -f package.json ]; then | |
echo "This script must be run from the ghost blog directory" | |
exit 1 | |
fi | |
ZIP_URL=https://ghost.org/zip/ghost-latest.zip | |
PROJ_DIR=$(pwd) | |
TMP_DIR=$(mktemp -d -t ghost) |
#!/bin/sh | |
# git-fetch-log: Ultimate git fetch-log | |
# | |
# It shows the diferences of `local...remote` if both side exists and there | |
# are differences. Useful to find out what you have to do: `merge`, `rebase`, | |
# `push`, etc. The arguments passed to log. | |
# | |
# Place it somewhere on Your `$PATH` and execute by the `git fetch-log` | |
# command. | |
# |