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 dropboxignore() { | |
dropboxignore=~/Downloads/dropboxignore | |
if [ ! -e "$dropboxignore$PWD/$1" ]; then | |
mkdir -pv $dropboxignore$PWD | |
mv -v $1 $dropboxignore$PWD/$1 | |
fi | |
ln -Fsv $dropboxignore$PWD/$1 | |
} |
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
DOTFILES = $(wildcard *.dot) | |
PNGFILES = $(DOTFILES:.dot=.png) | |
.SUFFIXES: .png .dot | |
.dot.png: | |
dot -Tpng $< > $@ | |
png: $(PNGFILES) |
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 options | |
session.save_handler = files | |
session.save_path = /var/lib/php5 | |
session.gc_maxlifetime = 1440 | |
short_open_tag = On | |
expose_php = Off | |
; hhvm specific | |
hhvm.log.level = Warning |
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
<?= $this->Html->script('jquery') ?> | |
<?= $this->fetch('script'); ?> |
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
root = true | |
[*] | |
indent_style = tab | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
charset = utf-8 | |
[Vagrantfile] |
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
<!DOCTYPE html> | |
<html ng-app="myApp"> | |
<head> | |
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet"> | |
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div class="container" ng-controller="testCtrl"> | |
</div><!-- /.cintainer --> | |
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script> |
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 | |
use Cake\Network\Http\Client; | |
public function fsq() { | |
$client = new Client(); | |
$url = 'https://api.foursquare.com/v2/venues/search'; | |
$res = $client->get($url, [ | |
'll' => '44.3,37.2', | |
'client_id' => 'クライアントID', | |
'client_secret' => 'シークレットキー', |