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
/* dummytest.c */ | |
#include "dummytest.c" |
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
hello world |
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
# windowsでcurlのproxyを通す場合、 --proxy や --proxy-userをコマンドラインで指定する以外にも | |
# .curlrc で指定することもできるらしい。 | |
# ただし、ファイル名を _curlrc としなければならない。 | |
# curl.exe と同じディレクトリ内かホームディレクトリに保存 | |
proxy=http://proxy.example.com:8080/ | |
proxy-user=username: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
--- cygwinccompiler.py Thu Nov 28 15:47:59 2013 | |
+++ cygwinccompiler.py_org Tue Mar 8 09:43:14 2011 | |
@@ -319,11 +319,11 @@ | |
else: | |
entry_point = '' | |
- self.set_executables(compiler='gcc -O -Wall', | |
- compiler_so='gcc -mdll -O -Wall', | |
- compiler_cxx='g++ -O -Wall', | |
- linker_exe='gcc ', |
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
Sub ClipBordTest() | |
Dim obj | |
Set obj = CreateObject("htmlfile") | |
obj.parentWindow.clipboardData.setData "text", "クリップボードに入れてみるよ。" | |
End Sub | |
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
gistのCSSみたら | |
diffの + は rgb(221, 255, 221) | |
diffの - は rgb(255, 221, 221) | |
@@のとこは #800080 になってた。 | |
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
Sub test() | |
Set re = CreateObject("VBScript.RegExp") | |
re.Pattern = "\\u([a-fA-F0-9]{4})" | |
re.Global = True | |
re.IgnoreCase = True | |
re.MultiLine = True | |
a = "\u3042\u3044\u3046\u3048\u304A" 'あいうえお | |
Set mc = re.Execute(a) | |
For Each m In mc | |
For Each s In m.submatches |
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
Private Declare Function WSAStartup Lib "ws2_32.dll" _ | |
(ByVal wVersionRequested As Long, _ | |
ByRef lpWSAData As WSADataType) As Long | |
Private Const WSA_DESCRIPTIONLEN As Long = 256 | |
Private Const WSA_DESCRIPTIONSIZE As Long = WSA_DESCRIPTIONLEN + 1 | |
Private Const WSA_SYS_STATUS_LEN As Long = 128 | |
Private Const WSA_SYSSTATUSSIZE As Long = WSA_SYS_STATUS_LEN + 1 | |
Private Type WSADataType | |
wVersion As Integer | |
wHighVersion As Integer |
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
パソコンを変えてもVBAのデータが引きつかれてたので何でかなと | |
思ってしらべたら、データファイルで存在されていることがわかったのでメモ。 | |
※ %HOMEPATH%をバックアップして新しいパソコンで復元した場合の話。 | |
Microsoftのページ(古い) | |
http://msdn.microsoft.com/ja-jp/library/cc344607.aspx | |
実態は「VbaProject.OTM」らしい | |
・Windows 7 |
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
curl http://curl.haxx.se/ca/cacert.pem -o ca-bundle.crt |
OlderNewer