Skip to content

Instantly share code, notes, and snippets.

View seanbreckenridge's full-sized avatar
🍍

seanbreckenridge

🍍
View GitHub Profile
<li data-sources="promnesia_sean.sources.discord"><div><span id="relative_indicator"><a href="https://myanimelist.net/profile/purplepinapples">➤➤</a></span><span><span class="index" title="index (for easier match against highlights)">5</span><span class="src promnesia_sean_sources.discord">promnesia_sean.sources.discord</span></span><span class="datetime" title="search around"><span class="time">19:23</span><span class="date">21 May 2020</span></span></div><div class="context">any IP I spin up to try and get a request from getts
```
curl '<a href="https://myanimelist.net/profile/purplepinapples">https://myanimelist.net/profile/purplepinapples</a>' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: <a href="https://myanimelist.net/">https://myanimelist.net/</a>' -H 'Connection: keep-alive' -H 'Cookie: MALSESSIONID=MALHLOGSESSI
@seanbreckenridge
seanbreckenridge / projects_000001.json
Created March 14, 2021 17:49
projects_000001.json
[
{
"type": "project",
"url": "https://github.com/seanbreckenridge/albums/projects/1",
"owner": "https://github.com/seanbreckenridge/albums",
"creator": "https://github.com/seanbreckenridge",
"name": "albums",
"body": "",
"number": 1,
"public": true,
@seanbreckenridge
seanbreckenridge / hpi_doctor.log
Created October 21, 2020 19:42
HPI_LOGS=debug
✅ OK : my.body
✅ - stats: {'teeth': {'count': 15}, 'shower': {'count': 1}, 'weight': {'count': 10}}
✅ OK : my.browsing
[D 201021 12:36:37 save_hist:66] backing up /home/sean/.mozilla/firefox/lsinsptf.dev-edition-default/places.sqlite to /tmp/tmp_0kp6_x9/places-20201021193637.sqlite
[D 201021 12:36:37 save_hist:70] done!
[D 201021 12:36:37 merge_db:48] merging information from 4 databases...
[D 201021 12:36:37 parse_db:69] Parsing visits from /home/sean/data/firefox/dbs/places-20200828223058.sqlite...
[D 201021 12:36:37 parse_db:88] Parsing sitedata from /home/sean/data/firefox/dbs/places-20200828223058.sqlite...
[D 201021 12:36:38 parse_db:69] Parsing visits from /home/sean/data/firefox/dbs/places-20200919030959.sqlite...
[D 201021 12:36:39 parse_db:88] Parsing sitedata from /home/sean/data/firefox/dbs/places-20200919030959.sqlite...
#!/bin/bash
# lists any songs in my music folder that aren't in any playlists
# https://github.com/seanbreckenridge/plaintext-playlist
# get list of all songs
ALL_SONGS="$(plainplay listall "$(plainplay playlistdir)"/*)"
# move to my music directory
cd "$PLAINTEXT_PLAYLIST_MUSIC_DIR" || {
echo "Couldn't cd to music directory" 1>&2
@seanbreckenridge
seanbreckenridge / httpx.patch
Created October 15, 2020 03:57
ghexport httpx patch
diff --git a/src/ghexport/dal.py b/src/ghexport/dal.py
index 200a432..a3c78d6 100755
--- a/src/ghexport/dal.py
+++ b/src/ghexport/dal.py
@@ -10,7 +10,7 @@ from .exporthelpers import dal_helper, logging_helper
from .exporthelpers.dal_helper import PathIsh, Json
-logger = logging_helper.logger('ghexport')
+logger = logging_helper.logger('ghexport', level='INFO')
@seanbreckenridge
seanbreckenridge / hpi_doctor.txt
Created September 30, 2020 20:39
HPI doctor output after merge
✅ config file: /home/sean/.config/my/my/config/__init__.py
✅ mypy config check: success
Success: no issues found in 4 source files
✅ OK : my.body
✅ - stats: {'teeth': {'count': 5}, 'shower': {'count': 1}, 'weight': {'count': 7}}
✅ OK : my.browsing
✅ - stats: {'history': {'count': 120594}}
✅ OK : my.coding
✅ - stats: {'commits': {'count': 5147}, 'repos': {'count': 118}}
✅ OK : my.facebook
Sonic Pi Boot Error Report
==================
System Information
----------------
* Sonic Pi version: 3.2.2
* OS: Arch Linux
1619336968:Searching for jobs in:
1619336968:/home/sean/.local/scripts/supervisor/jobs/shared
1619336968:/home/sean/.local/scripts/supervisor/jobs/linux
1619336968:/home/sean/Repos/HPI/jobs/shared
1619336968:/home/sean/Repos/HPI/jobs/linux
1619336968:Job List:
1619336968:/home/sean/.local/scripts/supervisor/jobs/shared/mystars.job
1619336968:/home/sean/.local/scripts/supervisor/jobs/linux/mint.job
1619336968:/home/sean/.local/scripts/supervisor/jobs/linux/guestbook_comments.job
1619336968:/home/sean/.local/scripts/supervisor/jobs/linux/update_rss.job
@seanbreckenridge
seanbreckenridge / ttt_log.log
Created September 7, 2020 23:28
where ttt is used in my dotfiles
[$ grep-dotfiles ttt | clp
/home/sean/.config/i3/config:7:# ttt is littered throughout here, to track i3 bindsyms
/home/sean/.config/i3/config:8:# see https://github.com/seanbreckenridge/ttt/ for more info
/home/sean/.config/i3/config:15:bindsym $mod+Shift+Escape exec --no-startup-id ttt lock-screen
/home/sean/.config/i3/config:47:bindsym XF86Display exec --no-startup-id ttt randomize-wallpaper
/home/sean/.config/i3/config:52:bindsym $mod+g exec --no-startup-id ttt trackpad
/home/sean/.config/i3/config:62:bindsym $mod+Shift+Tab exec --no-startup-id ttt i3binds-prompt
/home/sean/.config/i3/config:109:# wrapper to save history using ttt
/home/sean/.config/i3/config:116:bindsym $mod+n exec --no-startup-id ttt networkmanager_dmenu
/home/sean/.config/i3/config:119:bindsym --release Print exec --no-startup-id ttt screenshot
# run when tag file doesnt exist
evrytest:data directory: /home/sean/.local/share/evry/data
evrytest:Parsed '5 seconds' into 5000ms
evrytest:Tag file doesn't exist, creating and exiting with code 0
# run again immediately
evrytest:data directory: /home/sean/.local/share/evry/data
evrytest:Parsed '5 seconds' into 5000ms