Earlier quoted context omitted.
I thought everyone just searches for their exact needed pattern on SO
I just keep a "cook book" of common commands I've gathered from SO so I don't need to search each time to refresh my memory.
curl cht.sh/ffmpeg
621–630 of 671 posts
Here’s an example event: https://addyourself.to/it/c047e279-f5b4-4de8-9456-3fe71a77aa...
Earlier quoted context omitted.
>- Programs to actually solve various types of puzzles all on their own (I've written over 70 of these in the last 10+ years!) Cool, are these open source?
No, they're not in any public repo or anything. Besides, if you solve puzzles using a solver you didn't write yourself, it's cheating. :-)
Earlier quoted context omitted.
Sure! It is very rudimentary and some values are still hardcoded, but I could do bit of clean-up and then upload it. EDIT: Here it is – https://github.com/flobosg/journalert
Thanks! On the fence about whether to use as an excuse to try something small in python for the second time in my life... or just steal the idea and pretty much copy it line by line into something my non-programmer mind will find easier (php). Though maybe it'll be so simple to run and not need future tweaking that it won't even force me into learning by keeping it in python. Though also, I was hoping for the interes…
feeds = ("http://feeds.nature.com/nbt/rss/current",
"http://feeds.nature.com/nchembio/rss/current",
"http://feeds.nature.com/nsmb/rss/current",
"http://feeds2.feedburner.com/plosbiology/NewArticles",
"http://feeds.plos.org/ploscompbiol/NewArticles",
"http://feeds.plos.org/plosgenetics/NewArticles",
"https://www.frontiersin.org/journals/bioinformatics/rss",
"https://www.frontiersin.org/journals/molecular-biosciences/rss",
"https://www.nature.com/subjects/computational-biology-and-bioinformatics.rss",
"http://www.nature.com/subjects/protein-design.rss",
"http://www.nature.com/subjects/protein-folding.rss",
"https://www.nature.com/subjects/structural-biology.rss",
"http://online.liebertpub.com/action/showFeed?mi=cjwv&ai=su&jc=CMB&type=etoc&feed=rss",
"https://onlinelibrary.wiley.com/action/showFeed?jc=1469896x&type=etoc&feed=rss",
"https://onlinelibrary.wiley.com/action/showFeed?jc=10970134&type=etoc&feed=rss",
"https://onlinelibrary.wiley.com/action/showFeed?jc=15585646&type=etoc&feed=rss",
"https://science.sciencemag.org/rss/current.xml")
no_pubdate = ("http://rss.sciencedirect.com/publication/science/09581669",
"http://rss.sciencedirect.com/publication/science/0959440X",
"http://rss.sciencedirect.com/publication/science/13675931")
Most academic journals have RSS feeds, so it should be easier to find ones that fit your interests.To name a few: * A script that emails me every day a list of new articles published by a selection of academic journals. Using an RSS reader for this turned out to be too messy. * A script that generates Spotify playlists based on my liked songs, optionally according to some criteria. The playlists can be sorted according to specific song features (higher to lower energy, for example). * A zettelkasten engine, includ…
Did you share 2?
It uses spotipy (https://github.com/plamere/spotipy) to fetch my liked songs and generate the recommendations.
Earlier quoted context omitted.
* A replacement front-end for "tar" and various compressors Could you elaborate on this? I feel like this is something that could save people hours of time. I'm so incredibly sick of the various decompression flags and tools, (de)compressing something on the commandline should be as easy as it is with a GUI.
If you're using GNU tar, there are four short options to specify compression/decompression: -Z for compress, -z for gzip, -j for bzip2 and -J for xz. Using long options, you can specify --compress, --gzip, --bzip2, --xz for the same, or even --lzip, --lzma, --lzop or --zstd for others.
Earlier quoted context omitted.
I posted some advice in a sibling thread, https://news.ycombinator.com/item?id=31021503 >, that applies here as well: > Please don't use $RANDOM or $((RANDOM)) or standard `shuf` for password generation. These RNGs are not cryptographically secure. Use input from /dev/urandom instead.
You can do this with "shuf --random-source=/dev/urandom". The same with gshuf. I use an alias to add this switch by default.
Earlier quoted context omitted.
I always find those annoying to copy (we use a lot of shared credentials, like when the customer gives us 3 accounts with different permission levels to pentest an application with) and it also simplifies the command to not have to specify all those symbols. You can also avoid the whole `fold` thing by just telling `head` to give you a certain number of -c instead of a certain number of -n. (Then again, you were prop…
Using head -c 16 will show an ugly '%' at the string end when not piped.
Lots of small little scripts lying around in bin/, some of them for extracting information or downloading stuff from certain websites, some for small admin tasks. Possibly the most useful for others is a small wrapper around pdftk that splits a PDF file into smaller ones based on the "bookmarks" (the chapter annotations that many PDF readers show as outlines in a side bar).
> Possibly the most useful for others is a small wrapper around pdftk that splits a PDF file into smaller ones based on the "bookmarks" (the chapter annotations that many PDF readers show as outlines in a side bar). I'm interested in this if you are willing to share.
A cli todo list in 40 lines of bash https://news.ycombinator.com/item?id=31034532
Creating aliases from bash history with bash https://news.ycombinator.com/item?id=31034185