Skip to content

Instantly share code, notes, and snippets.

View shwaydogg's full-sized avatar
Rebelling

Gregory Schwedock shwaydogg

Rebelling
  • Extinction Rebellion
  • New York City
View GitHub Profile
<script src="https://climateclock.world/widget-v2.js" async></script>
<script>
var loadedCallback = function(){
// Handler when the DOM is fully loaded
document.getElementsByClassName("header-announcement-bar-wrapper")[0].setAttribute("style", "padding-top: 0;");
document.getElementsByClassName("header-inner container--fluid header-mobile-layout-logo-left-nav-right header-layout-nav-right")[0].setAttribute("style", "flex-wrap: wrap;");
var e = document.getElementsByClassName("header-display-desktop")[0];
//debugger;
e.insertAdjacentHTML('beforebegin', "<div style='width: 100%; padding: 1vw 0;'><climate-clock /></div>");
};
@shwaydogg
shwaydogg / keybase.md
Created November 7, 2019 19:57
Keybase identity proof

Keybase proof

I hereby claim:

  • I am shwaydogg on github.
  • I am gregschwedock (https://keybase.io/gregschwedock) on keybase.
  • I have a public key ASAE_Bxq8Dm14RTBflbVoT3aYeVtIPGZ9frKNcfCdrA9ygo

To claim this, I am signing this object:

@shwaydogg
shwaydogg / letsEncryptModulus.md
Last active July 17, 2016 07:09
LetsEncrypt for Modulus Standalone Cetificate only Process

SETUP (nothing new here, it's from the docs)

On another server you control:

$ git clone https://github.com/letsencrypt/letsencrypt

$ cd letsencrypt

$ ./letsencrypt-auto

@shwaydogg
shwaydogg / monkey.js
Last active October 27, 2015 19:36
Global Meteor Monkey Calls
Meteor.call = (function (original) {
return function (name) {
var cb;
console.log('Meteor Method ' + name + ' called!' );
//Check for/find original CallBack:
if(_.isFunction(arguments[1])){
cb = 1;
}else if(_.isFunction(arguments[2])){
cb = 2;