Skip to content

Instantly share code, notes, and snippets.

View Logarithmus's full-sized avatar
💡
Full of ideas and enthusiasm

Artur Sinila Logarithmus

💡
Full of ideas and enthusiasm
View GitHub Profile

Thoughts On Stallman Drama

I find it’s often the case that behind instances of mass-stupidity there is great “intelligence” at work.

For example, why would a mob call Stallman (of all people) “racist”, “sexist”, “transphobic” and a “pedophile”? I could be wrong, but AFAICT he is none of those things, and the mob provided no supporting evidence.

I’m not denying the claims that Stallman might have clumsily attempted to date younger women, or that once he absent-mindedly ate something off of his foot during a lecture, or that people claim he pointed and shouted (in jest) "A GIRL!" during a male-dominated conference. You've probably done odd things too if you've lived long enough. None of those past behaviors seem to warrant (to me) the massive outcry and demand for his ostracization and ouster from the board of the FSF. And it's been categorically debunked by multiple people that he ever, in any way, defended Jeffrey Epstein. He very clearly called for him to be punished and imprisoned.

It’s interesting t

@stevecondylios
stevecondylios / resize-image-in-github-issue-github-flavored-markdown.md
Last active November 10, 2024 11:07
How to Resize an Image in a Github Issue (e.g. Github flavored Markdown)

How to Resize an Image in Github README.md (i.e. Github Flavored Markdown)

Percentage:

<img src="https://user-images.githubusercontent.com/16319829/81180309-2b51f000-8fee-11ea-8a78-ddfe8c3412a7.png" width=50% height=50%>

Pixels:

<img src="https://user-images.githubusercontent.com/16319829/81180309-2b51f000-8fee-11ea-8a78-ddfe8c3412a7.png" width="150" height="280">

@tobi-wan-kenobi
tobi-wan-kenobi / VOID-INSTALL.md
Last active June 26, 2024 18:14
Void Linux installation (NVMe, btrfs, LVM, full disk encryption using LUKS, 2FA-ish, SSD TRIM)

Void Linux installation (NVMe, btrfs, LVM, full disk encryption using LUKS, 2FA-ish, SSD TRIM)

Here's a record of my experiences when setting up Void Linux for the first time, maybe it contains useful information for somebody :-)

Basics

  • Laptop: Lenovo IdeaPad S340
  • Void Linux installer version: 20191109 (x86_64 musl)

Features

@cleoold
cleoold / test.cpp
Last active October 12, 2023 08:51
quicksort in C++ template metaprogramming
// -std=c++11
// licensed under MIT
// 2020 cos https://opensource.org/licenses/MIT
#include <iostream>
namespace li {
template <int n> struct int32 {
using type = int32;
static constexpr int value = n;
};
@agamm
agamm / showAllResolved.md
Last active July 24, 2024 09:10
Show all resolved comments in a Github Pull Request

Run this in the console:

document.querySelectorAll('span.Details-content--closed').forEach((e)=>{e.click()})

From the creator of: unzip.dev 🚀

@Flogex
Flogex / postman-diff.md
Last active April 8, 2023 19:11
git diff for Postman Collections

git diff for Postman Collections

The Problem

When exporting a Postman Collection, the body of a request is stored in the "raw" property as a single string. When using git diff, it is hard to compare the changes because the whole line has changed.

Using jq as textconv

It is possible to define in a .gitattributes file what diff driver to use.

@gbrlsnchs
gbrlsnchs / README.md
Last active August 29, 2024 00:50
Void Linux Installation Guide (UEFI + chroot + brtfs + LUKS-encrypted root and swapfile)

Installation guide for Void Linux with LUKS-encrypted btrfs root

NOTE

I have ported this Gist to a handbook. I'll not maintain this Gist anymore, but will keep it here for future references. You can access the respective chapter in the handbook here.

Introduction

In this guide you will find:

  • btrfs with Zstandard compression
  • LUKS-encrypted root and swapfile
  • GRUB with UEFI
@manio143
manio143 / zaufany_signer.py
Created June 10, 2019 12:54
Skrypt, który teoretycznie ma nieco przyśpieszyć podpisywanie plików profilem zaufanym przez portal obywatel.gov.pl
#!/usr/bin/env python3
import requests
import json
import sys
import os.path
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from http.cookiejar import Cookie
@Spirotot
Spirotot / record.sh
Last active October 17, 2020 00:28
Sway WM screen + audio recorder
#!/bin/bash
# Sway WM screen + audio recorder
# Usage: ./record -d [display] -a [audio_device] -o [project_output_name]
#
# Displays can be listed with `swaymsg -t get_outputs`.
# Audio devices can be listed with `arecord -l`.
# Probably best not to put spaces in the "-o" argument, sorry...
#
# Dependencies: ffmpeg, alsamixer
#
@thiagowfx
thiagowfx / FindBoost.cmake
Last active February 22, 2023 15:46
FindBoost.cmake (Note: DO NOT DELETE as it's linked from Stack Overflow)
# - Find Boost
#
# Copyright (c) 2016 Thiago Barroso Perrotta
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
# the Software, and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions: