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
<div class="block"> | |
<div class="hd"> | |
<h2>Your Header Content</h2> | |
</div> | |
<div class="bd"> | |
<p>Your body content goes here.</p> | |
</div> | |
</div> |
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
<?PHP | |
$ssm = new Sosumi('username', 'password'); | |
$location_data = $ssm->locate(); | |
$ssm->sendMessage('Daisy, daisy...'); |
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
<?PHP | |
include 'class.sosumi.php'; | |
$ssm = new Sosumi('your-username', 'your-password'); | |
$location = $ssm->locate(); |
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
00 05 * * * /usr/sbin/diskutil mount /dev/disk1s3 |
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
// | |
// NSData+Base64.h | |
// base64 | |
// | |
// Created by Matt Gallagher on 2009/06/03. | |
// Copyright 2009 Matt Gallagher. All rights reserved. | |
// | |
// Permission is given to use this source code file, free of charge, in any | |
// project, commercial or otherwise, entirely at your risk, with the condition | |
// that any redistribution (in part or whole) of source code must retain |
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
<?PHP | |
require 'includes/master.inc.php'; | |
if($Auth->loggedIn()) redirect('index.php'); | |
if(!empty($_POST['username'])) | |
{ | |
if($Auth->login($_POST['username'], $_POST['password'])) | |
redirect('index.php'); | |
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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="en"> | |
<head> | |
<script type="text/javascript" charset="utf-8"> | |
function resizeFrame(newHeight) { | |
document.getElementById('theFrame').height = newHeight; | |
} | |
</script> | |
</head> |
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
property ScriptName : "Repeat Call" | |
property PhoneToDial : "+15551234567" | |
repeat | |
tell application "Skype" | |
send command "CALL " & PhoneToDial script name ScriptName | |
delay 10 | |
set activeCalls to send command "SEARCH ACTIVECALLS" script name ScriptName |
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
#import <Foundation/Foundation.h> | |
@interface NSDictionary (EmbeddedValue) | |
- (id)embeddedValueWithKeys:(NSArray *)keys; | |
@end |