Posts

  • 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

  • ember-cli-typescript

    Use TypeScript in your Ember.js apps!

    This README focuses on basic information about setting up and using the addon. For more details, see the documentation, which includes:

    • troubleshooting tips
    • a walkthrough for using TypeScript with Ember effectively
    • guides for publishing addons written in TypeScript
    • more details on how the addon sets up your project during installation

    …and much more!

    Tags: #typescript • ember-cli • addon

  • dpt-rp1-py

    Python script to manage a Sony DPT-RP1 without the Digital Paper App

    Python script to manage Sony DPT-RP1 without the Digital Paper App. This repository includes a Python library and a command line utility to manage documents on the DPT-RP1. Tested on Windows, Linux, and macOS. Should also work for Sony’s other digital paper readers.

    Throughout this document, reader or device refers to your Digital Paper device.

    Tags: #python

  • crazyflie-clients-python

    Host applications and library for Crazyflie written in Python.

    The Crazyflie PC client enables flashing and controlling the Crazyflie. It implements the user interface and high-level control (for example gamepad handling). The communication with Crazyflie and the implementation of the CRTP protocol to control the Crazflie is handled by the cflib project.

    For more info see our documentation.

    Tags: #python

subscribe via RSS