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
$ DEBUG_RESOLVER=true bundle install --gemfile /home/deploy/apps/appname/releases/20130524020935/Gemfile --path /home/deploy/apps/appname/shared/bundle --deployment --binstubs --without test development deploy --verbose | |
Fetching from: https://rubygems.org/api/v1/dependencies | |
HTTP Redirection | |
Fetching from: https://bundler.rubygems.org/api/v1/dependencies | |
HTTP Success | |
Fetching source index from https://rubygems.org/ | |
Fetching from: https://rubygems.org/quick/Marshal.4.8/actionmailer-4.0.0.beta1.gemspec.rz | |
HTTP Redirection | |
Fetching from: https://bb-m.rubygems.org/quick/Marshal.4.8/actionmailer-4.0.0.beta1.gemspec.rz | |
HTTP Success |
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
Pod::Spec.new do |s| | |
s.name = 'JSONKit' | |
s.version = '1.5pre2' | |
s.license = 'BSD / Apache License, Version 2.0' | |
s.summary = 'A Very High Performance Objective-C JSON Library.' | |
s.homepage = 'https://github.com/johnezang/JSONKit' | |
s.author = 'John Engelhart' | |
s.source = { :git => 'https://github.com/SpacyRicochet/JSONKit.git', :commit => 'b942b7eee06583a57895ee1953e7bab87df2b0c4' } | |
s.source_files = 'JSONKit.*' |
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
#!/usr/bin/env ruby | |
require 'nokogiri' | |
def scan_wifi | |
xml = `/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s -x` | |
doc = Nokogiri::XML(xml) | |
system 'clear' | |
puts "## #{Time.now.to_s}" | |
results = [] |
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
- (void)md5HashFromUIImage:(UIImage*)image | |
hash:(unsigned char*)hash | |
{ | |
CGDataProviderRef dataProvider = CGImageGetDataProvider(image.CGImage); | |
NSData *data = (NSData*)CFBridgingRelease(CGDataProviderCopyData(dataProvider)); | |
CC_MD5([data bytes], [data length], hash); | |
} | |
- (BOOL)compareUIImages:(UIImage*)image1 | |
image:(UIImage*)image2 |
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
#!/usr/bin/env ruby | |
while l = gets do | |
if l.index '?? ' | |
path = l.gsub( /\?\? /, '' ) | |
system "rm -rf #{path}" | |
end | |
end |
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
#!/usr/bin/env ruby | |
while l = gets do | |
if l.index '?? ' | |
puts l.gsub( /\?\? /, '' ) | |
end | |
end |
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 | |
# 引数の数を確認 | |
if [ $# -ne 2 ]; then | |
echo "Usage: gifmaker.sh [file] [zoom ratio by percent]" 1>&2 | |
echo "" 1>&2 | |
echo " ex) gifmaker.sh movie.mp4 50" 1>&2 | |
exit 1 | |
fi |
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
自慢したくなるように | |
ありがたみ/価値が伝わるように | |
静になるように | |
高級感がでるように | |
記憶に残る/くせになるように | |
高齢者が使いやすいように | |
コレクションできる/マニア向けになるように | |
同時にできるように | |
持ち運びやすくするために | |
目立たない/ばれないように |
OlderNewer