Instantly share code, notes, and snippets.
- Notonthehighstreet.com
- London, UK
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
# Generated by Powerlevel10k configuration wizard on 2021-04-13 at 19:55 BST. | |
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 32822. | |
# Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode, | |
# angled separators, sharp heads, round tails, 1 line, compact, many icons, concise, | |
# transient_prompt, instant_prompt=verbose. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with powerline prompt style with colorful background. | |
# Type `p10k configure` to generate your own config based on it. | |
# |
igreg /tampermonkey-custom-toolbar-injector.js
CreatedFebruary 9, 2021 16:02
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
// ==UserScript== | |
//@name Custom Toolbar Injector | |
//@version 1 | |
//@description Add a useful toolbar to AWS nav header | |
//@author Gregory Becker | |
//@match https://console.aws.amazon.com/* | |
//@match https://*.console.aws.amazon.com/* | |
//@grant none | |
//@license MIT | |
// ==/UserScript== |
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 | |
filter='processImagePath contains "backupd" and subsystem beginswith "com.apple.TimeMachine"' | |
if ["$1"="12h" ];then | |
# show the last 12 hours | |
start="$(date -j -v-12H +'%Y-%m-%d %H:%M:%S')" | |
echo"" |
igreg /keybase.md
CreatedMay 9, 2017 16:15
igreg /private.xml
CreatedJanuary 4, 2013 17:06
KeyRemap4MacBook xml file to access brightness, volume and multimedia keys with a mechanical keyboard on Mac OS X (tested with Mac OS X 10.7 and 10.8) 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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>@Mechanical keyboards</name> | |
<item> | |
<name>Ctrl+Enter to Fn+Enter</name> | |
<identifier>private.crtl_enter_to_fn_enter</identifier> | |
<autogen>--KeyToKey-- KeyCode::RETURN, ModifierFlag::CONTROL_L, KeyCode::RETURN, ModifierFlag::FN</autogen> | |
<autogen>--KeyToKey-- KeyCode::RETURN, ModifierFlag::CONTROL_R, KeyCode::RETURN, ModifierFlag::FN</autogen> | |
</item> |