Skip to content

Instantly share code, notes, and snippets.

@refi64
refi64 / PKGBUILD
Created April 29, 2018 19:49
mutter 3.29.1 w/ patches for Arch
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Michael Kanis <mkanis_at_gmx_dot_de>
pkgname=mutter
pkgver=3.29.1
pkgrel=1
pkgdesc="A window manager for GNOME"
url="https://git.gnome.org/browse/mutter"
@refi64
refi64 / keybase.md
Last active August 19, 2018 14:55
keybase.md

Keybase proof

I hereby claim:

  • I am kirbyfan64 on github.
  • I am refi64 (https://keybase.io/refi64) on keybase.
  • I have a public key ASC0MAUdoo0JtC9sw5EKyAwgpeBm0nFIDeLLNJj5mrH2Vwo

To claim this, I am signing this object:

@refi64
refi64 / flashinst.sh
Last active October 29, 2018 18:50
Install Flash on Chromium OS
# INSTRUCTIONS:
# Enter the terminal (Ctrl-Alt-F2, username is "chronos" and password is either blank or "password" for ArnoldTheBat's builds) and run:
#
# curl -L https://goo.gl/BBV79Q | sudo bash
#
# to install. You'll likely have to re-enter the password "password".
# Attempts to grab the latest Flash version straight from Adobe's website.
# Should be a bit more bullet-proof than some of the other flash installer scripts.
evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*
KEYBOARD_KEY_47=home
KEYBOARD_KEY_48=up
KEYBOARD_KEY_49=pageup
KEYBOARD_KEY_4b=left
KEYBOARD_KEY_4d=right
KEYBOARD_KEY_4f=end
KEYBOARD_KEY_50=down
KEYBOARD_KEY_51=pagedown
KEYBOARD_KEY_3a=search
@refi64
refi64 / org.gtk.Gtk3theme.Bubble-Dark-Blue.appdata.xml
Created February 16, 2019 02:47
Bubble Dark Blue Flatpak manifest
<?xml version="1.0" encoding="UTF-8"?>
<component type="runtime">
<id>org.gtk.Gtk3theme.Bubble-Dark-Blue</id>
<metadata_license>CC0-1.0</metadata_license>
<name>Bubble Dark Blue Gtk theme</name>
<summary>Bubble Dark Blue Gtk theme</summary>
<description>
<p>Bubble Dark Blue is a theme for Gtk3.</p>
</description>
<url type="homepage">https://www.gnome-look.org/p/1253999/</url>
@refi64
refi64 / keybase.md
Created March 26, 2019 13:23
keybase.md

Keybase proof

I hereby claim:

  • I am refi64 on github.
  • I am refi64 (https://keybase.io/refi64) on keybase.
  • I have a public key ASC0MAUdoo0JtC9sw5EKyAwgpeBm0nFIDeLLNJj5mrH2Vwo

To claim this, I am signing this object:

@refi64
refi64 / SOS.md
Created May 3, 2019 18:10 — forked from vodik/SOS.md
_Never_ -Sy when installing!

Once upon a time there was a user that wanted to install firefox.

The user tried to do pacman -S firefox but it didn't work. The all mighty pacman reported that firefox-3.2.4-1.i686.pkg.tar.gz could not be found on his mirror. So the user tried pacman -Sy firefox. It worked and the user rejoiced since he could once again go and troll /h/.

But all was not good. The user had made a grave error!

See, when the user told the almighty pacman to -Sy firefox, pacman did

@refi64
refi64 / syyu.md
Created May 3, 2019 18:13 — forked from Brottweiler/syyu.md
pacman -Syyu vs. pacman -Syu

pacman -Syu

  • User: Hey server do you have any new packages or updates or changes at all
  • Server: no
  • User: Ok bye

pacman -Syyu

  • User: hey server do you have any new packages or updates at all
  • Server: no
@refi64
refi64 / pid-sock.py
Created December 16, 2019 18:11
pid-sock.py
#!/usr/bin/env python3
import os
import socket
import struct
import subprocess
import sys
def nested(fd):