Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# A quick script to check language usage in phpBB extension
# Author: Stanislav Atanasov (lucifer@anavar.com
# Script provided as is!
VARIABLES=( "$@" )
LANG_FILE=''
TARGET_EXT=''
--- Home.xml 2016-04-17 09:31:36.837865200 +0000
+++ /usr/local/share/kodi/addons/skin.confluence/720p/Home.xml 2016-05-25 12:35:00.303030040 +0000
@@ -1101,7 +1101,31 @@
<depth>DepthFooter</depth>
<left>20</left>
<top>55r</top>
- <include>Window_OpenClose_Animation</include>
+ <include>Window_OpenClose_Animation</include> <control type="button" id="22">
+ <description>Emulation Station</description>
+ <left>110</left>
--- RetroPie-Setup/scriptmodules/supplementary/runcommand/runcommand.sh 2016-05-25 11:51:09.420177474 +0000
+++ /opt/retropie/supplementary/runcommand/runcommand.sh 2016-05-25 12:05:42.353124138 +0000
@@ -799,9 +799,9 @@
if [[ "$emulator" == frotz || "$is_console" -eq 1 || "$is_sys" -eq 0 ]]; then
# turn cursor on
tput cnorm
- eval $command </dev/tty 2>/tmp/runcommand.log
+ eval $command </dev/tty0 2>/tmp/runcommand.log
else
- eval $command </dev/tty &>/tmp/runcommand.log
#!/bin/bash
sudo openvt -c 7 -s -f clear
sudo openvt -c 7 -f "$(emulationstation)" &
sleep 8
sudo service xbmc stop
@satanasov
satanasov / netns.sh
Created April 19, 2016 08:29
netns Script for simplifying usage of netns and VPN ... have fun
#!/usr/bin/env bash
IFACE="usb0"
NETNSNAME="anavarovpn"
OVPNCONF="/some/path/to/file.ovpn"
USER="user"
if [[ $UID != 0 ]]; then
echo "This must be run as root."
exit 1