inkdeep


Member since 04/02/2007

Name: Jeremy Kleindl

Location: dallas, tx

Website: erratic.inkdeep.com

location:dallas tx \r\nemployment:questrecords.com

24 snippets

4148 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

inkdeep's Recent Snippets



« Prev 1 Next »
Do a remote search for all gems containing the word 'pdf' with detailed descriptions and view results in textmate requires `rubygems-mate` gem
0 1266 posted 13 years ago by inkdeep
0 1007 posted 13 years ago by inkdeep
0 950 posted 13 years ago by inkdeep
0 739 posted 14 years ago by inkdeep
0 756 posted 14 years ago by inkdeep
0 1092 posted 14 years ago by inkdeep
0 619 posted 14 years ago by inkdeep
0 776 posted 15 years ago by inkdeep
For moving from older gem to newest if ' sudo gem update --system ' doesn't work
1 645 posted 15 years ago by inkdeep
Namespace to avoid collision with other javascript variable/method names
1 792 posted 15 years ago by inkdeep
This comes in handy when working in big objects and you need to see what's happening on the inside of an instance. I aliased 'console.log' to 'put' and wrapped it in a try/catch block that throws alerts if no console is available. Less typing - an...
1 754 posted 15 years ago by inkdeep
simple way to join avi files on the command line (need to have mplayer installed)
0 805 posted 15 years ago by inkdeep
Clear files in /tmp directory that are older than three days - terminal/cron this is a very simple example - could also remove by last access time, etc.
0 805 posted 15 years ago by inkdeep
I had a directory tree with around 4000 pdf files and I needed a page count - so I semi-rolled this. I swiped the counter code from the gem README: http://github.com/yob/pdf-reader/tree/master It could be more contained - as is I run it from irb:...
1 1121 posted 15 years ago by inkdeep
For when I catch a bad case of stupid and forget how to write simple php and I need to put the training wheels back on. Drop this in before the closing body tag on a php page to see a list some of what is happening when the page loads.
0 627 posted 16 years ago by inkdeep
I use this in addition to the number_format (http://snipplr.com/view/5945/javascript-numberformat--ported-from-php/) snippit in SWFUpload to display the size of files a user is preparing to upload.
0 3861 posted 16 years ago by inkdeep
1 723 posted 16 years ago by inkdeep
2 734 posted 16 years ago by inkdeep
SEE http://json.org/ for PHP JSON Libraries. grunt knuckle drag brute force ugly escapes for quotes make a php array a json string Produces trailing commas which some Javascript Librarys can't deal with.* _*NOOB NOTE [a comma is added at the...
2 1093 posted 17 years ago by inkdeep
« Prev 1 Next »