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
Section "Device" | |
Identifier "Device0" | |
Driver "nvidia" | |
VendorName "NVIDIA Corporation" | |
BoardName "GeForce GTX Titan" | |
BusID "PCI:1:0:0" | |
Option "SLI" "Auto" | |
Option "MultiGPU" "0" | |
EndSection |
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
# in $HOME/.irssi/startup, put: load xmpp on a line by itself | |
settings = { | |
"fe-common/xmpp" = { | |
xmpp_status_window = "yes"; | |
xmpp_send_composing = "no"; | |
}; | |
"xmpp/core" = { xmpp_set_nick_as_username = "yes"; }; | |
}; | |
servers = { |
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
本拠> ber test | |
Cannot find or read /Users/wilson/code/rubygems.org/config/newrelic.yml | |
Cannot find or read /Users/wilson/code/rubygems.org/config/newrelic.yml | |
Run options: | |
# Running tests: | |
.............................................................................................................................................................................................................................................................................................................................................. | |
Finished tests in 11.060407s, 30.1978 tests/s, 60.3052 assertions/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
worker_thread = Thread.new do | |
start_working_forever unless worker_thread[:stop] | |
end | |
default = trap(:INT) do | |
timeout = 30 | |
slayer = Thread.new do | |
sleep timeout | |
worker_thread.terminate if worker_thread.alive? | |
end |
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
" always show command and status line, messages shown separately | |
set guioptions=sCcM | |
" Disable the 'waiting for completions' display: | |
silent :hi CompMsg[key=waiting] display: none; | |
" no beeps! | |
set visualbell | |
" and kill off the visualbell | |
silent :js dactyl.beep = function () {}; | |
set nomore |
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
(in /Users/wilson/code/rubygems) | |
/Users/wilson/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -w -Ilib:bin:test:. -e 'require "rubygems"; require "minitest/autorun"; require "test/test_config.rb"; require "test/test_gem.rb"; require "test/test_gem_builder.rb"; require "test/test_gem_command.rb"; require "test/test_gem_command_manager.rb"; require "test/test_gem_commands_build_command.rb"; require "test/test_gem_commands_cert_command.rb"; require "test/test_gem_commands_check_command.rb"; require "test/test_gem_commands_contents_command.rb"; require "test/test_gem_commands_dependency_command.rb"; require "test/test_gem_commands_environment_command.rb"; require "test/test_gem_commands_fetch_command.rb"; require "test/test_gem_commands_generate_index_command.rb"; require "test/test_gem_commands_install_command.rb"; require "test/test_gem_commands_list_command.rb"; require "test/test_gem_commands_lock_command.rb"; require "test/test_gem_commands_mirror_command.rb"; require "test/test_gem_commands_outdated_command.rb"; requir |
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
" This gets added to your vimperatorrc; makes ':yt' trigger youtube-dl | |
" You can also bind it directly to a keystroke. | |
" Requires youtube-dl: https://github.com/rg3/youtube-dl | |
" On a Mac with Homebrew installed, you can 'brew install youtube-dl' | |
comm! yt 'exe "!" + eval("plugins.youtubeDownload.youtubeDownload()")' |
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 | |
require 'fileutils' | |
require 'open-uri' | |
bundle_data = { | |
:"vim-ruby" => %w[vim-ruby], | |
:"vim-scripts" => %w[AutoTag jQuery Gist.vim IndexedSearch spacehi.vim xterm16.vim netrw.vim], | |
:godlygeek => %w[tabular], | |
:scrooloose => %w[nerdtree], |
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
if Bundler.requires_sudo? | |
Bundler.user_bundle_path.join(Bundler.ruby_scope).join(git_scope) | |
else | |
Bundler.install_path.join(git_scope) | |
end |
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
def requires_sudo? | |
path = bundle_path | |
path = path.parent until path.exist? | |
sudo_present = !`which sudo 2>#{NULL}`.empty? | |
settings.allow_sudo? && !File.writable?(path) && sudo_present | |
end |
NewerOlder