Skip to content

Instantly share code, notes, and snippets.

View pizzadude's full-sized avatar

PizzaDude pizzadude

  • Internet
View GitHub Profile
# Firejail profile for otter-browser
# Description: Lightweight web browser based on Qt WebEngine
# This file is overwritten after every install/update
# Persistent local customizations
include otter-browser.local
# Persistent global definitions
include globals.local
#noblacklist ${HOME}/.cache/falkon
#noblacklist ${HOME}/.config/falkon
# This file was generated by GZDoom g1.8.4 on Sat Jul 19 10:53:34 2014
# These are the directories to automatically search for IWADs.
# Each directory should be on a separate line, preceded by Path=
[IWADSearch.Directories]
Path=.
Path=$DOOMWADDIR
Path=~/.config/gzdoom
Path=/usr/local/share/
@pizzadude
pizzadude / gist:6584677
Created September 16, 2013 18:39
ffmpeg simpler recording script #2
ffmpeg -f alsa -i pulse -f x11grab -r 30 -s 1920*1080 -i :0.0 -vcodec libx264 -preset ultrafast -threads 4 -y -sameq ~/Videos/recordscreen_out.mkv
@pizzadude
pizzadude / gist:6584666
Created September 16, 2013 18:38
ffmpeg simpler recording script
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1920x1080 -i :0.0 -acodec libvorbis -ac 2 -vcodec libx264 -preset ultrafast -crf 0 movie.mkv
@pizzadude
pizzadude / gist:6584658
Created September 16, 2013 18:38
mekSysInfo
#!/bin/bash
## a simple system info script by meklu
# if we don't have a display we'll try to set one
# useful for e.g. ssh access
[[ -z "$DISPLAY" ]] && export DISPLAY=":0"
printf "Host: " ; hostname
printf "Kernel: " ; uname -rsm
printf "Distro: "
lsb_release >/dev/null 2>/dev/null
if [ $? = 0 ]
@pizzadude
pizzadude / gist:6584637
Created September 16, 2013 18:36
fixgamma
#!/bin/bash
xgamma -gamma 1
@pizzadude
pizzadude / gist:6584632
Created September 16, 2013 18:36
ffmpeg recorder script
##############################ffmpeg/avconv Screencast script###################################################################################################################
#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#packages needed: libavcodec-extra-xx libvorbis libx264-xx ffmpeg (ubuntu package names, might be different on other distros)
#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#PROTIP: add keyboard shortcuts for starting the script like: /your/script/location/cast.sh and stoping shortcut with the command: killall ffmpeg (or avconv if you using that)
#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#script by