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 browserify = require('gulp-browserify'); | |
// Basic usage | |
gulp.task('scripts', function() { | |
// Single entry point to browserify | |
gulp.src('lib/public/js/src/app.js') | |
.pipe(browserify({ | |
insertGlobals: false, | |
debug: true |
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
import sys | |
import telnetlib | |
import re | |
HOST = "localhost" | |
tn = telnetlib.Telnet(HOST, 8000) | |
def _(msg, expected): | |
tn.write(msg + '\n') |
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: Setup python and repos | |
hosts: testing | |
sudo_user: cms | |
user: ansible | |
vars_files: | |
- vars/vars.yml | |
roles: | |
- {role: appserver, sudo: no, ansible_python_interpreter: '/var/sites/lbsappserver/bin/pyvenv'} | |
- {role: queue, sudo: yes, ansible_python_interpreter: '/var/sites/lbsappserver/bin/pyvenv'} |
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
ffmpeg -y -f alsa -ac 2 -i pulse -f x11grab -r 25 -s 1920x1080 -i :0.0 -vcodec libx264 -vpre lossless_ultrafast -crf 22 -acodec libmp3lame -ar 44100 -ab 126k -threads 3 ~/Desktop/screencast.mkv |
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/sh | |
while inotifywait -e modify .; do | |
lessc all.less > ../css/style.css | |
done |
NewerOlder