Posts
-
Database-to-PlantUML
Compile PostgreSQL and MySQL table information into a PlantUML description.
This utility renders a graphical 2D visualisation of a database.
Currently, the only supported frontends are PostgreSQL and MySQL. There are 2Â backends:
commonmarkandplantuml. Theplantumlbackend allows to generate visualisations into the following formats:- PNG,
- SVG,
- EPS,
- PDF,
- VDX,
- XMI,
- HTML,
- TXT,
- UTXT,
- LaTeX.
Tags: #php • visualisation • plantuml
-
balancer-sor
Smart order router: off-chain linear optimization of routing orders across pools for best price execution
There are two types of swap available:
swapExactIn - i.e. You want to swap exactly 1 ETH as input and SOR will calculate X amount of BAL you receive in return.
or
swapExactOut - i.e. You want to receive exactly 1 BAL and SOR will calculate X amount of ETH you must input.The SOR will return totalReturn/totalInput as well as a list swaps to achieve the total. Swaps can be through direct pools, i.e. A > POOL1 > B, or via a multihop pool, i.e. A > POOL1 > C > POOL2 > B. The swaps are returned in a format that can be directly to the Vault to execute the trade.
The example file
swapExample.tsin: ./testScripts, demonstrates full examples with comments.To Run:
Create a .env file in root dir with your infura provider key:
INFURA=your_keyInstall dependencies:
$ yarn installRun example:
$ ts-node ./test/testScripts/swapExample.tsTags: #typescript
-
alpaca-trade-api-python
Python client for Alpaca’s trade API
alpaca-trade-api-pythonis a python library for the Alpaca Commission Free Trading API. It allows rapid trading algo development easily, with support for both REST and streaming data interfaces. For details of each API behavior, please see the online API document.Note that this package supports only python version 3.7 and above.
Tags: #python • alpaca • trade
-
php-pdftk
A PDF conversion and form utility based on pdftk
php-pdftk brings the full power of
pdftkto PHP - and more.- Fill forms, either from a XFDF/FDF file or from a data array (UTF-8 safe for unflattened forms, requires pdftk 2.x !)
- Create XFDF or FDF files from PHP arrays (UTF-8 safe!)
- Create FDF files from filled PDF forms
- Combine pages from several PDF files into a new PDF file
- Split a PDF into one file per page
- Add background or overlay PDFs
- Read out meta data about PDF and form fields
- Set passwords and permissions
- Remove passwords
Tags: #php
-
syncthing-gtk
GTK3 & python based GUI for Syncthing
- Everything what WebUI can display
- Adding / editing / deleting nodes
- Adding / editing / deleting repositories
- Restart / shutdown server
- Editing daemon settings
Tags: #python • python-2 • gtk3
-
sail
Sail is a lightweight Rails engine that brings an admin panel for managing configuration settings on a live Rails app
This Rails engine brings a setting model into your app to be used as feature flags, gauges, knobs and other live controls you may need.
It saves configurations to the database so that they can be changed while the application is running, without requiring a deploy.
Having this ability enables live experiments and tuning to find an application’s best setup.
Enable/Disable a new feature, turn ON/OFF ab testing for new functionality, change jobs’ parameters to tune performance, you name it.
It comes with a lightweight responsive admin dashboard for searching and changing configurations on the fly.
Sail assigns to each setting a relevancy score. This metric is calculated while the application is running and is based on the relative number of times a setting is invoked and on the total number of settings. The goal is to have an indicator of how critical changing a setting’s value can be based on its frequency of usage.
Tags: #ruby • rails • settings
-
rangy
A cross-browser JavaScript range and selection library.
There is now an official Rangy package for Bower with Rangy 1.2 and 1.3 versions, called
rangy.Tags: #javascript
-
brave-ui
List of reusable React components to empower your brave UI
Here you will find a list of reusable React components used in most of Brave products. Brave UI’s component library can be found on Storybook.
:exclamation:Important: We are still hacking a lot on this project, and therefore don’t recommend that anyone use it yet. It’s free to try and use at your own risk but bear in mind that components and APIs are very likely to change without notice.
Tags: #typescript
-
proppy
Functional props composition for UI components (React.js & Vue.js)
ProppyJS is a tiny
1.5kBJavaScript library for composing props (object that components receive to render themselves).It comes with various integration packages giving you the freedom to use it popular rendering libraries.
Tags: #typescript • react • vue
-
J-I-C
J I C is a Javascript Image Compressor using HTML5 Canvas & File API that allows you to compress your jpeg & png images before uploading to the server (100% client-side and no extra libraries required!)
J I C is a Javascript Image Compressor using HTML5 Canvas & File API that allows you to compress your jpeg, png, and webp images before uploading to the server (100% client-side and no extra libraries requried!)
Could you imagine how much bandwidth we can save if Google, Twitter and r Facebook implement this image compression before we upload those 5MB photos? This approach will make the internet faster!!
You can check the working demo here : http://makeitsolutions.com/labs/jic/
Tags: #javascript
subscribe via RSS