The script works by patching the webpack chunks instead of manipulating the DOM.
I hereby claim:
- I am shark0der on github.
- I am shark0der (https://keybase.io/shark0der) on keybase.
- I have a public key ASBNjFc1E1gw-AFZFrPqGSV9BZGvKA_zJGVVW8lxZMG3OAo
To claim this, I am signing this object:
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
// Browser-Sync support for Cordova projects | |
// To use this, add the following snippet as a after_run hook using something like | |
// <hook type="after_prepare" src="hooks/browser-sync.js" /> | |
// Add under default-src ws: 'unsafe-inline' to the CSP in index.html | |
// Add under script-src * (you can whitelist the host for livereload, but this is a shortcut). | |
// Don't forget to remove them in prod! | |
// Then run: cordova run -- --live-reload | |
// Changing anything in www/ will live-reload the cordova app on emulator/device | |
module.exports = function(context) { |
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
# install java | |
apt-get install -y software-properties-common | |
apt-add-repository -y ppa:webupd8team/java | |
apt-get update | |
apt-get install -y oracle-java8-installer | |
# download latest android sdk | |
# http://developer.android.com/sdk/index.html#Other | |
cd /opt | |
wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz |
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
--- | |
# | |
# Ansible playbook: Webmin for Ubuntu v201501302302 | |
# Louis T. Getterman IV (@LTGIV) | |
# www.GotGetLLC.com / www.opensour.cc | |
# fork url: https://gist.github.com/shark0der/2a8e69d3a6c4c8c49b53 | |
# | |
# Example Usage: | |
# [user@host ~$] ansible-playbook /etc/ansible/playbooks/ubuntu-webmin.yml --extra-vars 'target=nameFromHostsFile' | |
# |
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
#!/bin/bash | |
# Install dependencies | |
# older ubuntus | |
#apt-get install build-essential libsqlite3-dev ruby1.9.1-dev | |
# xenial | |
apt install build-essential libsqlite3-dev ruby-dev | |
# Install the gem | |
gem install mailcatcher --no-ri --no-rdoc |
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
#!/usr/bin/python | |
import appindicator, pynotify, gtk, os, sys | |
import threading | |
from datetime import datetime | |
from datetime import timedelta | |
try: | |
import glib | |
except: |