Posts

  • other_video_transcoding

    Other tools to transcode videos.

    Other tools to transcode videos.

    Tags: #ruby

  • 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

  • openDCIM

    An open source (GPL v3) Data Center Inventory Management (DCIM) application.

    Official Website

    Installation

    Supposing you are using apache, php and apache-php-module firstly clone openDCIM in a directory which is accessible by apache user (e.g. /srv/http/) and then configure apache to load required modules and have access to project directory (you can define virtual host too).

    If you’re gonna create Dockerized development environment, you should enable apache’s fast-cgi to connect to php-fpm’s container

    Tags: #php

  • devise-pwned_password

    Devise extension that checks user passwords against the PwnedPasswords dataset

    Devise extension that checks user passwords against the PwnedPasswords dataset (https://haveibeenpwned.com/Passwords).

    Checks for compromised (“pwned”) passwords in 2 different places/ways:

    1. As a standard model validation using pwned. This:
      • prevents new users from being created (signing up) with a compromised password
      • prevents existing users from changing their password to a password that is known to be compromised
    2. (Optionally) Whenever a user signs in, checks if their current password is compromised and shows a warning if it is.

    Based on devise-uncommon_password.

    Recently the HaveIBeenPwned API has moved to an authenticated/paid model, but this does not affect the PwnedPasswords API; no payment or authentication is required.

    Tags: #ruby

  • Ghidra-Switch-Loader

    Nintendo Switch loader for Ghidra

    A loader for Ghidra supporting a variety of Nintendo Switch file formats.

    Tags: #java • ghidra • nintendo-switch

  • ast

    Generic AST parsing library for kotlin multiplatform

    kotlinx.ast is a generic AST (Abstract Syntax Tree) parsing library, Kotlin is currently the only supported language. The library is designed that other languages can be easily added. kotlinx.ast does not use the Kotlin Compiler for parsing, it is using ANTLR (the Kotlin variant: https://github.com/Strumenta/antlr-kotlin) using the official Kotlin Grammar (https://kotlinlang.org/docs/reference/grammar.html).

    One Component is Klass, a collection of language independent data classes used to represent and easily access the AST.

    Tags: #java • kotlin • ast

  • xmemcached

    High performance, easy to use multithreaded memcached client in java.

    • 2.4.8 released, some minor fixes.
    • 2.4.7 released, supports MemcachedSessionComparator and resolveInetAddresses settings and tweak benchmark projects.
    • 2.4.6 released, set timeoutExceptionThreshold though XMemcachedClientFactoryBean.

    Tags: #java • memcached • cache

  • concretecms

    Official repository for Concrete CMS development

    If you’re looking for Concrete CMS documentation, you’ll want to navigate over to documentation.concretecms.org. If you see anything that needs more information or is just completely wrong, contributions are welcomed! Just log in to the documentation site with your community.concretecms.com account and edit away!

    Tags: #php • concrete5 • cms

  • laravel-cashier-mollie

    Official Mollie integration for Laravel Cashier

    First, make sure to add the Mollie key to your .env file. You can obtain an API key from the Mollie dashboard:

    MOLLIE_KEY="test_xxxxxxxxxxx"
    

    Next, pull this package in using composer:

    composer require laravel/cashier-mollie "^1.0"
    

    Tags: #php • laravel • mollie

  • chipmunk

    log analysis tool

    chipmunk is a fast logfile viewer that can deal with huge logfiles (>10 GB). It powers a super fast search and is supposed to be a useful tool for developers who have to analyze logfiles.

    Tags: #typescript • logs-analysis • logviewer

subscribe via RSS