Posts
-
jsonq
A PHP query builder for JSON
JsonQ is a simple, elegant PHP package to Query over any type of JSON Data. It’ll make your life easier by giving the flavour of an ORM-like query on your JSON.
Tags: #php • json • json-data
-
JointsWP
A blank WordPress theme built with Foundation 6, giving you all the power and flexibility you need to build complex, mobile friendly websites without having to start from scratch.
JointsWP requires Node.js v6.9.x or newer. This doesn’t mean you need to understand Node (or even Gulp) - it’s just the steps we need to take to make sure all of our development tools are installed.
Tags: #php • blank-wordpress-theme • wordpress-theme
-
use-query-params
React Hook for managing state in URL query parameters with easy serialization.
Tags: #typescript • react • reactjs
-
json_api_client
Build client libraries compliant with specification defined by jsonapi.org
This gem is meant to help you build an API client for interacting with REST APIs as laid out by http://jsonapi.org. It attempts to give you a query building framework that is easy to understand (it is similar to ActiveRecord scopes).
Note: master is currently tracking the 1.0.0 specification. If you’re looking for the older code, see 0.x branch
Tags: #ruby • jsonapiclient • json-api
-
intercom-rails
The easiest way to install Intercom in a Rails app.
The easiest way to install Intercom in a rails app.
For interacting with the Intercom REST API, use the
intercomgem (https://github.com/intercom/intercom-ruby)Requires Ruby 2.0 or higher.
Tags: #ruby
-
react-native-country-picker-modal
🇦🇶 Country picker provides a modal allowing a user to select a country from a list. It display a flag next to each country name.
- 🎉 GO TO WEB DEMO 🎉
- snack example
Tags: #typescript • country-picker • countries
-
elasticsearch-ingest-opennlp
An Elasticsearch ingest processor to do named entity extraction using Apache OpenNLP
I wrote a opennlp mapping plugin a couple of years ago and people asked me, why I did not update it. The main reason was, that it was a bad architectural choice as mentioned in the openlp plugin README. With the introduction of ingest processors in Elasticsearch 5.0 this problem has been resolved.
This processor is doing named/date/location/’whatever you have a model for’ entity recognition and stores the output in the JSON before it is being stored.
This plugin is also intended to show you, that using gradle as a build system makes it very easy to reuse the testing facilities that elasticsearch already provides. First, you can run regular tests, but by adding a rest test, the plugin will be packaged and unzipped against elasticsearch, allowing you to execute a real end-to-end test, by just adding a java test class.
Tags: #java
-
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
-
ansible-openwisp2
Ansible role that installs and upgrades OpenWISP.
Since August 2018 there’s a new fast and easy way to install OpenWISP 2 for testing purposes leveraging Vagrant, a popular open source tool for building and maintaining portable virtual software development environments.
To use this new way, clone the repository vagrant-openwisp2, it contains the instructions (in the
README.md) and the vagrant configuration to perform the automatic installation.Alternatively, you can read on to learn how to install VirtualBox and run ansible-openwisp2 manually, this is useful if you need to test advanced customisations of OpenWISP.
Tags: #python • openwisp • ansible-role
-
unzipper
Small class to extract + compress .zip, .gz, .rar archives via browser.
The Unzipper extracts .zip and .rar archives or .gz/tar.gz files on webservers. It detects .zip/.rar/.tar.gz/.gz archives and let you choose which one to extract (if there are multiple archives available). As of version 0.1.0 it also supports creating archives.
It’s handy if you do not have shell access. E.g. if you want to upload a lot of files (php framework or image collection) as archive - because it is much faster than uploading each file by itself.
Tags: #php
subscribe via RSS