View app.js
var boxSdk = require('box-sdk');
var winston = require('winston');
var logger = new (winston.Logger)({
transports: [
new (winston.transports.File)({
filename: './events.log',
json: true
})
]
View coverage.sh
#!/usr/bin/env sh
ISSUE=`echo %teamcity.build.branch% | cut -d '/' -f 1`
COVERAGE=`cat coverage/PhantomJS\ 1.9.7\ \(Linux\)/index.html | grep "Lines: <span class=\"metric\">" | awk -F ">" '{print $2}' | cut -d "<" -f1`
curl -X POST -H "Content-Type: application/json" -d "{\"body\": \"I am coveragebot! LOC code coverage is now $COVERAGE\"}" -u [mykey]:x-oauth-basic https://api.github.com/repos/BedeGaming/BingoV3/issues/$ISSUE/comments
View ndch.md

National Day of Civic Hacking aims to empower citizens to improve communities through collaborative action.

This weekend the [National Day of Civic Hacking][2] will encourage citizens at 100 events in 120 cities to improve their communities and governments that serve them. It will promote civic hacking and open data as an opportunity to foster innovation in the civic space and make governments more transparent and accountable. Around the globe hackers, designers, entrepreneurs and citizens will work together to innovate and bring change to their communities and cities.

In Tacloban, the Philippines city that was [hit by the eye of Typhoon Haiyan][3], community development organisers are hosting an event to focus on local post-disaster redevelopment. The White House is hosting [an event][11] focusing on new ways for citizens to sign petitions and to make their voices heard. In Columbus, Ohio, city residents will be invited to collaborate on local challenges around homelessness, poverty and failing school

View playbbc2.sh
get_iplayer --stream --type=tv --modes=flashhigh2 "http://www.bbc.co.uk/iplayer/playlive/bbc_two" | mplayer -cache 2048 -
View index.html
<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script>
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {
window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame'];
window.cancelAnimationFrame = window[vendors[x]+'CancelAnimationFrame']
View authlogin.txt
# Test completed with seige http://www.joedog.org/siege-home/
# Test runs for 2 minutes, repeated 5 times
# siege --log=loadtest.log -H 'Content-Type:application/json' "https://qa01-sgp.bedegaming.net:18203/Auth/Login POST < ./postdata.json" -c 50 -t 2m
# postdata: {"Email": "gornbo@gmail.com", "SiteCode": "bingostars.com", "Password": "xxxxx", "IpAddress": "127.0.0.1"}
# 50 concurrents
Date & Time Trans Elap Time Data Trans Resp Time Trans Rate Throughput Concurrent OKAY Failed
2013-11-12 10:06:18 3966 119.87 3 1.00 33.09 0.03 33.13 3966 0
2013-11-12 10:08:32 3806 119.44 3 1.04 31.87 0.03 33.15 3806 0
View audioConfig.js
{
"calls": {
"source": "/path/to/some/file.mp3",
"locations": {
"1": {
"start": "00:00:00",
"stop": "00:00:04"
}
"2": {
"start": "00:00:04",
View current.json
[
{
"name":"Star Trek",
"id":"200-1170-001",
"type":"video",
"url":[
"https://qa01-bingoui.bedegaming.net/bingoui/bede/assets/bingo/videos/bingoStars/startrek_advert.mp4",
"https://qa01-bingoui.bedegaming.net/bingoui/bede/assets/bingo/videos/bingoStars/startrek_advert.webm"
],
"length":30
View PKGBUILD
pkgname=vagrant
pkgver=1.3.4
pkgrel=1
pkgdesc="Tool for building and distributing virtualized development environments"
arch=('i686' 'x86_64')
url="http://vagrantup.com/"
license=('MIT')
options=(!strip)
depends=
_git_revision='0ac2a87388419b989c3c0d0318cc97df3b0ed27d'
View dwmstatus
xset +fp /usr/share/fonts/local
xset fp rehash
public_ip(){
echo `wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'`
}
NETWORKICON=`echo -e '\uE0AF'`
BATTERYICON=`echo -e '\uE037'`
CLOCKICON=`echo -e '\uE015'`
PACMANICON=`echo -e '\uE00F'`