Skip to content

Instantly share code, notes, and snippets.

@Wittiest
Wittiest / Guide.md
Last active August 5, 2018 00:13
Rails (w/ React+Redux+Jquery+Heroku) Guide

Rails (w/ React+Redux+Jquery+Heroku) Guide

Create initial rails project

rails new APP_NAME --skip-turbolinks=true -d postgresql
cd APP_NAME
rails db:create

Configurations

Keybase proof

I hereby claim:

  • I am wittiest on github.
  • I am wittiest (https://keybase.io/wittiest) on keybase.
  • I have a public key whose fingerprint is 7F27 8738 D910 A349 D06A 0BA2 8AC9 1C87 418F CE0C

To claim this, I am signing this object:

@Wittiest
Wittiest / username_generator.rb
Last active March 13, 2024 18:47
ROBLOX Name Generator / Checker
require 'net/http'
require 'json'
require 'zlib'
require 'stringio'
POSSIBLE_CHARACTERS = [*?a..?z] + [*?0..?9] + ["_"]
ROBLO_SECURITY = "" #necessary for ROBLOX to allow you to query
def valid_username?(username)
url = URI.parse("https://auth.roblox.com/v1/usernames/validate?context=UsernameChange&username=#{username}")
@Wittiest
Wittiest / ROBLOX_USERNAME_LIST.txt
Created January 25, 2019 05:12
All ROBLOX Usernames of length 4 available on 1/24/2019
This file has been truncated, but you can view the full file.
00gq
00ny
00qg
00tn
00tw
00u9
00ua
00um
00wr
00wt
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
class Animal {
constructor(age) {
this.age = age
}
}
class Dog extends Animal {
constructor(amountOfLegs, age) {
super(age)
this.amountOfLegs = amountOfLegs