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
--- a/compile.c 2018-05-13 19:35:50.000000000 -0700 | |
+++ b/compile.c 2018-05-13 19:34:53.000000000 -0700 | |
@@ -4569,6 +4569,7 @@ | |
DECL_ANCHOR(else_seq); | |
LABEL *then_label, *else_label, *end_label; | |
VALUE branches = 0; | |
+ int ci_size, ci_kw_size; | |
INIT_ANCHOR(cond_seq); | |
INIT_ANCHOR(then_seq); |
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
# A little toy file demonstrating how to build chainable | |
# data transformations that reveal some amount of intent | |
# through named extracted methods. | |
# | |
# Kudos to @mfeathers for giving me the idea to try this | |
# | |
# Copyright Test Double, LLC, 2016. All Rights Reserved. | |
require_relative "marketing_refinements" | |
require_relative "research_subjects" |
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
# gem "prawn", "0.8.4" | |
# Sometime there is no enough space for the last table row when it reaches the end of page | |
Prawn::Document.generate("text_group_overflow_question.pdf") do |pdf| | |
add_page_break_if_overflow(pdf) do |pdf| | |
# generating table here | |
# ... | |
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
#!/bin/bash | |
# Assumes you have defined subl command | |
# See http://www.sublimetext.com/docs/2/osx_command_line.html | |
# See http://www.sublimetext.com/forum/viewtopic.php?f=4&t=10473 | |
if [ "$1" ]; then # open given file(s) or directory/directories | |
subl "$@" & | |
else # no arguments | |
PRJ=`ls -1 *.sublime-project 2> /dev/null` |