Skip to content

Instantly share code, notes, and snippets.

View Zlass's full-sized avatar
💩

Zach Glassner Zlass

💩
View GitHub Profile
# initialization file (not found)
@Zlass
Zlass / colors.json
Created May 6, 2019 15:03
Some dope colors
{
red: "rgb(255, 99, 132)",
orange: "rgb(255, 159, 64)",
yellow: "rgb(255, 205, 86)",
green: "rgb(75, 192, 192)",
blue: "rgb(54, 162, 235)",
purple: "rgb(153, 102, 255)",
grey: "rgb(201, 203, 207)",
COLORS : [
@Zlass
Zlass / build_failure_out.txt
Created May 29, 2019 19:00
Jupyter Lab Build Failure Output
[LabBuildApp] JupyterLab 1.0.0a4
[LabBuildApp] Building in /Users/zach/.local/share/virtualenvs/datalab-manager-rGi46l1n/share/jupyter/lab
[LabBuildApp] Node v10.15.1
[LabBuildApp] > node /Users/zach/.local/share/virtualenvs/datalab-manager-rGi46l1n/src/jupyterlab/jupyterlab/staging/yarn.js install --non-interactive
yarn install v1.15.2
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
[4/5] 🔗 Linking dependencies...
@Zlass
Zlass / rmq_socket_server_types.ts
Last active July 24, 2019 19:13
Types for Rabbit MQ Gradeworker Socket Server
export namespace GradeWorker {
/**
* Base class for RMQ requests to gradeworker.
*/
export interface Request {
how_to_handle_result: HowToHandleResult;
attachment?: any; // Way to included as arbitrary data in rabbitMQ responses
}
/**
@Zlass
Zlass / README.md
Last active August 20, 2019 15:51 — forked from hofmannsven/README.md
Increase key repeat rate on macOS

Increase key repeat rate on macOS

Settings: System Preferences » Keyboard » Key Repeat/Delay Until Repeat

Use the commands below to increase the key repeat rate on macOS beyond the possible settings via the user interface. The changes aren't applied until you restart your computer.

Source: https://apple.stackexchange.com/a/83923

@Zlass
Zlass / cloudSettings
Last active October 3, 2019 20:33
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-10-03T20:33:49.665Z","extensionVersion":"v3.4.3"}
https://cse.google.com/cse?cx=000149041674583171682:tunphzoiy70
@Zlass
Zlass / machine.js
Last active June 19, 2020 18:26
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@Zlass
Zlass / machine.js
Created July 16, 2020 16:06
Generated by XState Viz: https://xstate.js.org/viz
// Internal Actions
var HearingAidActions;
(function (HearingAidActions) {
HearingAidActions["UpdateConnectionStatus"] = "UPDATE_HEARING_AID_CONNECTION";
HearingAidActions["UpdateBestSide"] = "UPDATE_BEST_SIDE";
HearingAidActions["UpdateInstrumentInfo"] = "update_instrument_info";
HearingAidActions["UpdateInstrumentSettings"] = "update_instrument_settings";
HearingAidActions["UpdateProgramList"] = "UPDATE_PROGRAM_LIST";
HearingAidActions["UpdateProgram"] = "CURRENT_PROGRAM";
HearingAidActions["InitializeHearingAidManager"] = "INITIALIZE_HEARING_AID_MANAGER";
@Zlass
Zlass / machine.js
Created August 5, 2020 15:07
Generated by XState Viz: https://xstate.js.org/viz
const States = {
collapsed: 'collapsed',
expanded: 'expanded',
};
const Event = {
expand: 'expand',
collapse: 'collapse',
batteryStateChange: 'battery-state-change',
levelChange: 'level_change',