Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
| from django.http import QueryDict | |
| from django.http.multipartparser import MultiValueDict | |
| class RESTMiddleware(object): | |
| def process_request(self,request): | |
| request.PUT=QueryDict('') | |
| request.DELETE = QueryDict('') | |
| method = request.META.get('REQUEST_METHOD','').upper() #upper ? rly? | |
| if method == 'PUT': | |
| self.handle_PUT(request) |
| //////////////////////////////////////////////////////////////////////////////////////////////////// | |
| var openReqShim = function(dbName, version){ | |
| var me = this; | |
| var IDBRequest = function(){ | |
| this.onsuccess = this.onerror = this.onblocked = this.onupgradeneeded = null; | |
| }; | |
| function copyReq(req){ | |
| req = req || dbOpenReq; |
| LazyAttribute = function(attribute,context){ | |
| this.attribute = attribute; | |
| this.context = context; | |
| this.id = _.uniqueId('h'); | |
| this.bindEvents(); | |
| }; | |
| LazyAttribute.prototype.bindEvents = function(){ | |
| this.context.on('change:'+this.attribute.split('.')[0],this.update,this); | |
| }; |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
| # Editor backup files | |
| *.bak | |
| *~ |
| <link rel="import" href="../paper-tabs/paper-tabs.html"> | |
| <link rel="import" href="../paper-tabs/paper-tab.html"> | |
| <link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
| <link rel="import" href="../core-icon-button/core-icon-button.html"> |
| if(directive.templateUrl){ | |
| var tmplUrl = (isFunction(directive.templateUrl)) | |
| ? directive.templateUrl($compileNode, templateAttrs) | |
| : directive.templateUrl | |
| var template = $templateCache.get(tmplUrl); | |
| if(template){ | |
| directive = extend({},{templateUrl:null,template:template}) | |
| } | |
| } |
| # | |
| # KMS Client Setup Keys: http://technet.microsoft.com/en-us/library/jj612867.aspx | |
| # | |
| #################################################################### | |
| # Windows 8.1 Enterprise Evaluation ISO: | |
| # @url: http://go.microsoft.com/fwlink/?LinkId=302161 | |
| #################################################################### | |
A curated list by Eric Elliott and friends. Suggest links in the gist comments.
Help us turn this into a proper website!
This is a very exclusive collection of only must-have JavaScript links. I'm only listing my favorite links. Nothing else makes the cut. Feel free to suggest links if you think they're good enough to make this list. The really curious should feel free to browse the comments to find other links. I can't guarantee the quality of links in the comments.
| #!/bin.sh | |
| DOCKER_COMPOSE_VERSION=1.3.0 | |
| # Download docker-compose to the permanent storage | |
| echo 'Downloading docker-compose to the permanent VM storage...' | |
| sudo mkdir -p /var/lib/boot2docker/bin | |
| sudo curl -sL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` -o /var/lib/boot2docker/bin/docker-compose | |
| sudo chmod +x /var/lib/boot2docker/bin/docker-compose | |
| sudo ln -sf /var/lib/boot2docker/bin/docker-compose /usr/local/bin/docker-compose |