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
@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

@kevin-smets
kevin-smets / iterm2-solarized.md
Last active November 14, 2024 15:40
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@ondrej-kvasnovsky
ondrej-kvasnovsky / googleAnalytics-new.js
Last active April 2, 2017 19:19
Meteor with Google Analytics
Template.googleAnalytics.rendered = function() {
new GA('UA-111-1', 'my-account-name');
}
GA = function(code, account) {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
@naholyr
naholyr / monkey-patch.js
Created December 21, 2012 11:52
JS monkey patching
// Original method
var object = {
method: function (x, y) {
return x+y;
}
}
// Add operations before or after!
object.method = (function (original) {
return function (x, y) {
@debloper
debloper / index.html
Created December 14, 2011 11:37
Pulsating HTML Element with just pinchful of CSS Animation
<!DOCTYPE html>
<html>
<head>
<title>CSS Pulsator</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="pulsor">Pulsate!</div>
</body>
</html>