$ brew search mcrypt
$ brew install homebrew/php/php55-mcrypt
$ php --ini
Configuration File (php.ini) Path: /etc
Loaded Configuration File: (none)
Scan for additional .ini files in: /Library/Server/Web/Config/php
Additional .ini files parsed: (none)
This file contains hidden or 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
$ php artisan | |
Laravel Framework version 5.0.4 | |
Usage: | |
[options] command [arguments] | |
Options: | |
--help (-h) Display this help message | |
--quiet (-q) Do not output any message | |
--verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug |
This file contains hidden or 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
01 北海道 | |
02 青森県 | |
03 岩手県 | |
04 宮城県 | |
05 秋田県 | |
06 山形県 | |
07 福島県 | |
08 茨城県 | |
09 栃木県 | |
10 群馬県 |
This file contains hidden or 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
$ npm install -g git://github.com/mhevery/jasmine-node#Jasmine2.0 |
This file contains hidden or 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
function fetchFbLikeCount(url) { | |
return $.ajax({ | |
dataType: 'json', | |
url: 'http://graph.facebook.com/?id=' + encodeURI(url) | |
}).done(function(data) { | |
console.log(url, data.shares); | |
}); | |
} | |
var urls = [ |
This file contains hidden or 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
var system = require('system'); | |
var url = system.args[1]; | |
var page = require('webpage').create(); | |
page.viewportSize = { width: 1024, height: 800 }; | |
page.open(url, function(status) { | |
if (status === 'success') { | |
setTimeout(function() { | |
page.evaluate(function() { | |
document.body.style.backgroundColor = 'white'; | |
}); |
This file contains hidden or 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
zurb/foundation | https://github.com/zurb/foundation | |
Semantic-Org/Semantic-UI | https://github.com/semantic-org/semantic-ui/ | |
yui/pure | https://github.com/yui/pure | |
uikit/uikit | https://github.com/uikit/uikit | |
sapo/Ink | https://github.com/sapo/Ink/ | |
GumbyFramework/Gumby | https://github.com/GumbyFramework/Gumby | |
jonikorpi/Golden-Grid-System | https://github.com/jonikorpi/Golden-Grid-System | |
ThisIsDallas/Simple-Grid | https://github.com/ThisIsDallas/Simple-Grid | |
iKreativ/Workless | https://github.com/iKreativ/Workless | |
andhart/bijou | https://github.com/andhart/bijou |
This file contains hidden or 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
$ g++ -std=c++11 hoge.cpp -o hoge | |
$ ./hoge |
This file contains hidden or 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
module.exports = (grunt) -> | |
grunt.loadNpmTasks 'grunt-contrib-jade' | |
grunt.loadNpmTasks 'grunt-contrib-watch' | |
grunt.loadNpmTasks 'grunt-contrib-connect' | |
grunt.initConfig | |
connect: | |
server: | |
options: | |
port: 9000 |
This file contains hidden or 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
-- アプリが起動してない場合 | |
if not application "Adobe Photoshop CS6" is running then | |
-- 入力ソースをU.S.に切り替える | |
tell application "System Events" to tell process "SystemUIServer" | |
tell (menu bar item 1 of menu bar 1 where description is "text input") | |
click | |
click menu item "U.S." of menu 1 | |
end tell | |
end tell | |