Skip to content

Instantly share code, notes, and snippets.

View ryanhugh's full-sized avatar
🌴
On vacation

Ryan Hughes ryanhugh

🌴
On vacation
View GitHub Profile
/*
On OS X, basic text manipulations (left, right, command+left, etc) make use of the system key bindings,
and don't need to be repeated here. Anything listed here will take precedence, however.
*/
[
{ "keys": ["super+shift+n"], "command": "new_window" },
{ "keys": ["super+shift+w"], "command": "close_window" },
{ "keys": ["super+o"], "command": "prompt_open" },
{ "keys": ["super+shift+t"], "command": "reopen_last_file" },
{ "keys": ["super+alt+up"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "hh", "h", "ipp", "inl", "m", "mm"]} },
// import request from 'request';
import express from 'express';
import macros from './backend/macros';
import bodyParser from 'body-parser';
// macros.PROD=true;
// macros.DEV=false;
// import database from './backend/database';
From 24ee85b742572bd0daff251fd2116b21059eee12 Mon Sep 17 00:00:00 2001
From: Ryan Hughes <ryanhughes624@gmail.com>
Date: Thu, 24 Jan 2019 21:03:03 -0500
Subject: [PATCH 1/4] done
---
backend/database.js | 11 ++--
backend/notifyer.js | 8 ++-
backend/server.js | 9 +++
frontend/components/Home.js | 10 ++-
@ryanhugh
ryanhugh / spread.diff
Created August 25, 2019 21:53
Spread diff, unused and never merged into master
From c9d9bfc2eda631e30dfe940a0d33766bef595f6a Mon Sep 17 00:00:00 2001
From: Ryan Hughes <ryanhughes624@gmail.com>
Date: Mon, 21 May 2018 15:11:18 +0900
Subject: [PATCH 01/12] start
---
backend/scrapers/employees/matchEmployees.js | 2 +-
backend/server.js | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
<SELECT NAME="sel_subj" SIZE="3" MULTIPLE ID="subj_id">
<OPTION VALUE="ACCT">Accounting</OPTION>
<OPTION VALUE="ACC">Accounting - CPS</OPTION>
<OPTION VALUE="AVM">Adv Manufacturing System - CPS</OPTION>
<OPTION VALUE="AFRS">African Studies</OPTION>
<OPTION VALUE="AFAM">African-American Studies</OPTION>
<OPTION VALUE="ASL">American Sign Lang - CPS</OPTION>
<OPTION VALUE="AMSL">American Sign Language</OPTION>
<OPTION VALUE="ALY">Analytics - CPS</OPTION>
{
"version": 2, // so we don't have to go through this again LMAOOOOOOOO
"subjectCount": 52, // if there was a subject match
"subjectName": "Computer Science", // if there was a subject match
"wasSubjectMatch": false,
"results": [
{
"score": 36.056681625343565,
"type": "class",
"class": {
[
{
"score": 36.056681625343565,
"type": "class",
"class": {
"crns": [],
"desc": "Studies how to compose and arrange parts for a small jazz ensemble. Topics covered include jazz notation for both rhythmic and melodic instruments; ranges and basic timbres of woodwind and brass instruments; technical limitations of instruments; and writing introductions, interludes, background figures, and endings. Offers in-class demonstrations by professional musicians. Portable cassette recorders are required. 1.500 Lecture hours",
"classId": "3431",
"prettyUrl": "https://wl11gp.neu.edu/udcprod8/bwckctlg.p_disp_course_detail?cat_term_in=201930&subj_code_in=MPNC&crse_numb_in=3431",
"name": "Jazz Arranging",
var request = require('request')
var beautify = require('js-beautify').html;
request('https://google.com', (error, response) => {
let data = beautify(response.body, { indent_size: 2, space_in_empty_paren: true })
console.log(data)
})
@ryanhugh
ryanhugh / SummerFull.md
Created February 16, 2018 08:27
List of online classes in Summer Full 2018

List of online classes in Summer Full 2018

EEAM 2010 Internship for Career Decision Making
NRSG 2210 Influences on Health and Illness: A Nursing Perspective
NRSG 2220 Nursing Interventions, Assessment, and Community Care
NRSG 2312 Pathophysiology
NRSG 3302 Nursing with Women and Families
NRSG 3320 Nursing Care of Adults 1
NRSG 3323 Intermediate Interventions and Assessment
NRSG 3400 Nursing and the Promotion of Mental Health
NRSG 3420 Nursing Care of Adults 2

@ryanhugh
ryanhugh / Summer2.md
Created February 16, 2018 08:27
List of online classes in Summer II 2018