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/python | |
#encoding:utf-8 | |
__author__ = 'lunch@spookies.in' | |
import gdata.spreadsheet.text_db | |
from gdata.alt.appengine import run_on_appengine | |
from google.appengine.ext import webapp | |
from google.appengine.ext.webapp import util | |
from google.appengine.ext import db |
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
syntax enable | |
set number | |
set ruler | |
colorscheme molokai | |
"highlight WhitespaceEOL ctermbg=red guibg=red | |
"match WhitespaceEOL /\s\+$/ | |
"autocmd WinEnter * match WhitespaceEOL /\s\+$/ | |
function! WhiteSpaceEOL() |
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
<html><head></head><body> | |
<form method="post" action="commit.php"> | |
<input type="text" name="namae" value="" />名前入れてね<br /> | |
<input type="password" name="pasuwa-do" value="" />パスワード入れてね<br /> | |
好きなゲームは? | |
<label><input type="checkbox" name="ge-mu[]" value="rpg" />RPG</label> | |
<label><input type="checkbox" name="ge-mu[]" value="action" />ACTION</label><br /> | |
性別 | |
<label><input type="radio" name="seibetu" value="man" />おとこ</label> | |
<label><input type="radio" name="seibetu" value="woman" />おにゃのこ</label><br /> |
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 | |
var_dump($_REQUEST); // POST,GET関わらず出る | |
var_dump($_POST); // POSTだけ出る | |
var_dump($_GET); // GETだけ出る | |
var_dump($_POST['namae']; // "namae"を変えていろいろ試せゴルァ | |
// ここにmysqlのDBに流し込むごにょごにょを書くといい |
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
commit 6760a1281ab0d9845d32fcff3dfd801e342ba2fe | |
Author: shinderuman <shinderuman@gmail.com> | |
Date: Sat Apr 28 04:16:22 2012 +0900 | |
use file basename by default | |
diff --git a/gist b/gist | |
index 324466d..a70f832 100755 | |
--- a/gist | |
+++ b/gist |
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
syntax enable | |
set number | |
set ruler | |
colorscheme darkblue | |
function! VimColors() | |
highlight WhiteSpaceEOL ctermbg=red guibg=red | |
highlight ZenkakuSpace ctermbg=green guibg=green | |
highlight Tab ctermbg=blue guibg=blue | |
endfunction |
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
commit ab5c459807ce3203ed2a4bd5e56a314886780b93 | |
Author: shinderuman <shinderuman@gmail.com> | |
Date: Fri May 4 06:12:48 2012 +0900 | |
add gitignore | |
diff --git a/.gitignore b/.gitignore | |
new file mode 100644 | |
index 0000000..125e342 | |
--- /dev/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
commit ab5c459807ce3203ed2a4bd5e56a314886780b93 | |
Author: shinderuman <shinderuman@gmail.com> | |
Date: Fri May 4 06:12:48 2012 +0900 | |
add gitignore | |
diff --git a/.gitignore b/.gitignore | |
new file mode 100644 | |
index 0000000..125e342 | |
--- /dev/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
<?php | |
$a->b->c = '1'; | |
var_dump(isset($a->b->c)); | |
var_dump(property_exists($a->b, 'c')); | |
var_dump(isset($d->e->f)); | |
var_dump(property_exists($d->e, 'f')); |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func main() { | |
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { | |
fmt.Fprintf(w, "root") |
OlderNewer