An implementation of Conway's Game of Life in 140 characters of Ruby.
Created by Simon Ernst (@sier).
| -- Disable unused providers | |
| vim.g.loaded_python3_provider = 0 | |
| vim.g.loaded_ruby_provider = 0 | |
| vim.g.loaded_node_provider = 0 | |
| vim.g.loaded_perl_provider = 0 | |
| -- Keymap leader keys | |
| vim.g.mapleader = " " | |
| vim.g.maplocalleader = " " |
| #!/usr/bin/env bash | |
| set -e | |
| error_handler() { | |
| local lineno="$1" | |
| local message="$2" | |
| if [[ -n "$message" ]]; then | |
| echo "error on line $lineno: $message" | |
| else |
| #!/usr/bin/env bash | |
| # | |
| # a simple spinning animation for your shell scripts | |
| # prints message in front of spinner | |
| # - argument 1: the message to print | |
| spinner_init() { | |
| printf "$1 " | |
| } |
| /* Run a loop at defined intervals. | |
| This was tested with an Arduino Uno. | |
| Other boards might require tweaking of the boardFrequency constant. | |
| */ | |
| /* How many times per second timedLoop() gets executed */ | |
| int loopFrequency = 1; | |
| void timedLoop() { | |
| /* Do stuff. */ |
An implementation of Conway's Game of Life in 140 characters of Ruby.
Created by Simon Ernst (@sier).
| " PLEASE NOTE: I'm assuming nvim defaults in this configuration. | |
| " Regular vimmers might need to tweak here and there. | |
| " Add autogenerated tags file to the lookup path. | |
| set tags+=.git/tags | |
| " Add fzf plugin. | |
| set rtp+=/usr/local/opt/fzf | |
| " Use a source for FZF that respects '.gitignore'. |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.48771023750305176</real> | |
| <key>Green Component</key> | |
| <real>0.48781105875968933</real> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.30093687772750854</real> | |
| <key>Green Component</key> | |
| <real>0.36639997363090515</real> |