auchenberg / cardio Goto Github PK
View Code? Open in Web Editor NEWcardio
License: MIT License
cardio
License: MIT License
Currently the js.complexityReport
output 16 different metrics, both under "functions" and "aggregate" (16ร2 = 32), whereon we calculate count, mean, max, std, mean_90th and max_90th (32ร6 = 192 metrics).
My gut feelig is that at least one of "functions" or "aggregate" shoulb be canned.
That would permit cardio <whatever> | cardio-report2array
.
Alternately, we should just move the logic of cardio-report2array
into cardio
, so it would have the array-style output as the default one.
@msiebuhr and I talked about the ability to analyze .har dumps. It seems like .har files (if dumped with the response bodies) contain enough information to populate an assetgraph, so this would mostly be a matter of creating a .har loader.
Since phantom.js can create a .har dump there could be some interesting use cases.
123
will be reported as a color because one.colors parser accepts css shorthand also without a prefixed #
. This leads to false positives when using numbers to describe font sizes.
We should probably have a css property whitelist of properties that can contain colors and only run the parser on tokens in these values. Or simply require a #
-prefix before a hex shorthand color for it to be a positive match.
Librato, seems like a great graphing dashboard - https://metrics.librato.com/
I am using Eclipse for my Android project. To use card.io. Android SDK I did the following steps.
Step 1: Downloaded latest card.io. Android SDK version 5.0.0 from (https://github.com/card-io/card.io-Android-SDK ) and extracted the .aar file .
Step 2: In the extracted folder I got "classes.jar" and renamed it to "cardio.jar"
Step 3: Created a project in Eclipse and used the "cardio.jar" file under libs folder of Eclipse project.
Step 4: Added necessary permissions in AndroidManifest file.
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".CreditCardScanner"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="io.card.payment.CardIOActivity"
android:configChanges="keyboardHidden|orientation"
android:hardwareAccelerated="true" />
<activity
android:name="io.card.payment.DataEntryActivity"
android:screenOrientation="portrait" />
</application>
Step 5: Run the application I got following exception in Log cat:
Failed to load native library: Couldn't load cardioDecider from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.ex.creditcardscanner-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.ex.creditcardscanner-1, /vendor/lib, /system/lib]]]: findLibrary returned null
ERROR_NO_DEVICE_SUPPORT: This device cannot use the camera to read card numbers.
Please let me know why I got the error and what is the wrong I did in my steps?
Is jar file creation process (step 2) right?
How to use car.io Android project in Eclipse?
I have tested my code in Samsung S4, Moto E and Samsung S3.
If you need full error log of the application please mail me to [email protected]
Please help me.
It would be rather nice to execute something like the following:
git bisect start <bad> <good> -- cardio --check "css.countByColor.#eee > 1"
Then it would find the revision between good
and bad
here the check begins to fail (i.e. the color #eee
drops below one).
npm ERR! Darwin 15.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "cardio"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code E404
We need at least one visualization built in (eg. ASCII spark-lines / canvas-output) for a proper wow-factor and instant gratification when new users try it out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.