Skip to content

Instantly share code, notes, and snippets.

View neoxai's full-sized avatar

John Garcia neoxai

View GitHub Profile
@neoxai
neoxai / react-scripts+2.1.1.patch
Created June 23, 2019 05:27
Patching for netlify /app
patch-package
--- a/node_modules/react-scripts/config/paths.js
+++ b/node_modules/react-scripts/config/paths.js
@@ -79,7 +79,7 @@ module.exports = {
appPath: resolveApp('.'),
appBuild: resolveApp('build'),
appPublic: resolveApp('public'),
- appHtml: resolveApp('public/index.html'),
+ appHtml: resolveApp('public/app.html'),
appIndexJs: resolveModule(resolveApp, 'src/index'),
@neoxai
neoxai / reclaimWindows10.ps1
Created January 19, 2017 19:14 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <disassembler@dasm.cz>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
@neoxai
neoxai / HoldingHands.ino
Created June 11, 2016 16:31
Arduino puzzle for holding hands
const short triggerThreshold =50; //Lower is more sensitive
#define Relay1 7
//Debound code from: https://www.arduino.cc/en/Tutorial/Debounce
int buttonState; // the current reading from the input pin
int lastButtonState = LOW;
long lastDebounceTime = 0; // the last time the output pin was toggled
long debounceDelay = 50; // the debounce time; increase if the output flickers
void setup() {