Skip to content

Instantly share code, notes, and snippets.

View geekwolverine's full-sized avatar

Blaze geekwolverine

View GitHub Profile
@geekwolverine
geekwolverine / stopmediumpaywall.txt
Created January 13, 2026 16:36 — forked from kamysheblid/stopmediumpaywall.txt
Bypass the annoying paywall on Medium.com and DataScience.com
// ==UserScript==
// @name Stop the Medium The Pay Wall
// @namespace StopThePayWall
// @version 1
// @include *medium*
// @include *datascience*
// ==/UserScript==
async function abc () {
var resp = (await fetch(location, { "credentials": "omit", "headers": { "Accept": "text/html,text/xhtml,text/xml,*/*", "Connection": "keep-alive", }, "method": "GET", "mode": "cors" }));
to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice
stun:
stun.l.google.com:19302,
stun1.l.google.com:19302,
stun2.l.google.com:19302,
stun3.l.google.com:19302,
stun4.l.google.com:19302,
stun.ekiga.net,
stun.ideasip.com,
@geekwolverine
geekwolverine / install.sh
Created September 23, 2025 17:00 — forked from sramanujan/install.sh
Apple fonts on Ubuntu (proprietary, use with care!)
#!/bin/bash
mkdir -p Fonts;
pushd Fonts;
wget https://github.com/sahibjotsaggu/San-Francisco-Pro-Fonts/raw/master/SF-Pro-Display-Black.otf;
wget https://github.com/sahibjotsaggu/San-Francisco-Pro-Fonts/raw/master/SF-Pro-Display-BlackItalic.otf;
wget https://github.com/sahibjotsaggu/San-Francisco-Pro-Fonts/raw/master/SF-Pro-Display-Bold.otf;
wget https://github.com/sahibjotsaggu/San-Francisco-Pro-Fonts/raw/master/SF-Pro-Display-BoldItalic.otf;
@geekwolverine
geekwolverine / LC_COLORS.md
Created September 8, 2025 03:51 — forked from thomd/LC_COLORS.md
LSCOLORS & LS_COLORS

alternatively use: http://geoff.greer.fm/lscolors/

LSCOLORS

The value of this variable describes what color to use for which attribute when colors are enabled with CLICOLOR. This string is a concatenation of pairs of the format fb, where f is the foreground color and b is the background color.

The color designators are as follows:

a black

@geekwolverine
geekwolverine / optimal-video-to-gif-imagemagick.md
Created August 31, 2025 03:53 — forked from CoolOppo/optimal-video-to-gif-imagemagick.md
Converting videos to GIFs optimally using ImageMagick

ImageMagick Video to GIF Optimization Summary

A software developer who uses IM to create Movie GIFs, Benoit Rouleau, in discussion with me, gave me a AVI video of a plane flying over, to help us mutually explore IM video conversion techniques.

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@geekwolverine
geekwolverine / getting-started.md
Created August 10, 2025 16:09 — forked from joepie91/getting-started.md
Getting started with Node.js

"How do I get started with Node?" is a commonly heard question in #Node.js. This gist is an attempt to compile some of the answers to that question. It's a perpetual work-in-progress.

And if this list didn't quite answer your questions, I'm available for tutoring and code review! A donation is also welcome :)

Setting expectations

Before you get started learning about JavaScript and Node.js, there's one very important article you need to read: Teach Yourself Programming in Ten Years.

Understand that it's going to take time to learn Node.js, just like it would take time to learn any other specialized topic - and that you're not going to learn effectively just by reading things, or following tutorials or courses. _Get out there and build things!

@geekwolverine
geekwolverine / node-and-express.md
Created August 10, 2025 16:08 — forked from anotheruiguy/node-and-express.md
Set up a new Node.js project with Express >4.0: a newb's guide

And my article is deprecated!

As of just writing this, Express 4.0 was released and there are points in there that no longer matter. So, this remains as a great >4.0 article.

Node.js is the red-hot new hotness! You can't throw a stick on the internet without hitting someone talking about Node. But why? For one, it's built on JavaScript which is completely ubiquitous. So, why not build a development stack and server on JavaScript? I would argue that the installation is almost painless while the terseness of the language is not.

While you can create apps 100% from Node.js, the Express framework is a great tool that helps you solve many standard problems without having to write boilerplate code.

Node.js is here and it's not going anywhere anytime soon. So if you are new to Node.js, Express, and even JavaScript in general, this is a great newb's step-by-step guide to get started.

--[[
Twitch.tv extension v0.0.2 by Stefan Sundin
https://gist.github.com/stefansundin/c200324149bb00001fef5a252a120fc2
The only thing that this extension does is to act as a helper to seek to the
correct time when you open a twitch.tv url that contains a timestamp.
You must have the playlist parser installed as well!
Usage:
1. Install the playlist parser: https://addons.videolan.org/p/1167220/
@geekwolverine
geekwolverine / README.md
Created July 20, 2025 19:54 — forked from Dimich-x33/README.md
Stream audio from pulseaudio over tcp to Android

Stream audio from pulseaudio over tcp to Android

HOWTO

  • Download and install Simple Protocol Player
  • Create the sh file with content listed above in this gist
  • List source devices via pactl list sources short pactl list | grep "Monitor Source" | awk '{print $3}', you will get something like that: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
  • chmod +x filename.sh
  • Run it: filename.sh start
  • Launch Simple Protocol Player, put the IP:PORT into corresponding input fields