Posts
-
rails_event_store
A Ruby implementation of an Event Store based on Active Record
Rails Event Store (RES) is a library for publishing, consuming, storing and retrieving events. It’s your best companion for going with an event-driven architecture for your Rails application.
You can use it:
- as your Publish-Subscribe bus
- to decouple core business logic from external concerns in Hexagonal style architectures
- as an alternative to ActiveRecord callbacks and Observers
- as a communication layer between loosely coupled components
- to react to published events synchronously or asynchronously
- to extract side-effects (notifications, metrics etc) from your controllers and services into event handlers
- to build an audit-log
- to create read-models
- to implement event-sourcing
Tags: #ruby • event-sourcing • rails
-
wordnet
Lexical database of any language
Open Source browsing application for Wordnet database
Tags: #ruby
-
remix-project
Remix is a browser-based compiler and IDE that enables users to build Ethereum contracts with Solidity language and to debug transactions.
Remix Project is a rich toolset including Remix IDE, a comprehensive smart contract development tool. The Remix Project also includes Remix Plugin Engine and Remix Libraries which are low-level tools for wider use.
Tags: #typescript • remix • remix-ide
-
awesome-README-templates
A collection of awesome readme templates to display on your github profile.
- Github README PROFILE CATEGORY
- List out
Awesome README Profile
Tools - List out
Awesome README Profile
Articles - Contribute
Tags: #javascript • readme • readme-template
-
widearea
Create expandable textarea and write large amount of text easily.
Really simple. Just include both
widearea.js
andwidearea.css
in your page (use minified version for production) and then call this JavaScript function:wideArea();
See online demo.
Tags: #javascript • textarea
-
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
subscribe via RSS