Skip to content

Instantly share code, notes, and snippets.

View gismo141's full-sized avatar

Michael Riedel gismo141

View GitHub Profile
# corrected after fork
# from https://www.reddit.com/r/pihole/comments/6qmpv6/blacklists_for_lg_webos_tvs/
0.0.0.0 us.rdx2.lgtvsdp.com
0.0.0.0 us.info.lgsmartad.com
0.0.0.0 us.ibs.lgappstv.com
0.0.0.0 us.lgtvsdp.com
0.0.0.0 ad.lgappstv.com
0.0.0.0 smartshare.lgtvsdp.com
0.0.0.0 ibis.lgappstv.com
@gismo141
gismo141 / install_node_on_raspberry_pi.sh
Last active January 3, 2017 11:13
Install Node on Raspberry Pi
cd ~
wget http://nodearm-nathanjohnson320.rhcloud.com/node_latest_armhf.deb
sudo dpkg -i node_latest_armhf.deb
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
source ~/.profile
@gismo141
gismo141 / prepare_raspberry_pi_for_airsonos.sh
Created December 5, 2016 09:37
Prepare Raspberry Pi for AirSonos
sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
sudo chown -R $USER /usr/local
@gismo141
gismo141 / install_working_airsonos.sh
Last active September 10, 2018 01:11
How to install a working version of AirSonos
# First remove everything you've installed already:
npm uninstall -g airsonos
npm uninstall -g nodetunes
# Then install the working forks:
npm install -g git://github.com/Kolky/nodetunes.git#master
cd ~
git clone https://github.com/lsmith77/airsonos.git airsonos
cd airsonos
npm install babel

Keybase proof

I hereby claim:

  • I am gismo141 on github.
  • I am gismo141 (https://keybase.io/gismo141) on keybase.
  • I have a public key ASChTYyMlozoYEiYjCpaYGx_iqPqmV27Xf1vgDsLB-IPswo

To claim this, I am signing this object:

@gismo141
gismo141 / merge_delete_branch_bp
Created May 13, 2015 07:24
git merge/delete branch (best-practice)
git checkout <feature-branch>
git pull
git checkout <release-branch>
git pull
git merge --no-ff <feature-branch>
git push
git tag -a branch-<feature-branch> -m "Merge <feature-branch> into <release-branch>"
git push --tags
git branch -d <feature-branch>
git push origin :<feature-branch>
@gismo141
gismo141 / ds_store_recursively
Created March 17, 2015 10:13
Delete .DS_Store recursively
find . -name '*.DS_Store' -type f -delete
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
docpad: {
files: [ "./src/**/*.*" ],
out: ["out"]
},
watch: {
@gismo141
gismo141 / do_sth_after_finish.sh
Created November 5, 2014 10:13
Wait for something to finish, then start something else right after it.
pid=$(ps -opid= -C your_script_name)
while [ -d /proc/$pid ] ; do
sleep 1
done && ./your_other_script
@gismo141
gismo141 / delete_folder.sh
Created July 2, 2014 16:50
pushing empty folders to git-repository
find ./ -type f -name ".keep" -exec rm {} \;