This file contains 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
~ sqlite3 dummy.db | |
-- Loading resources from /home/codedivision/.sqliterc | |
SQLite version 3.8.2 2013-12-06 14:53:30 | |
Enter ".help" for instructions | |
Enter SQL statements terminated with a ";" | |
sqlite> .schema | |
CREATE TABLE users ( | |
id INTEGER PRIMARY KEY AUTOINCREMENT, | |
first_name VARCHAR(64) NOT NULL, |
This file contains 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
# original count/status | |
ctr = 0 | |
hello = gets.chomp | |
# print out the raw | |
puts hello.inspect | |
# ctr += 1 if hello == "" | |
# print out what's ctr (iaw status) |