Giter Site home page Giter Site logo

cardio's People

Contributors

auchenberg avatar cistov avatar msiebuhr avatar munter avatar papandreou avatar tenzer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cardio's Issues

Trim js.complexityReports output size

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.

HAR file integration

@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.

Color matching is to broad

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.

Android : This device cannot use the camera to read card numbers.

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.

Make cardio git-bisect-friendly

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).

installation error

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

Build basic visualization

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.