create a zsh prompt command containing the following items in order.
The color of each item is listed before the item in parens.
(blue) user name
(purple) host name
(yellow) current working directory
(black) active git branch
(green) checkmark if my git repository is clean
(red) XXX if my git repository is dirty
(red) current Ruby version number
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
| @ErictheCerise I do! | |
| TL;DR Logging is always technically possible, but some companies really don't keep them as a matter of policy. | |
| If you don't care about region-shifting for video streaming, I'd recommend Mullvad. | |
| If you don't care about speed or price, Perfect Privacy is good. | |
| NordVPN, Surfshark (these two are related companies) and Windscribe would all be in my shortlist if I wanted to be able to watch streaming services while connected. | |
| Now: a lot more detail |
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
| private static char[][] make_forward(){ | |
| char[][] pixel = new char[4][13]; | |
| pixel[0][0]=' '; | |
| pixel[0][1]=' '; | |
| pixel[0][2]=' '; | |
| pixel[0][3]='_'; | |
| pixel[0][4]='_'; | |
| pixel[0][5]='_'; | |
| pixel[0][6]='_'; | |
| pixel[0][7]='_'; |
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 distinct ?item ?itemLabel ?itemDescription # (SAMPLE(?birth) as ?birth_date) | |
| WHERE{ | |
| ?item ?label "Shannen Doherty"@en. | |
| ?item wdt:P31 wd:Q5. | |
| # ?id wdt:P569 ?birth . | |
| ?article schema:about ?item . | |
| ?article schema:inLanguage "en" . | |
| SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } | |
| } |
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 DISTINCT | |
| ?id | |
| ?idLabel | |
| (SAMPLE(?birth) as ?birth_date) | |
| (SAMPLE(?death_date) as ?dateOfDeath) | |
| (SAMPLE(?manner_of_death) as ?mannerOfDeath) | |
| (SAMPLE(?cause_of_death) as ?causeOfDeath) | |
| WHERE { | |
| ?id wdt:P31 wd:Q5. |
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
| #!/opt/homebrew/bin/python3 | |
| import sys | |
| def ordinalize(n): | |
| if n % 100 in (11, 12, 13): | |
| return f"{n}th" | |
| else: | |
| match n % 10: | |
| case 1: |
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
| tell application "Photos" | |
| activate | |
| set thePhotosFiles to {} | |
| set imageSel to (get selection) -- get the selected image | |
| repeat with im in imageSel | |
| set thePhotosFiles to the ({filename of im} & thePhotosFiles) | |
| end repeat |
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
| tell application "PDFpenPro" | |
| open theFile as alias | |
| -- Does the document need to be OCR'd? | |
| get the needs ocr of document 1 | |
| if result is true then | |
| tell document 1 | |
| ocr |
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
| Return-Path: <[email protected]> | |
| Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) | |
| by sloti44n19 (Cyrus 3.5.0-alpha0-4778-g14fba9972e-fm-20220217.001-g14fba997) with LMTPA; | |
| Tue, 08 Mar 2022 01:01:47 -0500 | |
| X-Cyrus-Session-Id: sloti44n19-1646719307-794636-5-17851835402845090288 | |
| X-Sieve: CMU Sieve 3.0 | |
| X-Spam-known-sender: no | |
| X-Spam-sender-reputation: 500 (none) | |
| X-Spam-score: 0.3 | |
| X-Spam-hits: BAYES_00 -1.9, HEADER_FROM_DIFFERENT_DOMAINS 0.249, HTML_MESSAGE 0.001, |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Update Wordle Statistics</title> | |
| <style> | |
| /* Global Styles & Colors */ | |
| :root { | |
| --green: #6aaa64; | |
| --darkendGreen: #538d4e; |
NewerOlder