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
DELIMITER $$ | |
CREATE PROCEDURE sps_change_collate(schema_name varchar) | |
BEGIN | |
/*--------------------------------------------------------- | |
[DECLARATION] | |
---------------------------------------------------------*/ | |
DECLARE c CURSOR FOR | |
SELECT table_name | |
FROM information_schema.tables | |
WHERE table_type = 'BASE TABLE' |
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
ブログにあったコードをこっちで書いてみた。 |
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
<!DOCTYPE html> | |
<html> | |
<head lang="ja"> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<title>簡易ストップウォッチ</title> | |
<meta name="description" content="javascript でストップウォッチを作ってみました。" /> | |
<meta name="keywords" content="HTML5,javascript,dom,ストップウォッチ" /> | |
<script type="text/javascript"> | |
var timer; |
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
/*========================================================== | |
Declaration | |
==========================================================*/ | |
// constants | |
var ForReading = 1; // 読み込み | |
var ForWriting = 2; // 書きこみ(上書きモード) | |
var ForAppending = 8; // 書きこみ(追記モード) | |
var fileName = "File Name"; |
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
' 参照設定: Microsoft DAO 3.6 Object Library | |
Option Explicit | |
Private Const startingRowNumber = 5 | |
Enum ColumnNumber | |
TableName = 1 | |
TableDescription = 2 | |
Caption = 2 | |
PrimaryKey = 3 |
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
ブログにあったものをこっちにコピーした。 |
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
素因数分解をするだけのコード | |
もっと効率的な方法があれば知りたいです。 |
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
http://www.html5-memo.com/webtips/css3-loading/ を参考にして、サイズ変更にも対応するインジケータを作ってみました。 | |
タブレット・モバイルへの縦横の向きが変わった場合の対応については、iPad への対応のみを念頭に作りました。実機がないためテストはしていませんが。 | |
overlay の div の opacity が全体に影響するので、circle の div 2つは div#overlay の外に出した方が良かったかもしれません。 | |
また、div#overlay の height, width に important をつけているのは、 twitter bootstrap と一緒に使おうとしたらうまくできなかったからです。 |
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
import cgi | |
from requests_oauthlib import OAuth1Session | |
import SimpleHTTPServer | |
import SocketServer | |
class ApplicationConfig(): | |
Port = 80 | |
class Twitter(): | |
ConsumerKey = 'ojy8ZSbdv7fyt6QcmBr8coN8W' |
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
/* | |
* Throwable, StackTraceElement is in java.lang | |
* | |
* StackTraceElement has the following attributes (get methods) | |
* className | |
* methodName | |
* fileName | |
* lineNumber | |
*/ |
OlderNewer