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
| %_builddir ~/rpms/BUILD | |
| %_smp_mflags -j4 | |
| %dist centos5 | |
| %_topdir ~/rpms | |
| %debug_package %{nil} | |
| %optflags x86_64 -O2 -fomit-frame-pointer -pipe |
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
| Net::SSH.start( | |
| ip_address, "wtatsuru" | |
| ) do |session| | |
| session.open_channel do |channel| | |
| channel.request_pty do |ch, success| | |
| raise "pty" unless success | |
| end | |
| channel.exec("sync") do |ch, success| | |
| ch.on_data do |c, data| puts data 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
| resolveprotocol: fake | |
| route { | |
| from: 0.0.0.0/0 to: 0.0.0.0/0 via: 127.0.0.1 port = 1080 | |
| protocol: tcp udp | |
| proxyprotocol: socks_v5 socks_v4 | |
| method: none | |
| } |
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
| @media screen and (max-device-width: 480px) { | |
| * { | |
| font-size: 48px; | |
| line-height: 64px; | |
| word-break: break-all; | |
| } | |
| table#banner, div#simple-header, div.sidebar, div.caption { | |
| display:none | |
| } | |
| img.hatena-star-comment-button, img.hatena-star-add-button, img.hatena-star-star { |
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
| # Weechat plugin | |
| use strict; | |
| use warnings; | |
| my %options = ( | |
| buffer => "glog", | |
| logger => "", | |
| exclude => "", | |
| ); |
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
| gcc -O3 -S shift.c |
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 'tumblife' | |
| require 'yaml' | |
| if ARGV.length < 2 | |
| puts "Usage: count_tumblr.rb blogname outfile [limit]" | |
| exit 0 | |
| 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 | |
| require 'rubygems' | |
| require 'RMagick' | |
| def split(src, n) | |
| width = src.columns | |
| height = src.rows | |
| crop_list = [] |
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
| cache: | |
| directory: /home/tatsuru/.tumblr-cache | |
| max: 1000 | |
| dashboard: | |
| limit: 10 | |
| check_interval: 30 | |
| notify_timeout: 30 | |
| text_length: 100 |
NewerOlder