Skip to content

Instantly share code, notes, and snippets.

View chasingSublimity's full-sized avatar
👨‍🎓

Blake Sager chasingSublimity

👨‍🎓
View GitHub Profile

Keybase proof

I hereby claim:

  • I am chasingSublimity on github.
  • I am adfontes (https://keybase.io/adfontes) on keybase.
  • I have a public key whose fingerprint is CAC0 93EC B8FB 80D9 3DFD E08D 82F5 9BC9 378B 2F92

To claim this, I am signing this object:

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say voice="man">Hi Grady, this is Billy Burlington. The over under is minus four.</Say>
<Play>http://demo.twilio.com/docs/classic.mp3</Play>
</Response>
@chasingSublimity
chasingSublimity / theShit.js
Last active July 13, 2017 04:39
js todolist graphql function
var client = require('github-graphql-client');
function queryGithubIssues(token, repoOwner, repoName) {
client({
token: token,
query: `{
repository(owner: ${repoOwner}, name: ${repoName}) {
issues(last: 10) {
edges {
class Army {
constructor(name, size, equipmentLevel, combatProficiency) {
this.name = name;
this.size = size || this.generateArmySize();
this.equipmentLevel = equipmentLevel || this.generateEquipmentLevel();
this.combatProficiency = combatProficiency || this.generateCombatProficiency();
this.battleForce = this.calculateBattleForce();
}
generateArmySize() {
Deleting branch on github:
click branch tab, click red trashcan next branch name of the branch you want to delete.
Relevant link: https://github.com/blog/1377-create-and-delete-branches
Deleting remote branch (but keeping local) via command line:
git push <remote name> --delete <branch-name>
extension on millhouse is not capitilized in index but is in img file (jpg vs JPG)
(might be this)
First of all you could try removing the tailing slashes in your <img>-tags (and all the others that have it) as this violates the HTML 5 specification.
for gobbleotron image:
- add the '.' to the begginning of the img url
@chasingSublimity
chasingSublimity / q1 notes.md
Created May 10, 2017 11:18
gh interview notes

https://help.github.com/articles/search-syntax/

This restricts the search to the atom organization user:atom

Click the issues tab (there is probably another via the query language)

specifiy that we are just looking for issues, not pull requests type:issue

@chasingSublimity
chasingSublimity / Capstone-Four-Proposal.md
Last active April 18, 2017 22:50
Capstone 4 Name, Screens, and User Stories

Capstone Four Proposal

Name:

  • Traveler

Landing Page Tag:

  • It's easy to lose track of your journeys and even easier to forget how to enjoy them. Traveler can help.

One Sentence Description:

  • With Traveler, users can upload and view highlights from their trips.
CREATE TABLE users (
id serial PRIMARY KEY,
first_name text,
last_name text,
email text NOT NULL,
screen_name text NOT NULL
);
CREATE TABLE posts (
id serial PRIMARY KEY,
@chasingSublimity
chasingSublimity / drills.js
Created April 14, 2017 20:18
POSTGRESQL Shell Command drills
1. SELECT * FROM restaurants;
2. SELECT * FROM restaurants
WHERE cuisine = 'Italian';
3. SELECT id, name FROM restaurants
WHERE cuisine = 'Italian'
LIMIT 10;
4. SELECT count(*) FROM restaurants WHERE cuisine = 'Thai';
5. SELECT count(*) FROM restaurants;
6. SELECT count(*) FROM restaurants WHERE
cuisine = 'Thai'