Skip to content

Instantly share code, notes, and snippets.

View NightMachinery's full-sized avatar

Feraidoon Mehri NightMachinery

View GitHub Profile
@radiantly
radiantly / noMangleGoogle.user.js
Last active December 11, 2025 17:36
Prevent Google from mangling links on the search results when clicking or copying on Firefox
// ==UserScript==
// @name Prevent link mangling on Google
// @namespace LordBusiness.LMG
// @match https://www.google.com/search
// @grant none
// @version 1.1
// @author radiantly
// @description Prevent google from mangling the link when copying or clicking the link on Firefox
// ==/UserScript==
@davidfowl
davidfowl / MinimalAPIs.md
Last active April 29, 2026 16:47
Minimal APIs at a glance
@LewisGaul
LewisGaul / zig-blog-posts.md
Last active August 10, 2025 13:50
Collection of blog posts about the Zig programming language
@programus
programus / alacritty.yml
Last active August 22, 2025 17:03
pull down from top alacritty (like iTerm2)
window:
# Window dimensions (changes require restart)
#
# Number of lines/columns (not pixels) in the terminal. The number of columns
# must be at least `2`, while using a value of `0` for columns and lines will
# fall back to the window manager's recommended size.
dimensions:
columns: 500
lines: 30
@jatubio
jatubio / download.js
Created March 5, 2021 11:58
Download Google Drive protected/view only document
let jspdf = document.createElement("script");
jspdf.onload = function () {
let pdf = new jsPDF();
let elements = document.getElementsByTagName("img");
for (let i in elements) {
let img = elements[i];
console.log("add img ", img);
if (!/^blob:/.test(img.src)) {
console.log("invalid src");
continue;
@tabdulradi
tabdulradi / README.md
Last active May 14, 2021 13:24
Scala Script Runner

Scala Script Runner

Make sure you have coursier installed

chmod +x test.scala
./test.scala

First time it will download scala-compiler (and depending on your config maybe GraalVM) then cache a bootstrap runner. Next time it will run much faster using the cached runner (depending on you config can be native program!).

How to join the Pluto zulip

NOTE: THIS INFORMATION IS NOW ON https://plutojl.org/en/docs/get-involved/

The best way to get in touch with fellow Pluto users is to join our zulip chat. Zulip is a chatting website (similar to Slack), but it is free, which means that you can also read old messages.

We are a subchannel of the Julia zulip. To join it:

  1. Click here to join the Julia zulip: https://julialang.zulipchat.com/
  2. Create an account, or log in with github/google.
  3. After logging in, you need to Add the Pluto stream using this button:
@dajare
dajare / ssc-bookreviews.md
Last active March 27, 2026 11:55
The Book Reviews of Slate Star Codex

The Book Reviews of Slate Star Codex

All of them . . .

See below for earlier “squid314” reviews; also for more recent reviews on Astral Codex Ten.

2020

  • 06/01 - [Book Review: Origin Of Consciousness In The Breakdown Of The Bicameral Mind][19]
  • 05/05 - [Book Review Contest: Call For Entries][35]
@Pycea
Pycea / _fixed_header.css
Last active April 27, 2025 23:42
Styling improvements for the ACX Substack. To load into Safari, copy the ones you want into a file, then go to Preferences > Advanced > Style sheet and select your file.
/* Fixes the header to the top of the page */
.main-menu > * {
position: relative !important;
top: 0 !important;
}
.main-menu > :nth-child(2) {
display: none;
}