When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| #!/bin/bash | |
| # Who23 Github | |
| # A script to display current spotify track info in a small terminal window | |
| # this includes art, track name, and artist. All art/text centered | |
| # BUILT TO WORK WITH MACOS, iTERM, & SPA (https://gist.github.com/Who23/8ff45f0f2c2c3ae8a95582178a5c92ec) | |
| # for linux: | |
| # iTerm is needed for the image display protocol, can work with another terminal if you change the image protocol to one | |
| # supported by that terminal |
| import argparse | |
| import subprocess | |
| from pathlib import Path | |
| def find_files(src_root: Path, python3: Path): | |
| not_py3_compatible = [] | |
| for file in src_root.rglob('*.py'): | |
| print(file.resolve()) |
Claude Shannon says:
The entropy is a statistical parameter which measures in a certain sense, how much information is produced on the average for each letter of a text in the language. If the language is translated into binary digits (0 or 1) in the most efficient way, the entropy H is the average number of binary digits required per letter of the original language.
-- NIST Special Publication 800-63-1 - Appendix A: Estimating Password Entropy and Strength
Install Screen
$ sudo apt install screen
Enter a new Screen Session
$ screen
Detach from current screen session
| # source:http://geocities.com/SiliconValley/heights/7052/opcode.txt | |
| From: [email protected] (Mark Hopkins) | |
| Newsgroups: alt.lang.asm | |
| Subject: A Summary of the 80486 Opcodes and Instructions | |
| (1) The 80x86 is an Octal Machine | |
| This is a follow-up and revision of an article posted in alt.lang.asm on | |
| 7-5-92 concerning the 80x86 instruction encoding. | |
| The only proper way to understand 80x86 coding is to realize that ALL 80x86 |
- Racket & scheme are orders of magnitude faster than clojure.
- I like lisp but I hate this clojure movement. Especially when 60% of it is written in Java.
- Are there major java libraries for which there is no scheme implementations?
- Why did people pick up clojure rather than racket. Hype?
| <!DOCTYPE html> | |
| <html> | |
| <head><title>SOUND</title></head> | |
| <body> | |
| <div>Frequence: <span id="frequency"></span></div> | |
| <script type="text/javascript"> | |
| var audioCtx = new (window.AudioContext || window.webkitAudioContext)(); | |
| var oscillatorNode = audioCtx.createOscillator(); | |
| var gainNode = audioCtx.createGain(); |
| To make Pageant automatically run and load keys at startup: | |
| - Find the location of pageant.exe | |
| - Windows key + R to open the 'run' dialog box | |
| - Type: 'shell:startup' in the dialog box | |
| - Create a shortcut to the pageant.exe and put into this startup folder. |