/* Console logs function source code */
global.viewsource = fnName => console.log(fnName+'')
/* Console dir (like util.inspect) pass { depth: null } for unlimited levels of nesting */
global.inspect = (...arguments) => console.dir(...arguments)
/* Normalize file paths cross platform */
global.require = path => require(require('path').normalize(path))
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://ea66-2607-fb91-1120-5e76-bc8e-c90a-2264-3b6c.ngrok.io |
Open DevTools Command+Option+J (Mac) or Control+Shift+J (Windows)
if (window.location.href.indexOf('youtube.com')) {
setInterval(function(){
if (document.querySelector('.ytp-ad-info-dialog-mute-button')) {
document.querySelector('.ytp-ad-info-dialog-mute-button').click()
if (document.querySelector('.ytp-ad-feedback-dialog-reason-input').checked = true) {
document.querySelector('.ytp-ad-feedback-dialog-confirm-button').click()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "INSTALLING UTILITIES" | |
sudo apt-get update | |
cd ~/ | |
wget http://http.us.debian.org/debian/pool/main/libx/libxcrypt/libxcrypt1_2.4-3.1_armhf.deb | |
wget http://http.us.debian.org/debian/pool/main/libx/libxcrypt/libxcrypt-dev_2.4-3.1_armhf.deb | |
dpkg -I libxcrypt1_2.4-3.1_armhf.deb libxcrypt-dev_2.4-3.1_armhf.deb | |
sudo apt-get install -y build-essential libpcap-dev libssl-dev git curl zlib1g-dev subversion openssl libreadline6-dev git-core zlib1g libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf automake libtool bison xterm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple bash script to search fastpeoplesearch | |
# | |
# SETUP | |
# curl -sL https://bit.ly/3PFCGWh -o ~/records-search.sh && chmod +x records-search.sh && ~/records-search.sh | |
# | |
# https://bit.ly/3PFCGWh redirects to https://gist.githubusercontent.com/DGZN/11588c0ead968a1bdb0f0de37badefac/raw/ | |
# | |
#!/bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
var SamsungRemote = require('samsung-remote'); | |
var remote = new SamsungRemote({ | |
ip: '10.0.1.36', // required: IP address of your Samsung Smart TV | |
port: '7676' | |
}); | |
const status = (cb) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var debug = process.env.NODE_ENV !== "production"; | |
var webpack = require('webpack'); | |
module.exports = { | |
context: __dirname, | |
devtool: debug ? "inline-sourcemap" : null, | |
entry: "./js/scripts.js", | |
output: { | |
path: __dirname + "/js", | |
filename: "scripts.min.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ick='ack -i --pager="less -R -S -X"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<song id="song-reference_id-003" parent_id="album-reference_id-001" track_number="1" has_video="false" > | |
<meta language="en"> | |
<name>Melody Song 01</name> | |
</meta> | |
</song> |
NewerOlder