EXE that invokes the play/pause function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while read f; do | |
# i think this regex doesn't make a lot of sense in this context - won't fix now | |
if [[ -z $(find . -name "$(echo $f | sed 's/\..*$//')*") ]]; then | |
echo $f >> new-files.txt | |
fi | |
done < files.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# expected file structure: | |
# 2018/ | |
# 2019/ | |
# ... | |
# albums/ | |
# create-album-by-keyword.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select date(timestamp / 1000, 'unixepoch') as date, count(*) as count from messages | |
where key_remote_jid = '[email protected]' /* replace with someone's phone number */ | |
group by date; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# tweet.js is located inside twitter-archive.zip/data | |
cat tweet.js | sed -n 's/^.*"url" : "\(.*\)",$/\1/p' | uniq | xargs curl -sI | sed -n 's/location: \(.*\)/\1/p' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// download: https://twitter.com/settings/your_twitter_data/data | |
// run in twitter-archive/data/ | |
window = {} | |
window.YTD = {} | |
window.YTD.tweet = {} | |
require('./tweet.js') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## CONFIG | |
# number of pages | |
pages=10 | |
# book id, as in the url (part between `/ebook/` and `/index.html`) | |
# (note that this is usually just one number, but it can also be muliple, like below) | |
book=2366/1 | |
# paste your cookie (from your logged in browser page) between the two single quotes below |
how to download a video from the orf tvthek
- open the tvthek page with the video you want to download
- open the dev tools
- open the network tab
- search for 'playlist'
- open
playlist.m3u8
, and open the 'response' tab - look for the highest given bandwidth (usually at the bottom, e.g.
#EXT-X-STREAM-INF:BANDWIDTH=3192000
) - copy the url below that, open it in a new browser tab and download it (e.g.
https://apasfiis.sf.apa.at/ipad/cms-worldwide_abr/.../chunklist.m3u8&ip=...
)
- open bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){document.body.contentEditable=document.body.contentEditable==="true"?"false":"true"})() |