IOS

サンプルコード
if () {
NSLog(@”2つのファイルの差分がございません。”);
}

IOS

サンプルコード:
– (void)textFieldDidBeginEditing:(UITextField *)textField{
NSArray *ws = windows];
for(UI ...

IOS

1.Push通知
UILocalNotification *notification = init] autorelease];
NSDate *pushDate = ; if (notification != ni ...

IOS

サンプルコード
NSFileManager *defaultManager;
defaultManager = ;

IOS

サンプルコード:
NSString *path = pathForResource:@”filename_startnews24″ ofType:@”plist”];

Nginx

方法1
http{
limit_zone one $binary_remote_addr 10m;
limit_conn one 5;
# limit_req_zone $binary_remote_a ...

Linux

1.インストール
# wget
# tar zxvf mod-cband-0.9.7.5.tgz
# cd mod-cband-0.9.7.5
# ./configure –with-apx ...

PHP

PHPコード下記:
if (@get_magic_quotes_gpc ()) {
$_GET = sec ( $_GET );
$_POST = sec ( $_POST );
$_COOKIE = ...

PHP

PHPコード:
function hex2rgb($hexColor){
$color=str_replace(‘#’,”,$hexColor);
if (strlen($c ...

PHP

方法1
function get_real_ipstartnews24(){
$ip=false;
if(!empty($_SERVER)){
$ip=$_SERVER;
}
if(!e ...

PHP

サンプルコード:
function utf8_strlen($string){
$string=trim($string);
if(empty($string)) return 0;
preg_matc ...

PHP

サンプルコード:
function download_func($file_url,$new_name=”){
if(!isset($file_url)||trim($file_url)==”) ...

JavaScript

サンプルコード:
function obj2string(o){
var r=)/g,”\\$1″).replace(/(\n)/g,”\\n”).replace(/(\ ...

PHP

1.array_shift
PHPコード:
$user=array(‘品川区’,’港区’,’渋谷区’);
$result=array_sh ...

PHP

1.in_array関数
function searchNumber_Startnews24($str=”){
$str=trim($str);
if(empty($str)){return  ...

PHP

方法1
function get_file_type_startnews24($filename)
{
$type =explode(“.” , $filename);
$cou ...

Linux

1.MySQLのインストール
sudo apt-get install mysql-server
sudo apt-get install mysql-client

2.MySQLのアクセス権限を設定

Python

コード下記
#-*-coding:utf-8-*-
import datetime
def getYesterday(): #
today=datetime.date.today()
oneda ...