Posts

  • jsweet

    A Java to JavaScript transpiler.

    JSweet leverages TypeScript to write rich and responsive Web applications in Java through the use of JavaScript libraries and frameworks. With JSweet, Java programs are transpiled (source-to-source compiled) to TypeScript and JavaScript for being run in browsers, mobile Web views, or in Node.js.

    • JSweet is safe and reliable. It provides web applications with type-checking and generates fully type-checked JavaScript programs. It stands on Oracle’s Java Compiler (javac) and on Microsoft’s TypeScript (tsc).
    • JSweet allows you to use your favorite JS library (JSweet+Angular2, JSweet+threejs, IONIC/Cordova, …).
    • JSweet enables code sharing between server-side Java and client-side JavaScript. JSweet provides implementations for the core Java libraries for code sharing and legacy Java migration purpose.
    • JSweet is fast, lightweight and fully JavaScript-interoperable. The generated code is regular JavaScript code, which implies no overhead compared to JavaScript, and can directly interoperate with existing JavaScript programs and libraries.

    How does it work? JSweet depends on well-typed descriptions of JavaScript APIs, so-called “candies”, most of them being automatically generated from TypeScript definition files. These API descriptions in Java can be seen as headers (similarly to *.h header files in C) to bridge JavaSript libraries from Java. There are several sources of candies for existing libraries and you can easily build a candy for any library out there (see more details).

    With JSweet, you take advantage of all the Java tooling (IDE’s, Maven, …) to program real JavaScript applications using the latest JavaScript libraries.

    Tags: #java • jsweet • javascript-transpiler

  • CycleGAN-TensorFlow

    An implementation of CycleGan using TensorFlow

    An implementation of CycleGan using TensorFlow (work in progress).

    Original paper: https://arxiv.org/abs/1703.10593

    Tags: #python • tensorflow • generative-adversarial-network

  • needle

    The iOS Security Testing Framework

    Assessing the security of an iOS application typically requires a plethora of tools, each developed for a specific need and all with different modes of operation and syntax. The Android ecosystem has tools like “drozer” that have solved this problem and aim to be a ‘one stop shop’ for the majority of use cases, however iOS does not have an equivalent.

    Needle is the MWR’s iOS Security Testing Framework, released at Black Hat USA in August 2016. It is an open source modular framework which aims to streamline the entire process of conducting security assessments of iOS applications, and acts as a central point from which to do so. Needle is intended to be useful not only for security professionals, but also for developers looking to secure their code. A few examples of testing areas covered by Needle include: data storage, inter-process communication, network communications, static code analysis, hooking and binary protections. The only requirement in order to run Needle effectively is a jailbroken device.

    The release of version 1.0.0 provided a major overhaul of its core and the introduction of a new native agent, written entirely in Objective-C. The new NeedleAgent is an open source iOS app complementary to Needle, that allows to programmatically perform tasks natively on the device, eliminating the need for third party tools. 

    Needle has been presented at and used by workshops in various international conferences like Black Hat USA/EU, OWASP AppSec and DEEPSEC. It was also included by ToolsWatch in the shortlist for the Top Security Tools of 2016, and it is featured in the OWASP Mobile Testing Guide.

    Needle is open source software, maintained by MWR InfoSecurity.

    Tags: #python • pentesting • ios

  • react-resize-aware

    ⇲👁 A simple React Hook which allows to listen the resize event of any target element when it changes sizes

    It does one thing, it does it well: listens to resize events on any HTML element.

    react-resize-aware is a zero dependency, ~600 bytes React Hook you can use to detect resize events without relying on intervals, loops, DOM manipulation detection or CSS redraws.

    It takes advantage of the resize event on the HTMLObjectElement, works on any browser I know of, and it’s super lightweight.

    In addition, it doesn’t directly alters the DOM, everything is handled by React.

    Looking for the 2.0 docs? Click here

    Tags: #javascript • resize-events • sizes

  • james

    Web Debugging Proxy Application

    Maintainers or forks welcome: the original James team aren’t able to spend the same amount of time on James anymore.

    Tags: #javascript • proxy • debugging-tool

  • acts_as_tenant

    Easy multi-tenancy for Rails in a shared database setup.

    class ApplicationController < ActionController::Base
      set_current_tenant_by_subdomain(:account, :subdomain)
    end
    

    This tells acts_as_tenant to use the current subdomain to identify the current tenant. In addition, it tells acts_as_tenant that tenants are represented by the Account model and this model has a column named ‘subdomain’ which can be used to lookup the Account using the actual subdomain. If ommitted, the parameters will default to the values used above.

    Alternatively, you could locate the tenant using the method set_current_tenant_by_subdomain_or_domain( :account, :subdomain, :domain ) which will try to match a record first by subdomain. in case it fails, by domain.

    Tags: #ruby

  • apiary-client

    Apiary CLI client

    The Apiary CLI Client gem is a command line tool for developing and previewing API Blueprint documents locally. It can also be used for pushing updated documents to and fetching existing documents from Apiary.

    Please see the apiary help command and the full documentation for an in-depth look in how to use this tool.

    For instructions on making your own changes, see Hacking Apiary CLI Client, below.

    Tags: #ruby • apiary

  • OpenIAB

    Open In-App Billing for Google Play, SlideMe, Amazon Store, Nokia Store, Samsung Apps, Yandex.Store, Appland, Aptoide, AppMall and Fortumo.

    1. Do not write directly to the team members.
    2. Check FAQ for your question/issue.
    3. Choose a correct queue of issues
      • https://github.com/onepf/OpenIAB-Unity-Plugin/issues for Unity devs
      • https://github.com/onepf/OpenIAB/issues for Android Java devs
      • https://github.com/onepf/OpenIAB-Cordova-Plugin/issues for Cordova devs
      • https://github.com/onepf/OpenIAB-Marmalade-Plugi/issues for Marmalade devs
    4. Give details. As many as possible but DO NOT SHARE YOUR PUBLIC KEY for in-app verification.
      The following details could be really helpful:
    • OS. Could be Android, iOS, WP
    • Package. Could be native OpenIAB jar, Unity plugin, Cordove plugin or Marmalade plugin.
    • Version of the library, e.g. 0.9.8.6
    • Affected stores
    • Logs
    • Screenshots

    Tags: #java

  • spectator

    Client library for collecting metrics.

    Simple library for instrumenting code to record dimensional time series.

    Tags: #java

  • dbfit

    DbFit is a database testing framework that supports easy test-driven development of your database code.

    Test-driven database development. Write readable, easy-to-maintain unit and integration tests for your database code.

    Website: dbfit.github.com/dbfit.

    Tags: #java

subscribe via RSS