Skip to content

Instantly share code, notes, and snippets.

View traumverloren's full-sized avatar
🐢

Stephanie traumverloren

🐢
View GitHub Profile
@traumverloren
traumverloren / style.css
Last active January 7, 2024 14:05
VSCode Customizations for Operator Mono, Fira Code, and Dark Candy Theme
/*
Instructions for MacOS:
- Install the fonts 'Operator Mono' & 'Fira Code'
- Install theme 'Dark Candy'
- Add the following config to the VS Code settings.json:
{
"editor.renderWhitespace": "all",
"editor.fontSize": 14,
let strip = light.createNeoPixelStrip(pins.A1, 9, NeoPixelMode.RGBW);
let isPaused = false;
let needsSetup = true;
const setupStrip = () => {
strip.setPixelColor(0, Colors.Red);
strip.setPixelColor(1, Colors.Orange);
strip.setPixelColor(2, Colors.Yellow);
strip.setPixelColor(3, Colors.Green);
strip.setPixelColor(4, Colors.Blue);
@traumverloren
traumverloren / css-tricks.md
Created September 19, 2017 08:23
css tricks gist

if fonts are rendering too fat, though the weight is normal, try this (it's a macOS/iOs thing):

  * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
@traumverloren
traumverloren / clear-backend.md
Created September 5, 2017 07:25
clearing cassandra & elasticsearch for clean backend experience :-/

Clear Cassandra:

  1. cd into cassandra folder: $ cd /usr/local/Cellar/cassandra/3.10_1 (for me)
  2. $ cqlsh
  3. drop keyspace akka;
  4. quit to exit

Clear Elasticsearch:

  1. stop ES
  2. $ cd /usr/local/var/elasticsearch
  3. $ open .
@traumverloren
traumverloren / learning-angular-2-notes.md
Last active July 11, 2017 13:21
Angular 2/4 learning

Learning Angular 2

Modules:

NgModules consolidate components, directives, and pipes into cohesive blocks of functionality, each focused on a feature area, application business domain, workflow, or common collection of utilities.

Modules can also add services to the application. Such services might be internally developed, such as the application logger. Services can come from outside sources, such as the Angular router and Http client.

@traumverloren
traumverloren / my-maker-setup.md
Last active March 16, 2018 18:39
My Maker Projects + Tools

My toolkit:

Frequented Websites for Supplies:

Soldering Iron/Supplies:

  • Antex XS25 Soldering Iron

To update a current package:

  • $ npm login
  • git add/commit/push everything
  • $ npm version patch <-- updates package.json w/ new patch version #ing.
  • $ git push --tag <-- adds that patch version tag to the repo.
@traumverloren
traumverloren / screen-commands.md
Last active May 9, 2017 16:43
Running and detaching your Raspberry Pi w/ Screen!

Initial install of Screen:

$ sudo apt-get install screen

To run screen:

$ screen bash

To detach:

Press CTRL+A, release, then press D

To see list of all open screen instances and their status:

@traumverloren
traumverloren / EADDRINUSE.md
Last active May 8, 2017 07:53
port in use error resolution

What to do if get error: Error: listen EADDRINUSE 0.0.0.0:8080:

  • To find out what is running on a port 8080: $ lsof -i tcp:8080
  • Kill those processes by referencing the PID: $ kill -9 PUT_PID_#_HERE
@traumverloren
traumverloren / kodi_boot.md
Created January 23, 2017 18:06
how to unable kodi on boot on rpi

$ cd /etc/default

$ sudo vi kodi

edit ``ENABLED=1back toENABLED=0`