This file contains 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
incorrect: {"type":"Buffer","data":[123,34,109,97,99,34,58,32,34,102,54,58,56,98,58,100,57,58,99,50,58,57,97,58,54,57,34,44,34,105,112,34,58,34,49,57,50,46,49,54,56,46,49,46,55,53,34,44,34,118,111,108,116,97,103,101,34,58,32,53,55,57,125,0]} | |
correct: {"type":"Buffer","data":[123,34,109,97,99,34,58,32,34,102,54,58,56,98,58,100,57,58,99,50,58,57,97,58,54,57,34,44,34,105,112,34,58,34,49,57,50,46,49,54,56,46,49,46,55,53,34,44,34,118,111,108,116,97,103,101,34,58,32,53,55,57,125]} |
This file contains 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
socket.on('chat message', function(msg){ | |
if ($('#' + msg.mac).length){ | |
} | |
else{ | |
$('#messages').append($('<li id="' + msg.mac + '">').text(msg.mac)); | |
} | |
}); |
This file contains 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
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet static |
This file contains 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
//require the Twilio module and create a REST client | |
var client = require('twilio')('AC82d14595fc25b83ac0792700a360b8a2', '8d527ac03e9a652d97280d8dbed43e9c'); | |
client.makeCall({ | |
to:'+447733223902', // Any number Twilio can call | |
from: '+44441782435506', // A number you bought from Twilio and can use for outbound communication | |
url: 'http://twimlets.com/echo?Twiml=%3CResponse%3E%0A%20%20%20%20%3CSay%3EDialing%20crew%20now%2C%20standby%3C%2FSay%3E%0A%3C%2FResponse%3E&' // A URL that produces an XML document (TwiML) which contains instructions for the call | |
}, function(err, responseData) { |
This file contains 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
<tr id="row-5442d07d831e781c21777ff4" class="cueRow"> | |
<td>Team Awesome</td> | |
<td>Pilot</td> | |
<td>Engineer</td> | |
<td>Tactical</td> | |
<td>09878765</td> | |
<td>2014-10-18T20:41:33.000Z</td> | |
</tr> |
This file contains 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
socket.on('removeTeam', function (team){ | |
if(team._id==undefined){ | |
console.log('error,no team'); | |
} | |
else{ | |
console.log('removing team:'); | |
console.log(team._id); | |
Booking.remove({ _id: team._id}, function (err, team){ | |
if(err) console.log(err); | |
else{ |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>LHSBikeshed Booking system</title> | |
<!-- Bootstrap --> | |
<!-- Latest compiled and minified CSS --> |
This file contains 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 | |
shopt -s nullglob | |
for file in /home/solexious/cert/*.svg | |
do | |
file="${file%.*}" | |
inkscape --without-gui --export-pdf="$file.pdf" "$file.svg" | |
lpr "$file.pdf" | |
rm "$file.pdf" | |
mv "$file.svg" /home/solexious/cert/printed/ | |
done |
This file contains 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 | |
FILES=/home/solexious/cert/*.svg | |
for file in $FILES | |
do | |
file="${file%.*}" | |
inkscape --without-gui --export-pdf=$file.pdf $file.svg | |
lpr $file.pdf | |
rm $file.pdf | |
mv $file.svg /home/solexious/cert/printed/ | |
done |
This file contains 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
videoserver | |
description: Tower Computer | |
product: Precision WorkStation T7400 () | |
vendor: Dell Inc. | |
serial: 3W7Y74J | |
width: 64 bits | |
capabilities: smbios-2.5 dmi-2.5 vsyscall32 | |
configuration: administrator_password=enabled boot=normal chassis=tower power-on_password=enabled uuid=44454C4C-5700-1037-8059-B3C04F37344A | |
*-core | |
description: Motherboard |
NewerOlder