Posts
-
react-intersection-observer
React component for the Intersection
API npm install --save @researchgate/react-intersection-observer
:warning: Please make sure you have the minimum node version installed (as defined in the package.json)
Otherwise you run into this build error:
The engine "node" is incompatible with this module. Expected version ">=10.18.1". Got "10.15.3"
Tags: #javascript • react • intersection-observer
-
ngStorage
localStorage and sessionStorage done right for AngularJS.
-
No Getter ‘n’ Setter Bullshit - Right from AngularJS homepage: “Unlike other frameworks, there is no need to […] wrap the model in accessors methods. Just plain old JavaScript here.” Now you can enjoy the same benefit while achieving data persistence with Web Storage.
-
sessionStorage - We got this often-overlooked buddy covered.
-
Cleanly-Authored Code - Written in the Angular Way, well-structured with testability in mind.
-
No Cookie Fallback - With Web Storage being readily available in all the browsers AngularJS officially supports, such fallback is largely redundant.
Install
Tags: #javascript
-
-
MultiItem
一个优雅的实现多类型的RecyclerView类库 支持DataBinding Form表单录入 跨多个RecyclerView拖动
RecyclerView
是一个大家常用的列表控件,在列表中不免会出现多种类型的布局,这时adapter
中多种类型的判断就会充满着switch
的坏味道,可怕的是需求变更,增加或修改新的类型时,所有的改动都在adapter
中进行,没有一个良好的扩展性。MutliItem
主要就是解决这些问题,提供了多类型和ViewHolder
创建绑定的管理器,自动进行item type
的计算,这样Adapter
通过依赖倒置与列表中的多类型解耦,还提高了扩展性。有以下特点:- 直接使用业务中的实体类为
RecyclerView Adapter
设置数据源,不需要做任何封装 RecyclerView Adapter
零编码,解放了复杂的Adapter
类- 支持
DataBinding
,让你清爽的编写列表代码 - 支持Form表单录入,懒加载易复用,支持
DataBinding
、隐藏域、输入内容验证及是否变化 - 支持
Header
Footer
和 下拉刷新 加载更多 - 支持
Item
滑动动画 - 支持空白、错误等状态页的展示
Tags: #java • recyclerview • android
- 直接使用业务中的实体类为
-
laravel-soft-cascade
Cascade Delete & Restore when using Laravel SoftDeletes
Cascade delete and restore when using the Laravel or Lumen SoftDeletes feature.
Tags: #php
-
cfn_nag
Linting tool for CloudFormation templates
The cfn-nag tool looks for patterns in CloudFormation templates that may indicate insecure infrastructure. Roughly speaking, it will look for:
- IAM rules that are too permissive (wildcards)
- Security group rules that are too permissive (wildcards)
- Access logs that aren’t enabled
- Encryption that isn’t enabled
- Password literals
For more background on the tool, please see this post at Stelligent’s blog:
Tags: #ruby • continuous-testing • unit-testing
-
retroarch-joypad-autoconfig
RetroArch joypad autoconfig files
This repository stores joypad autoconfig files for RetroArch, the reference frontend for the libretro API.
The autoconfig files included in this repository are used to recognize input devices and automatically setup default mappings between the physical device and the RetroPad virtual controller.
Tags: #ruby
-
spring4shell-scan
A fully automated, reliable, and accurate scanner for finding Spring4Shell and Spring Cloud RCE vulnerabilities
- Support for lists of URLs.
- Fuzzing for more than 10 new Spring4Shell payloads (previously seen tools uses only 1-2 variants).
- Fuzzing for HTTP GET and POST methods.
- Automatic validation of the vulnerability upon discovery.
- Randomized and non-intrusive payloads.
- WAF Bypass payloads.
Tags: #python
-
exllamav3
An optimized quantization and inference library for running LLMs locally on modern consumer-class GPUs
ExLlamaV3 is an inference library for running local LLMs on modern consumer GPUs. Headline features:
- New EXL3 quantization format based on QTIP
- Flexible tensor-parallel and expert-parallel inference for consumer hardware setups
- OpenAI-compatible server provided via TabbyAPI
- Continuous, dynamic batching
- HF Transformers plugin (see here)
- HF model support (see supported architectures)
- Speculative decoding
- 2-8 bit cache quantization
- Multimodal support
The official and recommended backend server for ExLlamaV3 is TabbyAPI, which provides an OpenAI-compatible API for local or remote inference, with extended features like HF model downloading, embedding model support and support for HF Jinja2 chat templates.
Tags: #python
-
DPlayer-Typecho
Typecho plugin for DPlayer
DPlayer for typecho
Tags: #php
-
Leaflet.draw
Vector drawing and editing plugin for Leaflet
Adds support for drawing and editing vectors and markers on Leaflet maps.
Supports Leaflet 0.7.x and 1.0.0+ branches.
Please check out our Api Documentation
Tags: #javascript
subscribe via RSS