Skip to content

Instantly share code, notes, and snippets.

@lc512k
lc512k / Sublime Text 3 Settings
Last active Aug 29, 2015
Sublime Text 3 setup
View Sublime Text 3 Settings
Package control
https://sublime.wbond.net/installation
Sublime Linter
cmd+shift+p Install SublimeLinter
cmd+shift+p Install SublimeLinter-jshint
cmd+shift+p Install SublimeLinter-jscs
cmd+shift+p Install SublimeLinter-html-tidy
Sublime Text > Preferences > Package Settings > Sublime Linter > Settings - User
View .gitconfig
[user]
name = Laura Carvajal
email = laura.carvajal@corp.badoo.com
[core]
autocrlf = input
safecrlf = true
attributesfile = ~/.gitattributes
[alias]
co = checkout
ci = commit
@lc512k
lc512k / .profile
Last active Aug 29, 2015
my .profile
View .profile
export JAVA_HOME=$(/usr/libexec/java_home -v1.7)
export MAVEN_OPTS="-Xmx256m"
export PATH="/opt/mvn/bin:$PATH"
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/sbin:$PATH" #MacPorts
# Git branch in prompt.
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\033[0;33m\]\W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "
@lc512k
lc512k / take-ownership.sh
Last active Aug 29, 2015 — forked from isaacs/node-and-npm-in-30-seconds.sh
Install node without sudo
View take-ownership.sh
# Remove old sudoy node
# http://stackoverflow.com/questions/11177954/how-do-i-completely-uninstall-node-js-and-reinstall-from-beginning-mac-os-x
# take ownership of the folders that npm/node use
# please don't do this if you don't know what it does!
sudo mkdir -p /usr/local/{share/man,bin,lib/node,include/node,/lib/node_modules}
sudo chown -R $USER /usr/local/{share/man,bin,lib/node,include/node,/lib/node_modules}
# now just install node from the website...
@lc512k
lc512k / equality_coercion.js
Last active Oct 7, 2015 — forked from anonymous/index.html
Value equality with coercion. Edge cases.
View equality_coercion.js
var testStr = function () {
var a = "5";
var b = "44";
console.log("num str", a > b); // true, lex comparison
};
testStr();
View React + SublimeText
http://www.nitinh.com/2015/02/setting-sublime-text-react-jsx-development/
http://sublimecodeintel.github.io/SublimeCodeIntel/
@lc512k
lc512k / ft-tech-job
Last active Feb 3, 2019
Senior Developer - GDPR Team (Internal Products)
View ft-tech-job
Senior Developer - FT Tech GDPR Team - Internal Products)
=========================================================
Rolling 6mo Contract (perm roles available too)
We're looking for a software developer to join our team who shares our love for the web, our passion for performance
and our commitment to accessibility.
Internal Products FT is a team comprised of 50+ developers working in small cross-functional teams of 4-6 people,
with opportunities to rotate internally and learn new technologies. The systems we build range from internal tools,
client-facing applications, APIs, and more.