VB6éçºè ã«è´ãGoFãã¶ã¤ã³ãã¿ã¼ã³ãäºåç·¨ã
ãã¾ãç¥ããã¦ããªããããªæ°ããã¾ãããVB6ã«ãä¸å®å ¨ãªãããªãã¸ã§ã¯ãæåããã°ã©ãã³ã°ãå®ç¾ããããã®æ©è½ã¯åãã£ã¦ãã¾ãã
- public, friend, private ã§ã®ã¹ã³ã¼ãå¶å¾¡ã«ããã«ãã»ã«åã®å®ç¾ã
- ã¤ã³ã¿ã¼ãã§ã¼ã¹ã«ããå¤æ æ§ã
- ç¶æ¿ã¯ãµãã¼ãããã¦ãã¾ããããå§è²ã使ã£ã¦ç¶æ¿ã¨ä¼¼ããã¨ã¯å®ç¾ã§ãã¾ããï¼ããªãå®è£ ã大å¤ã§ããï¼
ã¨ããããã¨ã§ VB6 㧠GoF ã®ãã¶ã¤ã³ãã¿ã¼ã³ãå®è£ ãã¦ã¿ã¦ãã©ã®ãããªã±ã¼ã¹ã§ãã®ãã¿ã¼ã³ãæå¹ãªã®ããã¨ããç¹ã VB6 ã®éçºè ç®ç·ã§ç´¹ä»ããã·ãªã¼ãºã¨ãã¦è¨äºãæ¸ãã¦ã¿ããã¨æãã¾ãã
以ä¸ãWikipediaããæ¾ã£ã¦ãã GoF ã®ãã¶ã¤ã³ãã¿ã¼ã³ãåæãã¦ããã¾ãã
è¨äºãæ¸ãæ¯ã«ãã®è¨äºã¸ã®ãªã³ã¯ãæ¿å
¥ãã¦ããããã¨æãã¾ãã
çæã«é¢ãããã¿ã¼ã³
- Abstract Factory ãã¿ã¼ã³
- é¢é£ããä¸é£ã®ã¤ã³ã¹ã¿ã³ã¹ãç¶æ³ã«å¿ãã¦é©åã«çæããæ¹æ³ãæä¾ããã
- Builder ãã¿ã¼ã³
- è¤ååãããã¤ã³ã¹ã¿ã³ã¹ã®çæéç¨ãé è½ããã
- Factory Method ãã¿ã¼ã³
- å®éã«çæãããã¤ã³ã¹ã¿ã³ã¹ã«ä¾åããªããã¤ã³ã¹ã¿ã³ã¹ã®çææ¹æ³ãæä¾ããã
- Prototype ãã¿ã¼ã³
- åæ§ã®ã¤ã³ã¹ã¿ã³ã¹ãçæããããã«ãååã®ã¤ã³ã¹ã¿ã³ã¹ãè¤è£½ããã
- Singleton ãã¿ã¼ã³
- ããã¯ã©ã¹ã«ã¤ãã¦ãã¤ã³ã¹ã¿ã³ã¹ãåä¸ã§ãããã¨ãä¿è¨¼ããã
æ§é ã«é¢ãããã¿ã¼ã³
- Adapter ãã¿ã¼ã³
- å ã é¢é£æ§ã®ãªã2ã¤ã®ã¯ã©ã¹ãæ¥ç¶ããã¯ã©ã¹ãä½ãã
- Bridge ãã¿ã¼ã³
- ã¯ã©ã¹ãªã©ã®å®è£ ã¨ãå¼åºãå´ã®éã®æ©æ¸¡ããããã¯ã©ã¹ãç¨æããå®è£ ãé è½ããã
- Composite ãã¿ã¼ã³
- å帰çãªæ§é ã表ç¾ããã
- Decorator ãã¿ã¼ã³
- ããã¤ã³ã¹ã¿ã³ã¹ã«å¯¾ããåçã«ä»å æ©è½ã追å ãããFilterã¨ãå¼ã°ããã
- Facade ãã¿ã¼ã³
- è¤æ°ã®ãµãã·ã¹ãã ã®çªå£ã¨ãªãå ±éã®ã¤ã³ã¿ãã§ã¼ã¹ãæä¾ããã
- Flyweight ãã¿ã¼ã³
- å¤æ°ã®ã¤ã³ã¹ã¿ã³ã¹ãå ±æããã¤ã³ã¹ã¿ã³ã¹ã®æ§ç¯ã®ããã®è² è·ãæ¸ããã
- Proxy ãã¿ã¼ã³
- å ±éã®ã¤ã³ã¿ãã§ã¼ã¹ããã¤ã¤ã³ã¹ã¿ã³ã¹ãå å ããå©ç¨è ããã®ã¢ã¯ã»ã¹ã代çãããWrapperã¨ãå¼ã°ããã
æ¯ãèãã«é¢ãããã¿ã¼ã³
- Chain of Responsibility ãã¿ã¼ã³
- ã¤ãã³ãã®éåä¿¡ãè¡ãè¤æ°ã®ãªãã¸ã§ã¯ããéç¶ã«ã¤ãªãããããã®éãã¤ãã³ãã渡ããã¦ããããã«ããã
- Command ãã¿ã¼ã³
- è¤æ°ã®ç°ãªãæä½ã«ã¤ãã¦ãããããã«å¯¾å¿ãããªãã¸ã§ã¯ããç¨æãããªãã¸ã§ã¯ããåãæ¿ãããã¨ã§æä½ã®åæ¿ããå®ç¾ããã
- Interpreter ãã¿ã¼ã³
- æ§æ解æã®ããã«ãææ³è¦åãåæ ããã¯ã©ã¹æ§é ãä½ãã
- Iterator ãã¿ã¼ã³
- è¤æ°ã®è¦ç´ ãå å ãããªãã¸ã§ã¯ãã®ãã¹ã¦ã®è¦ç´ ã«é ã«ã¢ã¯ã»ã¹ããæ¹æ³ãæä¾ãããå復åã
- Mediator ãã¿ã¼ã³
- ãªãã¸ã§ã¯ãéã®ç¸äºä½ç¨ã仲ä»ãããªãã¸ã§ã¯ããå®ç¾©ãããªãã¸ã§ã¯ãéã®çµå度ãä½ãããã
- Memento ãã¿ã¼ã³
- ãã¼ã¿æ§é ã«å¯¾ããä¸é£ã®æä½ã®ãããããè¨é²ãã¦ããã以åã®ç¶æ ã®å¾©å¸°ã¾ãã¯æä½ã®åç¾ãè¡ããããã«ããã
- Observer ãã¿ã¼ã³
- ã¤ã³ã¹ã¿ã³ã¹ã®å¤åãä»ã®ã¤ã³ã¹ã¿ã³ã¹ããç£è¦ã§ããããã«ãããListenerã¨ãå¼ã°ããã
- State ãã¿ã¼ã³
- ãªãã¸ã§ã¯ãã®ç¶æ ãå¤åããããã¨ã§ãå¦çå 容ãå¤ããããããã«ããã
- Strategy ãã¿ã¼ã³
- ãã¼ã¿æ§é ã«å¯¾ãã¦é©ç¨ããä¸é£ã®ã¢ã«ã´ãªãºã ãã«ãã»ã«åããã¢ã«ã´ãªãºã ã®åæ¿ãã容æã«ããã
- Template Method ãã¿ã¼ã³
- ããã¢ã«ã´ãªãºã ã®éä¸çµéã§å¿ è¦ãªå¦çãæ½è±¡ã¡ã½ããã«å§ãããã®å®è£ ãå¤ãããã¨ã§å¦çãå¤ããããããã«ããã
- Visitor ãã¿ã¼ã³
- ãã¼ã¿æ§é ãä¿æããã¯ã©ã¹ã¨ãããã«å¯¾ãã¦å¦çãè¡ãã¯ã©ã¹ãåé¢ããã
â»ä¸è¨ã®ãã¿ã¼ã³å称ããã³èª¬æã®æç« ã¯ããã¶ã¤ã³ãã¿ã¼ã³ (ã½ããã¦ã§ã¢) - Wikipediaãããå¼ç¨ãã¦ãã¾ãããããããã®ãªã³ã¯å ã¯ããã®ããã°ã«æ²è¼ããã¦ããè¨äºã¸ã®ãªã³ã¯ã§ã*1ã
*1:ããããè¨äºãæ稿ãããã¨ã«ãªã³ã¯ãã¦ããäºå®ã§ã
ã¦ã§ããã©ã¦ã¶ã§SVNãªãã¸ããªã®ç¹å®ã®ãªãã¸ã§ã³ãåç §ããURI
Subversion 1.6 ã®ãªãªã¼ã¹ãã¼ãããæç²
mod_dav_svn now supports a new public URI syntax for examining older versions of files or directories. The intent here is to allow users to examine history without the use of an svn client, and to make it easier for 3rd-party tools (e.g. code-review services) to work directly against repositories without using svn libraries.[]http://host/repos/path?[p=PEG][&r=REV][]The new syntax works similarly to the way URIs work with the svn commandline client. Simply requesting http://host/repos/path fetches "path" in the HEAD revision. Adding a "p" query argument specifies a different peg revision instead, so that:
[]http://host/repos/path?p=38[]...is similar to specifying "path@38" on the commandline. Adding a "r" query argument is like specifying "-r" on the commandline, causing the repository to follow history backwards from the peg revision to the older operative revision:
[]http://host/repos/path?p=38&r=20[]As with the commandline, the peg revision defaults to HEAD if unspecified, and the operative revision defaults to the peg revision. The online Subversion Book has a section explaining peg and operative revisions in great detail.
New public 'historical' HTTP URI syntax for mod_dav_svn (server) - Apache Subversion 1.6 Release Notes
é常ã®URIã«å¯¾ãã¦ãp=
ã§ãã°ãªãã¸ã§ã³ãr=
ã§æä½å¯¾è±¡ãªãã¸ã§ã³ãæå®ã§ãããããã
SlimTimerããã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦ä½¿ã
Bubblesã®ãµã¼ãã¹ãçµäºãã¦ãã¾ã£ã¦ãåããªããªã£ã¦ãã®ã§ããã®æ©ä¼ã« Mozilla ã® Prism ã«ç§»è¡ããã
prism.exe ãèµ·åãã¦ã以ä¸ã®ããã«è¨å®ãã㨠Slim Timer ããããããã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³ã®ããã«å©ç¨ã§ãã¾ãã
- URL : http://slimtimer.com/client
- Name : ä»»æï¼"Slim Timer"ã¨ããèªåã®åãããããååã«ï¼
- Create Shortcut : ä»»æï¼é©å½ã«"Desktop"ã¨ãã«ä½ã£ã¦ããã¾ãï¼
ããã§ããOKããæ¼ãã¨ä»¥ä¸ã®ããã«ãã¹ã¯ãããã« Slim Timer ã®ã¢ã¤ã³ã³ãåºæ¥ã¦ããããã Slim Timer ãèµ·åã§ããããã«ãªãã¾ãã
便å©ã§ããã
Proxy ãµã¼ããéãå¿ è¦ãããå ´å
念ã®ããã社å LANãªã©ããProxyãéãã¦ã¢ã¯ã»ã¹ããå¿ è¦ãããå ´åã®è¨å®æ¹æ³ã«ã¤ãã¦ãæ¸ãã¦ããã¾ãã
ãã®ãããªã±ã¼ã¹ã§ã¯ãPreferenceãã§ãWebã¢ããªã±ã¼ã·ã§ã³ãã¨ã«Proxyã®è¨å®ãè¡ãå¿ è¦ãããã¾ããã¾ãããPreferenceãç»é¢ã«ã¢ã¯ã»ã¹ããããã«ã¯ãã¹ãã¼ã¿ã¹ãã¼ã表示ãã¦ããªãã¨ã¢ã¯ã»ã¹ãããã¨ãåºæ¥ãªãã¨ããç½ ããããã注æãå¿ è¦ã§ãã
ã¹ãã¼ã¿ã¹ãã¼ã表示ããããã«ã¯ãæåã®Webã¢ããªã±ã¼ã·ã§ã³ã®ã»ããã¢ããç»é¢ã§
ã®ããã«ã"Show status and messages" ã®ãã§ãã¯ãä»ãã¦ããå¿
è¦ãããã¾ãã
ããããã¨ã以ä¸ã®ããã«ã¹ãã¼ã¿ã¹ãã¼ã«ã¢ã¤ã³ã³ããéãã¡ãã¥ã¼ãã"Preference..."ãé¸ãã§ã
"Advanced"ã¿ã㧠Proxy ã®è¨å®ãè¡ãã¾ãã
Proxy è¨å®ï¼ããã«ã¼ãªäººç¨ï¼
C:\Documents and Settings\(ã¦ã¼ã¶ID)\Application Data\Prism\SlimTimer\Profiles\xxxxxxx.xxxxxxx\prefs.js
ã«ãMozilla ã¢ããªã±ã¼ã·ã§ã³ã§ããªãã¿ã®ãPrefs.js ãããã¾ãã®ã§ãããã«ã
user_pref("network.proxy.autoconfig_url", "http://proxy.hoge.com/proxy.pac"); user_pref("network.proxy.type", 2);
ã¨ãæ¸ãã¦ããã°ãã¹ãã¼ã¿ã¹ãã¼ãéããªãã¦ãããã£ãããã¾ãã
ãANTLRã§Brainf*ckã¤ã³ã¿ããªã¿ãã¨ããã®ãæ¸ãã¾ãã
ã¡ãã£ã¨åã«ãªãã¾ããã以ä¸ã®ãããªè¨äºãæ°ããã°ã«æ¸ãã¾ããã
ããã°ç§»è¡è¨ç»ï¼Tumblrã¸ï¼
æ°ããå¹´ãå§ã¾ã£ããã¨ã ããæ°åãå¤ãã¦ãæ°ããããã°ãç«ã¡ä¸ããã
ãã®ãã¯ã¦ãªãã¤ã¢ãªã¼ã¨ã®ä½¿ãåãã¯ãã¾ã èãä¸...
2012.2.26 追è¨
- æ¥ã ã®ç´°ããã¡ã¢ã¨ãæççãªèãã¨ãã¯ããã¤ã¢ãªã¼ã¸ã
- ã¾ã¨ãããã¦ãã¦ï¼æ å ±çãªãã®ã¯ãæ°ããã°ã¸ã
ã¨ããæãã«ãã¦ã¿ãã
httpd.conf 㧠mod_dav_svn.so ãèªã¿è¾¼ã¾ãã㨠httpd ãèµ·åããªããªã£ã
Apache2(Windowsç)ã§Subversionããããã¯ã¼ã¯ã«å¯¾å¿ - ã¦ãã·ãã¡ã¢
ãåèã«ã»ããã¢ããããã
ããããæ®éã«ã¤ã³ã¹ãã¼ã«ã
mod_dav_svn.so ã Apache ã® modules ãã©ã«ãã«é
ç½®ããå¾ãhttp.conf ã«ä»¥ä¸ã®è¡ã追å
LoadModule dav_svn_module modules/mod_dav_svn.so
ããã¨ãhttpdãèµ·åããªããªã£ãã
ã¤ãã³ããã°ãè¦ãã¨
The Apache service named reported the following error: >>> 2\x83W\x83\x85\x81[\x83\x8b\x82\xaa\x8c\xa9\x82\xc2\x82\xa9\x82\xe8\x82\xdc\x82\xb9\x82\xf1\x81B
ã¨ããã¡ãã»ã¼ã¸ã
æå
ã« W32notes.txt ãç¡ãã£ãã®ã§ãã°ã°ãã¦è¦ã¤ãããã®
W32notes.txt
ãè¦ãã¨ã
mod_dav_svn.so ãåä½ããããã«å¿ è¦ãªdllãèªã¿è¾¼ãã¦ããªãã£ã½ãã®ã§ãSubversion\bin ã® *.dll ã Apache\bin ã«ã³ãã¼*1
ãã®å¯¾å¿ã§ä¸å¿ãhttpdãèµ·åããããã«ãªã£ãã
ãã¨ã¯ã以ä¸ã®ããã« http.conf ã«è¨è¿°ããã°ãhttpçµç±ã§ã®ãªãã¸ããªãå¯è½ã«ãªãã
<Location /repos> DAV svn SVNPath x:/svn/repos </Location>
ä¸è¨ã®å ´åããã©ã¦ã¶ãã http://localhost/repos ã§ãªãã¸ããªã«ã¢ã¯ã»ã¹ã§ãããOK