Simple overview of use/purpose.
An in-depth paragraph about your project and overview of use.
# Write a long love poem to your fiancee | |
# Print the first line | |
puts "I love you" | |
# Print the second line | |
puts "You're beautiful" | |
# Print the third line | |
puts "You're smart" |
# Create a Test Suite for MorganWebDev.com | |
require 'test/unit' | |
require 'rubygems' | |
require 'selenium-webdriver' | |
class TestMorganWebDev < Test::Unit::TestCase | |
def setup | |
@driver = Selenium::WebDriver.for :firefox | |
@base_url = "http://www.morganwebdev.com/" | |
@driver.manage.timeouts.implicit_wait = 30 |
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo "waiting for the following arguments: username + max-page-number" | |
exit 1 | |
else | |
name=$1 | |
fi | |
if [ -z "$2" ]; then |
function deepEqual(a, b) { | |
if (a === b) return true; | |
if (a == null || typeof a != "object" || | |
b == null || typeof b != "object") return false; | |
let keysA = Object.keys(a), keysB = Object.keys(b); | |
if (keysA.length != keysB.length) return false; |
# a function which finds the most starred repo of a user on GitHub | |
# Usage: | |
# most_starred_repo.rb <github_username> | |
# Example: | |
# most_starred_repo.rb airbr | |
require 'net/http' | |
require 'json' |
This is a collection of lists that I have created for use in various UI design projects. They are intended to be added as custom types in text section of the Craft plugin from InVision. Although these were made as part of my Sketch design workflow, they are simple text lists, so I am sure they can be used for other purposes as well. Contributions welcome!
// ==UserScript== | |
// @name pinboard-dark-mode | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @include http://pinboard.in/* | |
// @include https://pinboard.in/* | |
// @include http://*.pinboard.in/* | |
// @include https://*.pinboard.in/* |
518 mkdir git-fu | |
519 cd git-fu/ | |
520 ll | |
521 clear | |
522 git init | |
523 ll | |
524 git tag genesis | |
525 ll | |
526 git log | |
527 git add |
/////////////////////////////////// | |
// 5. More about Objects; Constructors and Prototypes | |
// Objects can contain functions. | |
var myObj = { | |
myFunc: function(){ | |
return "Hello world!"; | |
} | |
}; | |
myObj.myFunc(); // = "Hello world!" |