I hereby claim:
- I am clockworkpc on github.
- I am alexandergarber (https://keybase.io/alexandergarber) on keybase.
- I have a public key whose fingerprint is C825 FB98 CA3B 006E A33B 794E 96DE B637 80E4 4625
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/python | |
#musicfetcher_v03.py | |
#Released under a GPLv3 Licence by Clockwork PC | |
import os | |
import fileinput | |
import string | |
number = int(raw_input(""" |
## Basic Ruby Project Skeleton Generator | |
class Project | |
def initialize() | |
puts "What do you want to call this project?\n" | |
print "> " | |
$user_input = $stdin.gets.chomp | |
end |
module ToyRobot | |
class Table | |
def initialize(width, length) | |
@width = width | |
@length = length | |
end | |
def valid_location?(east, north) | |
(0...@width).cover?(east) && | |
(0...@length).cover?(north) |
module CityNavigation | |
class CityGrid | |
def initialize(latitude, longitude) | |
@latitude = latitude | |
@longitude = longitude | |
end | |
def valid_location?(east, north) | |
(-@latitude...@latitude).cover?(east) |
def get_character(hexnum) | |
char = '' | |
char << hexnum.to_i(16) | |
end |
@lithuanian_letters_diacritics_and_accents = { | |
"a" => ["\u0061", "a"], | |
"ã" => ["\u00e3", "a"], | |
"à" => ["\u00e0", "a"], | |
"á" => ["\u00e1", "a"], | |
"ą" => ["\u0105"], | |
"ą̀" => ["\u0105\u0300", "ą"], | |
"ą́" => ["\u0105\u0301", "ą"], | |
"ą̃" => ["\u0105\u0303", "ą"], | |
"e" => ["\u0065"], |
def clear_screen() | |
puts "Going to clear the screen" | |
if RUBY_PLATFORM =~ /win32|win64|\.NET|windows|cygwin|mingw32/i | |
system('cls') | |
else | |
system('clear') | |
end | |
end |
html_file = ARGV[0] | |
css_file = "app/assets/stylesheets/css_output.css" | |
class_array = Array.new | |
open_html_file = File.readlines(html_file) | |
open_css_file = File.open(css_file, "w+") | |
open_html_file.each do |line| | |
search_string = /class="[a-z]*"/ |
var express = require('express'); | |
var app = express(); | |
var htmlController = require("/controllers/htmlController") | |
var apiController = require("/controllers/apiController") | |
var port = process.env.PORT || 1337; | |
app.use('/assets', express.static(__dirname + '/public')); |