Skip to content

Instantly share code, notes, and snippets.

Ej Corpuz ejancorp

Block or report user

Report or block ejancorp

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
ejancorp /
Last active Nov 24, 2019 — forked from carlosedp/gist:5040f4a1b2c97c1fa260a3409b5f14f9
Reset Kubernetes cluster with Weave
# Drain and delete the nodes (for each node you have)
kubectl drain kubenode1 --delete-local-data --force --ignore-daemonsets
kubectl delete node kubenode1
# Reset the deployment
sudo kubeadm reset
# On each node
## Reset the nodes and weave
ejancorp / script.js
Created Jul 25, 2018
Facebook visit counter
View script.js
// ==UserScript==
// @name Facebook visit counter
// @namespace
// @version 0.1
// @description try to take over the world!
// @author You
// @match
// @grant none
// ==/UserScript==
ejancorp / chikka.jquery.js
Last active Nov 22, 2017
Basic Chikka API Usage
View chikka.jquery.js
var settings = {
"async": true,
"crossDomain": true,
"url": "",
"method": "POST",
"data": {
"message_type": "SEND",
"mobile_number": "",
"shortcode": "",
"message_id": "",
View wfwfw
DocumentRoot /var/www/management/web
<Directory /var/www/management/web>
AllowOverride All
Order Allow,Deny
Allow from All
You can’t perform that action at this time.