ルートをDropboxにすると便利そう。次回もしくは追記します。 バーチャルホストの設定が管理上楽になると思いますのでその通りに。 追記:Xcodeとhomebrewくらいは入れておいた方がよさげです。 特にhomebrewは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
open /Applications/Sublime\ Text\ 2.app/Contents/Resources/ | |
黒い画面からst2もひらけごま「subl」 | |
sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/bin/subl |
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
# | |
# Mac OS X / Mac OS X Server | |
# The <IfDefine> blocks segregate server-specific directives | |
# and also directives that only apply when Web Sharing or | |
# server Web Service (as opposed to other services that need Apache) is on. | |
# The launchd plist sets appropriate Define parameters. | |
# Generally, desktop has no vhosts and server does; server has added modules, | |
# custom virtual hosts are only activated when Web Service is on, and | |
# default document root and personal web sites at ~username are only | |
# activated when Web Sharing is on. |
当日使用したサンプルがこれ
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
// retina.js, a high-resolution image swapper (http://retinajs.com), v0.0.2 | |
(function(){function t(e){this.path=e;var t=this.path.split("."),n=t.slice(0,t.length-1).join("."),r=t[t.length-1];this.at_2x_path=n+"@2x."+r}function n(e){this.el=e,this.path=new t(this.el.getAttribute("src"));var n=this;this.path.check_2x_variant(function(e){e&&n.swap()})}var e=typeof exports=="undefined"?window:exports;e.RetinaImagePath=t,t.confirmed_paths=[],t.prototype.is_external=function(){return!!this.path.match(/^https?\:/i)&&!this.path.match("//"+document.domain)},t.prototype.check_2x_variant=function(e){var n,r=this;if(this.is_external())return e(!1);if(this.at_2x_path in t.confirmed_paths)return e(!0);n=new XMLHttpRequest,n.open("HEAD",this.at_2x_path),n.onreadystatechange=function(){return n.readyState!=4?e(!1):n.status>=200&&n.status<=399?(t.confirmed_paths.push(r.at_2x_path),e(!0)):e(!1)},n.send()},e.RetinaImage=n,n.prototype.swap=function(e){function n(){t.el.complete?(t.el.setAttribute("width",t.el.offsetWidth),t.el. |
OlderNewer