Skip to content

Instantly share code, notes, and snippets.

View qbit's full-sized avatar
🐡
blub blub

Aaron Bieber qbit

🐡
blub blub
View GitHub Profile
@sagehane
sagehane / flake.nix
Last active June 16, 2023 02:41
Nix env for Lenna's Inception
# A simple shell expression for running Lenna's Inception
# Put this in the same directory as the game and run `nix develop`
{
description = "FHS setup for Lenna's Inception";
outputs = { self, nixpkgs }:
let
pkgs = import nixpkgs { inherit system; };
system = "x86_64-linux";
@m1cr0man
m1cr0man / flake.nix
Last active October 30, 2023 19:55
The simplest Nix Flake for nixos-rebuild
# This can be built with nixos-rebuild --flake .#myhost build
{
description = "the simplest flake for nixos-rebuild";
inputs = {
nixpkgs = {
# Using the nixos-unstable branch specifically, which is the
# closest you can get to following the equivalent channel with flakes.
url = "github:NixOS/nixpkgs/nixos-unstable";
};
@lteo
lteo / calyptix-log4j-active-exploitation.csv
Last active January 7, 2022 17:31
Calyptix Community Shield - Log4j Active Exploitation IPs
ip first_seen_utc last_seen_utc country asn
1.254.66.188 2021-12-23 03:26 2021-12-23 03:26 KR SK Broadband Co Ltd
100.27.42.242 2021-12-23 20:39 2021-12-23 20:39 US AMAZON-AES
100.27.42.243 2022-01-05 03:08 2022-01-05 03:08 US AMAZON-AES
102.130.113.9 2021-12-14 18:43 2021-12-14 18:43 ZA Host-Africa-AS
103.1.212.84 2021-12-26 17:21 2021-12-27 04:21 AU GSL Networks Pty LTD
103.1.212.85 2021-12-24 22:14 2021-12-26 07:34 AU GSL Networks Pty LTD
103.1.212.86 2021-12-27 05:32 2021-12-27 05:32 AU GSL Networks Pty LTD
103.106.243.120 2021-12-24 04:51 2021-12-24 04:51 BD Saddam Hossain ta Asian Network
103.107.196.149 2021-12-15 19:12 2021-12-15 19:12 AU GSL Networks Pty LTD
@sjahl
sjahl / shell.nix
Created September 28, 2021 14:36
reproducible python environment with nix
{ pkgs ? import <nixpkgs> {} }:
let
mach-nix = import (builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix";
ref = "refs/tags/3.3.0";
}) {
pkgs = pkgs;
python = "python37";
pypiDataRev = "48f4b1841d11673822d3f42178480378d1a07a90"; # 2021-09-27T20:16:37Z
@tararoys
tararoys / Replacement.md
Last active June 16, 2023 15:39
A cheat sheet for learning several of the most useful talon commands

user.letter

command word user.letter
air a
bat b
cap c
drum d
each e
fine f
#!/usr/bin/awk -f
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff
# My copy here is written in awk instead of C, has no compelling benefit.
# Public domain. @thingskatedid
# Run as awk -v x=xyz ... or env variables for stuff?
# Assumptions: the data is evenly spaced along the x-axis
# TODO: moving average
@MichaelCurrin
MichaelCurrin / README.md
Last active May 16, 2024 12:45
GitHub GraphQL - Get Pull Requests using GH's GraphQL API

Get Pull Requests using GH's GraphQL API

How to get Pull Requests data using Github in the browser, or using the API to allow for automating reporting or building in values into a website.

Resources

@IanColdwater
IanColdwater / twittermute.txt
Last active July 2, 2024 02:25
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@afresh1
afresh1 / HTTP-Tiny-nc.pm
Last active May 2, 2023 23:56
A monkey patch to let perl's HTTP::Tiny to use the OpenBSD netcat with TLS support to access https sites without installing IO::Socket::SSL and Net::SSLeay.
use v5.16;
use warnings;
package HTTP::Tiny::nc;
use parent 'HTTP::Tiny';
our $VERSION = v0.0.3;
# Copyright (c) 2019-2023 Andrew Hewus Fresh <afresh1@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any