Skip to content

Instantly share code, notes, and snippets.

View t5r7's full-sized avatar
✌️

Thomas R. t5r7

✌️
  • Portsmouth, Birmingham
  • 05:56 (UTC +01:00)
View GitHub Profile
@t5r7
t5r7 / index.html
Created August 16, 2016 16:22
Chrome Android theme colour
<meta name=”theme-color” content=”#2baff7”>
@t5r7
t5r7 / file.js
Last active August 28, 2016 15:27
If visiting from file: change page title
if (location.protocol == 'file:') {
document.title = 'your title';
}

Keybase proof

I hereby claim:

  • I am mrDnomaid on github.
  • I am dnomaid (https://keybase.io/dnomaid) on keybase.
  • I have a public key whose fingerprint is 05AA 61BF 7AF6 7811 7426 AF57 0667 054F 4456 587E

To claim this, I am signing this object:

@t5r7
t5r7 / info.md
Created August 22, 2017 18:35
Unfollow everyone you're following on Twitter

Open up your following page, scroll down until the end, then paste the above bit of JQuery into the console and press enter.

@t5r7
t5r7 / LICENSE.md
Last active August 28, 2017 08:15
Bring back "Hello Procrastinators"

CC BY-SA 4.0

@t5r7
t5r7 / Dark-Mode.css
Last active August 29, 2017 19:38
Old YouTube logo
#logo, #country-code {
opacity: 0.9;
position: relative;
left: -15px;
}
#logo-icon svg {
display: none !important;
}
@t5r7
t5r7 / keybase.md
Last active February 27, 2021 21:24
Keybase Verification

Keybase proof

I hereby claim:

  • I am itsmeimtom on github.
  • I am dnomaid (https://keybase.io/dnomaid) on keybase.
  • I have a public key whose fingerprint is 394A 2A47 DA4D A12C 1940 2B0A 4109 704C 5B7E 5E40

To claim this, I am signing this object:

{% for my_page in site.pages %}
{% if my_page.title %}
{% unless my_page.hidden %}
<li class="inline-block block-lg text-right ml-1 ml-lg-0">
<a class="italic no-underline h4" href="{{ my_page.url | prepend: site.baseurl }}">
{{ my_page.title }}
</a>
</li>
{% endunless %}
{% endif %}
@t5r7
t5r7 / amazon-wl.js
Last active November 21, 2017 20:23
Get the amount of items in your Amazon wishlist (Amazon removed the counter for some reason)
if (location.hostname.includes('amazon.') && location.pathname.includes('wishlist')) {
document.getElementById('profile-list-name').innerHTML += ' (' + document.getElementsByClassName('g-item-sortable').length + ' items)';
}
@t5r7
t5r7 / README.md
Created December 28, 2017 22:02
Failed Tick Tack Toe

I gave up after I realised that the way I was doing it would make it almost impossible to figure out when someone had got 3 in a row.

Feel free to use any of this code for anything. It's in the Public Domain now.