- phpstorm
- sublime
- mutate
- Printer
- Vagrant box
- Macbuntu
- ZSH Plugins (oh my sh)
- [ ]
This file contains hidden or 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
Show hidden characters
// ~/Library/Application Support/Code/User/keybindings.json | |
[ | |
{ | |
// According to ChatGPT CapsLock isn't bindable by default in VSCode, so if you want to use it | |
// The suggestion is to use something like Karabiner Elements to rebind your caps lock key to something like F20 | |
// and then bind it to trigger this | |
// Although the docs seem to suggest it is possible to bind: https://code.visualstudio.com/docs/configure/keybindings | |
"key": "cmd+enter", | |
"command": "github.copilot.generate", |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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' |
NewerOlder