This is ported version of color theme xoria256.
Merge mintty-color-xoria256-rc into your .minttyrc
sudo yum install \ | |
zlib-devel \ | |
openssl-devel \ | |
readline-devel \ | |
iconv-devel \ | |
libffi-devel |
#!/bin/bash | |
# | |
# error handling and error report example | |
# | |
set -e | |
# logfile | |
LOGFILE=`mktemp` |
# encoding: utf-8 | |
require 'pathname' | |
# Set filename if progname was omitted. | |
class Logger | |
alias_method :org_add, :add | |
def add(severity, message = nil, progname = nil, &block) | |
if message.nil? && !block_given? | |
message = progname |
class Foo | |
CONST = 'foo' | |
def put_const | |
puts [ | |
self.class.name, # (1) | |
CONST, # (2) | |
self.class::CONST # (3) | |
].join(' ') | |
end |
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# Ohai Plugin Benchmark | |
# ===================== | |
# | |
# Usage: ohai_bench.rb [option] [loop_count] | |
# | |
# Options: | |
# -d PLUGIN_DIR Ohai plugin path |
" Language: Ruby (rspec) | |
" Author: pasela | |
" License: The MIT License | |
" ctrlp-funky-rspec provides filters for RSpec. It only provides 'describe' | |
" block by default. You can enable more blocks by options. | |
" | |
" | |
" g:ctrlp_funky_rspec_examples (default: 0) | |
" |
tell application "iTerm" | |
activate | |
tell the first terminal | |
set ssh_session to (make new session at end of sessions) | |
tell ssh_session | |
exec command "ssh {query}" | |
end tell | |
end tell | |
end tell |
" vim-airline theme | |
" | |
" padat | |
" A dark color theme for vim-airline. | |
" | |
" Author: Yuki <paselan at Gmail.com> | |
" Last Change: Wed, 21 Aug 2013 09:53:56 +0900 | |
" | |
" License: MIT License {{{ | |
" Permission is hereby granted, free of charge, to any person obtaining |