The following shows what to watch out for when making Angular Dart applications. For more information about Angular Dart, see angulardart.org.
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
23:42:15-adam@Adams-MacBook-Air:~/dart/Pixelate | |
$ cat docs/pixelate//pixelate_flex_panel.json| python -mjson.tool | |
{ | |
"classes": { | |
"class": [ | |
{ | |
"name": "FlexPanel", | |
"preview": "<p>Represents a container that utilizes a flexible layout.</p>", | |
"qualifiedName": "pixelate/pixelate_flex_panel.FlexPanel" | |
} |
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
#!/usr/bin/env bash | |
set +o xtrace | |
USER=$USER | |
PROJECT=dart-compute-project | |
INSTANCE_NAME=dart-compute | |
TAGS=dart | |
MACHINE_TYPE=f1-micro | |
NETWORK=default | |
IP=ephemeral |
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
alias dart_changelog_stamp='echo `date +%Y-%m-%d` \(SDK `cat /Applications/dart/dart-sdk/version ` r`cat /Applications/dart/dart-sdk/revision `\)' |
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
–(~/dart/discovery_api_dart_client_generator)–($ time dart ./tool/update.dart --gituser=financeCoding --repouser=dart-google-apis --force --pub --retry-auto --pubserver=http://pub.dartlang.org/ | |
Starting automated update of client libraries... | |
------------------------------------------------ | |
Stored GitHub credentials found. Checking... | |
GitHub authentication successful. | |
GitHub credentials still valid. | |
Fetching list of currently available Google APIs... | |
dart_adexchangebuyer_v1_api_client |
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/utils/compiler/compiler.gyp b/utils/compiler/compiler.gyp | |
index fc4b1cf..d32497e 100644 | |
--- a/utils/compiler/compiler.gyp | |
+++ b/utils/compiler/compiler.gyp | |
@@ -30,7 +30,7 @@ | |
'<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', | |
], | |
'action': [ | |
- '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
+ '<(PRODUCT_DIR)/../DebugX64/dart', |
You might want to read this to get an introduction to armel vs armhf.
If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.
First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static
so that you can run ARM executables directly on linux
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
–(~/dart/discovery_api_dart_client_generator)–($ time dart ./tool/update.dart --gituser=financeCoding --repouser=dart-google-apis --force --pub --retry-auto --pubserver=http://pub.dartlang.org/ | |
Starting automated update of client libraries... | |
------------------------------------------------ | |
Stored GitHub credentials found. Checking... | |
GitHub authentication successful. | |
GitHub credentials still valid. | |
Fetching list of currently available Google APIs... | |
dart_adexchangebuyer_v1_api_client |
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
alias gdbnew='/usr/local/Cellar/gdb/7.6/bin/gdb' |
Every client-side applications has to talk to REST APIs. At the moment AngularDart does not provide any high-level abstractions to help you do that. You can send http requests, but that's it.
This post is about a spike I did a few days ago to explore possible ways of building such a library. It also shows that you can do quite a bit in just one hundred lines of Dart.
OlderNewer