Skip to content

Instantly share code, notes, and snippets.

View julian-klode's full-sized avatar

Julian Andres Klode julian-klode

View GitHub Profile
#!/usr/bin/python3
import urllib.request
import time
import apt_pkg
import subprocess
import sys
def get_ping(cdn):
import csv
import difflib
with open("a1jx52.csv") as ftse:
ftse_list = list(csv.reader(ftse))
with open("IUSN_holdings.csv") as small:
small_list = list(csv.reader(small))
def clean(s):
for c in ". ,":
#include <apt-pkg/cachefile.h>
#include <apt-pkg/cachefilter.h>
#include <apt-pkg/debversion.h>
#include <apt-pkg/error.h>
#include <apt-pkg/init.h>
#include <apt-pkg/pkgsystem.h>
#include <apt-pkg/strutl.h>
#include <cstdlib>
#include <iostream>
#include <regex>
#!/usr/bin/python3
#
# Copyright (C) 2020 Julian Andres Klode <[email protected]>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
"""Takes a Chrome CSV on stdin, and produces a Bitwarden JSON export on stdout.
The output only contains relevant fields, and logins are merged together based
on user name and password.

Keybase proof

I hereby claim:

  • I am julian-klode on github.
  • I am julianklode (https://keybase.io/julianklode) on keybase.
  • I have a public key ASATNYfDeu0km1-g-ZY8ECurwuNlKjkY5bLLKeCCk39inAo

To claim this, I am signing this object:

#!/usr/bin/python3
#
# Copyright (C) 2019 Julian Andres Klode
#
# SPDX-License-Identifier: AGPL-3.0-or-later
#
import json
import requests
import os
@julian-klode
julian-klode / shim-review-request.md
Created March 20, 2020 16:08
shim-review-request.md

(tl;dr same as #82 + an additional patch, and now built in Ubuntu 20.04 instead of 19.10)

Make sure you have provided the following information:

  • link to your code branch cloned from rhboot/shim-review in the form user/repo@tag
  • completed README.md file with the necessary information
  • shim.efi to be signed
  • public portion of your certificate embedded in shim (the file passed to VENDOR_CERT_FILE)
  • any extra patches to shim via your own git tree or as files
  • any extra patches to grub via your own git tree or as files
#!/bin/bash
[ -e $XDG_RUNTIME_DIR/OVMF_VARS.fd ] || cp /usr/share/OVMF/OVMF_VARS.ms.fd $XDG_RUNTIME_DIR/OVMF_VARS.fd
kvm -smp 2 \
-m 4096 \
-cpu host \
-M q35 \
-drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd \
#!/bin/bash
[ -e $XDG_RUNTIME_DIR/OVMF_VARS.fd ] || cp /usr/share/OVMF/OVMF_VARS.ms.fd $XDG_RUNTIME_DIR/OVMF_VARS.fd
kvm -smp 2 \
-m 4096 \
-cpu host \
-M q35 \
-drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd \
apt (1.9.11) experimental; urgency=medium
[ Tomáš Janoušek ]
* bash completion: Add autopurge command
[ Tris Emmy Wilson ]
* apt-mark: don't lie about successful marks
[ Julian Andres Klode ]
* apt(8): Wait for lock (Closes: #754103)