##GitHub Pagesの開設のしかた(2012年9月版)
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
source 'https://rubygems.org' | |
ruby '2.1.5' | |
gem 'i18n' | |
gem 'activesupport' | |
gem 'octokit' |
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/sh | |
# https://gist.github.com/k2wanko/2217a7615b776a29d544 | |
branch=$(git branch | grep "*" | awk '{print $2}') | |
# if match , it return number only. if no match, it return branch name. | |
parse() { | |
target=$(cat -) | |
res=$(echo $target | sed -E -e "s/.*((#|issue[s]?[\/-_]?|_|-)([0-9]*)).*/\3/g") | |
if [ -n "$res" ]; then |
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
#!/usr/bin/env ruby | |
Dir.glob("#{ENV['HOME']}/works/**").each do |dir| | |
next unless File.exists?("#{File.expand_path(File.join(dir, '.git'))}") | |
Dir.chdir(dir) do | |
system("nippo.rb") | |
end | |
end |
原文 : http://source.android.com/tech/security/index.html
Androidプラットフォームを構成する主要なブロックは下記です。
- Device Hardware
- Android OS
- Androidアプリケーションランタイム
Here's how I set up a tiny Nginx/Rails server that uses HTTPS via a Let's Encrypt issued certificate.
I use the smallest DigitalOcean droplet (512 MB) here, which is built from the "Ubuntu Ruby on Rails on 14.04" image provided by them.
OlderNewer