This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-# Hash Rocket Attributes | |
.h-card | |
%img.u-photo{:src => 'http://www.gravatar.com/avatar/6270f8c1e26c855c301e44172c36a2c8', :alt => 'James Benner'} | |
%a.p-name.u-url{:href => 'http://www.jamesbenner.com'} James Benner | |
-# Ruby 1.9-style Hash Attributes | |
.h-card | |
%img.u-photo{src: 'http://www.gravatar.com/avatar/6270f8c1e26c855c301e44172c36a2c8', alt: 'James Benner'} | |
%a.p-name.u-url{href: 'http://www.jamesbenner.com'} James Benner |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": [ | |
"http://www.w3.org/ns/activitystreams", | |
{ | |
"mf": "http://microformats.org/wiki/", | |
"vcard": "http://www.w3.org/2006/vcard/ns#", | |
"jf2": "https://github.com/w3c-social/Social-Syntax-Brainstorming/wiki/jf2#", | |
"iwc": "http://indiewebcamp.com/", | |
"Adr": "mf:h-adr", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
for dir in $(ls); do | |
if [ -d "${dir}/.git" ]; then | |
echo "Updating \"${dir}\"..." | |
(cd "$dir" && git pull) | |
echo "\n" | |
fi | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function ($, window) { | |
var intervals = {}; | |
var removeListener = function(selector) { | |
if (intervals[selector]) { | |
window.clearInterval(intervals[selector]); | |
intervals[selector] = null; | |
} |
extension_id=jifpbeccnghkjeaalbbjmodiffmgedin # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=unknown&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc"
unzip -d "$extension_id-source" "$extension_id.zip"
Thx to crxviewer for the magic download URL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
i=0; | |
for pkg in $(pip3 list) | |
do | |
i=$((i + 1)); | |
if [[ ! $((i % 2)) -eq 0 ]] | |
then |