| let | |
| nixpkgs-src = builtins.fetchTarball { | |
| # 23.05 | |
| url = "https://github.com/NixOS/nixpkgs/archive/nixos-23.05.tar.gz"; | |
| }; | |
| pkgs = import nixpkgs-src { | |
| config = { | |
| # allowUnfree may be necessary for some packages, but in general you should not need it. | |
| allowUnfree = false; |
A simple "1-click" javascript approach to downloading a scanned book from archive.org to read at your leisure on the device of your choosing w/out having to manually screenshot every pages of the book by hand. In short it's a glorified "Save Image As..." approach but consolidated down to "1 click". BTW there may be a much better option than this out there - I just built this as an autistic project to see if it would work.
By using this script you agree to delete all book files/images after your 1 hour or 14 days is up! I don't support using this script for any other use cases. After all, none of us have ever kept a library book past it's return date, right?
| #!/bin/bash | |
| # Fork of CHOCK's original tot.sh to add support for dot "0" to target | |
| # the first empty dot. | |
| # https://gist.github.com/chockenberry/d33ef5b6e6da4a3e4aa9b07b093d3c23 | |
| # | |
| # 2 Mar 2020 | |
| # + Incorporated suggestions from ShellCheck (https://www.shellcheck.net). | |
| # Thanks to Ramsey Dow. | |
| # + Changed call to `python` to `/usr/bin/python` to get Python 2, avoiding |
| # 1. First of all of course get Manjaro: | |
| https://manjaro.org/get-manjaro/ | |
| # I recommend using Etcher to copy the image to your USB: | |
| https://etcher.io/ | |
| # 2. Before installing make sure: | |
| # - Secure boot is disabled in BIOS | |
| # - Your SSD, HDD or NVME drive is set to AHCI instead of RAID | |
| # - Fastboot should be on Auto or minimal, but this shouldn't matter to much |
| # -=-=-=- TERMINALFRED -=-=-=- | |
| # | |
| # ** a few zshell plugins I use: | |
| # encode64: encode and decode base64 with e64 or d64 | |
| # extract: to extract compressed files | |
| # sublime | |
| # colored-man-pages | |
| # web-search | |
| # z |
| #! /usr/bin/env python3 | |
| """Fixing bluetooth stereo headphone/headset problem in debian distros. | |
| Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
| Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
| This will be only fixes the bluez5 problem mentioned above . | |
| Licence: Freeware |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
| { | |
| "auto_complete_commit_on_tab": true, | |
| "color_scheme": "Packages/Color Scheme - Default/Tomorrow-Night-Eighties.tmTheme", | |
| "file_exclude_patterns": | |
| [ | |
| ".DS_Store" | |
| ], | |
| "folder_exclude_patterns": | |
| [ | |
| "bin", |

