Skip to content

Instantly share code, notes, and snippets.

@XenonPK
XenonPK / keybase.md
Created September 14, 2019 11:42
Keybase proof

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@XenonPK
XenonPK / obs-automate.sh
Created October 5, 2018 20:02
Runs configured services of Open Build Service projects in a given ROOT_DIR directory and uploads changes
#!/bin/bash
ROOT_DIR="/opt/projects/.build"
function update_sources {
cd $1
printf "\nHandling:---------------------$1----------------------------Commit\n"
osc repairwc
osc up
if [ -f _service ];then
rm $(basename $(pwd))*.tar.xz .lock
@XenonPK
XenonPK / cemu_graphics_packs.sh
Last active September 29, 2018 17:19
Fetch latest Cemu graphics packs
#!/bin/sh
get_latest_packs(){
URL=$(curl -s "https://slashiee.github.io/cemu_graphic_packs/" \
| grep .zip\" \
| sed \
-e 's|.*href=\"||g' \
-e 's|.zip\".*|.zip|g' \
| grep PacksCommon)