Skip to content

Instantly share code, notes, and snippets.

View vincenavarro's full-sized avatar
:octocat:
Burning Branches

Vince Navarro vincenavarro

:octocat:
Burning Branches
View GitHub Profile
@vincenavarro
vincenavarro / keychron_k2.adoc
Last active September 24, 2022 13:40 — forked from judaew/keychron_k2.adoc
Keychron K2 Manual

Keychron K2 Manual

Connect Bluetooth

On the side of the keyboard, switch the toggle to Bluetooth. Press fn+1 3 seconds and pair with device named Keychron K2.

  • fn+1 connect to 1st device

  • fn+2 connect to 2nd device

  • fn+3 connect to 3rd device

@vincenavarro
vincenavarro / hyperlinklist.jsx
Created September 15, 2022 12:40
Generate a list of Hyperlinks from an InDesign document
@vincenavarro
vincenavarro / pogo_strings.md
Created April 9, 2020 21:38
POGO Counter Search Strings

POGO Counter Search Strings

These search strings will find counters for the pokemon you are attacking. This assumes that the pokemon is attacking with moves in the same family(ex. fighting type using fast and charged fighting moves.)

Add @weather for extra flair.

Double Counters

They are weak against and vulnerable to:

@vincenavarro
vincenavarro / osx_bypass.md
Created April 9, 2020 16:24
OSX single-user mode user authentication bypass.

OSX single-user mode user authentication bypass.

This only works on older versions of OSX for use in customer support or refurbishing older machines. YMMV.

Start in single user mode then:

mount -uw /
rm /var/db/.AppleSetupDone
# reboot
@vincenavarro
vincenavarro / destructuring.js
Created April 5, 2020 01:07 — forked from mikaelbr/destructuring.js
Complete collection of JavaScript destructuring. Runnable demos and slides about the same topic: http://git.mikaelb.net/presentations/bartjs/destructuring
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => [1, 2, 3];
@vincenavarro
vincenavarro / board.kbd.json
Last active April 9, 2020 16:26
Keyboard Layout
[
{
"backcolor": "#3b3b3b",
"name": "MyBoard",
"radii": "10px"
},
[
{
"c": "#00000",
"t": "#FF0000",

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@vincenavarro
vincenavarro / detect.js
Last active August 28, 2019 19:31
One Line Mobile Detection (Depreciated)
const isMobileDevice = () => (typeof window.orientation !== "undefined") || (navigator.userAgent.indexOf('IEMobile') !== -1);
@vincenavarro
vincenavarro / README.md
Last active October 2, 2022 23:53
Click all endorsements on linkedin.

Click all endorsements on linkedin.

Updated for new LinkedIn

Demo Video

@vincenavarro
vincenavarro / .gitignore
Last active April 26, 2021 20:41
Generic .gitignore
*~
*.bak
*.lnk
*.log
._*
.env
.env.local
.DS_Store
[Dd]esktop.ini
[Tt]humbs.db