- Github flow には関係ない
- push権限を与えるために Github の ID確認のために。
- https://github.com/great-h/great-h.github.io/issues?milestone=3&state=open
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
Tricks to add encrypted private SSH key to .travis.yml file | |
To encrypt the private SSH key into the "-secure: xxxxx....." lines to place in the .travis.yml file, generate a deploy key then run: (to see what the encrypted data looks like, see an example here: https://github.com/veewee-community/veewee-push/blob/486102e6f508214b04414074c921475e5943f682/.travis.yml#L21 | |
base64 --wrap=0 ~/.ssh/id_rsa > ~/.ssh/id_rsa_base64 | |
ENCRYPTION_FILTER="echo \$(echo \"-\")\$(travis encrypt veewee-community/veewee-push \"\$FILE='\`cat $FILE\`'\" | grep secure:)" | |
split --bytes=100 --numeric-suffixes --suffix-length=2 --filter="$ENCRYPTION_FILTER" ~/.ssh/id_rsa_base64 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
package com.google.android.gcm.demo.app; | |
import android.content.Context; | |
import android.content.Intent; | |
public final class CommonUtilities { | |
/** サードパーティのID登録/解除用URL */ | |
static final String SERVER_URL = "http://localhost:8080/jsp"; |
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' | |
gem 'guard-livereload' | |
gem 'guard-shell' | |
gem 'foreman' |
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
Copyright (c) 2011 ZURB, http://www.zurb.com/ |
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
# -*- coding: utf-8 -*- | |
require 'uri' | |
class WebBrowser | |
def self.open(uri) | |
uri = URI.parse(uri.to_s) | |
unless %w[ http https ftp file ].include?(uri.scheme) | |
raise ArgumentError | |
end |
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 | |
# github-connect.sh | |
# ----------------- | |
# Copyright 2012 Andrew Coulton - released under the BSD licence | |
# | |
# A simple command line script to set up and register an SSH key against a | |
# user's github account - for example when provisioning a new virtual | |
# machine for a developer. | |
# |
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
# sudo su - | |
# apt-get install openjdk-6-jdk | |
# apt-get install ant1.8 | |
Source control, in this case svn: | |
# apt-get install subversion | |
Install Jenkins |
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
Option Explicit | |
Private exportSelf As Boolean | |
Public Const MODULE_NAME_SPACE As String = "VBACodeExporter" | |
Private Enum ComponentType | |
STANDARD_MODULE = 1 | |
CLASS_MODULE = 2 | |
USER_FORM = 3 | |
DOCUMENT_MODULE = 100 |
NewerOlder