Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
You also might wanna just use Whisky which does this automatically
This guide works on macOS 13.4+ using Command Line Tools for XCode 15 Beta!
In the recent WWDC, Apple announced and released the "game porting toolkit", which upon further inspection this is just a modified version of CrossOver's fork of wine which is a "compatibility layer" that allows you to run Windows applications on macOS and Linux.
| khd mode vimnormal color 0xddcd950c | |
| vimnormal - escape : khd -e "mode activate default" | |
| vimgmode - escape : khd -e "mode activate vimnormal" | |
| vimdelete - escape : khd -e "mode activate vimnormal" | |
| vimchange - escape : khd -e "mode activate vimnormal" | |
| vimvisual - escape : khd -e "mode activate vimnormal" | |
| viminsert - escape : khd -e "mode activate vimnormal" ; khd -e "void_unlisted_bind on" | |
| viminsertpassescape - escape -> : khd -e "mode activate vimnormal" ; khd -e "void_unlisted_bind on" | |
| vimvisualline - escape : khd -e "mode activate vimnormal" |
The patch described below may no longer be necessary. CloudFlare instructions here. Perl module JSON::Any may still be required, however, see comments.
Dyn's free dynamic DNS service will be ending on Wednesday, May 7th, 2014.
CloudFlare, however, has a little known feature that will allow you to update your DNS records via API or a command line script called ddclient. This will
| SetOutputFilter DEFLATE |
| gifify() { | |
| if [[ -n "$1" ]]; then | |
| if [[ $2 == '--good' ]]; then | |
| ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png | |
| time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif | |
| rm out-static*.png | |
| else | |
| ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif | |
| fi | |
| else |
| # A xterm-256color based TERMINFO that adds the escape sequences for italic. | |
| # | |
| # Install: | |
| # | |
| # tic xterm-256color-italic.terminfo | |
| # | |
| # Usage: | |
| # | |
| # export TERM=xterm-256color-italic | |
| # |
| #! /usr/bin/env python | |
| """ Convert values between RGB hex codes and xterm-256 color codes. | |
| Nice long listing of all 256 colors and their codes. Useful for | |
| developing console color themes, or even script output schemes. | |
| Resources: | |
| * http://en.wikipedia.org/wiki/8-bit_color | |
| * http://en.wikipedia.org/wiki/ANSI_escape_code |