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
for id in $(aws ec2 describe-instances | jq -c '.Reservations[].Instances[] | select(.State.Name == "running") | .BlockDeviceMappings[].Ebs.VolumeId' | sed 's/"//g'); do aws ec2 describe-volumes | jq -c ".Volumes[] | select(.VolumeId == \"$id\") | .Size"; | done awk '{s+=$1} END {print s}' |
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
for name in $(find . -type f | xargs -I {} basename {} | sort | uniq -d); do find . -type f -name "$name"; done |
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
# downloading https://gist.github.com/e9e53f119c32f347e85b | |
patch -p0 < config/environment.rb.diff |
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
# add executable prop to all scripts in 'script' directory. | |
svn ls -R script/ | grep -v '/$'| xargs -i svn ps svn:executable ON script/{} |
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
シャッタースピードについて。 | |
http://cweb.canon.jp/cgi-bin/camera/dcam/spec.cgi?pr=psa580 | |
1/60~1/2000秒(オートモード)、15~1/2000秒(すべての撮影モードを合わせて) | |
とあるので、マニュアルで撮影すれば15秒まで取れるはずです。 | |
下位機種でも取れるのに、上位機種のほうがスペックが低くなってて変だと思って気づいて調べたら、そうだった。 |
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 | |
# wxRuby2 Sample Code. Copyright (c) 2004-2008 wxRuby development team | |
# Freely reusable code: see SAMPLES-LICENSE.TXT for details | |
begin | |
require 'rubygems' | |
rescue LoadError | |
end | |
require 'wx' | |
class MinimalFrame < Wx::Frame |
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 | |
# wxRuby2 Sample Code. Copyright (c) 2004-2008 wxRuby development team | |
# Freely reusable code: see SAMPLES-LICENSE.TXT for details | |
begin | |
require 'rubygems' | |
rescue LoadError | |
end | |
require 'wx' | |
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 | |
# wxRuby2 Sample Code. Copyright (c) 2004-2008 wxRuby development team | |
# Freely reusable code: see SAMPLES-LICENSE.TXT for details | |
begin | |
require 'rubygems' | |
rescue LoadError | |
end | |
require 'wx' | |
# This sample shows a fairly minimal Wx::App using a Frame, with a |
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 aptitude install flashplugin-nonfree | |
[...] | |
以下の新規パッケージが自動的にインストールされます: | |
nspluginwrapper | |
以下の新規パッケージがインストールされます: | |
flashplugin-nonfree nspluginwrapper | |
0 個のパッケージを更新、 2 個を新たにインストール、 0 個を削除予定、0 個が更新されていない。 | |
[...] | |
続けますか? [Y/n/?] y | |
[...] |
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
[Adblock Plus 0.7.5] | |
! | |
! *************************** MOVED *************************** | |
! | |
! Now moved the repository url as follows: | |
! http://git.sourceforge.jp/view?p=ayucat-list/ayucat-list.git;a=blob_plain;f=ayucat-list.txt | |
! | |
! See also: | |
! http://git.sourceforge.jp/view?p=ayucat-list/ayucat-list.git | |
! |
OlderNewer