This file contains hidden or 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
- name: ensure github.com is a known host | |
lineinfile: | |
dest: /home/vagrant/.ssh/known_hosts | |
create: yes | |
state: present | |
line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}" | |
regexp: "^github\\.com" |
This file contains hidden or 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 | |
# This line required to prevent trying to convert a file named "*" | |
# if the directory passed in as the parameter is empty | |
shopt -s nullglob | |
for f in $* | |
do | |
echo "Converting $f" | |
cafFileName=$(echo $f | sed -e 's/wav/caf/g') | |
afconvert -d LEI16 -f 'caff' "$f" "$cafFileName" |
This file contains hidden or 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 | |
# Encode a WAV to a finalized podcast MP3 with metadata, in the current directory | |
# Requires lame | |
# With Homebrew on Mac OS X: brew install lame | |
SHOW_AUTHOR="ATP" | |
EPISODE_NUMBER=104 | |
EPISODE_TITLE="Minutiæ" |
This file contains hidden or 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
{ | |
"atomic_save": false, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/Bittersweet (SL).tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": false, | |
"file_exclude_patterns": | |
[ | |
"*.map", | |
"*.pyc", |
This file contains hidden or 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
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var webserver = require('gulp-webserver'); | |
var livereload = require('gulp-livereload'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var del = require('del'); | |
gulp.task('clean', function (cb) { | |
del(['dist/**'], cb); | |
}); |
This file has been truncated, but you can view the full file.
This file contains hidden or 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 -u -r package/fulldata-json/data-1.0.json caniuse-db/fulldata-json/data-1.0.json | |
--- package/fulldata-json/data-1.0.json 2014-10-08 06:08:26.000000000 +0300 | |
+++ caniuse-db/fulldata-json/data-1.0.json 2014-10-08 11:16:25.000000000 +0300 | |
@@ -1 +1 @@ | |
-{"eras":{"e-34":"34 versions back","e-33":"33 versions back","e-32":"32 versions back","e-31":"31 versions back","e-30":"30 versions back","e-29":"29 versions back","e-28":"28 versions back","e-27":"27 versions back","e-26":"26 versions back","e-25":"25 versions back","e-24":"24 versions back","e-23":"23 versions back","e-22":"22 versions back","e-21":"21 versions back","e-20":"20 versions back","e-19":"19 versions back","e-18":"18 versions back","e-17":"17 versions back","e-16":"16 versions back","e-15":"15 versions back","e-14":"14 versions back","e-13":"13 versions back","e-12":"12 versions back","e-11":"11 versions back","e-10":"10 versions back","e-9":"9 versions back","e-8":"8 versions back","e-7":"7 versions back","e-6":"6 versions back","e-5":"5 versio |
This file contains hidden or 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
i: 117512 percentage: 11.630751932982038 | |
a: 115505 percentage: 11.432109078384252 | |
t: 86995 percentage: 8.61033140793938 | |
s: 74917 percentage: 7.414911179821766 | |
e: 68481 percentage: 6.777907984908289 | |
u: 66959 percentage: 6.627268012462934 | |
k: 66276 percentage: 6.559668077390543 | |
n: 65867 percentage: 6.519187296358907 | |
l: 58791 percentage: 5.818840092007173 | |
o: 54786 percentage: 5.4224451579443285 |
This file contains hidden or 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
const | |
fs = require('fs'), | |
path = require('path'), | |
express = require('express'), | |
app = express(); | |
app.use(express.bodyParser({ uploadDir:'./uploads' })); | |
app.post('/', function(req, res) { | |
var targetPath = path.resolve('./uploads/' + req.files.uploadedFile.name); |
This file contains hidden or 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
var http = require('http'), | |
getNow = function() { return JSON.stringify({ time: (new Date()).getTime().toString() }) + '\n' }; | |
http.createServer(function (request, response) { | |
response.setHeader('Content-Type', 'application/json; charset=UTF-8'); | |
response.setHeader('Transfer-Encoding', 'chunked'); | |
console.log('start'); | |
response.write(getNow()); |
This file contains hidden or 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
.row { | |
width: 100%; | |
max-width: $document-max-width; | |
margin-left: auto; | |
margin-right: auto; | |
margin-top: 0; | |
margin-bottom: $general-padding; | |
&:before, &:after { | |
content: " "; |