Posts
-
Specify
BDD style code blocks for PHPUnit / Codeception
Requires PHP >= 7.4
- Install with Composer:
composer require codeception/specify --dev- Include
Codeception\Specifytrait in your tests.
Tags: #php • codeception • bdd-style
-
UPNG.js
Fast and advanced PNG (APNG) decoder and encoder (lossy / lossless)
A small, fast and advanced PNG / APNG encoder and decoder. It is the main PNG engine for Photopea image editor.
- Examples of PNGs minified by UPNG.js
- Try UPNG.js in Photopea - open an image and press File - Save for web, play with the Quality
- UPNG.Photopea.com - a separate minifier app, that uses UPNG.js
- Support us by making a donation.
Download and include the
UPNG.jsfile in your code.Tags: #javascript
-
BigInteger.js
An arbitrary length integer library for Javascript
BigInteger.js is an arbitrary-length integer library for Javascript, allowing arithmetic operations on integers of unlimited size, notwithstanding memory and time limitations.
Update (December 2, 2018):
BigIntis being added as a native feature of JavaScript. This library now works as a polyfill: if the environment supports the nativeBigInt, this library acts as a thin wrapper over the native implementation.Tags: #javascript
-
learning-react-native
Code samples for the book Learning React Native.
Code samples for the book Learning React Native. You can get the book from Amazon. More info about the book is available from O’Reilly.
Tags: #javascript • react-native • react
-
smartthings
A fork of the Home Assistant SmartThings Integration. This adds better support for Samsung OCF Devices.
A fork of the Home Assistant SmartThings Integration. This adds better support for Samsung OCF Devices.
This current integration is not being updated, only fixed if HA update breaks it!
Due to the immense interest to this integration I would like to build a new one that runs alongside the official Smartthings integration. This current integration is not maintainable since it was only meant for minor tweaks for myself adding missing functionality which the basic Smartthings API does not provide. I have no need for this new integration myself so I would be asking money for it and would be releasing it closed source until I have gathered 2000€ from the integration. After that I would be releasing it as open source.
If you are interested, please vote in discussions
Tags: #python • hacs-integration • smartthings
-
syncClient
syncClient,数据实时同步中间件(同步mysql到kafka、redis、elasticsearch、httpmq)!
syncClient,数据实时同步中间件(同步mysql到kafka、redis、elasticsearch、httpmq)!
本项目使用canal,将mysql的表数据实时同步到kafka、redis、elasticsearch、httpmq;
基本原理:
canal解析binlog的数据,由syncClient订阅,然后实时推送到kafka或者redis、elasticsearch、httpmq、ssdb;如果kafka、redis、es、httpmq服务异常,syncClient会回滚操作;canal、kafka、redis、es、httpmq的异常退出,都不会影响数据的传输;
目录:
bin:已编译二进制项目,可以直接使用;
src:源代码;
配置说明:
Tags: #java • canal • elasticsearch
-
react-headroom
Hide your header until you need it
Hide your header until you need it.
Tags: #javascript
-
YViewPagerDemo
[停止维护]YViewPager,support horizontal and vertical,based on support.v4.view.ViewPager
YViewPager,support horizontal and vertical,based on
support.v4.view.ViewPagerTags: #java • viewpager • verticalviewpager
-
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
-
blog
Lightweight self-hosted facebook-styled PHP blog.
This is a simple self-hosted, lightweight, singe-user PHP blog, where you can create your own Facebook-like feed. Give read access to other people, and you can share rich text with photos including highlighted code or links.
In this context lightweight means:
- No npm dependency, there won’t be an annoying 1GB
node_modulesdirectory. - No pipeline. What you see is pure code without a need to install it.
- No overhead, essential features, simple usage.
Tags: #php • blog • lightweight
- No npm dependency, there won’t be an annoying 1GB
subscribe via RSS