Top HN posts
| import requests | |
| import datetime | |
| import re | |
| import pandas as pd | |
| from bs4 import BeautifulSoup | |
| import time | |
| from typing import List, Dict, Optional | |
| def get_available_years(github_username: str, headers: dict) -> List[int]: | |
| """ |
| :root { | |
| /* #7159de (similar to Obsidian purple) */ | |
| --block-ref-line-color: grey; | |
| --block-ref-line-type: solid; | |
| --block-ref-line-size: 2px; | |
| /* Set to "inherit" for no bg color */ | |
| --block-ref-hover-bg-color: #d4d0d026; | |
| } | |
| /* |
- If Termux is closed in the background by Android, the cron service will stop updating your repository and you must open Termux again. Refer to instructions for your device model to disable the killing of certain background applications.
- This may negatively affect your devices battery life. I'm not entirely sure yet.
- Install Termux – Apps on Google Play
| https://libraryofbabel.info/book.cgi?p30tz828zdokepr66yhhsa65w4beqci5nd43zhm4snxwr7srjgl0ernbr38p04hqsbi9r7cul5339qk2ar6o9f6dc35erofggub7vm25c85c0ad0ceb8vyqn6awvyks6of10mzd754nep7e28s4glunyox41pwwlkra9xez5hkifa4muu8osv6gr4x9ji1q0ae2pw5b53vxzbgqtwskhc53tee76uhvsdr6qysldm2tmkvpx6zhrvhroredmvvufjqsq603imufo03yz8k9kwbq2r2av6gwjv0sy05wpvbn8sac2rtl2mzr1cw8tsuzqq4qqtmwcd3mc9amaud64k1m0tynxxruxu7tvnlk9jcu6axwkhea90so0z1rau8mypfbvuyfr88yt5iz3t5vo148eg154vhjdf1or1o4bjaqnq1hv3m541os5o9tc04ehxjplcw3b1h3qb1p5sawttrqbjx4rjox0vxcg37exq5xsxu6ockmffh7lprp5s38gz6t8y7cwtcg0frilqgo7u7utsgs6cwiyehk4rzqkmpheqtmw1coqhcvmgv7l2kyex3ow5uvi611e2rui2skrhpc594timzlhov5t0g8c4a5onf6vyssqwl5b1hlgtn82navy9famxhuls4x6bzz36pcz5whri04qqzobxwvw68aqg1zkaf1ni7vqj3jap6vpff0cw8yaoufklnpm1uy5p8oyddx59t48e7171oh79wjrllot7yysa0mckoz9rmrwfjhtn76qgu00o80x9w6u33a4zt6dtqtbjjg1l8zrik38b2kx8ali05fzkzee1z2aujte6alofw3c1et5qdql34lk2qf3nxesw21ig2047fzqu0wonx2bmqgqthqi2u66gq8vrsyh8um8h0bqadkgeczpholj87mvpfaq4n1aiyd6hvr87xqn8pdfodrb51y8rwuu182mdxwyrp2q5pxstb99r4i |
If you, like me, resent every dollar spent on commercial PDF tools,
you might want to know how to change the text content of a PDF without
having to pay for Adobe Acrobat or another PDF tool. I didn't see an
obvious open-source tool that lets you dig into PDF internals, but I
did discover a few useful facts about how PDFs are structured that
I think may prove useful to others (or myself) in the future. They
are recorded here. They are surely not universally applicable --
the PDF standard is truly Byzantine -- but they worked for my case.
To quickly and easily remove all unwanted comments when using Sublime text, perform a search and replace (CMD, ALT & D) and enter the following. Make sure that regex search is enabled by clicking the small icon in the bottom left that looks like an astrix.
For example, to remove all HTML comments:
(?s)<!--.*?-->search and replace with blank
Or to remove all CSS comments:
In this quick walkthough you'll learn how to create a separate branch in your repo to house your screenshots and demo gifs for use in your master's readme.
In order to prevent any loss of work it is best to clone the repo in a separate location to complete this task.
Create a new branch in your repo by using git checkout --orphan assets
| #!/bin/bash | |
| # Locate the history file in your profile, and copy it to the same folder as this script. | |
| # On Mac: ~/Library/Application\ Support/Google/Chrome/Default/History | |
| # On Windows: C:\Users\YOUR USER NAME\AppData\Local\Google\Chrome\User Data\Default\History | |
| sqlite3 History <<! | |
| .headers on | |
| .mode csv | |
| .output out.csv |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |