Posts
-
devise-pwned_password
Devise extension that checks user passwords against the PwnedPasswords dataset
Devise extension that checks user passwords against the PwnedPasswords dataset (https://haveibeenpwned.com/Passwords).
Checks for compromised (“pwned”) passwords in 2 different places/ways:
- As a standard model validation using pwned. This:
- prevents new users from being created (signing up) with a compromised password
- prevents existing users from changing their password to a password that is known to be compromised
- (Optionally) Whenever a user signs in, checks if their current password is compromised and shows a warning if it is.
Based on devise-uncommon_password.
Recently the HaveIBeenPwned API has moved to an authenticated/paid model, but this does not affect the PwnedPasswords API; no payment or authentication is required.
Tags: #ruby
- As a standard model validation using pwned. This:
-
redlock-rb
Redlock is a redis-based distributed lock implementation in Ruby. More than 20M downloads.
Distributed locks are a very useful primitive in many environments where different processes require to operate with shared resources in a mutually exclusive way.
There are a number of libraries and blog posts describing how to implement a DLM (Distributed Lock Manager) with Redis, but every library uses a different approach, and many use a simple approach with lower guarantees compared to what can be achieved with slightly more complex designs.
This is an implementation of a proposed distributed lock algorithm with Redis. It started as a fork from antirez implementation.
Tags: #ruby • redis • lock
-
ouroboros
Automatically update running docker containers with newest available image
Ouroboros will monitor (all or specified) running docker containers and update them to the (latest or tagged) available image in the remote registry. The updated container uses the same tag and parameters that were used when the container was first created such as volume/bind mounts, docker network connections, environment variables, restart policies, entrypoints, commands, etc.
- Push your image to your registry and simply wait your defined interval for ouroboros to find the new image and redeploy your container autonomously.
- Notify you via many platforms courtesy of Apprise
- Serve metrics for trend monitoring (Currently: Prometheus/Influxdb)
- Limit your server ssh access
ssh -i key server.domainname "docker pull ... && docker run ..."is for scrubsdocker-compose pull && docker-compose up -dis for fancier scrubs
Tags: #python • docker • docker-container
-
nodo
Call Node.js from Ruby
Nodoprovides a Ruby environment to interact with JavaScript running inside a Node process.ノード means “node” in Japanese.
Tags: #ruby • javascript • node
-
waybackpy
Wayback Machine API interface & a command-line tool
Waybackpy is a Python package and a CLI tool that interfaces with the Wayback Machine APIs.
Internet Archive’s Wayback Machine has 3 useful public APIs.
- SavePageNow or Save API
- CDX Server API
- Availability API
These three APIs can be accessed via the waybackpy either by importing it from a python file/module or from the command-line interface.
Tags: #python • internet-archive • wayback-machine
-
OWASPWebGoatPHP
A deliberately vulnerable web application for learning web application security.
The proposal of the project can be found here
Tags: #php
-
JoL-player
simple and beautiful, powerful react player
- 📦 High-quality React components out of the box.
- 🛡 Use TypeScript to develop, provide a complete type definition file.
- 🌍 Internationalized language support.
- 🎨 Themes, components, customization capabilities.
- :facepunch: Powerful API and callback function
- :zap: Small size, 80kb
- :gem: Support
HLSformat (m3u8) etc. - 🛡 support React
v18+Version
Tags: #typescript • react • video
-
fastD
:rocket: A high performance PHP API framework.
- PHP >= 5.6
- ext-curl
- ext-pdo
- ext-swoole
Tags: #php • high-performance • swoole
-
Simple-PHP-Contact-Form
A Simple Contact Form developed in PHP with HTML5 Form validation.
A Simple Contact Form developed in PHP with HTML5 Form validation. Has a fallback in JavaScript for browsers that do not support HTML5 form validation.
Tags: #php • contact-form
-
presto-hbase-connector
presto hbase connector 组件基于Presto Connector接口规范实现,用来给Presto增加查询HBase的功能。相比其他开源版本的HBase Connector,我们的性能要快10到100倍以上。
The component is implemented based on the Presto Connector interface specification and is used to add the ability to query HBase to Presto.
Our performance is 10 to 100 times faster than other open source versions of the HBase Connector.
Tags: #java
subscribe via RSS