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
/* | |
File: UIImageEffects.h | |
Abstract: This class contains methods to apply blur and tint effects to an image. | |
This is the code you’ll want to look out to find out how to use vImage to | |
efficiently calculate a blur. | |
Version: 1.1 | |
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple | |
Inc. ("Apple") in consideration of your agreement to the following | |
terms, and your use, installation, modification or redistribution of |
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
#!/bin/bash | |
: << '#__REM__' | |
指定さたライブラリをAndroid用にフルオートで作成します。ダウンロード、toolchainsの作成、複数のアーキテクチャのビルドも自動的に行います。デフォルトではarmv5te、armv7-a、mips1、i386のアーキテクチャを作成します。 | |
Create a full-auto for Android the library specified. Creating download, toolchains, build the architecture of multiple automatically. Create architecture, mips1, i386 armv5te, armv7-a by default. | |
#__REM__ | |
TARGET_VERSION="1.3.1" |
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
syntax on | |
set expandtab | |
set shiftwidth=2 | |
set softtabstop=2 | |
set tabstop=4 | |
au BufRead,BufNewFile Podfile,*.podspec set filetype=ruby | |
autocmd Filetype html setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2 | |
autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4 |
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
# github account | |
Host github.com | |
User git | |
StrictHostKeyChecking no | |
UserKnownHostsFile /dev/null | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/id_rsa |
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
port 6379 | |
bind 0.0.0.0 | |
pidfile /var/run/redis.pid | |
daemonize yes | |
cluster-enabled yes | |
cluster-config-file nodes.conf | |
cluster-node-timeout 5000 | |
appendonly yes |
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
# install redis 3.0.3 | |
sudo apt-get install language-pack-UTF-8 | |
sudo apt-get update | |
sudo apt-get install -y make | |
sudo apt-get install -y build-essential | |
sudo apt-get install -y libjemalloc-dev | |
wget http://download.redis.io/releases/redis-3.0.3.tar.gz | |
tar -zxvf redis-3.0.3.tar.gz |
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
global | |
log /dev/log local0 | |
log /dev/log local1 notice | |
chroot /var/lib/haproxy | |
stats socket /run/haproxy/admin.sock mode 660 level admin | |
stats timeout 30s | |
user haproxy | |
group haproxy | |
daemon |
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
# install haproxy 1.5 | |
sudo apt-get install language-pack-UTF-8 | |
sudo apt-add-repository ppa:vbernat/haproxy-1.5 | |
sudo apt-get update | |
sudo apt-get install -y haproxy |
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
#!/bin/bash | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install software-properties-common libssl-dev openssl wget cmake | |
## Install latest Python 3 | |
# ----------------------- | |
PY_VERSION=3.4.3 | |
PY_URL="https://www.python.org/ftp/python/$PY_VERSION/Python-$PY_VERSION.tgz" | |
PY_DIR="Python-$PY_VERSION" | |
# Run these cmd in /opt |
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
env_variables: | |
DEBUG: true | |
PHASE: local |
OlderNewer