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
class TestMailer < ActionMailer::Base | |
def test | |
from "[email protected]" | |
recipients "[email protected]" | |
content_type "text/html" | |
subject "Test" | |
body "foo" | |
end | |
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
<qrush> cutting down to ~1000 from ~1500 was a good move for me :) | |
I think I just follow a lot of inactive people. | |
<hone> haha | |
damn...1500? | |
<harryv> honestly, if people follow that many and they start to follow me, I usually just treat it as spam :P | |
<hone> like qrush :) | |
<technoweenie> by that logic, defunkt is a spammer: http://twitter.com/defunkt | |
<qrush> i knew it! | |
<technoweenie> well, that logic is just silly | |
<harryv> technoweenie: "treat it as spam" as in I get the "you have a new follower"-mail, delete it and probably don't bother checking out the profile. unless I know who it is. as is the case with qrush and defunkt. |
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
SELECT * | |
FROM suites | |
INNER JOIN events | |
ON suites.venue_id = events.eventable_id | |
INNER JOIN suite_ownerships | |
ON suites.id = suite_ownerships.suite_id | |
WHERE events.eventable_type = "Venue" | |
AND suite_ownerships.user_id = #{suite_owner.id} | |
AND event.id = #{event.id} |
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
describe "suite_id_to_suite_ownership_id migration" do | |
before(:all) do | |
Spec::Runner.configure do |config| | |
config.use_transactional_fixtures = false | |
end | |
end | |
after(:all) do | |
Spec::Runner.configure do |config| | |
config.use_transactional_fixtures = true |
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
hone@hone-x200:~/Projects/oib/heroku$ bin/heroku switch boxboss-staging | |
hone@hone-x200:~/Projects/oib/heroku$ git remote show heroku | |
* remote heroku | |
URL: [email protected]:boxboss-staging.git | |
HEAD branch: master | |
Remote branch: | |
master new (next fetch will store in remotes/heroku) | |
Local ref configured for 'git push': | |
master pushes to master (local out of date) | |
hone@hone-x200:~/Projects/oib/heroku$ bin/heroku switch boxboss-production |
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
hone@hone-x200:/tmp/her$ git init | |
Initialized empty Git repository in /tmp/her/.git/ | |
hone@hone-x200:/tmp/her$ heroku create | |
Created http://evening-galaxy-36.heroku.com/ | [email protected]:evening-galaxy-36.git | |
Git remote heroku added | |
hone@hone-x200:/tmp/her$ heroku addons:add custom_domains | |
Adding custom_domains to evening-galaxy-36... done |
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
#include <sys/types.h> | |
#include <unistd.h> | |
#include <iostream> | |
using namespace std; | |
main() | |
{ | |
int x = 6; |
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
set nocompatible " We're running Vim, not Vi! | |
syntax on " Enable syntax highlighting | |
set nocp " for omnicppcomplete plugin | |
filetype on " Enable filetype detection | |
filetype indent on " Enable filetype-specific indenting | |
filetype plugin on " Enable filetype-specific plugins | |
set laststatus=2 | |
set statusline=%<%f\ %h%m%r%=%-20.(%)\%h%m%r%=%-40(%n%Y%)\%P | |
set nocul " cursor line | |
set cf " Enable error files & error jumping |
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
Ruby console for xxxx.heroku.com | |
>> A | |
ARGF ARGV ArgumentError Array | |
>> ArgumentError | |
=> ArgumentError | |
>> exit |
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
# | |
# irb/completor.rb - | |
# $Release Version: 0.9$ | |
# $Revision$ | |
# $Date$ | |
# by Keiju ISHITSUKA([email protected]) | |
# From Original Idea of [email protected] | |
# | |
require "readline" |