This file contains 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
name: plots | |
channels: | |
- conda-forge | |
- defaults | |
dependencies: | |
- python=3.11.0 | |
- tqdm | |
- numpy | |
- matplotlib | |
- colorcet |
This file contains 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
about | |
account | |
accounts | |
ad | |
add | |
address | |
ads | |
added | |
admin | |
alpha |
This file contains 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
// A loading spinner. | |
// By @marcedwards from @bjango. | |
void setup() { | |
size(300, 300, P2D); | |
frameRate(30); | |
smooth(8); | |
noFill(); | |
stroke(255); | |
strokeWeight(6); |
This file contains 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
// A colourful loading spinner. | |
// By @marcedwards from @bjango. | |
void setup() { | |
size(512, 512, P2D); | |
frameRate(30); | |
smooth(8); | |
noFill(); | |
strokeWeight(10); | |
} |
This file contains 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
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%"> | |
<defs> | |
<pattern id="grid" width="11" height="11" patternUnits="userSpaceOnUse"> | |
<rect fill="white" x="0" y="0" width="9" height="9"/> | |
<rect fill="aliceblue" x="10" y="0" width="1" height="10"/> | |
<rect fill="aliceblue" x="0" y="10" width="11" height="1"/> | |
</pattern> | |
</defs> | |
<rect fill="url(#grid)" x="0" y="0" width="100%" height="100%"/> | |
</svg> |
This file contains 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
24 40 03 00 0F 00 40 01 01 00 01 42 42 43 43 C4 | |
44 05 C4 04 C4 0F C4 02 0A 03 C3 01 0E 0C 08 0D | |
07 09 06 0B AA AB 48 75 EB B8 9C AA 0F FD 85 FA | |
4F 57 17 E9 79 E7 49 7C 5F 67 FD 47 FE 9C EE 24 | |
FD ED 5F 46 94 57 7C 66 49 0B 40 84 0F AB 2B FA | |
57 67 24 DC A1 9F EC FF 2A 3E 54 F1 AD AB 52 C5 | |
BE F2 75 91 82 81 2B D6 D6 8B 80 65 76 F2 3F EC | |
61 FF 1F 75 59 59 75 FC A2 24 D7 D6 0A 65 3C 11 | |
E3 B3 66 A4 F9 5F 8E FF F9 BA FA 7F 10 A7 92 73 | |
6E 39 4C 21 7F 9C 7F C4 FF AD FC B8 33 AE EE E2 |
This file contains 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
on setDarkMode(shouldBeDark) | |
set paneID to "com.apple.preference.general" | |
tell application "System Events" | |
if dark mode of appearance preferences is shouldBeDark then return | |
end tell | |
set paneWasOpen to false | |
The dynamic wallpaper in MacOS Mojave is a single 114 MB .heic
file that seems to contain 16 embedded images.
It also contains the following binary plist data in its metadata under the key "Solar". It's an array of 16 items, each with four keys:
i
(integer). This seems to be the image index.o
(integer). This is always 1 or 0. Stephen Radford thinks it indicates dark mode (0) vs. light mode (1).z
(decimal). Time of day in degrees?a
(decimal). Solar hour angle?
This file contains 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
/* | |
Traverse through all the Text Nodes in a page and force them to display hidden characters | |
Sources: | |
Hacker news: https://news.ycombinator.com/item?id=16749422 | |
user: tim333's js fiddle https://jsfiddle.net/tim333/np874wae/13/ | |
medium post: https://medium.com/@umpox/be-careful-what-you-copy-invisibly-inserting-usernames-into-text-with-zero-width-characters-18b4e6f17b66 | |
TODO: |
NewerOlder