List of phones I have had in order from first to last/current:
- Nokia 5110
- Nokia 3510i
- Motorola Razr v3x
- HP iPaq
- Palm Treo
- BlackBerry 8310
- BlackBerry 8520
- Sony-Ericsson XPeria X10 Mini
<?php | |
class GetMyTweets | |
{ | |
private $username = null; | |
private $password = null; | |
/** | |
* Overloaded constructor used to set the username and password for the class | |
*/ | |
public function __construct( $_username, $_password ) |
var enableRefresh = true; // Set this to true if you want it to continously check for new tweets, otherwise set it as false | |
// Execute only once the *full* document has rendered to the user's browser | |
jQuery(document).ready( function() { | |
loadTweets( "twitter_name_here", 1, 'ul.latest_tweet' ); // Call function loadTweets (pay attention to the "1" ;) ;) | |
}); | |
var loadTweets = function(user, count, element) { | |
// Set the URL | |
twitter_url = "http://twitter.com/status/user_timeline/" + user + ".json?count=" + count + "&callback=?"; |
<?php | |
$fbconfig['appid'] = "your-application-id-here"; | |
$fbconfig['api'] = "your-application-api-key"; | |
$fbconfig['secret'] = "your-application-secrey-key"; | |
try | |
{ | |
include_once "facebook.php"; | |
} | |
catch( Exception $e ) |
<?php | |
include_once "fbmain.php"; | |
$config['baseurl'] = "http://codetest.co.za/week9/"; | |
// Check if user session is valid and user is signed in | |
if( $fbMe ) : | |
// Retrieve the movies that the user likes via the Graph API | |
try | |
{ | |
$movies = $facebook -> api( '/me/movies' ); |
// Login or logout will be needed to according to current user state | |
if( $fbMe ) : | |
$button_url = $facebook -> getLogoutUrl(); | |
$button_image = "http://static.ak.fbcdn.net/rsrc.php/z2Y31/hash/cxrz4k7j.gif"; | |
else : | |
$button_url = $facebook -> getLoginUrl(); | |
$button_image = "http://static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif"; | |
endif; | |
..... |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'aws-sdk' | |
AWS.config( :access_key_id => ENV['AWS_ACCESS_KEY_ID'], :secret_access_key => ENV['AWS_SECRET_KEY'] ) | |
bucket = 'route53_backups' | |
debug = false |
List of phones I have had in order from first to last/current:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
DOCKER_IMAGE_NAMESPACE=$1 | |
DOCKER_REGISTRY=${DOCKER_REGISTRY:-registry.docker.lan} | |
readarray -t tags < <(curl -H “Accept: application/vnd.docker.distribution.manifest.v2+json” http://$DOCKER_REGISTRY/v2/${DOCKER_IMAGE_NAMESPACE}/tags/list | jq “.tags” | jq -r -c ‘to_entries | .[].value’) | |
for tag in “${tags[@]}” | |
do | |
echo “Removing tag $tag for $DOCKER_IMAGE_NAMESPACE” |
Just a quick test for gists creation notifications