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
#!/usr/bin/ruby | |
load 'creditCard.rb' | |
require 'sqlite3' | |
begin | |
db = SQLite3::Database.new "test.db" | |
db = SQLite3::Database.open "test.db" | |
db.execute "CREATE TABLE IF NOT EXISTS People(Id INTEGER PRIMARY KEY, | |
Name TEXT, Credit TEXT, Limit INT, Price INT)" |
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
#!/usr/bin/ruby | |
load 'creditCard.rb' | |
require 'sqlite3' | |
begin | |
db = SQLite3::Database.new "test.db" # ! automaticly creates new db, overwrites anything you have currently --> info in db will just be your last action | |
db = SQLite3::Database.open "test.db" | |
db.execute "CREATE TABLE IF NOT EXISTS People(Id INTEGER PRIMARY KEY, # ! fuck the 'Id', SQLite has and auto index, dont have to worry about autoinc, or nuffin | |
Name TEXT, Credit TEXT, Limit INT, Price INT)" |
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
``` | |
#!/usr/bin/env bash | |
### first half of script iterates over local packages, cd's into each | |
echo "======[Curating Bower Dependencies]===============================" | |
# not -f because this is a -dIRECTORY! | |
if [ -d bower_components ]; then |
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
derp |
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
{"lastUpload":"2020-11-27T21:07:52.477Z","extensionVersion":"v3.4.3"} |
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
/** | |
* this doesn't exist.. but it would be cool if something like this did.. I guess | |
* | |
*/ | |
interface BaseFile { | |
readonly path: string; | |
isValid: Promise<this is ValidFile>; | |
} |