Skip to content

Instantly share code, notes, and snippets.

View catthehacker's full-sized avatar

Ryan catthehacker

View GitHub Profile
@pinkisemils
pinkisemils / resignation.md
Last active January 28, 2023 04:26
Resignation

All things come to an end.

I can't say I played a significant role in freenode, but I tried to do my part as a volunteer staff member, and had some fun along the way. But my involvement with freenode has to end due to what has come to light in these past months. What follows is a badly told story of what happened that made me stop volunteering my time at this network. And let's be clear about that, freenode the IRC network up until now has almost exclusively been ran by unpaid volunteers on donated hardware, sans some machines that were provided by PIA.

A long time ago, in 2016 a holding company for freenode was created, with the purpose of helping us to receive donations from PIA, for things such as freenode live. The head of staff promised that this would never have any impact on the way the network was operated. I was personally somewhat sceptical of the need for a conference for a network such as ours - conferences usually have a specific topic that is of common interest by it's attendees and thought t

IRC friends, enemies and others,

Control of freenode has recently been seized by the proprietors of Freenode Limited, a holding company established by a previous head of freenode and a third party as part of a deal with a corporate sponsor. The terms of that deal were not disclosed, and remain unknown to me.

At the time, we, freenode's volunteer staff, were given informal guarantees that staff retained operational control of the network. The same guarantees were repeated after leadership was passed on to a new head of staff. I don't

@lrvick
lrvick / format.sh
Created April 7, 2021 22:16
Format/partition raw disks without root.
dd if=/dev/zero of="disk.raw" bs=512 count=102400
mformat -i disk.raw@@1024K -h 32 -t 32 -n 64 -c 1
mmd -i disk.raw@@1024K ::EFI
mmd -i disk.raw@@1024K ::EFI/BOOT
mcopy -i disk.raw@@1024K /out/boot.efi ::EFI/BOOT/BOOTX64.EFI
dd if=/dev/zero of="root.raw" bs=512 count=307199
mkfs.ext4 -N 0 main.raw
cat root.raw >> disk.raw
truncate -s "+850M" disk.raw
parted disk.raw \
@0x001337
0x001337 / eye-stats.py
Created January 13, 2019 01:51
The-Eye Member Count Update Script
#! /usr/bin/python3
import discord
import asyncio
import redis
from time import gmtime, strftime
# Discord.py's discord client object
client = discord.Client()
@asukakenji
asukakenji / 0-go-os-arch.md
Last active April 9, 2024 18:54
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@genekogan
genekogan / scrapeImages.py
Created February 22, 2017 11:49
scraping full size images from Google Images
from bs4 import BeautifulSoup
import requests
import re
import urllib2
import os
import argparse
import sys
import json
# adapted from http://stackoverflow.com/questions/20716842/python-download-images-from-google-image-search
@SidShetye
SidShetye / wget.ps1
Last active March 27, 2024 15:16
Powershell script to download files on Windows Server Nano where Invoke-Webrequest/wget are natively missing
<#
.SYNOPSIS
Downloads a file
.DESCRIPTION
Downloads a file
.PARAMETER Url
URL to file/resource to download
.PARAMETER Filename
file to save it as locally
.EXAMPLE
@rkeithhill
rkeithhill / PSReadLine_config.ps1
Last active December 10, 2023 03:03
Config file for PSReadLine
# Other hosts (ISE, ConEmu) don't always work as well with PSReadLine.
# Also, if PS is run with -Command, PSRL loading is suppressed.
$psrlMod = Get-Module PSReadLine
if (($null -eq $psrlMod) -or ($host.Name -eq 'Windows PowerShell ISE Host')) {
return
}
elseif ($psrlMod.Version.Major -lt 2) {
throw "PSReadLine 1.x installed or not imported, import PSRL or ugprade to at least 2.x."
}
@pascalpoitras
pascalpoitras / config.md
Last active April 8, 2024 18:58
My WeeChat configuration

WeeChat Screenshot

Mouse


enable


@steeve
steeve / _readme.md
Last active March 7, 2024 12:38
How to cross compile Go with CGO programs for a different OS/Arch

How to cross compile Go with CGO programs for a different OS/Arch

It is possible to compile Go programs for a different OS, even though go build says otherwise.

You'll need: