Skip to content

Instantly share code, notes, and snippets.

HTTP 402 Payment Required


HTTP 402 Payment Required
Block or report user

Report or block shark0der

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
shark0der / browser-sync.js
Last active Jun 20, 2018 — forked from axemclion/browser-sync.js
Using browser-sync with Cordova
View browser-sync.js
// 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) {
View navbar-animation.jsx
import React from 'react';
import pureRender from 'pure-render-decorator';
import classes from './Navbar.scss';
const REST = 'REST';
shark0der / ubuntu14.04-command-line-install-android-sdk
Last active Oct 21, 2019 — forked from wenzhixin/ubuntu14.04-command-line-install-android-sdk
Ubuntu 14.04 command line install android sdk (platform & platform-tools only, no emulator)
View ubuntu14.04-command-line-install-android-sdk
# 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
cd /opt
View ubuntu-webmin.yml
# Ansible playbook: Webmin for Ubuntu v201501302302
# Louis T. Getterman IV (@LTGIV)
# /
# fork url:
# Example Usage:
# [user@host ~$] ansible-playbook /etc/ansible/playbooks/ubuntu-webmin.yml --extra-vars 'target=nameFromHostsFile'
shark0der /
Last active Nov 4, 2019 — forked from conroyp/
Mailcatcher installation script for Ubuntu 16.04 (14.04 commands commented out)
# 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
shark0der / gist:0b2b1b565c433d68a75d
Created May 18, 2015
Money indicator: Each morning you're given $1440, $1 for every minute of your life. Spend it wisely.
View gist:0b2b1b565c433d68a75d
import appindicator, pynotify, gtk, os, sys
import threading
from datetime import datetime
from datetime import timedelta
import glib
You can’t perform that action at this time.