Markdown plugin for Sublime Text. Provides a decent Markdown color scheme (light and dark) with more robust syntax highlighting and useful Markdown editing features for Sublime Text. 3 flavors are supported: Standard Markdown, GitHub flavored Markdown, MultiMarkdown.
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": "GopherAirtime", | |
| "color": "red", | |
| "renderer": "markdown", | |
| "text": "Balance is currently: **value**"} |
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
| {"created_at": "2013-11-11T14:15:06.298323", "date_of_birth": "1992-04-26T00:00:00", "emis": {"emis": 99990007, "id": 11, "name": "test_school 3", "resource_uri": "/api/v1/school/11/", "zone": {"district": {"id": 4, "name": "test_district", "province": {"id": 6, "name": "test_province", "resource_uri": "/api/v1/province/6/"}, "resource_uri": "/api/v1/district/4/"}, "id": 6, "name": "test_zone 1", "resource_uri": "/api/v1/zone/6/"}}, "first_name": "Tshepo", "gender": "male", "id": 21, "is_zonal_head": true, "last_name": "Teals", "msisdn": "+27845091190", "resource_uri": "/api/v1/data/headteacher/21/", "zonal_head_name": "self"} |
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
| <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <Id>6b33382e-6c12-4c39-bf75-bb58df3ee164</Id> | |
| <Status>OK</Status> | |
| <ProviderName>Xero API Previewer</ProviderName> | |
| <DateTimeUTC>2013-11-12T19:28:59.226315Z</DateTimeUTC> | |
| <BankTransactions> | |
| <BankTransaction> | |
| <Contact> | |
| <ContactID>43d1337e-4360-4589-9a76-1d0538c4ce6f</ContactID> | |
| <Name>Ridgeway Bank</Name> |
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
| curl -iv --user 739473fb51b6470eb93a811efd86a526:0d47230f6dab4757bf49980ee59a88da -H "Content-Type: application/json" -H "Accept: application/json" -X PUT -d '{"content": "Coach Tumi just sent you some airtime! Use it wisely!", "to_addr": 27845091190}' http://go.vumi.org/api/v1/go/http_api/c46c4091ffbf43da9a8c404153a97ea7/messages.json |
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
| Array.prototype.getIndexes = function(what) { | |
| var indexes = [], what = what.toLowerCase(); | |
| if (!what.length) | |
| return indexes; | |
| this.forEach(function(el, index) { | |
| console.log(el.toLowerCase().indexOf(what)) | |
| if (el.toLowerCase().indexOf(what)!=-1) | |
| indexes.push(index); | |
| }); | |
| return indexes; |
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
| it.only("Choosing more again option on crop should show more again", function (done) { | |
| var p = tester.check_state({ | |
| user: { | |
| current_state: "registration_crop", | |
| answers: { | |
| registration_start: "registration_name_first", | |
| registration_name_first: "Bob", | |
| registration_name_last: "Marley", | |
| registration_gender: "M", | |
| registration_town: "town one", |
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
| [2013-12-05T11:45:21.757389, INFO] {u'meta': {u'previous': None, u'total_count': 0, u'offset': 0, u'limit': 1000, u'next': None}, u'objects': []} | |
| [2013-12-05T11:45:21.774879, ERROR] undefined:89 if (result.objects.length === 0){ ^ TypeError: Cannot read property 'length' of undefined at undefined:89:31 at Promise.self.run_remaining_callbacks (/var/praekelt/vumi-go/node_modules/vumigo_v01/lib/promise.js:55:22) at Promise.self.run_remaining_callbacks (/var/praekelt/vumi-go/node_modules/vumigo_v01/lib/promise.js:55:22) at Promise.self.callback (/var/praekelt/vumi-go/node_modules/vumigo_v01/lib/promise.js:45:18) at EventEmitter.<anonymous> (/var/praekelt/vumi-go/ve/src/vumi/vumi/application/sandboxer.js:81:30) at EventEmitter.emit (events.js:95:17) at self.data_from_stdin (/var/praekelt/vumi-go/ve/src/vumi/vumi/application/sandboxer.js:149:30) at Socket.<anonymous> (/var/praekelt/vumi-go/ve/src/vumi/vumi/application/sandboxer.js:159:18) at Socket.EventEmitter.emit (events.js:95:17) at Socket.<anonymous> (_stream_ |
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
| self.get_farmer = function(username) { | |
| var p = self.api_call("farmer/", { | |
| actor__user__username: username | |
| }); | |
| p.add_callback(function(result){ | |
| if (result.objects.length === 0){ | |
| return null; | |
| } else { | |
| return result.objects[0]; | |
| } |
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
| self.get_farmer = function(username) { | |
| var p = self.api_call("farmer/", { | |
| actor__user__username: username | |
| }); | |
| p.add_callback(function(result){ | |
| return im.log(result); | |
| }); | |
| p.add_callback(function(result){ | |
| if (result.objects.length === 0){ | |
| return null; |