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
(require 'package) | |
(add-to-list | |
'package-archives '("melpa". "http://melpa.milkbox.net/packages/")) | |
(package-initialize) | |
(require 'autopair) | |
(autopair-global-mode) | |
(require 'auto-complete-config) | |
(ac-config-default) |
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
irb(main):006:0> RbConfig::CONFIG.each {|key, value| p "#{key} => #{value}"} | |
"DESTDIR => " | |
"MAJOR => 1" | |
"MINOR => 9" | |
"TEENY => 1" | |
"PATCHLEVEL => 327" | |
"INSTALL => /usr/bin/install -c -o root -g wheel" | |
"EXEEXT => " | |
"prefix => /usr/local" | |
"ruby_install_name => ruby19" |
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
1.9.3-p327 :002 > RbConfig::CONFIG.each {|key, value| p "#{key} => #{value}"} | |
"DESTDIR => " | |
"MAJOR => 1" | |
"MINOR => 9" | |
"TEENY => 1" | |
"PATCHLEVEL => 327" | |
"INSTALL => /usr/bin/install -c" | |
"EXEEXT => " | |
"prefix => /home/ignisf/.rvm/rubies/ruby-1.9.3-p327" | |
"ruby_install_name => ruby" |
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
irb(main):001:0> RbConfig::CONFIG.each {|key, value| p "#{key} => #{value}"} | |
"DESTDIR => " | |
"MAJOR => 1" | |
"MINOR => 9" | |
"TEENY => 1" | |
"PATCHLEVEL => 194" | |
"INSTALL => /usr/bin/install -c -o root -g wheel" | |
"EXEEXT => " | |
"prefix => /usr/local" | |
"ruby_install_name => ruby19" |
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
"DESTDIR => " | |
"MAJOR => 1" | |
"MINOR => 9" | |
"TEENY => 1" | |
"PATCHLEVEL => 194" | |
"INSTALL => /usr/bin/install -c" | |
"EXEEXT => " | |
"prefix => /usr" | |
"ruby_install_name => ruby1.9.1" | |
"RUBY_INSTALL_NAME => ruby1.9.1" |
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
irb(main):001:0> RbConfig::CONFIG.each {|key, value| p "#{key} => #{value}"} | |
"DESTDIR => " | |
"MAJOR => 1" | |
"MINOR => 9" | |
"TEENY => 1" | |
"PATCHLEVEL => 194" | |
"INSTALL => /usr/bin/install -c" | |
"EXEEXT => " | |
"prefix => /usr" | |
"ruby_install_name => ruby1.9.1" |
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
#! /bin/sh | |
# Refactored from Ubuntu's hdparm script | |
# It isn't safe to set an APM policy by default on Firewire or USB devices. | |
# See https://bugs.launchpad.net/bugs/515023. | |
has_apm() | |
{ | |
hdparm -i $dev 2> /dev/null | grep -q 'AdvancedPM=yes' | |
} |
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
--- a/trackbar.pl 2008-05-17 18:39:11.000000000 +0300 | |
+++ b/trackbar.pl 2013-02-14 18:45:35.000000000 +0200 | |
@@ -128,6 +128,20 @@ | |
} | |
); | |
+Irssi::signal_add( | |
+ 'away mode changed' => sub { | |
+ my $oldwindow = Irssi::active_win(); | |
+ |
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
{"DESTDIR"=>"", | |
"MAJOR"=>"2", | |
"MINOR"=>"0", | |
"TEENY"=>"0", | |
"PATCHLEVEL"=>"0", | |
"INSTALL"=>"/usr/bin/install -c", | |
"EXEEXT"=>"", | |
"prefix"=>"/usr", | |
"ruby_install_name"=>"ruby", | |
"RUBY_INSTALL_NAME"=>"ruby", |
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
{"DESTDIR"=>"", | |
"MAJOR"=>"1", | |
"MINOR"=>"9", | |
"TEENY"=>"1", | |
"PATCHLEVEL"=>"194", | |
"INSTALL"=>"/usr/bin/install -c", | |
"EXEEXT"=>"", | |
"prefix"=>"/usr", | |
"ruby_install_name"=>"ruby1.9.1", | |
"RUBY_INSTALL_NAME"=>"ruby1.9.1", |
OlderNewer