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
/* convISBN.js : converter ISBN10 <-> ISBN13 */ | |
/* Copyright (c) 2007 by H.Tsujimura <tsupo@na.rim.or.jp> */ | |
/* Distributed by LGPL. */ | |
/* this script written by H.Tsujimura 20 Jan 2007 */ | |
function convISBN13toISBN10(str) { | |
var s; | |
var c; | |
var checkDigit = 0; | |
var result = ""; |
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 <string.h> | |
#include <openssl/x509.h> | |
#include <openssl/hmac.h> | |
void | |
hmac_sha256( | |
const unsigned char *text, /* pointer to data stream */ |
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
Twitter API 1.1 の現行APIの制限 | |
(REST API v1.1 Limits per window by resource) | |
https://dev.twitter.com/docs/rate-limiting/1.1/limits | |
・15分辺り最大何回実行できるか | |
Timelines | |
GET statuses/mentions_timeline 15回 | |
GET statuses/user_timeline 180回/user, 300回/application |
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://oauth.googlecode.com/svn/code/csharp/OAuthBase.cs */ | |
using System; | |
using System.Security.Cryptography; | |
using System.Collections.Generic; | |
using System.Text; | |
using System.Web; | |
[assembly: Tumblen3.Revision("$Header: /Tumblen3.root/Tumblen3/Tumblen3/OAuthBase.cs 4 09/06/11 21:28 Tsujimura543 $")] | |
namespace OAuth |
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
Twitter API 1.1 の現行API一覧 | |
Timelines | |
GET statuses/mentions_timeline (API 1.0 の GET statuses/replies, GET statuses/mentions 相当) | |
GET statuses/user_timeline | |
GET statuses/home_timeline | |
GET statuses/retweets_of_me | |
Tweets | |
GET statuses/retweets/:id |
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
2012年12月20日の暦 http://tsujimura543.azurewebsites.net/?yyyy=2012&mm=12&dd=20&HH=0&MM=0&SS=0 | |
マヤ長期暦: 12.19.19.17.19 3カワク 2カンキン | |
マヤ短期暦: 4アハウのカトゥン 19トゥン 17ウィナル 19キン | |
2012年12月21日の暦 http://tsujimura543.azurewebsites.net/?yyyy=2012&mm=12&dd=21&HH=0&MM=0&SS=0 | |
マヤ長期暦: 13.0.0.0.0 4アハウ 3カンキン | |
マヤ短期暦: 4アハウのカトゥン 0トゥン 0ウィナル 0キン | |
2012年12月22日の暦 http://tsujimura543.azurewebsites.net/?yyyy=2012&mm=12&dd=22&HH=0&MM=0&SS=0 | |
マヤ長期暦: 13.0.0.0.1 5イミシ 4カンキン |
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
(1) proxyサーバー経由だと https アクセスがうまくいかない問題 | |
- 環境変数 WEBKIT_IGNORE_SSL_ERRORS=1 をセットすれば解決するのでは? という提案があったが、解決しなかった | |
-- http://stackoverflow.com/questions/5579631/webkitdotnet-unable-to-load-https-site | |
- そういえば、Windows版 OpenSSL を WinSock2 との組み合わせで使うと、一部の https なサーバーとうまく接続できないというバグ(いまだに直っていない)があるけど、本件と関係ある? | |
-- このバグは、SSL_connect() が異常終了したときに、OpenSSL のエラーコードを取得してみると SSL_ERROR_SYSCALL になっているケース。 | |
WinSock2 のエラーコードが WSAECONNRESET のときはリカバリー可能だ(というところまでは自力で調べた)が、そうではないときはリカバリー不可能、という問題。 | |
- Windows版Safari、Google Chrome の真似っこすれば、うまくいくはず? | |
- そもそも WebKit.NET が参照している WebKit のバージョンが古いので、これをアップデートすれば解決するかも? | |
- WebKit.NET の develop ブランチの方で、何か進展がないか、チェックする | |
-- develop ブランチも fork 先に取り込みたいけど、方法が不明。master ブランチしか取り込めない? |
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
*** ms/nt.mak Mon May 16 14:28:11 2011 | |
--- ms/nt_MD.mak Mon May 16 15:12:49 2011 | |
*************** | |
*** 17,23 **** | |
# Set your compiler options | |
PLATFORM=VC-WIN32 | |
CC=cl | |
! CFLAG= /MT /Ox /O2 /Ob2 -DOPENSSL_THREADS -DDSO_WIN32 -W3 -WX -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_DYNAMIC_ENGINE | |
APP_CFLAG= /Zi /Fd$(TMP_D)/app | |
LIB_CFLAG=/Zl /Zi /Fd$(TMP_D)/lib |
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
*** webkit.net/webkitdotnet-webkitdotnet-160a223/WebKitCore/WebKitBrowserCore.cs Fri Mar 18 00:16:04 2011 | |
--- WEBKIT_test_working002/webkit.net/webkitdotnet-webkitdotnet-160a223/WebKitCore/WebKitBrowserCore.cs Wed May 11 10:17:26 2011 | |
*************** | |
*** 870,877 **** | |
if (loaded) | |
{ | |
// prepend with "http://" if url not well formed | |
! if (!Uri.IsWellFormedUriString(url, UriKind.Absolute)) | |
! url = "http://" + url; | |
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
*** webkit.net/webkitdotnet-webkitdotnet-160a223/WebKitBrowserTest/MainForm.cs Fri Mar 18 00:16:04 2011 | |
--- WEBKIT_test_working002/webkit.net/webkitdotnet-webkitdotnet-160a223/WebKitBrowserTest/MainForm.cs Fri May 13 15:17:01 2011 | |
*************** | |
*** 78,84 **** | |
// navigation bar events | |
navigationBar.Back += () => { currentPage.browser.GoBack(); ActivateBrowser(); }; | |
navigationBar.Forward += () => { currentPage.browser.GoForward(); ActivateBrowser(); }; | |
! navigationBar.Go += () => { currentPage.browser.Navigate(navigationBar.UrlText); ActivateBrowser(); }; | |
navigationBar.Refresh += () => { currentPage.browser.Reload(); ActivateBrowser(); }; | |
navigationBar.Stop += () => { currentPage.Stop(); ActivateBrowser(); }; |
NewerOlder