07-07 22:27:40.962: E/Trace(8893): error opening trace file: No such file or directory (2)
07-07 22:27:42.882: E/dalvikvm(8893): Could not find class 'gpr', referenced from method gps.a
07-07 22:27:42.882: E/dalvikvm(8893): Could not find class 'gpr', referenced from method gps.a
07-07 22:27:42.882: E/dalvikvm(8893): Could not find class 'gpr', referenced from method gps.a
07-07 22:27:43.582: E/dalvikvm(8893): Could not find class 'com.google.android.gms.location.internal.ParcelableGeofence', referenced from method glt.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
<!DOCTYPE resources [ | |
<!ELEMENT resources (application)> | |
<!ELEMENT application (serviceProfile)+> | |
<!ATTLIST application name CDATA #REQUIRED> | |
<!ELEMENT serviceProfile (supportedTransports, serviceChannel+) > | |
<!ATTLIST application xmlns:android CDATA #IMPLIED> | |
<!ATTLIST serviceProfile xmlns:android CDATA #IMPLIED> | |
<!ATTLIST serviceProfile serviceImpl CDATA #REQUIRED> | |
<!ATTLIST serviceProfile role (PROVIDER | CONSUMER | provider | consumer) #REQUIRED> | |
<!ATTLIST serviceProfile name CDATA #REQUIRED> |
saat melakukan migrasi dari ngRoute ke ui-router, pastikan bahwa service $urlRouteProvider
sudah diganti dengan $urlRouterProvider
, jika tidak maka akan menghasilkan error sebagai berikut:
Uncaught object angular.js:78
(anonymous function) angular.js:78
(anonymous function) angular.js:3809
forEach angular.js:323
loadModules angular.js:3775
createInjector angular.js:3715
doBootstrap angular.js:1379
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.exports.bootstrap = function(cb) { | |
// setup 2dsphere Index on `foo` collection | |
Foo.native(function(err, collection) { | |
collection.ensureIndex({ | |
location: '2dsphere' | |
}, function(err, result) { | |
// callbacks gets two parameter: | |
// - an error object (if an error occured) | |
// - the name for the newly created index |
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
Station.native(function(err, collection) { | |
collection.find({ | |
location: { | |
$near: { | |
$geometry: { | |
type: "Point", | |
// coordinates: [longitude, latitude] | |
coordinates: [50, 50] | |
} | |
}, |
- https://github.com/danialfarid/angular-file-upload
- https://github.com/twilson63/ngUpload
- http://blueimp.github.io/jQuery-File-Upload/angularjs.html
- http://blog.brunoscopelliti.com/a-directive-to-manage-file-upload-in-an-angularjs-application
- http://badwing.com/multipart-form-data-ajax-uploads-with-angularjs/
- http://shazwazza.com/post/Uploading-files-and-JSON-data-in-the-same-request-with-Angular-JS
- http://flowjs.github.io/ng-flow/
- http://uncorkedstudios.com/blog/multipartformdata-file-upload-with-angularjs
- http://badwing.com/multipart-form-data-ajax-uploads-with-angularjs/
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
#!/bin/bash | |
printf "Uploading the package to TestFlight...\n" | |
curl http://testflightapp.com/api/builds.json \ | |
-F file=@REPLACE_THIS_WITH_RELATIVE_PATH_TO_APK \ | |
-F api_token='REPLACE_THIS_WITH_YOUR_API_TOKEN' \ | |
-F team_token='REPLACE_THIS_WITH_YOUR_TEAM_TOKEN' \ | |
-F notes='Link to your release notes' \ | |
-F notify=True \ |
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
public class SomeFragment extends Fragment { | |
MapView mapView; | |
GoogleMap map; | |
@Override | |
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
View v = inflater.inflate(R.layout.some_layout, container, false); | |
- AngularJS is not a library, it's a framework that embraces extending HTML into a more expressive and readable format
- AngularJS is a structural framework for dynamic web apps
- A framework that lets you use HTML as your template language and extend HTML's syntax to express your application's components clearly and succinctly
- Angular is an opinionated framework on how a CRUD application should be built
- Angular was built for the CRUD application in mind. Games and GUI editors are examples of applications with intensive and tricky DOM manipulation. These kinds of apps are different from CRUD apps, and as a result are probably not a good fit for Angular