Skip to content

Instantly share code, notes, and snippets.

View marcel-goldammer's full-sized avatar
💭
💻

Marcel Goldammer marcel-goldammer

💭
💻
  • Germany
  • 09:41 (UTC +01:00)
View GitHub Profile
@WarningImHack3r
WarningImHack3r / OS_arch.md
Last active November 27, 2025 18:19
Offline installation of local language models of IntelliJ 2024.1+

Available OS: windows, linux (probably darwin for macOS, not tested though)
Available arch: x86_64 (others not tested)

Note: You can try to mix and match values from both lists above, there is no guarantee of success though, even though it should very likely work.

@rambabusaravanan
rambabusaravanan / detect-js-framework.js
Last active October 17, 2025 14:16
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');
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream