Skip to content

Instantly share code, notes, and snippets.

Lucas Larson LucasLarson

Block or report user

Report or block LucasLarson

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
@LucasLarson
LucasLarson / mementos.txt
Last active Jun 8, 2019
Find Mementos: a repaired bookmarklet to search the UK Web Archive, whose results include those of the Internet Archive
View mementos.txt
The UK Web Archive’s recommended bookmarklet no longer works because it escapes the referring URI.
Use this code instead as your bookmarklet’s address:
javascript:/* eslint-env browser */'use strict';location.href='https://webarchive.org.uk/mementos/search/'+location.href;
@LucasLarson
LucasLarson / cspheader.php
Last active Apr 9, 2019 — forked from rattfieldnz/cspheader.php
Content Security Protocol: LAMP-flavored CSP header for Content-Security-Policy
View cspheader.php
<?php
/**
* @author Dave LaRonde
* @author Lucas Larson
* @link https://gist.github.com/phpdave/24d879514e7411047267
*/
// Content Security Protocol (CSP) works only in modern browsers Chrome ≥25,
// Firefox ≥23, Safari ≥7
@LucasLarson
LucasLarson / mars.asm
Created Mar 27, 2019
MIPS MARS blue-on-yellow bitmap
View mars.asm
#-------------------\
# |
# MIPS MARS Bitmap |
# |
# Lucas Larson |
# 2019-03-26 |
# |
# # # # # # # # # # /
.data
View Verifying my Peepeth
Verifying my identity on Peepeth.com 0x2b4ffc87584f860a17ec7f143819d18c6df81f39
@LucasLarson
LucasLarson / icons.scss
Last active Nov 10, 2018 — forked from mrmartineau/icons.scss
SVG social icons
View icons.scss
// 3rd party brand colors - find more at brandcolors.net
$color-twitter : #55acee;
$color-facebook : #3b5998;
$color-youtube : #cd201f;
$color-pinterest : #bd081c;
$color-instagram : #e4405f;
$color-whatsapp : #25D366;
.socialCTA {
background-color: rgba(#fff, .2);
@LucasLarson
LucasLarson / ShowAnchors.js
Last active Oct 29, 2018 — forked from inkarkat/ShowAnchors.js
Improved “Show Anchors” bookmarklet from Ingo Karkat’s https://gist.github.com/inkarkat/cd1d40996a1f818dfc71, which is an improvement on the bookmarklet here: http://sensefulsolutions.com/2009/12/show-anchors-bookmarklet.html
View ShowAnchors.js
javascript:(function(){function%20a(n,t){return'<a%20href="'+loc+"#"+n+'"%20title="'+t+":%20"+n+'"%20style="text-decoration:none;padding:.2em;background:#fff;border:1px%20solid%20black;display:block;position:absolute;z-index:2147483647;border-radius:3px;-webkit-box-shadow:0%203px%207px%20rgba(0,0,0,0.3);box-shadow:0%203px%207px%20rgba(0,0,0,0.3)">#'+n+"</a>"}var%20$,loc=location.href,anchorPos=location.href.lastIndexOf("#");anchorPos>-1&&(loc=loc.substring(0,anchorPos)),function(u,c){var%20h=document.getElementsByTagName("head")[0],s=document.createElement("script");s.src=u;var%20d=!1;s.onload=s.onreadystatechange=function(){d||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(d=!0,c(),s.onload=s.onreadystatechange=null,h.removeChild(s))},h.appendChild(s)}("//code.jquery.com/jquery-3.3.1.min.js",function(){$=jQuery,$("a[name]").each(function(i){$(a(this.name,"name")).insertBefore(this)}),$("[id]:not(input[type='hidden'])").each(function(i){switch(this.nodeName){case"TD":$(this).prepend
@LucasLarson
LucasLarson / asciify-hexify.js
Last active Apr 16, 2019
ASCIIfy–Hexify: A bookmarklet to find a character’s ASCII and hexadecimal value
View asciify-hexify.js
/**
* ASCIIfy–Hexify bookmarklet
* v.92
*
* Authors: Lucas Larson, 2017
* Steve Kangas, 1998
*
* Description: This is the JavaScript behind a bookmarklet to obtain the
* ASCII₁₀ value and hexadecimal value of any single character.
*
View keybase.md

Keybase proof

I hereby claim:

  • I am LucasLarson on github.
  • I am lucaslarson (https://keybase.io/lucaslarson) on keybase.
  • I have a public key whose fingerprint is 12B3 EE07 0B60 1C46 EBF7 0EAC 3DE2 E0C3 C34F EFC7

To claim this, I am signing this object:

You can’t perform that action at this time.