Skip to content

Instantly share code, notes, and snippets.

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

@PietroJomini
PietroJomini / oneliner.js
Created February 27, 2020 11:23
ah, yes, 𝚘𝚗𝚎𝚕𝚒𝚗𝚎𝚛
data = await page.evaluate(() => [...document.querySelector('div.content > table.rows > tbody').childNodes].slice(1).map(el => [...el.childNodes].slice(0, -1).map(el => el)).map((el, index) => { return { index, number: el[0].innerText, date: el[1].innerText, title: el[2].firstChild.innerText, classi: el[2].lastChild.innerText.split(' ').slice(1).map(el => el.replace(',', '').replace('ª', '')) }; }));
@yeetpy
yeetpy / README.md
Last active December 1, 2021 21:39
Python 3.6+ is required

yeet.py

A yeetifier for C/C++ code.

Usage:

  1. Select a C++ file:
// main.cpp
#include<iostream>
@kaitoy
kaitoy / Pcap4jLoop.kt
Last active October 3, 2019 02:13
Packet capture with Pcap4J in Kotlin
import org.pcap4j.core.BpfProgram.BpfCompileMode
import org.pcap4j.core.NotOpenException
import org.pcap4j.core.PacketListener
import org.pcap4j.core.PcapHandle
import org.pcap4j.core.PcapNativeException
import org.pcap4j.core.PcapNetworkInterface
import org.pcap4j.core.PcapNetworkInterface.PromiscuousMode
import org.pcap4j.core.PcapStat
import org.pcap4j.packet.Packet
import org.pcap4j.util.NifSelector
@joepie91
joepie91 / vpn.md
Last active March 4, 2025 08:00
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@maxd
maxd / modena.css
Last active December 4, 2024 05:21
modena.css from JDK 10.0.1
/*
* Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*