Skip to content

Instantly share code, notes, and snippets.

Robert Sese rsese

View GitHub Profile
rsese / make-test-file.rb
Last active May 6, 2017
Create a test file of size NUM_LINES * LINE_LENGTH 📰
View make-test-file.rb
fout ="test.dat", "w+")
NUM_LINES = 50000
line = ("a" * LINE_LENGTH) + "\n"
(1..NUM_LINES).each do
rsese /
Created Mar 16, 2016
the a hi there dog
rsese / hello.c
Created Sep 25, 2013
Hello Worlds!
View hello.c
int main(int argc, char** argv) {
printf("Hello World!\n");
return 0;
rsese / roo-example.rb
Created Nov 3, 2012
Reading Data From a Spreadsheet with Roo
View roo-example.rb
require 'roo'
# Spreadsheet courtesy of the A List Apart 2010 Web Design Survey:
workbook ='a-list-apart-web-design-survey-sample.xls')
# Set the worksheet you want to work with as the default worksheet. You could
# also iterate over all the worksheets in the workbook.
workbook.default_sheet = workbook.sheets[0]
You can’t perform that action at this time.