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
| bool _validMap (Map json, String node) { | |
| // Isn't this one "prettier" than the original below? | |
| if (_containsNode(json, node) && json[node] is Map) { | |
| return true; | |
| } else { | |
| return false; | |
| } | |
| // Original | |
| if (!_containsNode(json, node)) return false; |
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
| ================================================================================== | |
| Feb 26, 2013 10:19:21 AM Running dart2js... | |
| /home/thomas/dart/dart-sdk/bin/dart2js --suppress-warnings --out=/home/thomas/dart/bob/src/dart/bob.dart.js /home/thomas/dart/bob/src/dart/bob.dart | |
| Using snapshot /home/thomas/dart/dart-sdk/lib/_internal/compiler/implementation/dart2js.dart.snapshot | |
| Internal error: internal error: AbstractFieldElement has no type | |
| #0 AbstractFieldElementX.computeType (file:///mnt/data/b/build/slave/dart-editor-linux-trunk/build/dart/out/ReleaseX64/dart-sdk.tmp/lib/_internal/compiler/implementation/elements/modelx.dart:572:5) | |
| #1 CodeEmitterTask.generateIsTestsOn (file:///mnt/data/b/build/slave/dart-editor-linux-trunk/build/dart/out/ReleaseX64/dart-sdk.tmp/lib/_internal/compiler/implementation/js_backend/emitter.dart:603:10) | |
| #2 CodeEmitterTask.emitInstanceMembers (file:///mnt/data/b/build/slave/dart-editor-linux-trunk/build/dart/out/ReleaseX64/dart-sdk.tmp/lib/_internal/compiler/implement |
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
| /home/thomas/ada/lib/aws/.build/x86_64-slackware-linux/release/static/lib/src/libaws.a(aws-net-ssl__gnutls.o): In function `aws__net__ssl__verify_callback': | |
| aws-net-ssl__gnutls.adb:(.text+0x10c): undefined reference to `gnutls_certificate_verify_peers2' | |
| aws-net-ssl__gnutls.adb:(.text+0x121): undefined reference to `gnutls_certificate_get_peers' | |
| aws-net-ssl__gnutls.adb:(.text+0x137): undefined reference to `gnutls_x509_crt_init' | |
| aws-net-ssl__gnutls.adb:(.text+0x14e): undefined reference to `gnutls_x509_crt_import' | |
| aws-net-ssl__gnutls.adb:(.text+0x15a): undefined reference to `gnutls_session_get_ptr' | |
| aws-net-ssl__gnutls.adb:(.text+0x1ab): undefined reference to `gnutls_x509_crt_deinit' | |
| /home/thomas/ada/lib/aws/.build/x86_64-slackware-linux/release/static/lib/src/libaws.a(aws-net-ssl__gnutls.o): In function `aws__net__ssl__pending': | |
| aws-net-ssl__gnutls.adb:(.text+0x799): undefined reference to `gnutls_record_check_pending' | |
| /home/thomas/ada/lib/aws/.build/x86_64-slackware-linux/release/static/lib/src/libaws.a(aws |
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
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <element name="x-context-switcher-button" constructor="ContextSwitcherButton" extends="button"> | |
| <template> | |
| <button class="notactivated" on-click="toggle($event)">{{mysection.number}}</button> | |
| </template> | |
| <script type="application/dart" src="xcontextswitcherbutton.dart"></script> | |
| </element> |
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 XMonad | |
| import XMonad.Actions.CycleWS -- cycle thru WS', toggle last WS | |
| import XMonad.Hooks.DynamicLog -- statusbar | |
| import XMonad.Hooks.ManageDocks -- dock/tray mgmt | |
| import XMonad.Hooks.EwmhDesktops -- tell panel applications about its workspaces and the windows therein | |
| import XMonad.Util.EZConfig -- append key/mouse bindings | |
| import XMonad.Util.Run(spawnPipe) -- spawnPipe and hPutStrLn | |
| import System.IO | |
| import XMonad.Actions.SpawnOn | |
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
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <element name="x-company-info" constructor="CompanyInfo" extends="div" apply-author-styles> | |
| <style scoped> | |
| x-company-info { | |
| background-color: #fafafa; | |
| border: solid 1px #999; | |
| border-radius: 5px; |
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
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <element name="x-agent-info" constructor="AgentInfo" extends="div" apply-author-styles> | |
| <style scoped> | |
| x-agent-info { | |
| background-color: #fafafa; | |
| border: solid 1px #999; | |
| border-radius: 5px; |
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
| class Foo{ | |
| String _name = 'Dart'; | |
| String get name => _name; | |
| Foo(){ | |
| // stuff | |
| } | |
| void Bar() { |
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
| main() { | |
| List futures; | |
| List texts; | |
| new Directory(path).list().listen((File f) { | |
| var c = new Completer(); | |
| futures.add(c.future); | |
| f.readAsString().then((content) { | |
| texts.add(text); | |
| c.complete(null); |
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
| svn co http://svn.eu.adacore.com/anonsvn/Dev/trunk/gps/gnatlib/ | |
| cd gnatlib/ | |
| ./configure .... | |
| make | |
| make install |