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
// https://github.com/mattt/vcard.js | |
require('./vcard.js'); | |
// https://github.com/silentrob/Apricot | |
var Apricot = require('apricot').Apricot; | |
// http://nodejs.org/docs/latest/api/http.html | |
var http = require('http'); | |
// http://nodejs.org/docs/latest/api/util.html |
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
on perform_mail_action(info) | |
-- Definition of a Carriage Return. You don't need to change this. | |
set crlf to (ASCII character 13) & (ASCII character 10) & (ASCII character 13) & (ASCII character 10) | |
-- My name is… (set to your own first name; it's used at the end of the email) | |
set myName to "Peter" | |
-- The first part of the automatic reply to be sent... you want to customize this. The sender's subject gets tacked on the end. | |
set theReplyOne to "Hi there," & crlf & "You recently sent me an email message with the very short subject of '" | |
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 | |
$apiKey = "get this from nabaztag.com"; | |
$localDir = "/www/htdocs-ruk/nabaztag/wav"; | |
$webDir = "http://media.ruk.ca/nabaztag/wav"; | |
$id = uniqid(); | |
$nbso = simplexml_load_file("http://energy.reinvented.net/pei-energy/nbso/get-nbso-data.php?format=xml"); | |
$message = "P E I energy interchange is " . $nbso->PEI . " megawatts"; | |
system("/usr/local/bin/swift \"" . escapeshellarg($message) . "\" -o $localDir/$id.wav"); | |
$fp = fopen("http://www.nabalive.com/nabaztags/$apiKey/play?url=" . urlencode("$webDir/$id.wav"),"r"); | |
?> |
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 | |
include 'Mail.php'; | |
include 'Mail/mime.php' ; | |
define("MAIL_MIME_CRLF","\r\n"); | |
$json = file_get_contents('php://input'); | |
$email = json_decode($json); |
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
on alfred_script(q) | |
tell application "Mail" | |
set myMessage to make new outgoing message with properties {visible:true, subject: q} | |
set message signature of myMessage to signature "trac" | |
tell myMessage | |
make new to recipient with properties {name:"Trac", address:"[email protected]"} | |
end tell | |
activate | |
end tell | |
end alfred_script |
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
tell application "Rdio" to pause | |
tell application "Adium" to go away | |
tell application "Skype" | |
send command "SET PROFILE MOOD_TEXT " & "Left office at " & time string of (current date) script name "Phidgets" | |
send command "SET USERSTATUS OFFLINE" script name "Phidgets" | |
end tell | |
tell application "Bria 3" | |
quit | |
end tell |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"> | |
<script src="http://cmx.io/v/0.1/cmx.js" charset="utf-8"></script> | |
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
<body> | |
<div style="max-width:900px; -webkit-transform:rotate(0deg)"> | |
<scene id="scene1"> | |
<label t="translate(0,346)"> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer