Skip to content

Instantly share code, notes, and snippets.

View itsmeimtom's full-sized avatar
✌️

Thomas R. itsmeimtom

✌️
View GitHub Profile
@itsmeimtom
itsmeimtom / triangle.py
Created August 24, 2023 10:39
Eris Triangle
View triangle.py
size = 10
s = size
for i in range(0,size):
spaces = " "*i
stars = "*"*s
print(f'{spaces}{stars}')
s = s - 1
@itsmeimtom
itsmeimtom / twitch_nofis.js
Created December 17, 2021 01:02
bulk disable all twitch notifs
View twitch_nofis.js
document.querySelectorAll('.advanced-notification-settings-toggle .tw-toggle__input').forEach(
e => { if(e.hasAttribute('checked')) e.click() })
View keybase.md

Keybase proof

I hereby claim:

  • I am itsmeimtom on github.
  • I am itsmeimtom (https://keybase.io/itsmeimtom) on keybase.
  • I have a public key ASDJYtjMiIbsxeOBtDxAK2ku5kw3NL7Z0U1S9g_Zk-1vZwo

To claim this, I am signing this object:

@itsmeimtom
itsmeimtom / thing.py
Last active July 21, 2021 18:04
google photos takeout add custom geotags back into photo exif
View thing.py
import os
import subprocess
import json
import re
from datetime import datetime
def dothings(folder):
listing = list()
# folder = f"Photos from {folder}"
# print(folder)
@itsmeimtom
itsmeimtom / percent_bar.py
Last active September 6, 2020 17:04
pro percent ting bro
View percent_bar.py
def roundtotens(n):
n = int(n)
# ty https://stackoverflow.com/a/26454686 xoxo
return int((n + 9) // 10 * 10)
def percent_bar(percent):
hashCount = 0
hashes = ""
dashes = ""
@itsmeimtom
itsmeimtom / todoist.js
Last active October 23, 2019 04:19
Todoist Bulk-Add
View todoist.js
function addTask(t, hseconds) {
window.setTimeout(function() {
document.querySelectorAll('ul.items .item_editor_input .public-DraftEditor-content span')[0].innerText = t;
document.querySelectorAll('ul.items .item_editor_submit')[0].click();
}, hseconds * 500);
}
let i = 0;
for (task of tasks) {
addTask(task, i);
@itsmeimtom
itsmeimtom / key-morse.py
Created June 25, 2019 21:40
Keyboard Lock Light/Beeper Morse Code
View key-morse.py
import os, time
import morse_talk as mtalk
dotLen = 0.08
print('Keyboard Lock LED Morse Code')
code = raw_input('Morse Code: ')
codeSplit = list(code)
@itsmeimtom
itsmeimtom / irista-all.js
Last active May 28, 2019 00:53
Canon Irista select all photos
View irista-all.js
let sa = window.setInterval(function() {
window.scrollBy(0, 350);
for (e of document.querySelectorAll('.header-selector:not(.header-selector-selected)')) {
e.click();
}
}, 300)
@itsmeimtom
itsmeimtom / passnot.py
Last active March 15, 2019 00:17
Da532/Passie clone
View passnot.py
import codecs
print('### Welcome to PassNot ###\n')
key=raw_input('Enter a key to use:\n')
service=raw_input('\nEnter the service you wish to create a password for:\n')
print('\nYour password for ' + service + ' is:')
print(key + codecs.encode(service, 'rot_13') + '\n\n')