Skip to content

Instantly share code, notes, and snippets.

@lc512k
lc512k / ft-tech-job
Last active February 3, 2019 00:48
Senior Developer - GDPR Team (Internal Products)
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.
set -o allexport
http://www.nitinh.com/2015/02/setting-sublime-text-react-jsx-development/
http://sublimecodeintel.github.io/SublimeCodeIntel/
@lc512k
lc512k / equality_coercion.js
Last active October 7, 2015 12:13 — forked from anonymous/index.html
Value equality with coercion. Edge cases.
var testStr = function () {
var a = "5";
var b = "44";
console.log("num str", a > b); // true, lex comparison
};
testStr();
@lc512k
lc512k / take-ownership.sh
Last active August 29, 2015 14:09 — forked from isaacs/node-and-npm-in-30-seconds.sh
Install node without sudo
# 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 / .profile
Last active August 29, 2015 14:08
my .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\] $ "
[user]
name = Laura Carvajal
email = laura.carvajal@corp.badoo.com
[core]
autocrlf = input
safecrlf = true
attributesfile = ~/.gitattributes
[alias]
co = checkout
ci = commit
@lc512k
lc512k / Sublime Text 3 Settings
Last active August 29, 2015 14:08
Sublime Text 3 setup
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