Skip to content

Instantly share code, notes, and snippets.

View outloudvi's full-sized avatar
🌷
…なんてね。

Outvi V outloudvi

🌷
…なんてね。
View GitHub Profile
@radiantly
radiantly / noMangleGoogle.user.js
Last active July 9, 2024 08:07
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==

It appears that rasengan (Andrew Lee) of Private Internet Access believes that ownership of the company Freenode Ltd. gives him the right to unilaterally replace the current staff team.

We may have had our disagreements with staff, but freenode being run by a volunteer team, using servers provided by sponsors, is a key reason that we appreciate freenode.

As such, we do not believe that such a unilateral replacement by a corporate interest is appropriate.

If this attemped takeover by Andrew Lee continues, we will be advocating to move our communities elsewhere.

Context: Fuchs' leaked (not by him) draft resignation letter that caused Andrew Lee to come onto #freenode: https://fuchsnet.ch/privat/fn-resign-letter.txt

@sindresorhus
sindresorhus / esm-package.md
Last active July 22, 2024 15:39
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@nstarke
nstarke / netgear-private-key-disclosure.md
Last active April 30, 2024 06:02
Netgear TLS Private Key Disclosure through Device Firmware Images

Netgear Signed TLS Cert Private Key Disclosure

Overview

There are at least two valid, signed TLS certificates that are bundled with publicly available Netgear device firmware.

These certificates are trusted by browsers on all platforms, but will surely be added to revocation lists shortly.

The firmware images that contained these certificates along with their private keys were publicly available for download through Netgear's support website, without authentication; thus anyone in the world could have retrieved these keys.

@lilydjwg
lilydjwg / gh-check
Last active March 18, 2024 04:43
gh-check: speed test to known GitHub IPs
#!/usr/bin/python3
import asyncio
import time
import socket
import argparse
import aiohttp
class MyConnector(aiohttp.TCPConnector):
@lilydjwg
lilydjwg / findorphanfiles
Created August 3, 2019 07:43
Find files not managed by pacman (for Arch Linux and derivatives)
#!/usr/bin/python3
import os
def allrepofiles():
repo = '/var/lib/pacman/local'
files = set()
for dirpath, dirnames, filenames in os.walk(repo):
for file in filenames:
if file != 'files':
@matiasmorant
matiasmorant / pythonOneLiner.py
Last active July 30, 2021 01:02
Amazing Python One-Liner
This file has been truncated, but you can view the full file.
exec(''.join(chr(int(''.join(str(ord(i)-8203)for i in c),2))for c in '​​​‌​‌​‍‌‌‌​​‌‌‍‌‌​‌‌‌‌‍‌‌​‌‌‌​‍‌‌​​‌‌‌‍​‌‌‌‌​‌‍‌‌​​​‌​‍​‌​​‌‌‌‍‌​‌​​‌‌‍‌​‌​‌​‌‍‌​‌​​​‌‍‌‌‌‌​‌​‍‌​​​​​‌‍‌‌‌​‌‌‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​‌​​​​‍‌​​​‌‌​‍‌​‌​​‌​‍‌​‌‌​‌​‍‌​‌​​‌​‍‌​‌​‌‌​‍‌​​‌​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​‌‌​‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​‌‌​‌‍‌‌​‌​‌​‍‌​​​​​‌‍‌‌‌‌​​​‍‌​​‌‌‌‌‍‌​‌​‌‌​‍‌​‌​​‌​‍‌​​​‌‌​‍‌​‌​‌​​‍‌‌​‌​‌‌‍‌​​‌‌​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​‌​‌‌​‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​‌​‌​​‍‌​​​‌​‌‍‌​​​‌‌​‍‌​​‌‌‌​‍‌​‌​​‌​‍‌​‌​​‌‌‍‌​​​​‌​‍‌‌‌​​​​‍‌‌​​​‌​‍‌‌​‌​​‌‍‌​​​​‌​‍‌​​​‌‌‌‍‌​‌​‌​​‍‌​​​​‌‌‍‌​​​​‌​‍‌​‌​‌​​‍‌‌​​‌​​‍‌​​‌​​​‍‌​‌​‌‌​‍‌‌​‌​‌‌‍‌‌​​​​‌‍‌​‌​‌‌‌‍​‌‌‌​​​‍‌‌​​‌‌‌‍‌​​‌‌​‌‍‌‌​‌​‌​‍‌​​​​‌​‍‌​‌​‌​‌‍‌​‌​​​‌‍‌‌​‌‌​​‍‌​​​​‌​‍‌​​‌‌‌​‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​‌​‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​‌​​‍‌​​​‌​‌‍‌‌‌‌​​​‍‌​​‌‌‌​‍‌‌‌​‌‌​‍​‌​‌‌‌‌‍​‌‌​‌‌​‍‌​​‌​​‌‍‌​​​‌‌‌‍‌‌‌‌​‌​‍​‌‌‌​​‌‍​‌‌​‌‌​‍‌‌​​‌‌‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​​​​‌‍‌​​‌‌​​‍‌​‌‌​​‌‍‌​​​​​‌‍‌​‌​​​‌‍‌​​​​​‌‍‌​‌​‌​‌‍‌​
@rjhansen
rjhansen / keyservers.md
Last active April 14, 2024 12:28
SKS Keyserver Network Under Attack

SKS Keyserver Network Under Attack

This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.

Terminological Note

"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.

Who am I?

@KenOokamiHoro
KenOokamiHoro / archlinux_cn_talks.md
Last active October 12, 2023 14:00
Arch Linux CN Community talk group guides
@gornostal
gornostal / README.md
Last active June 30, 2024 16:12
Ulauncher Color Themes

This will be a temporary site for sharing Ulauncher color themes

When posting a theme make sure it has

  • title (theme name or whatever)
  • link to a gist or github repo with theme files
  • screenshot attached (just drag an image onto a comment area)