1. e4 {[%clk 0:02:59.9]} 1... e5 {[%clk 0:02:55.1]} 2. Nf3 {[%clk 0:02:58.7]}
2... Nc6 {[%clk 0:02:53.6]} 3. Bb5 {[%clk 0:02:57.1]} 3... a6 {[%clk 0:02:51.3]}
... // SNIP // ...
0:00:04.4]} 49. Kf4 {[%clk 0:00:01.3]} 49... g5+ {[%clk 0:00:03.9]} 50. Kf5
{[%clk 0:00:00.4]} 50... Bd3+ {[%clk 0:00:03.4]} 0-1
- My Github starred items
- https://github.com/knsv/mermaid and demos / examples
- Set the iTerm tab title to the current directory, not full path.
- A simple, fast command-line calculator written in Go
- Mou Themes Collection
- iTerm2 color schemes
- You Don't Know JS
- Preview GitHub Markdown files like Readme locally before committing them.
- Export any
.md
file to an exact GitHub styled inline.html
- Export any
- Visualize Git repo on local webserver; awesome
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
#!/usr/bin/python3 | |
# Multiplication by Doubling and Halving (Mediation & Duplation) | |
# http://www.mathnstuff.com/math/spoken/here/2class/60/egyptm.htm | |
def rhind_papyrus(num1, num2): | |
# Egyptian Reed Papyrus Multiplication | |
num1_floors = [] | |
num2_doubles = [] |
Insert a character only on non-empty lines. Below inserts a >
on all non- blank lines:
%s/[^$]/> \0/
http://raspberrypi.stackexchange.com/questions/39785/dhcpcd-vs-etc-network-interfaces/41187#41187
Applicable to:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
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
# Mess up the ISE colors | |
#$console.ForegroundColor = "white" | |
#$console.BackgroundColor = "DarkBlue" | |
# Revert colors back | |
# https://blogs.technet.microsoft.com/heyscriptingguy/2015/11/13/set-powershell-ise-to-default-values/ | |
$psISE.Options.RestoreDefaults() |
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
<# | |
Steam has an annoying habit of leaving a process hanging when it crashes. | |
This script finds the process ID and kills it. | |
#> | |
# Get the Steam processes | |
$steam_processes = Get-Process | Where {$_.name -like "Steam"} |
$ sudo visudo
Change
pi ALL=(ALL) NOPASSWD: ALL
to
pi ALL=(ALL) PASSWD: ALL
awk -F ":" '{ print $1 }' /etc/passwd | sort
NewerOlder