Posts
-
throttler
A rate limiting module for NestJS to work with Fastify, Express, GQL, Websockets, and RPC 🧭
A Rate-Limiter for NestJS, regardless of the context.
For an overview of the community storage providers, see Community Storage Providers.
This package comes with a couple of goodies that should be mentioned, first is the
ThrottlerModule.Tags: #typescript • nestjs-throttler • nest
-
gem_updater
Update gems in your Gemfile and fetch their changelogs
Every week or so, you wish to update your
Gemfile, to do so, you just have to launchbundle update.Problem is updates may break things. And obviously you need to know what may have broke before pushing your code to production. Before running your test suite and checking everything is fine, the first thing you do is probably to look for the changelogs of updated gems.
This process can be quite time consumming: you need to check on the internet for every updated gems, find where their changelog is hosted, and probably link to it in your commit message so that other developers will have a chance to review it too.
gem_updatewill do exactly that for you. It updates yourGemfile(viabundle update) and finds links for changelogs of updated gems. All you have to do is to copy paste the output to the commit message, and you’re done! Obviously, you still have to read changelogs and adapt your code though ;)Tags: #ruby • gemfile • changelog
-
forgJs
ForgJs is a javascript lightweight object validator. Go check the Quick start section and start coding with love
I started to better document the code there is an open issue on that, the main goal is to make it more accessible to other developpers who want to contribute, i’m still the main maintainer of this project and i’m calling for your help to make this code better so if any of you want to contribute and you have a good idea of how to make this better please feel free to open an issue or a pull request. here is the full documentation (work in preogress): https://oussamahamdaoui.github.io/forgJs/
Thank you! and dont forget code with love ❤️
Tags: #javascript • object • validation
-
trello-cli
Command line client for Trello
- Run
npm installin the same directory aspackage.jsonto install dependencies - Run
./bin/trelloto generate basic config in your home directory. - Get an API key and put it in
~/.trello-cli/config.json - Run
./bin/trello refreshto refresh the list of Trello boards and lists. - Run
./bin/trello+ follow the instructions
If you get stuck, you can always run
./bin/trello --helpor./bin/trello command --helpTags: #javascript • trello • cli
- Run
-
PaintingLight
Generating Digital Painting Lighting Effects via RGB-space Geometry (SIGGRAPH2020/TOG2020)
PaintingLight is a project conducted by the Style2Paints team, aimed at finding a method to manipulate the illumination in digital paintings. The project started at about 2019 January, and the core algorithm is accepted by ACM Transitions on Graphics at 2020.
Because digital painting illumination data is not easy to obtain, this algorithm does not use deep learning. The core idea is to make use of color geometry to build up a perceptually workable relighting system. Such relighting may not be physically accurate, but are good enough for artistic use cases.
Note that the project is still in its technical researching stage. If you are a digital painting artist and you accidentally find this page, you may have to wait for our ongoing PhotoShop plug-in for practical usage.
Tags: #python
-
py-mysql-elasticsearch-sync
MySQL to Elasticsearch sync tool, written in Python.
Simple and fast MySQL to Elasticsearch sync tool, written in Python.
Tags: #python
-
php-bignumbers
A robust library to handle immutable big numbers inside PHP applications
You can install this library using Composer.
To install it via Composer, just write in the require block of your composer.json file the following text:
{ "require": { "litipk/php-bignumbers": "^0.8" } }Tags: #php
-
jsweet
A Java to JavaScript transpiler.
JSweet leverages TypeScript to write rich and responsive Web applications in Java through the use of JavaScript libraries and frameworks. With JSweet, Java programs are transpiled (source-to-source compiled) to TypeScript and JavaScript for being run in browsers, mobile Web views, or in Node.js.
- JSweet is safe and reliable. It provides web applications with type-checking and generates fully type-checked JavaScript programs. It stands on Oracle’s Java Compiler (javac) and on Microsoft’s TypeScript (tsc).
- JSweet allows you to use your favorite JS library (JSweet+Angular2, JSweet+threejs, IONIC/Cordova, …).
- JSweet enables code sharing between server-side Java and client-side JavaScript. JSweet provides implementations for the core Java libraries for code sharing and legacy Java migration purpose.
- JSweet is fast, lightweight and fully JavaScript-interoperable. The generated code is regular JavaScript code, which implies no overhead compared to JavaScript, and can directly interoperate with existing JavaScript programs and libraries.
How does it work? JSweet depends on well-typed descriptions of JavaScript APIs, so-called “candies”, most of them being automatically generated from TypeScript definition files. These API descriptions in Java can be seen as headers (similarly to *.h header files in C) to bridge JavaSript libraries from Java. There are several sources of candies for existing libraries and you can easily build a candy for any library out there (see more details).
With JSweet, you take advantage of all the Java tooling (IDE’s, Maven, …) to program real JavaScript applications using the latest JavaScript libraries.
Tags: #java • jsweet • javascript-transpiler
-
belongs-to-through
Laravel Eloquent BelongsToThrough relationships
This inverse version of
HasManyThroughallowsBelongsToThroughrelationships with unlimited intermediate models.Supports Laravel 5.0+.
Tags: #php
-
sketchup-stl
A SketchUp Ruby Extension that adds STL (STereoLithography) file format import and export.
A SketchUp Ruby Extension that adds STL (STereoLithography) file format import and export.
3D printing is awesome, and the STL format has emerged as a standard way to share printable 3D models. To support this community, SketchUp has gathered a couple of Ruby plugins and packaged them into a single Extension. Stay tuned! This is our first foray into Open Source, an experiment we hope to repeat.
Tags: #ruby • sketchup • extension
subscribe via RSS