- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
| define :generate_ssh_keys, :user_account => nil do | |
| username = params[:user_account] | |
| raise ":user_account should be provided." if username.nil? | |
| Chef::Log.debug("generate ssh skys for #{username}.") | |
| execute "generate ssh skys for #{username}." do | |
| user username | |
| creates "/home/#{username}/.ssh/id_rsa.pub" |
| 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 |
| # 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 |
| #!/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. | |
| # |
| # -*- 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 |
| Copyright (c) 2011 ZURB, http://www.zurb.com/ |
| source 'https://rubygems.org' | |
| gem 'guard-livereload' | |
| gem 'guard-shell' | |
| gem 'foreman' |
| 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"; |
| 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_ | |