Skip to content

Instantly share code, notes, and snippets.

@lalunamel
lalunamel / gist:7da6bd48d21832c2eea9
Last active February 25, 2016 22:12
Transitioning to XCode

Solved Annoyances

  • Enable tabs - View > Show Tab Bar

  • Double click on file in project view and open in new tab - Xcode > Preferences > Navigation > Double Click Navigation > 'Uses Separate Tab'

  • Increase the font size - Close all projects > Xcode > Preferences > Fonts & Colors > Choose your theme in the left column > Click on 'Plain Text', Cmd + A to select all > Click on the little 'T' icon on the bottom right font picker > Change font size

  • Install plugin manager - See http://alcatraz.io/

@lalunamel
lalunamel / quickSortParallel.chpl
Created October 2, 2014 22:09
quickSortParallel.chpl
// // Qucksort psudo-code taken from http://en.wikipedia.org/wiki/Quicksort
// For speedup information, see https://docs.google.com/a/knox.edu/spreadsheets/d/1I3ReQhltJn6DObg3Lm9uQ4T49QOb3qXgf3biW6Q-oj4/edit?usp=sharing
// See comment on cell A1 ^
use Random;
use Time;
// n - size of the random array to be sorted
config const n: int = 50;
@lalunamel
lalunamel / makefile
Last active August 29, 2015 14:06
Chapel Lab Makefile
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
current_dir_name := $(notdir $(patsubst %/,%,$(dir $(mkfile_path))))
all: run
compile:
chpl -o bin/$(current_dir_name) src/$(current_dir_name).chpl
run: compile
bin/$(current_dir_name)
@lalunamel
lalunamel / gist:8777170
Created February 3, 2014 00:26
My Sublime Config
// User preferences
{
"color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme",
"font_size": 11,
"hot_exit": false,
"ignored_packages":
[
"Vintage"
],
"remember_open_files": false,
@lalunamel
lalunamel / Command line snippets
Last active December 22, 2015 01:49
Command line tricks I've picked up
**Movement**
Beginning of line - Ctr+a
End of line - Ctr+e
**Text Manipulation**
Delete word behind - Ctr+w
Delete beginning of line to cursor - Ctr+u
Delete end of line to cursor - Ctr+k
**Command Manipulation**