Python

#繰返し処理1
names =
for name in names:
print name

# 繰返し処理2
for x in :
print x

#繰返し処理3 ...

Python

1.pythonのインスントール
#!/bin/bash
#ソースパッケージのインスントール
wget
tar -zxvf Python-2.7.9.tgz
cd Python-2.7.9 ...

Oracle

1.SqlServer2005の定義
create table Dic_City (
ID int identity,
City_Code varchar(10) not null,
Provinces ...

Java

Javaコード:
<insert id=”batchInsert” parameterType=”java.util.List”>
insert into T ...

Python

Javaコード:
import os
import mysql.connector

config = {
‘user’: ‘root’,
&# ...

Java

参考コード
# Global logging configuration
log4j.rootLogger=info, stdout,fileout
# Console output…
lo ...

MySQL

1.mysqldumpバックアップ
mysqldump -uユーザ名 -pパスワード -hHost DB a -w “sql条件” –lock-all-tables > パス

IOS

Javaコード:
– (void)viewDidLoad {
;
UITapGestureRecognizer *mullTap = initWithTarget:self action:@sele ...

JavaScript

参考コード
var a = new Array(“a”,”b”,”cc”,”d3″);
var index = $.inA ...

Java

package com.eabax.plugin.yundada.utils;

import java.awt.image.BufferedImage;
import java.io.File;
impor ...

IOS

//NSUserDefaultsオブジェクトを作成
NSUserDefaults *defaults = ;

//データの保存
;
//キャッシュデータがディスク上に格納される
; ...

IOS

//ファイルのパスを取得
NSString *documentPath = ;
NSString *filePath = ;

//plistファイルにデータを格納
NSMutableDictiona ...

IOS

/**
* データを読む
*/
– (void)_readData{
//1> sql文の定義
NSString * sql=@”select id,name,ag ...

IOS

/**
* テーブルを作成
*/

– (void) _createTable{

NSString *create=@” create table if not exist ...

IOS

– (void) _connectDB{

//1>Sandboxのパスを取得する際の初期化
NSString * path=NSSearchPathForDirectoriesInDomains( ...

IOS

参考コード:
#include
#include
using namespace std;

class Ref
{
protected:
Ref(){isLoop = fal ...

PHP

phpコード:
$dst_path = ‘be.jpg’;

//画像のインスタンスを作成
$dst = imagecreatefromstring(file_get_contents ...

PHP

phpコード:
<?php
$one_path = ‘startnews24_be.jpg’;
$two_path = ‘s.png’;
//画像の ...