Skip to content

Instantly share code, notes, and snippets.

127.0.0.1 us.rdx2.lgtvsdp.com
127.0.0.1 us.info.lgsmartad.com
127.0.0.1 us.ibs.lgappstv.com
127.0.0.1 us.lgtvsdp.com
127.0.0.1 ad.lgappstv.com
127.0.0.1 smartshare.lgtvsdp.com
127.0.0.1 ibis.lgappstv.com
# added after fork
# from https://www.reddit.com/r/pihole/comments/6qmpv6/blacklists_for_lg_webos_tvs/ and others
@Meroje
Meroje / getec2lifecycle.sh
Last active May 21, 2019 16:32 — forked from urjitbhatia/getec2lifecycle.sh
Check if an ec2 instance is spot or normal lifecycle
#!/usr/bin/env bash
aws ec2 describe-spot-instance-requests \
--filters Name=instance-id,Values="$(wget -q -O - http://169.254.169.254/latest/meta-data/instance-id)" \
--region "$(wget -q -O - http://169.254.169.254/latest/dynamic/instance-identity/document | jq -r '.region')" | \
jq -r '.SpotInstanceRequests | if length > 0 then "spot" else "normal" end'
@Meroje
Meroje / dabblet.html
Created May 9, 2012 17:58 — forked from anonymous/dabblet.html
HTML9 Responsive Boilerstrap JS
<script src="//raw.github.com/impressivewebs/HTML9-Responsive-Boilerstrap-js/master/js/html9responsiveboilerstrap.js"></script>
@Meroje
Meroje / dabblet.css
Created March 17, 2012 14:51 — forked from anonymous/dabblet.css
Untitled
html {
margin: 0;
padding: 0;
border: 0;
}
body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,nav,section {
margin: 0;
padding: 0;
#!/bin/bash -ex
# Paste this into ssh
# curl -sL https://gist.github.com/andsens/2913223/raw/bootstrap_homeshick.sh | tar -xzO | /bin/bash -ex
# When forking, you can get the URL from the raw (<>) button.
### Set some command variables depending on whether we are root or not ###
# This assumes you use a debian derivate, replace with yum, pacman etc.
aptget='sudo apt-get'
chsh='sudo chsh'