Posts
-
react-styleable
React Component for portable styles
Consistent, easy overrides for CSS Modules in React Components
Tags: #javascript • react • css-modules
-
alloy-editor
WYSIWYG editor based on CKEditor with completely rewritten UI
Alloy Editor is a modern WYSIWYG editor built on top of CKEditor, designed to create modern and gorgeous web content.
Works on IE11, Chrome, Firefox and Safari.
Tags: #javascript • wedeploy
-
nandi
Fear free PostgreSQL migrations for Rails
Friendly Postgres migrations for people who don’t want to take down their database to add a column!
Tags: #ruby
-
python-rtmbot
A framework for receiving and interacting with events from Slack’s RTM API
All events from the RTM websocket are sent to the registered plugins. To act on an event, create a function definition, inside your Plugin class, called process_(api_method) that accepts a single arg for data. For example, to handle incoming messages:
def process_message(self, data): print dataThis will print the incoming message json (dict) to the screen where the bot is running.
Plugins having a method defined as
catch_all(self, data)will receive ALL events from the websocket. This is useful for learning the names of events and debugging.For a list of all possible API Methods, look here: https://api.slack.com/rtm
Note: If you’re using Python 2.x, the incoming data should be a unicode string, be careful you don’t coerce it into a normal str object as it will cause errors on output. You can add
from __future__ import unicode_literalsto your plugin file to avoid this.Tags: #python
-
php-rest-api
This repository contains the open source PHP client for MessageBird’s REST API.
- Download composer
- Run
composer require messagebird/php-rest-api.
Tags: #php
-
next-compose-plugins
💡next-compose-plugins provides a cleaner API for enabling and configuring plugins for next.js
Provides a cleaner API for enabling and configuring plugins for next.js because the default way next.js suggests to enable and configure plugins can get unclear and confusing when you have many plugins.
It is often unclear which plugins are enabled or which configuration belongs to which plugin because they are nested and share one configuration object. This can also lead to orphaned configuration values when updating or removing plugins.
While
next-compose-pluginstries to eliminate this case by providing an alternative API for enabling and configuring plugins where each plugin has their own configuration object, it also adds more features like phase specific plugins and configuration.Tags: #javascript • nextjs • plugin
-
react-native-gallery-toolkit
Reanimated 2 powered gallery implementation
Use npm or yarn to install the library
npm i --save react-native-gallery-toolkitAlso, you need to install react-native-reanimated@2.0.0-alpha.7 (the new 2 version) and react-native-gesture-handler, and follow their installation instructions.
Expo is not currently supported because this library uses the latest version of Reanimated 2 (expo supports right now only alpha.6.1).
Tags: #typescript • gallery • android
-
DiscordPHP
An API to interact with the popular messaging app Discord
Before you start using this Library, you need to know how PHP works, you need to know the language and you need to know how Event Loops and Promises work. This is a fundamental requirement before you start. Without this knowledge, you will only suffer.
Tags: #php • discord • team-reflex
-
http-client
Async HTTP/1.1+2 client for PHP based on Amp.
- Supports HTTP/1 and HTTP/2
- Requests concurrently by default
- Pools persistent connections (keep-alive @ HTTP/1.1, multiplexing @ HTTP/2)
- Transparently follows redirects
- Decodes compressed entity bodies (gzip, deflate)
- Exposes headers and message data
- Streams entity bodies for memory management with large transfers
- Supports all standard and custom HTTP method verbs
- Simplifies HTTP form submissions
- Implements secure-by-default TLS (
https://) - Supports cookies and sessions
- Functions seamlessly behind HTTP proxies
Tags: #php • artax • amphp
-
persian-tools
An anthology of a variety of tools for the Persian language in javascript
- Convert Persian words to the number.
- Convert Numbers to Persian words.
- Add and remove commas to numbers.
- Convert Persian numbers to Arabic or English numbers and vice versa.
- Validate Iranian national number(code-e Melli).
- Find city and province name by national code(code-e Melli).
- Bill calculator.
- Check Iranian Sheba(IBAN) validation and recognize bank information by sheba code.
- Validate Bank card number.
- Find Bank’s name by Card number.
- Validate the correctness of the text of the Persian language and clear the Arabic letters in the Persian text.
- Fix Persian characters in URL.
- Fix Persian zero-width non-joiner(Replace spaces by half-space)
Tags: #typescript • number-to-words • words-to-numbers
subscribe via RSS