Skip to content

Instantly share code, notes, and snippets.

View syzer's full-sized avatar
🐕
Woof! Woof!

syzer syzer

🐕
Woof! Woof!
View GitHub Profile
@syzer
syzer / pre-commit.sh
Created June 13, 2022 09:13
Precommit hook to skip committing when CHANGELOG not updated
#!/bin/bash
#in .git/pre-commit
lint-staged
# CHANGELOG
if git status -s | grep -q "M CHANGELOG.md"; then
echo "# CHANGELOG Not updated."
exit 1
else
@syzer
syzer / pipeP.js
Created April 5, 2023 11:43
Piping via Ramda with Promises and/or plain functions
const _p = unapply(pipeWith(andThen))
@syzer
syzer / Intro to Common Table Expressions.md
Created December 22, 2023 12:23 — forked from felixyz/Intro to Common Table Expressions.md
Introduction to transitive closure / Common Table Expressions / iterative queries in SQL

Teh Social Netswork!

CREATE TABLE users (
 id SERIAL PRIMARY KEY,
 name VARCHAR(10) NOT NULL
);

INSERT into users VALUES

@syzer
syzer / medium.user.js
Created August 20, 2024 09:52 — forked from mathix420/medium.user.js
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