Skip to content

Instantly share code, notes, and snippets.

@mortonfox
mortonfox / nato_alphabet.txt
Last active April 12, 2019 03:43
[NATO Alphabet] #phone
A - ALFA
B - BRAVO
C - CHARLIE
D - DELTA
E - ECHO
F - FOXTROT
G - GOLF
H - HOTEL
I - INDIA
J - JULIETT
@mortonfox
mortonfox / jdesktop.txt
Created February 27, 2019 04:21
[Jump Desktop for Mac: Import/Export connection lists] #jumpdesktop
Jump Desktop stores the connections in the JumpDesktopServers.archive file. This file can be found in the following directory:
Mac App Store version of Jump Desktop:
~/Library/Containers/com.p5sys.jump.mac.viewer/Data/Documents/JumpDesktop/Viewer
Trial / Beta / Web version of Jump Desktop:
@mortonfox
mortonfox / confmacvim.txt
Created February 27, 2019 04:20
[Configure MacVim] #macvim
Configure MacVim:
On systems with Homebrew:
CC=clang ./configure \
--with-features=huge \
--enable-rubyinterp \
--enable-pythoninterp \
--enable-perlinterp \
--enable-tclinterp \
@mortonfox
mortonfox / netbeans.txt
Created February 27, 2019 04:18
[Netbeans configuration] #netbeans
Edit Contents/Resources/NetBeans/etc/netbeans.conf:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"
my_options="--laf com.sun.java.swing.plaf.mac.MacLookAndFeel"
my_options="--laf GTK"
my_options="--laf Nimbus"
my_options="--laf com.sun.java.swing.plaf.motif.MotifLookAndFeel"
my_options="--laf Windows"
my_options="--laf Aqua"
@mortonfox
mortonfox / comparefolders.sh
Created February 27, 2019 04:17
[Compare two folders] #diff
diff -rq folder1 folder2
@mortonfox
mortonfox / svnbackup.txt
Created February 27, 2019 04:17
[Backup SVN Repository] #svn #backup
svnadmin create twitvim
vim twitvim/hooks/pre-revprop-change
--- Contents of pre-revprop-change ----
#!/bin/sh
USER="$3"
if [ "$USER" = "svnsync" ]; then exit 0; fi
echo "Only the svnsync user can change revprops" >&2
@mortonfox
mortonfox / gophone.txt
Created February 27, 2019 04:05
[GoPhone Star Codes] #gophone #att #phone
GoPhone star codes
Star codes (also known as star services or *services) allow you to easily check your usage, balance, last payment received, upgrade eligibility, or make a payment from your wireless device for free 24/7. Just follow the instructions below and receive your information via text message to your phone.
Balance information
Enter the code below to obtain the balance by text message for the desired service:
*777# - account balance and expiration date
*777*1# - remaining minute balance
*777*2# - remaining text and picture messaging features available
*777*3# - remaining data available
*777*4# - remaining minutes from the International Long Distance package
*777*5# - remaining minutes from the Mexico Plus Long Distance package
@mortonfox
mortonfox / twittersms.txt
Created February 27, 2019 04:04
[Twitter SMS Commands] #twitter #sms
Twitter SMS commands
You can perform certain actions, like following a user or marking a friend's update as a favorite, by using the designated Twitter commands below.
When using these commands, do not append an @ symbol along with the command text. If you send these commands with an @ symbol, your commands will be read as a username and will not be executed as expected.
Example: If you want to turn on device notifications, send only "ON" and not "@ON."
Turning mobile Twitter updates OFF and ON:
ON: turns ALL your authorized Twitter updates and notifications on.
OFF: turns ALL phone notifications off.
@mortonfox
mortonfox / mojibar.txt
Created February 27, 2019 04:03
[Mojibar keyboard shortcuts] #mojibar
Usage
ctrl + shift + space
Open app.
👆/👇/👈/👉
Navigate between emojis.
enter
Copy emoji unicode char and exit. For example: 💩.
@mortonfox
mortonfox / gsaktoken.md
Created February 27, 2019 04:02
[Renew a GSAK access token] #gsak #geocaching #oauth

Renew GSAK access token

  1. Geocaching.com access / Get another access token (method 2)

  2. In browser, allow authentication

  3. Copy the gsak:// URL.

  4. In CrossOver's program manager, right click on GSAK and select Run with options.