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
new Ajax('url',{ | |
'sgjson':true, // soll res bei onComplete json sein? | |
'windowspinner':true, // großen spinner auf dem Fenster anzeigen? | |
'data':{ // Diese Daten werden der Action als post übergeben | |
'x':'y', | |
'z':'a' | |
}, | |
'onComplete':function(res) { | |
// res ist bereits als json geparsed! | |
} |
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 id="main_content_head"> | |
<div id="main_content_head_left_corner"></div> | |
<div id="main_content_head_right_corner"></div> | |
<h2><?php echo $this->translate('PAGETITLE_NOSMS') ?></h2> | |
</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 | |
if (!isset($_GET['h'])) { | |
echo "No Hash given"; | |
exit; | |
} | |
$logtime=date("Y-m-d\TH:i:s"); | |
$action="#"; | |
if ($_GET['d']=="in") $action="+"; |
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//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Test</title> | |
<meta name="generator" content="TextMate http://macromates.com/"> | |
<meta name="author" content=""> | |
<style type="text/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
new OverText($$('#feld_id')); |
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
// add this to your header: | |
NSString * UIFormattedPhoneNumberFromStringWithCountry(NSString *,NSString *); | |
NSString * UIFormattedPhoneNumberFromString(NSString *); | |
// use this where you need it: | |
NSString *myNumber=UIFormattedPhoneNumberFromStringWithCountry(@"+18004664411",@"de"); | |
NSString *yourNumber=UIFormattedPhoneNumberFromString(@"+18004664411"); |
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/sh | |
/System/Library/PrivateFrameworks/GoogleContactSync.framework/Versions/A/Resources/gconsync --sync gconclid --register 1 --username *@*.com --password "*******" --syncmode fast --report 1 |
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
- (void)applicationDidFinishLaunching:(UIApplication *)application { | |
UIView *startupView=[[UIView alloc] initWithFrame:CGRectMake(0, 20, 320, 460)]; | |
UIImageView *waitImage=[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Default.png"]]; | |
UIActivityIndicatorView *activity=[[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; | |
[startupView addSubview:waitImage]; | |
[startupView addSubview:activity]; | |
[activity setFrame:CGRectMake(141, 200, 37, 37)]; | |
[activity startAnimating]; | |
[window addSubview:startupView]; | |
NSOperationQueue *operationQueue=[[NSOperationQueue alloc] init]; |
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 | |
for ($a=0;$a<26;$a++) { | |
for ($b=0;$b<27;$b++) { | |
$fc=chr($a+97); | |
if ($b==0) { | |
$sc=""; | |
} else { | |
$sc=chr($b+96); | |
} |
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
UIDevice *myIphone=[UIDevice currentDevice]; | |
myIphone.batteryMonitoringEnabled=YES; | |
float level=myIphone.batteryLevel; | |
UIDeviceBatteryState state = myIphone.batteryState; | |
myIphone.batteryMonitoringEnabled=NO; | |
NSString *statusText=@""; |
OlderNewer