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
# Home directory language setting : Japanese -> English | |
LANG=C; xdg-user-dirs-gtk-update | |
# useful app installation | |
sudo apt-get install aptitude | |
sudo aptitude install zsh vim-gnome ibus-mozc git | |
# git config | |
git config --global http.proxy proxy.addr.example:8080 |
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> | |
<head> | |
<!-- | |
(API KEYを取得して?key=YOUR_API_KEYの部分を書き換える) | |
API取得先: https://code.google.com/apis/console | |
参考文献: http://www.ajaxtower.jp/googlemaps/charset/index1.html | |
ドキュメント: https://developers.google.com/maps/documentation/javascript/geocoding?hl=ja | |
--> |
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
/* | |
* clang-exam1203.cpp | |
*/ | |
#include "stdafx.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <limits.h> |
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
" https://github.com/tdkn/dotfiles/blob/master/.vimrc | |
"------------------------------------------------------ | |
"--------------- | |
" Bundler | |
"--------------- | |
if has('vim_starting') | |
set nocompatible " Be iMproved | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif |
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
#!/bin/sh | |
PACKAGES=( | |
minimap | |
minimap-autohide | |
minimap-git-diff | |
file-icons | |
emmet | |
vim-mode |
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
import webpack from 'webpack'; | |
import path from 'path' | |
module.exports = { | |
entry: { | |
'main': `${__dirname}/_dev/js/main`, | |
'vendor': [ | |
'three', | |
'gsap', | |
'pixi.js', |
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
label.translatesAutoresizingMaskIntoConstraints = false | |
view.addSubview(label) | |
view.addConstraints([ | |
NSLayoutConstraint( | |
item: label, | |
attribute: .width, | |
relatedBy: .equal, | |
toItem: nil, | |
attribute: .width, | |
multiplier: 1.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
view.addSubview(label) | |
label.snp.makeConstraints { (make) in | |
make.size.equalTo(100) | |
make.center.equalToSuperview() | |
} |
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
require('es6-promise').polyfill() | |
require('isomorphic-fetch') | |
const fetchAsync = async () => { | |
const url = | |
'https://rawgit.com/tdkn/87ea58d6bd9b9f0a12f6ff176a6ca76f/raw/56910dd51cb5451d33699c02b3f7ca3ae28b0749/tide-area.json' | |
const response = await fetch(url) | |
const points = await response.json() | |
const symbols = {} |
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
brew install carthage coreutils fzf git-extras htop ranger reattach-to-user-namespace swiftlint tig tmux tree wget yarn zsh zsh-completions | |
brew install mongodb | |
brew install mysql |