Skip to content

Instantly share code, notes, and snippets.

View jalbertbowden's full-sized avatar

albert jalbertbowden

View GitHub Profile
@jalbertbowden
jalbertbowden / gist:a055ff57c2e38eda8592
Created September 25, 2015 16:34 — forked from atomotic/gist:c3d9c3c6ef8210664371
get the latest snapshot url archived by internetarchive waybackmachine

add to your .zshrc/.bashrc this function (jq is required)

function ia-latest() { curl -s http://archive.org/wayback/available\?url=$* | jq -r '.archived_snapshots.closest.url' }

run

$ ia-latest http://twitter.com/atomotic
http://web.archive.org/web/20131230143739/https://twitter.com/atomotic
@jalbertbowden
jalbertbowden / Remove Images bookmarklet.markdown
Created December 19, 2015 09:26
Remove Images bookmarklet

Remove Images bookmarklet

I use this bookmarklet to remove images from gmail when clients send giant screenshots that screw up the whole email thread.

A Pen by Anthony Lukes on CodePen.

License.

@jalbertbowden
jalbertbowden / css-transitions-on-background-images-in-webkit.html
Last active August 21, 2023 19:45
css transitions on background-image in WebKit - A CodePen by Cameron Adams.
<html><body><div></div></body></html>
@jalbertbowden
jalbertbowden / bookmarklet-js.html
Created September 25, 2015 16:35 — forked from nfreear/bookmarklet-js.html
Nick's bookmarklet Javascripts.
<!doctype html> <title>*Bookmarklets / bookmark Javascripts (applet, favelet)</title>
<style>
body { font: 1.05em sans-serif; }
#bookmarks li { margin-top: 8px; }
#bookmarks a {
cursor: auto;
cursor: /*alias,*/ url(https://developer.mozilla.org/@api/deki/files/810/=Popicon_1.gif), auto;
cursor: move;
@jalbertbowden
jalbertbowden / css-triangles-and-pseudo-elements.markdown
Created February 14, 2023 04:37
CSS Triangles and Pseudo Elements
@jalbertbowden
jalbertbowden / dabblet.css
Created February 13, 2023 00:17 — forked from oli/dabblet.css
Styling hr elements
/* Styling hr elements */
/* ref: http://html5doctor.com/small-hr-element/ */
body {background: #ddd;}
h1 {font-weight: normal; font-size: 1.5em;}
ol {margin-top: 5em;}
hr {margin: 1.5em 0;}
hr:nth-child(2) {
border: 0;
border-top: 1px solid #999;
}
@jalbertbowden
jalbertbowden / footnote.html
Created February 10, 2023 16:46 — forked from glueckpress/footnote.html
HTML footnotes. Click on anchor #a(n): skips down to anchor #f(n) inside footnote. Click on anchor #f(n) inside footnote: skips back up to anchor #a(n).
<!-- Line-breaks suiting auto-p in WordPress: -->
Paragraph with a footnote<a id="a1" href="#f1"><sup>[1]</sup></a> and more text afterwards.
Another paragraph with another footnote<a id="a2" href="#f2"><sup>[2]</sup></a> and more text afterwards.
<!-- At the end of all paragraphs: -->
<footer class="footnotes">
<a id="f1" href="#a1">[1]</a> Footnote #1 here.
# Ad server list for use with hosts files to block ads
#
# For more information about this list, see: http://pgl.yoyo.org/adservers/
# ----
# last updated: Sun, 20 Sep 2015 09:11:55 GMT
# entries: 2420
# format: hosts (hosts -- in hosts file format)
# credits: Peter Lowe - pgl@yoyo.org - http://pgl.yoyo.org/
# this URL: http://pgl.yoyo.org/adservers/serverlist.php?showintro=0;hostformat=hosts
# other formats: http://pgl.yoyo.org/adservers/formats.php
@jalbertbowden
jalbertbowden / gist:1a94aa339682eabfdc6a
Created April 11, 2015 05:54
Natural Earth 110 Cultural Boundaries Attribute Definitions
, scalerank, 1,
, featurecla, Admin-0 country
, labelrank, 3.000000,
, sovereignt, Afghanistan
, sov_a3, AFG
, adm0_dif, 0.000000,
, level, 2.000000,
, type, Sovereign country
, admin, Afghanistan
, adm0_a3, AFG
@jalbertbowden
jalbertbowden / thoughts.md
Last active December 2, 2021 08:06
seo

alot of this is interconnected, so apologies for repeating myself; they do help build a few themes that stand out.

bad news: somethings are really holding you back.
good news: most, including biggest, can be fixed with one or a few short steps.
good bad news: it all depends.

google's mobile-friendly test returns page partially loaded results
this is the most pressing item i see: googlebot smartphone being blocked by cloudfront's robots.txt.
this affects a few things, most importantly search. its not getting any of your image assets on your index. and i'm assuming from any/all documents that you house there as well.
its also throwing redirection errors on two images, one is ga. the analytics image error could possibly be affecting mobile search/