I hereby claim:
- I am lukeholder on github.
- I am luke (https://keybase.io/luke) on keybase.
- I have the public key with fingerprint 1A94 E384 7341 0E2D 8B8F 73E2 32AF 990F C487 DB59
To claim this, I am signing this object:
require 'sequel' | |
connection_string = 'driver={Timberline Data};dbq=\\\\doric-server19\\Timberline Office\\Gold\\DORIC GROUP\\;codepage=1252;dictionarymode=0;standardmode=1;maxcolsupport=1536;shortenames=0;databasetype=1;uid=luke;pwd=Awesome;' | |
db = Sequel.odbc(:driver=>'Timberline Data',:drvconnect=>connection_string) | |
# I found this returns true sometimes even if the connection is not working. | |
puts db.test_connection | |
master_company = db.fetch('SELECT * FROM ABM_MASTER__COMPANY').all |
class CellarSession implements \Cartalyst\Cart\Storage\StorageInterface | |
{ | |
public function getKey() | |
{ | |
return "cellar"; | |
} | |
public function identify() | |
{ |
var randomNumbers = [42, 12, 88, 62, 63, 56, 1, 77, 88, 97, 97, 20, 45, 91, 62, 2, 15, 31, 59, 5] | |
func partition(v: Int[], left: Int, right: Int) -> Int { | |
var i = left | |
for j in (left + 1)..(right + 1) { | |
if v[j] < v[left] { | |
i += 1 | |
(v[i], v[j]) = (v[j], v[i]) | |
} | |
} |
mkdir Cartalyst | |
cd Cartalyst | |
curl -s https://api.github.com/orgs/jenkinsci/repos | ruby -rjson -e 'JSON.load(STDIN.read).each {|repo| %x[git clone #{repo["ssh_url"]} ]}' | |
; This is a comment | |
DC,4470-001,,01-405,G,3,16/03/2014,16/03/2014,Payroll Costing 16/03/14,0,,468.02,,,101001,, | |
DC,4470-001,,01-405,G,3,16/03/2014,16/03/2014,Leave Accrual,0.57,,33.34,,,101001,, | |
; Another comment | |
DC,4470-001,,01-410,G,3,16/03/2014,16/03/2014,Payroll Costing 16/03/14,0,,4212.18,,,101001,, | |
DC,4470-001,,01-410,G,3,16/03/2014,16/03/2014,Leave Accrual,5.57,,325.66,,,101001,, | |
; Another comment | |
GL,16/03/2014,16/03/2014,Generated recovery,5039.20,110-60002-51-8002.001,,101001,,,,,,,,, | |
GL,16/03/2014,16/03/2014,Generated recovery,-5039.20,110-60002-51-6535.001,,101001,,,,,,,,, | |
GL,16/03/2014,16/03/2014,Payroll Costing 16/03/14,-2883.61,130-00000-00-3210.000,,101001,,,,,,,,, |
I hereby claim:
To claim this, I am signing this object:
Template Syntax Error | |
Unexpected tag name "endifchildren" (expecting closing tag for the "nav" tag defined near line 24) | |
/Users/lukeholder/Code/Work/teninacraft/craft/templates/_partials/_topbar.html(24) | |
22 {% set pages = craft.entries.section('pages').find() %} | |
23 {% nav page in pages %} | |
24 <li class="{% ifchildren %}has-dropdown{% endifchildren %}"> |
> |
<form method="post" action="" accept-charset="UTF-8"> | |
<input type="hidden" name="action" value="entries/saveEntry"> | |
<input type="hidden" name="redirect" value="blog/{{ entry.slug }}"> | |
<input type="hidden" name="entryId" value="{{ entry.id }}"> | |
<input type="hidden" name="sectionId" value="1"> | |
<input type="hidden" name="slug" value="{{ entry.slug }}"> | |
<input type="hidden" name="enabled" value="1"> | |
<label for="title">Title</label> | |
<input id="title" type="text" name="title" value="{{ entry.title }}"> |