View config.txt
# For more options and information see
# http://rpf.io/configtxtreadme
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
View shairport-sync-2.log
Oct 26 08:10:11 lightshowpi shairport-sync[6720]: alsa output device name is "default".
Oct 26 08:10:11 lightshowpi shairport-sync[6720]: The processor is running little-endian.
Oct 26 08:10:11 lightshowpi shairport-sync[6720]: Version: "3.2d10-OpenSSL-Avahi-ALSA-stdout-pipe-metadata-sysconfdir:/usr/local/etc"
Oct 26 08:10:11 lightshowpi shairport-sync[6720]: statistics_requester status is 1.
Oct 26 08:10:11 lightshowpi shairport-sync[6720]: daemon status is 1.
Oct 26 08:10:11 lightshowpi shairport-sync[6720]: deamon pid file is "/var/run/shairport-sync/shairport-sync.pid".
Oct 26 08:10:11 lightshowpi shairport-sync[6720]: rtsp listening port is 5000.
Oct 26 08:10:11 lightshowpi shairport-sync[6720]: udp base port is 6001.
Oct 26 08:10:11 lightshowpi shairport-sync[6720]: udp port range is 100.
Oct 26 08:10:11 lightshowpi shairport-sync[6720]: player name is "Lightshowpi".
View shairport-sync.log
Oct 20 18:17:06 lightshowpi shairport-sync[9805]: alsa output device name is "default".
Oct 20 18:17:06 lightshowpi shairport-sync[9805]: Version: "3.1.3-OpenSSL-Avahi-ALSA-stdout-pipe-metadata-sysconfdir:/usr/local/etc"
Oct 20 18:17:06 lightshowpi shairport-sync[9805]: statistics_requester status is 0.
Oct 20 18:17:06 lightshowpi shairport-sync[9805]: daemon status is 1.
Oct 20 18:17:06 lightshowpi shairport-sync[9805]: deamon pid file is "/var/run/shairport-sync/shairport-sync.pid".
Oct 20 18:17:06 lightshowpi shairport-sync[9805]: rtsp listening port is 5000.
Oct 20 18:17:06 lightshowpi shairport-sync[9805]: udp base port is 6001.
Oct 20 18:17:06 lightshowpi shairport-sync[9805]: udp port range is 100.
Oct 20 18:17:06 lightshowpi shairport-sync[9805]: player name is "Lightshowpi".
Oct 20 18:17:06 lightshowpi shairport-sync[9805]: backend is "(null)".
View scrape.js
#!/usr/bin/env node
/*
This is a total hack, just needed to grab all the photos from twitter
so that we could import them into our Flickr group..
*/
const fs = require('fs');
const config = require('./config.json');
const Twitter = require('twitter');
const parse = require('querystring').parse;
const client = new Twitter({
View setup.log
root@8eb71796013a:/usr/local/src/flux/client# python3 ./setup.py clean
Traceback (most recent call last):
File "/usr/local/src/flux/client/setup_utils.py", line 113, in create_pcl_extentions
include_dirs += [locate_includes("eigen3"), ]
File "/usr/local/src/flux/client/setup_utils.py", line 33, in locate_includes
stdout=subprocess.PIPE)
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
View fluxclient.log
root@2d90b208bf61:/usr/local/src/flux/client# python3 ./setup.py develop
Traceback (most recent call last):
File "/usr/local/src/flux/client/setup_utils.py", line 113, in create_pcl_extentions
include_dirs += [locate_includes("eigen3"), ]
File "/usr/local/src/flux/client/setup_utils.py", line 33, in locate_includes
stdout=subprocess.PIPE)
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
View gist:c3a4b972deb8b1cd54f3
int num = 1;
char str = "Hello World";
float dec = 1024.45;
double bigint = 99999999;
int array[] = { 5, 10, 15, 20, 25, 30, 35, 40 };
if (num == 1) {
}
if (num != 1) {
View gist:effcafea25787b4f117b
{
"name": "npm-prune-test",
"version": "0.2.1",
"description": "npm-prune-test",
"main": "app.js",
"dependencies": {
"express": "3.4.8",
"connect": "^2.16.2",
"bower": "~1.3",
"jslint": "*",
View git-squash
#!/bin/bash
level=$1
if [ "${level}" == "" ]; then
level=2
fi
git rebase --interactive HEAD~${level}
View gist:414e57d0788e2e37586a
#
# Fatal error in ../deps/v8/src/api.cc, line 5407
# CHECK(!result.is_null()) failed
#
==== C stack trace ===============================
1: V8_Fatal
2: v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::String::NewStringType, int)
3: node::StringBytes::Encode(v8::Isolate*, char const*, unsigned long, node::encoding)