Skip to content

Instantly share code, notes, and snippets.

View nathanielvarona's full-sized avatar

Nathaniel Varona nathanielvarona

View GitHub Profile
The primary goal is to swap command and option.
The secondary goal is to remap Caps Lock to Control.
The tertiary goal is to share modifier keys across keyboards, so you can emacs with two keyboards.
The following instructions are good as of 2016-08-24, for OS X El Capitan 10.11.6.
Mac OS Sierra broke Seil support; Seil instructs us to consider Karabiner Elements.
But when Karabiner Elements swaps command and option, it does it for all keyboards;
meaning the native keyboard also gets its command and option swapped, which is bad!
@nathanielvarona
nathanielvarona / SOFFICE_LISTENER_STARTUP_SCRIPTS.md
Last active October 27, 2015 06:44
Collection of startup scripts for headless OpenOffice/LibreOffice soffice listener server. https://github.com/dagwieers/unoconv#conversion-problems

sofficelistener

Collection of startup scripts for headless OpenOffice/LibreOffice soffice listener server

Installation

For SysV Generic Startup Script

$ sudo -s
<?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>Label</key>
<string>com.npmjs.mehserve</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-i</string>
@nathanielvarona
nathanielvarona / sendy.nginxconf
Last active May 23, 2019 20:41
Sendy NGINX Configuration works with Sendy 2 and NGINX 1.8 https://sendy.co/
server {
#listen 80;
#listen [::]:80;
server_name sub.domain.tld;
access_log /var/log/sendy/nginx.access.log;
error_log /var/log/sendy/nginx.error.log;
@nathanielvarona
nathanielvarona / 01_durianpy_meetup_3.sh
Last active October 18, 2015 09:45
DurianPy[3] IaaS and Paravirtualization | Application Deployment with DigitalOcean http://bit.ly/1VYN87j
# Adding a User and Assign a System Level Privileges
sudo adduser ubuntu
sudo adduser ubuntu sudo
sudo nano /etc/sudoers
# or
sudo /usr/sbin/visudo
# Then change the following
# %sudo ALL=(ALL:ALL) NOPASSWD: ALL