How to pipe with jq
. Make sure to include a pattern:
jq . < text.json | tee results.json
NOT
jq < text.json | tee results.json
How to pipe with jq
. Make sure to include a pattern:
jq . < text.json | tee results.json
NOT
jq < text.json | tee results.json
Encrypt a file for yourself using keybase
keybase encrypt my_keybase_username -b -i my.tgz -o my.tgz.enc
Decrypt
keybase decrypt -i my.tgz.enc -o my.tgz
Run mvn compile
whenever a Java file changes in a particular directory.
brew install watchman
watchman-make --make mvn -p 'src/main/java/**/*.java' -t compile
Create a PDF from images, auto rotating based on exif data, downsampling images, reducing quality, and stripping exif data.
convert -auto-orient -quality 85% -sampling-factor 4:2:0 -strip *.jpg my.pdf
Change the modified date of a file to match its creation date in the exif data
brew install exiftool
exiftool '-filemodifydate<createdate' *.jpg
I hereby claim:
To claim this, I am signing this object:
require 'formula' | |
class Sge < Formula | |
url 'http://www.digitalfanatics.org/cal/sge/files/sge030809.tar.gz' | |
homepage 'http://www.digitalfanatics.org/cal/sge/' | |
md5 'a76975665b6a2bf189130fa2c8821caf' | |
depends_on "sdl" | |
depends_on "sdl_image" |
<!DOCTYPE html /> | |
<html> | |
<head> | |
<style> | |
#board2 { | |
border: 1px black solid; | |
display: inline-block; | |
} | |
#board2 .cell { |
:echo $HOME
_gvimrc
in that location: https://gist.github.com/jamiely/6436529vundle
in $HOME\vimfiles\bundle\vundle
call vundle#rc("~/vimfiles/bundle")
# Windows-specific | |
color desert " Default to desert as a last resort | |
color Tomorrow-Night-Bright | |
set guifont=Inconsolata:h20 | |
" Creates a right-hand margin | |
:set colorcolumn=80 |