Skip to content

Instantly share code, notes, and snippets.

View xJkit's full-sized avatar
🎯
Focusing

JayChung xJkit

🎯
Focusing
View GitHub Profile
@xJkit
xJkit / detect-js-framework.js
Created November 8, 2023 03:15 — forked from rambabusaravanan/detect-js-framework.js
Detect JS Framework used in a Website
// Paste these lines into website's console (Win/Linux: Ctrl + Shift + I / Mac: Cmd + Alt + I)
if(!!window.React ||
!!document.querySelector('[data-reactroot], [data-reactid]') ||
Array.from(document.querySelectorAll('*')).some(e => e._reactRootContainer !== undefined || Object.keys(e).some(k => k.startsWith('__reactContainer')))
)
console.log('React.js');
if(!!document.querySelector('script[id=__NEXT_DATA__]'))
console.log('Next.js');
@xJkit
xJkit / _verify-repair-permissions-disk.md
Created August 20, 2022 04:50 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

@xJkit
xJkit / machine.js
Created June 16, 2021 09:08
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - MachinebeginAth
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@xJkit
xJkit / .vimrc
Last active May 21, 2019 18:58 — forked from simonista/.vimrc
A basic .vimrc file that will serve as a good template on which to build.
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on
@xJkit
xJkit / introrx.md
Created February 14, 2017 16:25 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing