Note: this is a work in progress, and is subject to change soon.
save a chart directory
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: kibana | |
# Required-Start: $local_fs $remote_fs $network | |
# Should-Start: $time | |
# Required-Stop: $local_fs $remote_fs $network | |
# Default-Start: 3 5 | |
# Default-Stop: 0 1 2 6 | |
# Short-Description: Kibana 4 |
sed -e 's~&~\&~g' -e 's~<~\<~g' -e 's~>~\>~g' -e 's~\"~\"~g' -e "s~\'~\'~g" |
# Legitimately-useful utilities missing from OS X. | |
brew install wget watch gnu-sed coreutils | |
# Up-to-date versions of included tools. | |
brew install git emacs | |
# Just for fun. | |
brew install fortune cowsay |
/* | |
* emoji.c | |
* Mike McGirr | |
* A little bit of code to print out the cocktail emoji. | |
*/ | |
#include <stdio.h> | |
#include <wchar.h> | |
#include <locale.h> | |
int main() |
#!/usr/bin/env bash | |
set -e | |
cweb_version=0.6.16 | |
cweb=https://github.com/koute/cargo-web/releases/download/$cweb_version/cargo-web-x86_64-unknown-linux-gnu.gz | |
curl -Lo cargo-web.gz $cweb | |
gunzip cargo-web.gz | |
chmod u+x cargo-web |
gource -s .06 -1280x720 --auto-skip-seconds .1 --multi-sampling --stop-at-end --key --highlight-users --hide mouse,progress,files,filenames,dirnames --file-idle-time 0 --max-files 0 --background-colour 000000 --font-size 22 --title "Lucene/Solr" --output-ppm-stream - --output-framerate 30 | avconv -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K movie.mp4 | |
&& ffmpeg -i movie.mp4 -b:v 3048780 -vcodec libx264 -crf 24 output.mp4 |
Strongly opinionated set of guides to quickly setup OS X Mavericks for web development. By default OS X hides stuff that normal people don't need to see. These settings are better defaults for developers.
I don't want: any sounds, annoying confirmation dialogs, hidden extensions, superflous animations, unnecessary things running like Dashboard, Notification center or Dock(Alfred/spotlight works better for me).
These are my opinions. Read this document through and pick up the good parts to your preferences.
` # \ | |
# PowerShell Param statement : every line must end in #\ except the last line must with <#\ | |
# And, you can't use backticks in this section #\ | |
param( [ValidateSet('A','B')]$tabCompletionWorksHere, #\ | |
[switch]$andHere #\ | |
) <#\ | |
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ` | |
#vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv | |
# Bash Start ------------------------------------------------------------ |