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 "ViewController.h" | |
#import "FMDB.h" // FMDBのimport | |
@interface ViewController () | |
@end | |
@implementation ViewController | |
- (void)viewDidLoad |
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
db = new SQLiteDB(); | |
db.Open(FILE); | |
db.Key("pass");// 事前にdb.Rekey("pass");で暗号化しておいたdbファイルを開く |
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
using UnityEngine; | |
using System.Collections; | |
public class usageExample : MonoBehaviour { | |
private TouchScreenKeyboard keyboard; | |
void Start () { | |
keyboard = TouchScreenKeyboard.Open("your name", TouchScreenKeyboardType.Default); | |
} |
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
<?php | |
// Include the SDK using the Composer autoloader | |
require 'vendor/autoload.php'; | |
use Aws\CloudWatch\CloudWatchClient; | |
$client = CloudWatchClient::factory(array( | |
'key' => 'keyをね', | |
'secret' => '秘密のやつをここに', |
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
【参考】 | |
http://9ensan.com/blog/programming/php/fuelphp/fuelphp-login-auth/ | |
http://fuelphp.jp/docs/1.7/packages/auth/simpleauth/usage.html |
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
use strict; | |
use warnings; | |
use LWP::UserAgent; | |
use HTML::TreeBuilder; | |
my $url = "http://www.yahoo.co.jp"; | |
my $user_agent = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)"; | |
my $ua = LWP::UserAgent->new('agent' => $user_agent); | |
my $res = $ua->get($url); |
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
use strict; | |
use warnings; | |
use LWP::UserAgent; | |
use HTML::TreeBuilder; | |
my $url = "http://www.yahoo.co.jp"; | |
my $user_agent = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)"; | |
my $ua = LWP::UserAgent->new('agent' => $user_agent); | |
my $res = $ua->get($url); |
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
use strict; | |
use warnings; | |
use DBI; | |
my $database = 'test.db'; | |
my $data_src = "dbi:SQLite:dbname=$database"; | |
my $dbh = DBI->connect($data_src); | |
my $createTableQuery = 'CREATE TABLE BOOK (title,author);'; |
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
use strict; | |
use warnings; | |
use LWP::UserAgent; | |
my $url = "http://www.hoge.jp/"; | |
my $ua = LWP::UserAgent->new; | |
my $res = $ua->get($url); | |
my $content; |
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "Base VPC Template.", | |
"Parameters": { | |
"KeyName": { | |
"Description": "Name of an existing EC2 KeyAWS::CloudFormation::InitPair to enable SSH access to the instances", | |
"Type": "String", | |
"MinLength": "1", | |
"MaxLength": "64", | |
"AllowedPattern": "[-_ a-zA-Z0-9]*", |