Skip to content

Instantly share code, notes, and snippets.

💭
Hacking the Gibson ...

Cookie Engineer cookiengineer

💭
Hacking the Gibson ...
Block or report user

Report or block cookiengineer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cookiengineer
cookiengineer / apt-pac.sh
Last active Aug 1, 2019
APT-PAC - pacman with APT syntax
View apt-pac.sh
#!/bin/bash
# Save this file as /usr/bin/apt-pac and chmod +x it.
case "$1" in
autoremove)
pacman -Rns $(pacman -Qdtq);
;;
@hexchain
hexchain / 51-noto-color-emoji.conf.xml
Last active Jun 16, 2018
Emoji on Linux desktop. Use with aur/cairo-coloredemoji.
View 51-noto-color-emoji.conf.xml
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/conf.avail/51-noto-color-emoji.conf -->
<fontconfig>
<selectfont>
<acceptfont>
<pattern>
<patelt name="family"><string>Noto Color Emoji</string></patelt>
</pattern>
</acceptfont>
@m-ou-se
m-ou-se / replace-debian-with-arch.txt
Last active Sep 13, 2019
Instructions to replace a live Debian installation with Arch
View replace-debian-with-arch.txt
# Download latest archlinux bootstrap package, see https://www.archlinux.org/download/
wget 'ftp://ftp.nluug.nl/pub/os/Linux/distr/archlinux/iso/latest/archlinux-bootstrap-*-x86_64.tar.gz'
# Make sure you'll have enough entropy for pacman-key later.
apt-get install haveged
# Install the arch bootstrap image in a tmpfs.
mount -t tmpfs none /mnt
cd /mnt
tar xvf ~/archlinux-bootstrap-*-x86_64.tar.gz --strip-components=1
You can’t perform that action at this time.