Skip to content

Instantly share code, notes, and snippets.

@yevgenko
yevgenko / .Xdefaults
Created August 24, 2011 02:58
URxvt settings with solarized theme
!-------------------------------------------------------------------------------
! Xft settings
!-------------------------------------------------------------------------------
Xft.dpi: 96
Xft.antialias: false
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
@liangzan
liangzan / .Xresources
Created January 19, 2012 23:26
Xresources for configuring urxvt
! urxvt
URxvt*buffered: true
URxvt*cursorBlink: true
URxvt*underlineColor: yellow
URxvt*font: xft:inconsolata:size=10:antialias=true
URxvt*depth: 32
URxvt*borderless: 1
URxvt*scrollBar: false
URxvt*loginShell: true
Urxvt*secondaryScroll: true # Enable Shift-PageUp/Down in screen
@takuya
takuya / yucho_bank.rb
Created February 24, 2012 07:34
ゆうちょ銀行のログインとか取得か ref: http://qiita.com/items/2781
require 'rubygems'
require 'kconv'
require 'openssl'
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
require 'mechanize'
class YuchoBank
attr_accessor :password, :passphrase_list, :id, :password,:m
START_URL ="https://direct.jp-bank.japanpost.jp/direct_login.html?link_id=ycDctLgn"
def initialize()
@melborne
melborne / README
Created August 7, 2012 11:42
Lack is a minified Rack just for study.
Lack is a minified Rack just for study.
@mochiz
mochiz / gist:4736183
Last active April 16, 2023 03:56
rbenvとruby-buildでRuby環境を最新に保つ

rbenvとruby-buildでRuby環境を最新に保つ

更新日:2014/11/19

rbenv, ruby-buildを更新

$ cd ~/.rbenv
$ git pull origin master
$ cd ~/.rbenv/plugins/ruby-build
$ git pull origin master
@takehiko
takehiko / setting-ruby.zsh
Last active December 14, 2015 09:39
Settings for installing and utilizing Ruby snapshots
# settings for installing and utilizing Ruby snapshots
# function:
# ruby-snss-install
# ruby-snapshot-install
# ruby-sn-install
# ruby-stable-snapshot-install
# ruby-ss-install
# ruby-install
# use-ruby-snapshot
@kozo2
kozo2 / kansaidebian-72-debian-and-ubuntu.md
Last active March 23, 2021 05:18
第72回関西Debian勉強会「DebianとUbuntuの違いを知ろう」

「DebianとUbuntuの違いを知ろう」

この話の趣旨

「Linuxはとりあえず人気のあるUbuntuを使っている」という方は多いのでは 無いでしょうか。
この話はDebianとUbuntuの違いを挙げ、どちらがみなさんに適しているか考え てみていただくことを目的としています。

supportされるarchitecture

@matz
matz / list of old ruby tar balls
Created May 31, 2013 16:27
私のPCにあった過去のRubyのtarballのリスト
ruby-1.0-970819.tar.gz
ruby-1.0-970820.tar.gz
ruby-1.0-970821.tar.gz
ruby-1.0-970903.tar.gz
ruby-1.0-970908.tar.gz
ruby-1.0-970909.tar.gz
ruby-1.0-970910.tar.gz
ruby-1.0-970911.tar.gz
ruby-1.0-970919.tar.gz
ruby-1.0-970930.tar.gz
@yatemmma
yatemmma / git-lesson.md
Last active February 15, 2022 03:36
git初心者への道 - お仕事で困らないレベルまでググっとします。

git初心者への道

まずやってみよう - コミットする、ログを見る、差分を見る

初登場するコマンド: init, add, commit, log, config, status, diff

#!/usr/bin/env ruby
file = File.open("index.html", "r:iso-2022-jp:UTF-8")
content = file.read
all_html = <<HTML
<html>
<head>
<meta http-requiv="Content-Type" content="text/html;charset=utf-8">
<meta name="Author" content="Aoki Minero">