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
-
alpaca-backtrader-api
Alpaca Trading API integrated with backtrader
alpaca-backtrader-apiis a python library for the Alpaca trade API withinbacktraderframework. It allows rapid trading algo development easily, with support for the both REST and streaming interfaces. For details of each API behavior, please see the online API document.Note this module supports only python version 3.5 and above, due to the underlying library
alpaca-trade-api.Tags: #python • alpaca • trading
-
shoulda-context
Shoulda Context makes it easy to write understandable and maintainable tests under Minitest and Test::Unit within Rails projects or plain Ruby projects.
Shoulda Context makes it easy to write understandable and maintainable tests under Minitest and Test::Unit within Rails projects or plain Ruby projects. It’s fully compatible with your existing tests and requires no retooling to use.
Tags: #ruby • testing
-
kuzzle
Open-source Back-end, self-hostable & ready to use - Real-time, storage, advanced search - Web, Apps, Mobile, IoT -
Kuzzle is a generic backend offering the basic building blocks common to every application.
Rather than developing the same standard features over and over again each time you create a new application, Kuzzle proposes them off the shelf, allowing you to focus on building high-level, high-value business functionalities.
Kuzzle enables you to build modern web applications and complex IoT networks in no time.
- API First: use a standardised multi-protocol API.
- Persisted Data: store your data and perform advanced searches on it.
- Realtime Notifications: use the pub/sub system or subscribe to database notifications.
- User Management: login, logout and security rules are no more a burden.
- Extensible: develop advanced business feature directly with the integrated framework.
- Client SDKs: use our SDKs to accelerate the frontend development.
Learn how Kuzzle will accelerate your developments :point_right: https://docs.kuzzle.io/core/2/guides/introduction/what-is-kuzzle/
Tags: #javascript • kuzzle • backend
-
taxonworks
Workbench for biodiversity informatics.
TaxonWorks is a web-based workbench designed for taxonomists and biodiversity scientists. It provides tools to help you capture, organize, and enhance your data, collaborate with others, and prepare your work for analysis and publication. With TaxonWorks, you can easily manage your research data, share it with colleagues, and streamline the process of analyzing and publishing your findings.
To get more information on the project, its vision, and scope see taxonworks.org and docs.taxonworks.org.
Tags: #ruby • species • biodiversity-informatics
-
stomp-websocket
Stomp client for Web browsers and node.js apps
This library provides a STOMP client for Web browser (using Web Sockets) or node.js applications (either using raw TCP sockets or Web Sockets).
Tags: #javascript
-
cfn_nag
Linting tool for CloudFormation templates
The cfn-nag tool looks for patterns in CloudFormation templates that may indicate insecure infrastructure. Roughly speaking, it will look for:
- IAM rules that are too permissive (wildcards)
- Security group rules that are too permissive (wildcards)
- Access logs that aren’t enabled
- Encryption that isn’t enabled
- Password literals
For more background on the tool, please see this post at Stelligent’s blog:
Tags: #ruby • continuous-testing • unit-testing
-
GassistPi
Google Assistant for Single Board Computers
Tags: #python • google-assistant-sdk • raspberry-pi
-
htcap
htcap is a web application scanner able to crawl single page application (SPA) recursively by intercepting ajax calls and DOM changes.
htcap is a web application scanner able to crawl single page application (SPA) recursively by intercepting ajax calls and DOM changes.
Tags: #python
-
daemonizable-command
Daemonizable (endless running) commands for Symfony.
A small bundle to create endless running commands with Symfony.
These endless running commands are very easy to daemonize with something like Upstart or systemd.
Tags: #php • symfony • symfony-command
subscribe via RSS