start new:
tmux
start new with session name:
tmux new -s myname
<?php | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = array( $_GET['id'] ); | |
// prep the bundle | |
$msg = array |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
#include <cstdio> | |
#include <iostream> | |
using std::string; | |
static struct IO { | |
char tmp[1 << 10]; | |
// fast input routines | |
char cur; |