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
| # Miryoku shifted home row hjkl | |
| map j scrollLeft | |
| map k scrollDown | |
| map l scrollUp | |
| map ' scrollRight |
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
| /feed/ https://blog.mitcdh.au/index.xml 301 | |
| /feed https://blog.mitcdh.au/index.xml 301 | |
| /rss/ https://blog.mitcdh.au/index.xml 301 | |
| /rss https://blog.mitcdh.au/index.xml 301 | |
| /blog/* https://blog.mitcdh.au/:splat 301 |
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
| body .gist-file { | |
| border-color: var(--syntax-highlighting-background) !important; | |
| .gist-data { | |
| background-color: var(--syntax-highlighting-background) !important; | |
| border-bottom: none; | |
| table, | |
| tr, | |
| td { |
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
| <div class="photo-box"> | |
| <a href="https://www.flickr.com/photos/83515912@N03/53444202842" target="_blank"> | |
| <img src="https://c1.staticflickr.com/66/65535/53444202842_2286302d06_b.jpg" alt="R0000560" loading="lazy"> | |
| </a> | |
| <a href="https://www.flickr.com/photos/83515912@N03/53444202807" target="_blank"> | |
| <img src="https://c1.staticflickr.com/66/65535/53444202807_4f2452d4f7_b.jpg" alt="R0000561" loading="lazy"> | |
| </a> | |
| <a href="https://www.flickr.com/photos/83515912@N03/53444202782" target="_blank"> | |
| <img src="https://c1.staticflickr.com/66/65535/53444202782_41f0b5171f_b.jpg" alt="R0000568" loading="lazy"> | |
| </a> |
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
| $photoRotation: 4deg; // Allows setting the alternating photo rotation | |
| $breakpoints: ( | |
| 1200: 4, | |
| // 4 columns for screens wider than 1200px | |
| 800: 3, | |
| // 3 columns for screens wider than 800px | |
| 600: 2, | |
| // 2 columns for screens wider than 600px | |
| 400: 1 // 1 column for screens wider than 400px, | |
| ); |
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
| import requests | |
| import pycountry | |
| import json | |
| import unicodedata | |
| from bs4 import BeautifulSoup | |
| def unicodeNormalizeCasefold(str): | |
| return unicodedata.normalize("NFKD", str).casefold() | |
| # URL to crawl, note that all data is taken straight from the wikipedia page |
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
| /* Styles recreated from 'Template for IAEA Safety Standards and Nuclear Security Guidance 20-06-26.docx' */ | |
| h1 { | |
| text-transform: uppercase; | |
| text-align: center; | |
| font-weight: bold; | |
| margin-top: 18pt; | |
| margin-bottom: 24pt; | |
| font-size: 12pt; | |
| text-indent: 0.51cm; | |
| } |
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
| #!/bin/sh | |
| curl -L -s http://neutron.ansto.gov.au/Bragg/proposal/reactor.jsp\?type\=CALIBRATED_REACTOR_POWER |
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
| # Exim filter | |
| # Only run this on the first pass through the filter | |
| if not first_delivery then | |
| finish | |
| endif | |
| # Trap any errors | |
| if error_message then | |
| finish |
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
| ;; based on @babygau's answer here https://stackoverflow.com/a/40559502 | |
| #NoEnv ; recommended for performance and compatibility with future autohotkey releases. | |
| #UseHook | |
| #InstallKeybdHook | |
| #SingleInstance force | |
| SendMode Input | |
| ;; deactivate capslock completely | |
| SetCapslockState, AlwaysOff |