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
At a recent event, His Holiness Karmapa Thaye Dorje was asked the following question: | |
'Your Holiness, what is stopping me from realizing my true nature, the Buddha nature?' | |
His Holiness' response: | |
'Perhaps it is a lack of a sense of adventure that is holding us back from realizing our true nature. It is easy to get used to the mundane life, the daily routines. As a result, we don't want to let go of our familiar atmosphere, the life that we are used to. We are missing a sense of adventure. | |
I think this is rooted in a deep fear: a fear of facing ourselves; a fear of knowing exactly who we are. It is almost like saying we fear looking at ourselves in the mirror and seeing our own reflections. |
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
# check_mk oracle | |
useradd checkmk | |
>> sqlplus / as sysdba; | |
SQL> create user ops$checkmk identified externally; | |
SQL> grant connect to ops$checkmk; | |
SQL> grant select on v_$session to ops$checkmk; | |
SQL> grant select on v_$loghist to ops$checkmk; | |
SQL> grant select any dictionary to ops$checkmk; |
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
{ "folders": | |
[ | |
{ "path": "/Users/ts/Documents/SOURCE/tmt", | |
"folder_exclude_patterns": ["doc", "tmt"] | |
} | |
], | |
"settings": | |
{ | |
"tab_size": 2 | |
} |
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
> I hate code like: | |
> logger.log(:debug, "some msg") unless logger.nil? | |
That is why my debugging or logging routines normally look like this | |
``` | |
def logger *args | |
return unless $LOGGING | |
.... | |
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 'gli' | |
begin # XXX: Remove this begin/rescue before distributing your app | |
require 'git_like_interface' | |
rescue LoadError | |
STDERR.puts "In development, you need to use `bundle exec bin/git_like_interface` to run your app" | |
STDERR.puts "At install-time, RubyGems will make sure lib, etc. are in the load path" | |
STDERR.puts "Feel free to remove this message from bin/git_like_interface now" | |
exit 64 | |
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
Given /^the secret code is "([^"]*)"$/ do |secret| | |
game = Codebreaker::Game.new(output) | |
game.start(secret) | |
end | |
When /^I start a new game$/ do | |
game = Codebreaker::Game.new(output) | |
game.start | |
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
doctype html | |
html | |
head | |
meta name="author" content=@author | |
link href="/css/reset.css" media="screen" rel="stylesheet" type="text/css" | |
link href="/css/grid.css" media="screen" rel="stylesheet" type="text/css" | |
link href="/css/layout.css" media="screen" rel="stylesheet" type="text/css" | |
link href="/css/text.css" media="screen" rel="stylesheet" type="text/css" |
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
## key repetition vintage-mode | |
http://www.sublimetext.com/docs/2/vintage.html | |
In OsX-Lion, holding down a key won't repeat it, but will instead show a popup menu to select between character variations. This doesn't work well with command mode, so you may want to disable it. This can be done via entering this at the terminal: | |
% defaults write com.sublimetext.[2|3] ApplePressAndHoldEnabled -bool false | |
SHORTCUTS: | |
curser in word or marked word: | |
ctrl-cmd-g --> select every occurence of that word | |
cmd-d --> select next occurence |
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
<snippet> | |
<content><![CDATA[ | |
#Sequel.extension :migration | |
Sequel.migration do | |
change do | |
create_table(:${1:}) do | |
primary_key :id | |
${2:} | |
end | |
end |