Install Git Bash Prompt via https://github.com/magicmonty/bash-git-prompt, then add/update the files below.
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
#!/bin/bash | |
# This script automates some useful svn commands | |
# Written by Nick Iaconis >> https://github.com/codefox421 | |
# Distributed under the Apache License, Version 2.0 >> http://www.apache.org/licenses/LICENSE-2.0 | |
# Distributed on an AS IS basis, as outlined in the license | |
ME=`basename $0` | |
if [[ -z $1 ]] | |
then |
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
/*------------------------------------------------------------------------------ | |
The MIT License (MIT) | |
Copyright (c) 2013 Nick Iaconis et al. | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software, schematic, layout and associated documentaion (the | |
"System"), to deal in the System without restriction, including without | |
limitation the rights to use, copy, modify, merge, publish, distribute, | |
sublicense, and/or sell copies of the System, and to permit persons to whom |
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
find -type f -regex '.*[^/][^/][^/][^/][^/][^/][^/][^/][^/]' -print | xargs rm |
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
$(document.body).on('keyup', function(event) { | |
var linkClass; | |
switch(event.which) { | |
case 37: // left arrow | |
linkClass = '.previous-guide'; | |
break; | |
case 39: // right arrow | |
linkClass = '.next-guide'; | |
break; | |
default: |
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
digikey part # | quantity | reference | |
------------------------------------------------------ | |
DMHC3025LSD-13DICT-ND | 1 | Q1 | |
DMN32D2LV-7DICT-ND | 1 | Q2 | |
ATTINY841-SSU-ND | 1 | U1 | |
869-1282-1-ND | 1 | U2 | |
1028-1063-1-ND | 1 | U3 | |
490-3261-1-ND | 3 | C1/C3/C6 | |
311-1991-1-ND | 1 | C2 | |
311-2007-1-ND | 1 | C4 |
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
diff --git a/packages/ember-routing/lib/system/route.js b/packages/ember-routing/lib/system/route.js | |
index 1a2ddf7..98b9e0d 100644 | |
--- a/packages/ember-routing/lib/system/route.js | |
+++ b/packages/ember-routing/lib/system/route.js | |
@@ -29,6 +29,7 @@ import { | |
normalizeControllerQueryParams, | |
calculateCacheKey | |
} from 'ember-routing/utils'; | |
+import RSVP from 'rsvp'; | |
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
App.PostRoute = Ember.Route.extend({ | |
model(params) { | |
const promise = this.store.findRecord('post', params.id); | |
this.resolveModelLater(promise); | |
} | |
}); | |
App.PostCommentsRoute = Ember.Route.extend({ | |
model(params, transition) { | |
this.resolveModelLater(Ember.RSVP.hash({ |
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
App.PostRoute = Ember.Route.extend({ | |
prefetch(params) { | |
return this.store.findRecord('post', params.id); | |
} | |
}); | |
App.PostCommentsRoute = Ember.Route.extend({ | |
prefetch(params, transition) { | |
return this.store.findAll('comments', transition.params.post.id); | |
}, |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
OlderNewer