Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am lukeshu on github.
  • I am lukeshu (https://keybase.io/lukeshu) on keybase.
  • I have a public key ASB-2ZHHzPD5QNjYKF86M7h41hlufhE9vZtmX9tfqTSswAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am lukeshu on github.
  • I am lukeshu (https://keybase.io/lukeshu) on keybase.
  • I have a public key ASB-2ZHHzPD5QNjYKF86M7h41hlufhE9vZtmX9tfqTSswAo

To claim this, I am signing this object:

@LukeShu
LukeShu / markdown-list-end.markdown
Created July 7, 2018 05:42 — forked from schlueter/markdown-list-end.markdown
How to terminate a markdown list

The problem

- one
- two
- three

    not a list item

produces:

[rails@gort migrate]$ grep -C20 lrp_reports *
20120208202334_create_lrp_reports.rb-class CreateLrpReports < ActiveRecord::Migration
20120208202334_create_lrp_reports.rb- def change
20120208202334_create_lrp_reports.rb: create_table :lrp_reports do |t|
20120208202334_create_lrp_reports.rb- t.datetime :generated
20120208202334_create_lrp_reports.rb- t.string :buildversion
20120208202334_create_lrp_reports.rb- t.datetime :buildtime
20120208202334_create_lrp_reports.rb-
20120208202334_create_lrp_reports.rb- t.timestamps
20120208202334_create_lrp_reports.rb- end
@LukeShu
LukeShu / production.log
Created June 13, 2012 22:23
stacktrace of weird rails error
Invalid date: 2004-08-00 00:00:00
/var/www/rg3-reports/vendor/bundle/ruby/1.8/gems/activerecord-3.2.2/lib/active_record/connection_adapters/mysql2_adapter.rb:216:in `each'
/var/www/rg3-reports/vendor/bundle/ruby/1.8/gems/activerecord-3.2.2/lib/active_record/connection_adapters/mysql2_adapter.rb:216:in `to_a'
/var/www/rg3-reports/vendor/bundle/ruby/1.8/gems/activerecord-3.2.2/lib/active_record/connection_adapters/mysql2_adapter.rb:216:in `exec_query'
/var/www/rg3-reports/vendor/bundle/ruby/1.8/gems/activerecord-3.2.2/lib/active_record/connection_adapters/mysql2_adapter.rb:224:in `select'
/var/www/rg3-reports/vendor/bundle/ruby/1.8/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'
/var/www/rg3-reports/vendor/bundle/ruby/1.8/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `select_all'
/var/www/rg3-reports/vendor/bundle/ruby/1.8/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/query_cac
@LukeShu
LukeShu / script.txt
Created May 18, 2012 17:46
English script
Nora is having a house warming party. She is celebrating her
divorce. She was loaned money from Hamlet and Clara to buy the house.
The play starts with Willy and Nora talking to each other before the
guests arrive.
Nora: I'm just so excited to throw this dinner party tonight! I will
show off my beautiful house to all of my new neighbors!
Willy: Good thing Clara and Hamlet lent you that money for this
home. All you had to do was befriend Clara and go on a few dates