start new:
tmux
start new with session name:
tmux new -s myname
/** | |
* Turns someCrazyName into Some Crazy Name | |
* Decent job of acroynyms: | |
* ABCAcryonym => ABC Acryoynm | |
* xmlHTTPRequest => Xml HTTP Request | |
*/ | |
String.prototype.unCamelCase = function(){ | |
return this | |
// insert a space between lower & upper | |
.replace(/([a-z])([A-Z])/g, '$1 $2') |
// Printing structs. | |
// http://research.swtch.com/gotour | |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"log" | |
) |
#!/bin/bash | |
echo "swf2mp4.sh - flash player to mp4 conversion script" | |
echo " * Requires gnash, mplayer2 and ffmpeg CLI tools" | |
echo " * Source https://stackoverflow.com/a/39304421 (Aleksey Kontsevich)" | |
SWFFILE=$1 | |
MP4FILE=${SWFFILE%.*}.mp4 | |
TMPFILE=$(cat /dev/urandom | tr -dc 'a-zA-Z' | fold -w 32 | head -n 1).bin |
NOTE: That we are making the assumption that the clipboards are sending and receiving UTF-8 encoded bytes
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">