Skip to content

Instantly share code, notes, and snippets.

View PostsDesert's full-sized avatar

Griffith Baker PostsDesert

View GitHub Profile
@mathix420
mathix420 / medium.user.js
Last active November 7, 2024 22:59
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 2.4
// @inject-into content
@tykurtz
tykurtz / grokking_to_leetcode.md
Last active November 20, 2024 02:18
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

const platformSpecific = ({ios, android}) => (Platform.OS == ‘ios’) ? ios : android
<View style={{ color: platformSpecific({ ios: 'black', android: 'white' }) }}/>
@raggleton
raggleton / saveWebsite.md
Created November 19, 2014 09:58
How to save website offline

wget -k -p -e robots=off -r -l2 http://www.parashift.com/c++-faq-lite/index.html

or

wget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://example.org

aka

wget -mkEpnp http://example.org