Skip to content

Instantly share code, notes, and snippets.

Avatar
💵
HTTP 402 Payment Required

shark0der

💵
HTTP 402 Payment Required
View GitHub Profile
@shark0der
shark0der / README.md
Created Nov 14, 2022
Disable WhatsApp automatic emoji conversion
View README.md

Disable WhatsApp automatic emoji conversion

The script works by patching the webpack chunks instead of manipulating the DOM.

View keybase.md

Keybase proof

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:

@shark0der
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';
const MEASURE = 'MEASURE';
const PREPARE = 'PREPARE';
const ANIMATE = 'ANIMATE';
@shark0der
shark0der / ubuntu14.04-command-line-install-android-sdk
Last active Mar 7, 2021 — 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
# http://developer.android.com/sdk/index.html#Other
cd /opt
wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
View ubuntu-webmin.yml
---
#
# 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'
#
@shark0der
shark0der / setup_mailcatcher.sh
Last active Jan 22, 2022 — forked from conroyp/setup_mailcatcher.sh
Mailcatcher installation script for Ubuntu 16.04 (14.04 commands commented out)
View setup_mailcatcher.sh
#!/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
@shark0der
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
#!/usr/bin/python
import appindicator, pynotify, gtk, os, sys
import threading
from datetime import datetime
from datetime import timedelta
try:
import glib
except: