REBASS

REACT PRIMITIVE UI COMPONENTSBUILT WITH STYLED SYSTEM Getting Started Install the core Rebass library. npm i rebass ThemeProvider By default, Rebass components are stylistically unopinionated and do not include a theme. You can add a theme to your application with a ThemeProvider component and by providing a theme in context. For this guide, use the Emotion ThemeProvider with the …

Gitea

Gitea is a community managed lightweight code hosting solution written in Go. It is an open-source forge software package for hosting software development version control using Git as well as other collaborative features like bug tracking, wikis and code review. It supports self-hosting but also provides a free public first-party instance hosted on DiDi’s cloud. Cross-platform …

GraphQL Code Generator

GraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are developing a frontend or backend, you can utilize GraphQL Code Generator to generate output from your GraphQL Schema and GraphQL Documents (query/mutation/subscription/fragment). By analyzing the schema and documents and parsing it, GraphQL Code Generator can output code at …

NPM – react-native-redash

Utility library for React Native Gesture Handler and Reanimated. Installation yarn add react-native-redash ⚠️ v1 Users ⚠️ v1 documentation: https://wcandillon.github.io/react-native-redash-v1-docs/ To access functions that work with Reanimated v1 nodes, use the following import: import {usePanGestureHandler} from “react-native-redash/lib/module/v1”; To add TypeScript support for the v1 functions, add the following type to your tsconfig: “include”: [“node_modules/react-native-redash/lib/typescript/v1/index.d.ts”] Animations …

Creating an efficient development workflow for Hubspot

Creating an efficient development workflow for Hubspot

Setting up an efficient developer workflow will help you work more effectively when building websites on the HubSpot CMS. Depending on the nature of your web development team, or the nature of a specific project, your workflow may differ.  For example, a single developer building out a new site in a new HubSpot CMS account …

CKEditor – Content Filtering

Advanced Content Filter (ACF) is a CKEditor core feature that filters incoming HTML content by transforming and deleting disallowed elements, attributes, classes and styles. If you paste content into CKEditor 4 and notice that some elements are removed, then chances are high that it was removed by ACF. Allow everything (disable ACF) config.allowedContent = true; // Allow …

Draw Entity-Relationship Diagrams, Painlessly

A free, simple tool to draw ER diagrams by just writing code.Designed for developers and data analysts. Enjoy the Efficiency of Writing Code You type and an ER diagram appears. Your fingers never need to leave your keyboard. Export to Images and PDFs Create beautiful PDFs of your ER diagram to circulate internally. Who says …

Some tips to reinforce security in Laravel

Prevent from Brute-force attack In Laravel 7, Illuminate\Foundation\Auth\ThrottlesLogins is already there in LoginController which is used to prevent brute-force attack. Route::post(‘login’, ‘Auth\LoginController@postLogin’)->middleware(“throttle: maxAttempts, decayMinutes“); Prevent from going back in browser history after login/logout After logout, users should not be able to go back to the previous page by using browser’s “back” button. We need to add …