- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| // This will open up a prompt for text to send to a console session on digital ocean | |
| // Useful for long passwords | |
| (function () { | |
| var t = prompt("Enter text to be sent to console, (This wont send the enter keystroke)").split(""); | |
| function f() { | |
| var character = t.shift(); | |
| var i=[]; | |
| var code = character.charCodeAt(); | |
| var needs_shift = "!@#$%^&*()_+{}:\"<>?~|".indexOf(character) !== -1 |
| # PowerShell script for installing BuildBot 0.8.12 on Windows Server 2016 | |
| # Datacenter Edition | |
| # For full explanation of everything in this script, see: | |
| # http://blog.peter-b.co.uk/2017/02/deploying-buildbot-workers-on-windows.html | |
| # Copyright (C) 2017 LiveCode Ltd. | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal |
| license: mit |
| #!/bin/csh | |
| # Get the name of this script | |
| set script_name = `basename $0` | |
| # Get arguments | |
| if ( $#argv < 1 ) then | |
| echo "" | |
| echo "Usage: source $script_name <CONDAENV>" | |
| exit 2 |
I tried a few different techniques to make a GIF via command-line and the following gives me the best control of quality and size. Once you're all setup, you'll be pumping out GIFs in no time!
Install FFmpeg
Install ImageMagick
| # Install MacTex: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg | |
| $ sudo chown -R `whoami` /usr/local/texlive | |
| $ tlmgr update --self | |
| $ tlmgr install ucs | |
| $ tlmgr install etoolbox | |
| # Install pandoc view homebrew |