Skip to content

Instantly share code, notes, and snippets.

View yeutterg's full-sized avatar

Greg Yeutter yeutterg

View GitHub Profile
@yeutterg
yeutterg / .gitignore
Last active February 25, 2023 03:23
How to use PSoC Creator with Git
### PSoCCreator ###
# Modified from https://www.gitignore.io/?templates=psoccreator
# You may need to add additional directories, e.g. CortexM3/
# Project Settings
*.cywrk.*
*.cyprj.*
# Generated Assets and Resources
Debug/
@yeutterg
yeutterg / Mac Chrome Application Shortcuts 2018-06.txt
Last active October 6, 2020 17:33
How to enable Application Shortcuts on Chrome for Mac, as of June 2018
How to get "Application Shortcut" functionality on Chrome for Mac, as of January 2020:
1. Visit the web page you would like to turn into an application
2. Navigate to Settings > More Tools > Create Shortcut...
3. Give the app a name, make sure "Open as window" is enabled, and click Create
4. The folder Chrome Apps should open in finder. Drag the new app shortcut to the dock or another location for easy access
That's it! You can even quit the app (Cmd-Q) without closing other Chrome windows, as it acts like a separate Mac app.
@yeutterg
yeutterg / Holiday_Tree_Arduino.ino
Last active January 5, 2018 13:49
Arduino Code for the NYC Window Display
// Arduino Code for the 2017 NYC Holiday Window Display
// More info about this project: https://yeutterg.github.io/nyc-display-2017
#include "FastLED.h"
#define BRIGHTNESS 255
#define NUM_LEDS_PER_STRIP 100
#define NUM_STRIPS 4
#define NUM_LEDS NUM_STRIPS * NUM_LEDS_PER_STRIP
#define LED_START_PIN 30