- あ https://www.google.com/maps/d/u/0/edit?mid=z4_6sCgp_AEM.kxnDT53_unt4
- い https://www.google.com/maps/d/u/0/edit?mid=z4_6sCgp_AEM.kln8lXvJ7Tk8
- う https://www.google.com/maps/d/u/0/edit?mid=z4_6sCgp_AEM.kShK16EWt8bg
- え https://www.google.com/maps/d/u/0/edit?mid=z4_6sCgp_AEM.kG7BbclJr-HM
- お https://www.google.com/maps/d/u/0/edit?mid=z4_6sCgp_AEM.kqpeMUQ8JzTw
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
/** | |
* クロスブラウザ用ゲッターセッター関数 | |
* @param {Object} obj ゲッターセッターを設定したいオブジェクト | |
* @param {String} name ゲッターセッタープロパティ名 | |
* @param {Function} setter セッター関数 | |
* @param {Function} getter ゲッター関数 | |
*/ | |
var defineSetterGetter = function(obj, name, setter, getter) { | |
//__defineSetter__が未定義かつObject.definePropertyが有効な場合 |
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
#!/usr/bin/js | |
var mode = arguments[0]; | |
if ( mode == 0 ) { | |
var string = arguments[1]; | |
var number = 0; |
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 | |
//アカウント設定 | |
$db_host = "db_host"; | |
$db_name = "db_name"; | |
$user_name = "user_name" | |
$user_password = "user_password"; | |
//データベース接続 | |
$db = new PDO('mysql:host=' . $db_host . ';dbname=' . $db_name, $user_name, $user_password); |
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
body { background-color: #DDDDDD; font: 30px sans-serif; } |
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
/** | |
* FitCurves.js - Piecewise cubic fitting code | |
* | |
* original: FitCurves.c | |
* http://tog.acm.org/resources/GraphicsGems/gems/FitCurves.c | |
* | |
* ported by ynakajima (https://github.com/ynakajima). | |
* | |
* THIS SOURCE CODE IS PUBLIC DOMAIN, and | |
* is freely available to the entire computer graphics community |
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
// UCS4に変換 | |
gunichar* codepoints = g_utf8_to_ucs4_fast(utf8_text, -1, NULL); |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <glib.h> | |
int main(int argc, char *argv[]) { | |
// 変数宣言 | |
FILE* fp; | |
long filesize; | |
unsigned char* buffer; | |
gchar* base64; |
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
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab " tabをスペースにする | |
set smarttab | |
set smartindent | |
set showmatch | |
imap <F11> <nop> | |
set pastetoggle=<F11> | |
set number | |
set nobackup |
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
/** | |
* request モジュールの jar を利用してログインが必要なページを取得する | |
*/ | |
var request = require('request'); | |
// cookie jar をデフォルトで利用するように設定 | |
request = request.defaults({jar: true}); | |
// リクエスト処理 | |
request('ログインフォームのURL', { |
OlderNewer