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
<VirtualHost *:80> | |
DocumentRoot "/etc/openpaas/isiboard" | |
ServerName isiboard.local | |
<Directory /etc/openpaas/isiboard/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride all | |
Require all granted | |
Order allow,deny | |
allow from all |
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 node | |
var fs = require('fs'); | |
function getTemperature (device) { | |
fs.readFile('/sys/bus/w1/devices/' + device + '/w1_slave', 'utf8', function (err, data) { | |
var output = data.match(/t=(\d+)/); | |
var calc = output[1] / 1000; |
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
{ | |
"http://groups.event-processing.org/id/MyGroupA#group" : | |
{ | |
"http://purl.org/dc/elements/1.1/title": [ { "type" : "literal", "value" : "MyGroupA group" } ], | |
"http://purl.org/dc/elements/1.1/description": [ { "type" : "literal", "value" : "The Play MyGroupA group" } ], | |
"http://www.w3.org/2002/06/xhtml2/icon": [ { "type" : "uri", "value" : "http://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico" } ], | |
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ { "type" : "uri", "value" : "http://rdfs.org/sioc/ns#Usergroup" } ] | |
}, | |
"http://groups.event-processing.org/id/MyGroupB#group" : | |
{ |
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
{ | |
"http://groups.event-processing.org/id/MyGroupA#group" : | |
{ | |
"http://purl.org/dc/elements/1.1/title": [ { "type" : "literal", "value" : "MyGroupA group" } ], | |
"http://purl.org/dc/elements/1.1/description": [ { "type" : "literal", "value" : "The Play MyGroupA group" } ], | |
"http://www.w3.org/2002/06/xhtml2/icon": [ { "type" : "uri", "value" : "http://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico" } ], | |
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ { "type" : "uri", "value" : "http://rdfs.org/sioc/ns#Usergroup" } ] | |
}, | |
"http://groups.event-processing.org/id/MyGroupB#group" : | |
{ |
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
{ | |
"http://groups.event-processing.org/id/MyGroupName#group" : | |
{ | |
"http://purl.org/dc/elements/1.1/title": [ { "type" : "literal", "value" : "My Group title" } ], | |
"http://purl.org/dc/elements/1.1/description": [ { "type" : "literal", "value" : "A group." } ], | |
"http://www.w3.org/2002/06/xhtml2/icon": [ { "type" : "uri", "value" : "http://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico" } ], | |
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ { "type" : "uri", "value" : "http://rdfs.org/sioc/ns#Usergroup" } ] | |
}, | |
"http://groups.event-processing.org/id/MyPrivateGroup#group" : | |
{ |
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 util = require('util'), | |
http = require('http'), | |
events = require('events'); | |
var Twitter = function(opts) { | |
this.username = opts.username; | |
this.password = opts.password; | |
this.track = opts.track; | |
this.data = ''; | |
}; |
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 | |
set -x | |
set -e | |
echo "deb http://apt.opscode.com/ `lsb_release -cs`-0.10 main" | sudo tee /etc/apt/sources.list.d/opscode.list | |
wget -qO - http://apt.opscode.com/[email protected] | sudo apt-key add - | |
# set up debconf preseed so there's no prompt for the chef server URL | |
export PRESEED_FILE=/tmp/tmp_chef_preseed |
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
*.pbxproj -crlf -diff -merge |
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 | |
# Usage: gitio URL [CODE] | |
# | |
# Turns a github.com URL | |
# into a git.io URL | |
# | |
# Copies the git.io URL to your clipboard if xclip is available. | |
URL="$1" |