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
| diff -r 92fce13b87d4 calendar/base/content/dialogs/calendar-event-dialog.js | |
| --- a/calendar/base/content/dialogs/calendar-event-dialog.js Fri Feb 15 21:37:24 2013 -0500 | |
| +++ b/calendar/base/content/dialogs/calendar-event-dialog.js Sat Feb 16 21:54:16 2013 +1000 | |
| @@ -6,6 +6,7 @@ | |
| Components.utils.import("resource://gre/modules/Services.jsm"); | |
| Components.utils.import("resource://calendar/modules/calRecurrenceUtils.jsm"); | |
| Components.utils.import("resource:///modules/mailServices.js"); | |
| +Components.utils.import("chrome://messenger/content/msgComposeTab.js"); | |
| try { |
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
| diff -r a49f5ca048d9 calendar/base/content/dialogs/calendar-event-dialog.js | |
| --- a/calendar/base/content/dialogs/calendar-event-dialog.js Sat Jan 12 11:37:57 2013 -0500 | |
| +++ b/calendar/base/content/dialogs/calendar-event-dialog.js Thu Feb 28 20:57:59 2013 +1000 | |
| @@ -6,6 +6,7 @@ | |
| Components.utils.import("resource://gre/modules/Services.jsm"); | |
| Components.utils.import("resource://calendar/modules/calRecurrenceUtils.jsm"); | |
| Components.utils.import("resource:///modules/mailServices.js"); | |
| +Components.utils.import("chrome://messenger/content/msgComposeTab.js"); | |
| try { |
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
| http://ilkka.github.com/blog/2010/11/20/hosting-a-jekyll-blog-with-extensions-on-github/ | |
| http://blog.blindgaenger.net/generate_github_pages_in_a_submodule.html | |
| http://oxlade39.github.com/blogging/2012/04/20/Jekyll,-Github,-Plugins-and-automated-deployment.html |
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
| module X | |
| class Page | |
| alias_method :_url, :url | |
| def url | |
| # XXX | |
| end | |
| end | |
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
| # Ok so I've been looking for over 3 hours in total for a nice, simple, RPC solution for local clients. I couldn't find any, so I built this. | |
| module BitWeavD | |
| # We use JSON-RPC over HTTP with basic authentication | |
| class ClientRPC | |
| RESPONSE = { | |
| 'result' => [], | |
| 'id' => nil, | |
| 'error' => nil, | |
| } | |
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
| dictionar = ['ab', | |
| 'ac', | |
| 'ad', | |
| 'ae', | |
| 'af', | |
| 'ag', | |
| 'ah', | |
| 'ai', | |
| 'aj', | |
| 'ak', |
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
| import nltk | |
| text = """The Buddha, the Godhead, resides quite as comfortably in the circuits of a digital | |
| computer or the gears of a cycle transmission as he does at the top of a mountain | |
| or in the petals of a flower. To think otherwise is to demean the Buddha...which is | |
| to demean oneself.""" | |
| # Used when tokenizing words | |
| sentence_re = r'''(?x) # set flag to allow verbose regexps | |
| ([A-Z])(\.[A-Z])+\.? # abbreviations, e.g. U.S.A. |
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
| // Generated on 2014-07-18 using generator-angular 0.9.5 | |
| 'use strict'; | |
| // http://www.clock.co.uk/blog/a-guide-on-how-to-cache-npm-install-with-docker | |
| var servers = { | |
| proxyPort: 8080, | |
| desktopClientFrontend: 'http://0.0.0.0:10000', | |
| mobileClientFrontend: 'http://0.0.0.0:9000', | |
| railsApiPort: 11000, |
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
| FROM nodesource/node:trusty | |
| ENV DEBIAN_FRONTEND noninteractive | |
| RUN mkdir /app | |
| WORKDIR /app | |
| ADD ./package.json /app/package.json | |
| ADD ./node_modules /app/node_modules | |
| RUN npm install |
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
| Contract.Ensures(Contract.Result<T>() != null); | |
| Contract.Requires(T != null); | |
| Contract.ForAll(Collection, (element) => element != null) | |
| Contract.Requires(Contract.ForAll(Collection, (element) => element != null)); | |
| Contract.Invariant(condition); | |
| [ContractInvariantMethod] | |
| private void ObjectInvariant () {} | |