alt
+.
- close html tagalt
+-
- jump backalt
+shift
+-
- jump forward
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Walmart locations all hexed up</title> | |
http://mbostock.github.com/d3/d3.js | |
<!-- styles --> | |
<link rel="stylesheet" type="text/css" href="http://indiemaps.github.com/hexbin-js/style/main.css" /> | |
<link rel="stylesheet" type="text/css" href="http://indiemaps.github.com/hexbin-js/style/colorbrewer.css" /> | |
<link rel="stylesheet" type="text/css" href="http://indiemaps.github.com/hexbin-js/style/colorbrewer.stroke.css" /> | |
<style type="text/css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var winston = require('winston'); | |
var Syslog = winston.transports.SyslogConsole = function (options) { | |
var Producer = require('glossy').Produce; | |
winston.Transport.call(this, options); | |
this.producer = new Producer({ | |
appName: options.appName || 'winston', | |
host: options.host || require('os').hostname(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
video=bbb_sunflower_2160p_60fps_normal.mp4 | |
ffmpeg -i "$video" -t 60 -c:v libx264 -profile:v baseline -preset veryfast -b:v 180k -maxrate 180k -vf scale="trunc(oh*a/2)*2:240" -crf 23 -c:a libvorbis -b:a 128k 240p.mp4 | |
ffmpeg -i "$video" -t 60 -c:v libx264 -profile:v baseline -preset veryfast -b:v 300k -maxrate 300k -vf scale="trunc(oh*a/2)*2:360" -crf 23 -c:a libvorbis -b:a 192k 360p.mp4 | |
ffmpeg -i "$video" -t 60 -c:v libx264 -profile:v baseline -preset veryfast -b:v 500k --maxrate 500k vf scale="trunc(oh*a/2)*2:480" -crf 23 -c:a libvorbis -b:a 256k 480p.mp4 | |
ffmpeg -i "$video" -t 60 -c:v libx264 -profile:v baseline -preset veryfast -b:v 1000k -maxrate 1000k -vf scale="trunc(oh*a/2)*2:720" -crf 23 -c:a libvorbis -b:a 256k 720p.mp4 | |
ffmpeg -i "$video" -t 60 -c:v libx264 -profile:v baseline -preset veryfast -b:v 2000k -maxrate 2000k -vf scale="trunc(oh*a/2)*2:1080" -crf 23 -c:a libvorbis -b:a 256k 1080p.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/runcoms/zpreztorc b/runcoms/zpreztorc | |
index a54fdb0..7dafc6a 100644 | |
--- a/runcoms/zpreztorc | |
+++ b/runcoms/zpreztorc | |
@@ -32,7 +32,8 @@ zstyle ':prezto:load' pmodule \ | |
'spectrum' \ | |
'utility' \ | |
'completion' \ | |
- 'prompt' | |
+ 'prompt' \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/prompt/functions/prompt_peepcode_setup b/modules/prompt/functions/prompt_peepcode_setup | |
index a83710e..74ccd78 100644 | |
--- a/modules/prompt/functions/prompt_peepcode_setup | |
+++ b/modules/prompt/functions/prompt_peepcode_setup | |
@@ -19,6 +19,7 @@ function +vi-git-status() { | |
function prompt_peepcode_precmd { | |
vcs_info | |
+ git-info | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function eatShit() { | |
ffmpeg -i "$1" -vcodec libx264 -s vga -preset slow -crf 24 -pix_fmt yuv420p -acodec libmp3lame -aq 5 ${1%%.*}-reencode.mp4 | |
} |