Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am acoubass on github.
* I am piecemaker (https://keybase.io/piecemaker) on keybase.
* I have a public key ASBqTq4h1Unzsu85H1Up_hUG_GRDBgbCE1nQiAiVOyLgywo
To claim this, I am signing this object:
{ stdenv, fetchurl, makeDesktopItem, jre7, openal, libX11, libXext, libXcursor, libXrandr, libXxf86vm, openjdk7, mesa }:
with stdenv.lib;
let
icon = fetchurl {
url = "http://rocketdock.com/images/screenshots/thumbnails/runescape-1.png";
sha256 = "1hyxjjc33673a899f991756qnmq2mga786xkz1hw5fadb1zjq2p3";
};
@AcouBass
AcouBass / youtube.sh
Created May 11, 2017 00:26
youtubes sub script
#!/bin/sh
passs=$(pass Internet/Google | head -n 1)
youtube-dl -i -u fake@gmail.com :ytsubs -p $passs -2 $2 --dateafter now-$1days -v --download-archive /home/eddie/pipes/youtubearchive
@AcouBass
AcouBass / PKGBUILD
Created August 16, 2017 23:13
linux-sunxi for GPD Win + Arch
# Maintainer: Boohbah <boohbah at gmail.com>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
# Contributor: Jonathan Chan <jyc@fastmail.fm>
# Contributor: misc <tastky@gmail.com>
# Contributor: NextHendrix <cjones12 at sheffield.ac.uk>
pkgbase=linux-sunxi
_srcname=linux-sunxi
pkgver=3.9rc5.r330933.g3d6c41f4a7eb
@AcouBass
AcouBass / default.nix
Last active May 12, 2018 02:24
Tuxguitar 1.5.1 nixpkg
{ stdenv, fetchurl, swt, libXtst, jdk, fluidsynth, makeWrapper, alsaLib, jre, makeDesktopItem }:
with stdenv.lib;
let metadata = assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
if stdenv.system == "i686-linux" then
{ arch = "x86"; sha256 = "1qmb51k0538pn7gv4nsvhfv33xik4l4af0qmpllkzrikmj8wvzlb"; }
else
{ arch = "x86_64"; sha256 = "19d8srzki57yywin5nipibq7kkwf65k3ngk6kzqa57ska22rqhfj"; };
in stdenv.mkDerivation rec {
@AcouBass
AcouBass / 20-intel.conf
Last active June 12, 2018 23:58
GPD configs
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
Option "DRI" "3"
Option "SwapbuffersWait" "true"
Option "AccelMethod" "sna"
EndSection
Feb 15 18:26:33 Sailfish systemd[1]: dev-crypto_luks_6593cf98-82e3-49fb-8ad0-57354400a7e9.device: Job dev-crypto_luks_6593cf98-82e3-49fb-8ad0-57354400a7e9.device/start timed out.
Feb 15 18:26:33 Sailfish systemd[1]: Timed out waiting for device dev-crypto_luks_6593cf98-82e3-49fb-8ad0-57354400a7e9.device.
-- Subject: Unit dev-crypto_luks_6593cf98-82e3-49fb-8ad0-57354400a7e9.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-crypto_luks_6593cf98-82e3-49fb-8ad0-57354400a7e9.device has failed.
--
-- The result is timeout.
Feb 15 18:26:33 Sailfish systemd[1]: Dependency failed for Open DM-Crypt LUKS on SD-card crypto_luks_6593cf98/82e3/49fb/8ad0/57354400a7e9.
#!/usr/bin/env bash
# This script requires Ruby, ROTP (Rubygems), totp (https://github.com/hobarrera/totp-cli), pass (http://passwordstore.org) and dmenu (suckless).
shopt -s nullglob globstar
typeit=0
if [[ $1 == "--type" ]]; then
typeit=1
shift
fi
## This is now dynamic, hahahahahahaha.
PASSLIST=(`ls $HOME/.password-store/2fa/`)
Disk /dev/sdc: 31.24 GiB, 33533460480 bytes, 65495040 sectors
Disk model: STORAGE DEVICE
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2178694e
Device Boot Start End Sectors Size Id Type
/dev/sdc1 16384 262143 245760 120M b W95 FAT32
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 418.56
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 415.25
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"