Posts

  • geared_pagination

    Paginate Active Record sets at variable speeds

    Most pagination schemes use a fixed page size. Page 1 returns as many elements as page 2. But that’s frequently not the most sensible way to page through a large recordset when you care about serving the initial request as quickly as possible. This is particularly the case when using the pagination scheme in combination with an infinite scrolling UI.

    Geared Pagination allows you to define different ratios. By default, we will return 15 elements on page 1, 30 on page 2, 50 on page 3, and 100 from page 4 and forward. This has proven to be a very sensible set of ratios for much of the Basecamp UIs. But you can of course tweak the ratios, use fewer, or even none at all, if a certain page calls for a fixed-rate scheme.

    On JSON actions that set a page, we’ll also automatically set Link and X-Total-Count headers for APIs to be able to page through a recordset.

    Tags: #ruby

  • xmlseclibs

    A PHP library for XML Security

    xmlseclibs is a library written in PHP for working with XML Encryption and Signatures.

    The author of xmlseclibs is Rob Richards.

    Tags: #php

  • Downloader

    A cost-effective Android file downloader

    Downloader 是一个非常轻巧以及功能强大快速下载库,只有50KB 左右大小,对于大多数应用来说,性价比最高的一个下载库, Downloader 提供的API更简单、轻量且Downloader提供同步下载,系统通知进度等功能。

    Tags: #java • download • filedownload

  • node-wifi

    📶 NodeJS tool to manage wifi (connections, scans)

    # Use as a module
    npm install node-wifi
    

    Tags: #javascript • wifi • node

  • hexo-theme-oranges

    🍊A simple hexo theme of minimalism

    A simple hexo theme

    demo

    Tags: #javascript • hexo-theme • hexo

  • laravel-sent-emails

    Store outgoing emails in Laravel

    There is a Discord community. https://discord.gg/VYau8hgwrm For quick help, ask questions in the appropriate channel.

    Tags: #php

  • object-detection-opencv

    YOLO Object detection with OpenCV and Python.

    OpenCV dnn module supports running inference on pre-trained deep learning models from popular frameworks like Caffe, Torch and TensorFlow.

    When it comes to object detection, popular detection frameworks are

    • YOLO
    • SSD
    • Faster R-CNN

    Support for running YOLO/DarkNet has been added to OpenCV dnn module recently.

    Tags: #python • object-detection • opencv

  • obsidian-media-db-plugin

    A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.

    A plugin that can query multiple APIs for movies, series, anime, manga, books, comics, games, music and wiki articles, and import them into your vault.

    Tags: #typescript • anime • games

  • OldTwitter

    Extension to return old Twitter layout from 2015 / 2018.

    Browser extension to return old Twitter layout from 2015 (and option to use 2018 design).
    This extension doesn’t add any CSS on top of original Twitter. It’s fully original client that replaces Twitter, making it much faster than alternatives.

    Tags: #javascript • chrome-extension • firefox-addon

  • bnd

    Bnd/Bndtools. Tooling to build OSGi bundles including Eclipse, Maven, and Gradle plugins.

    Bnd/Bndtools is a swiss army knife for OSGi. It creates manifest headers for you based on analyzing the class code, it verifies your settings, it manages project dependencies, diffs jars, and much more. At the core is a library with all the functions. The library is then used in a myriad of subsystems to provide the core functionality to the rest of the world.

    • bndlib and friends – The core library plus repository, resolve, etc.
    • maven plugins – A full set of maven plugins that make bnd useful for maven users
    • eclipse – Bndtools is the plugin for Eclipse that provides full GUI support for bnd. This is a p2 repository.
    • bnd – a command line utility with a hodgepodge of sometimes extremely useful functions. Can even be used instead of a build tool. is available through Homebrew formula.
    • gradle plugin(s) – A bnd workspace plugin that builds identical to Eclipse’s bndtool as well as a gradle plugin that provides bnd support for non-workspace projects
    • ant – well …

    Tags: #java • bnd • bndtools

subscribe via RSS