start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/sh | |
| # Create a RAM disk with same perms as mountpoint | |
| # Script based on http://itux.idev.pro/2012/04/iservice-speed-up-your-xcode-%D0%BD%D0%B5%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5-%D1%81%D0%BF%D0%BE%D1%81%D0%BE%D0%B1%D1%8B/ with some additions | |
| # Usage: sudo ./xcode_ramdisk.sh start | |
| USERNAME=$(logname) | |
| TMP_DIR="/private/tmp" | |
| RUN_DIR="/var/run" |
Table of Contents
| using System; | |
| namespace Algorithms | |
| { | |
| public static class LevenshteinDistance | |
| { | |
| /// <summary> | |
| /// Calculate the difference between 2 strings using the Levenshtein distance algorithm | |
| /// </summary> | |
| /// <param name="source1">First string</param> |
| let items = []; | |
| for (var hour = 0; hour < 24; hour++) { | |
| items.push([hour, 0]); | |
| items.push([hour, 30]); | |
| } | |
| const date = new Date(); | |
| const formatter = new Intl.DateTimeFormat('en-US', { | |
| hour: 'numeric', | |
| minute: 'numeric', |
| # gruvbox-dark colorscheme for kitty | |
| # snazzy theme used as base | |
| foreground #ebdbb2 | |
| background #272727 | |
| selection_foreground #655b53 | |
| selection_background #ebdbb2 | |
| url_color #d65c0d | |
| # black |
This is an example of how to convert notes from OneNote into Markdown to use in other, less annoying Note applications. I am using PowerShell on Windows here, but other shell/scripting environments would work as well. If you want separate .md files, you'll need to export your OneNote pages separately. Exporting a section, or a selection of pages creates a single .docx file.
.docx (Word) format using OneNote export from the File menu.docx files into a directoryThe latest beta (3.5) includes separate color settings for light & dark mode. Toggling dark mode automatically switches colors.
Vist iTerm2 homepage or use brew install iterm2-beta to download the beta. Thanks @stefanwascoding.
switch_automatic.py to ~/Library/ApplicationSupport/iTerm2/Scripts/AutoLaunch with: