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
// | |
// UIColor+ContrastAdditions | |
// | |
// Created by Brandon Titus (bjtitus.net) on 10/26/12. | |
// | |
// | |
#import <UIKit/UIKit.h> | |
#import "UIColor-Expanded.h" |
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/perl | |
use Net::Ping; | |
$host = "www.google.com"; | |
while (1) { | |
$p = Net::Ping->new('icmp'); | |
if ($p->ping($host)) { | |
print "$host is alive.\n"; |
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
import sys | |
import getopt | |
def main(): | |
""" print ind(40, [ 55, 77, 42, 12, 42, 100 ]) | |
print ind(42, range(0,100)) | |
print ind('hi', [ 'hello', 42, True ]) | |
print ind('hi', [ 'well', 'hi', 'there' ]) | |
print ind('i', 'team') | |
print ind(' ', 'outer exploration') |
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
print "Hello, World!" | |
value = raw_input("Input your name: ") | |
print "Hello, " + value + "!" |
NewerOlder