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
| #!/usr/bin/env bash | |
| echo ">>> Starting Install Script" | |
| # Update | |
| sudo apt-get update | |
| # Install MySQL without prompt | |
| sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root' | |
| sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root' |
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
| <?php | |
| /* In a filenamed template-first-child.php */ | |
| /* | |
| Template Name: Go to first child | |
| */ | |
| ?> | |
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
| pi@raspberrypi ~ $ Connection to 192.168.1.103 closed by remote host. | |
| Connection to 192.168.1.103 closed. | |
| Robs-MacBook-Air:js robgordon$ ssh -X [email protected] | |
| [email protected]'s password: | |
| Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l | |
| The programs included with the Debian GNU/Linux system are free software; | |
| the exact distribution terms for each program are described in the | |
| individual files in /usr/share/doc/*/copyright. |
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
| pi@raspberrypi / $ jackd -v -d alsa | |
| jackdmp 1.9.9 | |
| Copyright 2001-2005 Paul Davis and others. | |
| Copyright 2004-2012 Grame. | |
| jackdmp comes with ABSOLUTELY NO WARRANTY | |
| This is free software, and you are welcome to redistribute it | |
| under certain conditions; see the file COPYING for details | |
| JACK server starting in realtime mode with priority 10 | |
| Cannot lock down 82278944 byte memory area (Cannot allocate memory) | |
| Jack: JackPosixThread::StartImp : create non RT thread |
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 browserSync = require('browser-sync').create(); | |
| var sass = require('gulp-sass'); | |
| // Static Server + watching scss/html files | |
| // gulp.task('serve', ['sass'], function() { | |
| // browserSync.init({ | |
| // server: "./app" | |
| // }); |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am rob-gordon on github. | |
| * I am robgordon (https://keybase.io/robgordon) on keybase. | |
| * I have a public key whose fingerprint is 46AF 02BA E05E 0951 CECF D10D DD98 1C9D 421B 8F26 | |
| To claim this, I am signing this object: |
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
| function climb_and_return($elem, $test_fn, $default) { | |
| $test = false; | |
| while(!$test && $elem !== 0) { | |
| $test = call_user_func($test_fn, $elem); | |
| if ($test == false) { | |
| if (is_page()) { | |
| $elem = $elem->post_parent == 0 ? 0 : get_post($elem->post_parent); |
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
| function findTrackDeviceByName(name) { | |
| var track = new LiveAPI('this_device canonical_parent'), | |
| devices = track.get('devices'), | |
| deviceID; | |
| for (var i = devices.length - 1; i >= 0; i = i - 2) { | |
| if ((new LiveAPI('id '+devices[i])).get('name') == name) { | |
| deviceID = devices[i]; | |
| break; | |
| } |
NewerOlder