- phpstorm
- sublime
- mutate
- Printer
- Vagrant box
- Macbuntu
- ZSH Plugins (oh my sh)
- [ ]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function getFullName(firstName, lastName) { | |
return `${firstName} ${lastName}` | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
var_dump($1); | |
die; | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>var_dump</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.php</scope> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# merges a branch into current branch to keep up to date with the base (default master) | |
# usage: be-merge [branch] | |
# Make sure you are on the right branch before you run this command | |
# | |
function merge-base() { | |
git checkout ${1-master} | |
git pull | |
git checkout - | |
git merge ${1-master} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function pigLatin(englishWord) { | |
return englishWord.substr(1, englishWord.length) + englishWord.substr(0, 1) + 'ay'; | |
}; | |
// example: console.log(pigLatin('Hello')); |
- V align with CSS credit: @nathanbrennan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-02-14 00:20:44,222 INFO [sessionId=] [requestId=] [main]: Version - Hibernate Commons Annotations 3.2.0.Final | |
2014-02-14 00:20:44,227 INFO [sessionId=] [requestId=] [main]: Environment - Hibernate 3.6.0.Final | |
2014-02-14 00:20:44,229 INFO [sessionId=] [requestId=] [main]: Environment - hibernate.properties not found | |
2014-02-14 00:20:44,231 INFO [sessionId=] [requestId=] [main]: Environment - Bytecode provider name : javassist | |
2014-02-14 00:20:44,236 INFO [sessionId=] [requestId=] [main]: Environment - using JDK 1.4 java.sql.Timestamp handling | |
2014-02-14 00:20:44,288 INFO [sessionId=] [requestId=] [main]: Version - Hibernate EntityManager 3.6.0.Final | |
2014-02-14 00:20:44,301 INFO [sessionId=] [requestId=] [main]: Ejb3Configuration - Processing PersistenceUnitInfo [ | |
name: persistenceUnit | |
...] | |
2014-02-14 00:20:44,649 INFO [sessionId=] [requestId=] [main]: AnnotationBinder - Binding entity from annotated class: net.flitech.altitude.cobra.model.jpa.Interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var model = { | |
departureLocation: { | |
port: 'Some Port', | |
city: 'Tokyo', | |
country: 'Japan' | |
}, | |
arrivalLocation: { | |
post: 'Main Port', | |
city: 'Seattle', | |
country: 'United States' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Underscore.js 1.4.2 | |
// http://underscorejs.org | |
// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc. | |
// Underscore may be freely distributed under the MIT license. | |
(function(){var e=this,t=e._,n={},r=Array.prototype,i=Object.prototype,s=Function.prototype,o=r.push,u=r.slice,a=r.concat,f=r.unshift,l=i.toString,c=i.hasOwnProperty,h=r.forEach,p=r.map,d=r.reduce,v=r.reduceRight,m=r.filter,g=r.every,y=r.some,b=r.indexOf,w=r.lastIndexOf,E=Array.isArray,S=Object.keys,x=s.bind,T=function(e){if(e instanceof T)return e;if(!(this instanceof T))return new T(e);this._wrapped=e};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=T),exports._=T):e._=T,T.VERSION="1.4.2";var N=T.each=T.forEach=function(e,t,r){if(e==null)return;if(h&&e.forEach===h)e.forEach(t,r);else if(e.length===+e.length){for(var i=0,s=e.length;i<s;i++)if(t.call(r,e[i],i,e)===n)return}else for(var o in e)if(T.has(e,o)&&t.call(r,e[o],o,e)===n)return};T.map=T.collect=function(e,t,n){var r=[];retu |
NewerOlder