Author: Webner
Salesforce | SingleEmailMessage REST API and C# consumer
Creating Custom Email Rest API Apex class in Salesforce using SingleEmailMessage class and C# example code to consume the Api My web application was integrated with Salesforce and I had a requirement to use Salesforce as Email Client, but with a
Some GrapesJS Editor Customization Tips
GrapesJS is an open-source, Web Builder Framework to build HTML templates without any knowledge of coding. Some tips for customizing GrapesJS Editor: 1. To add custom blocks in block manager. Add this code to block manager json with other blocks:
Salesforce | Convert API only User to Normal User using Data Loader
By mistake if you have only 1 userid and you change that also to API only, then you cannot login to Salesforce. In this case how to convert Salesforce “API only” User to “Normal” User using Data Loader? Salesforce API
CSS | Some good practices
Below are some CSS best practices that every developer and designer should follow to write better code. Reset user agent stylesheet or default styling of the browser : There are default CSS properties in website pages that come from “user
Add floating buttons with simple HTML and CSS
Add float button with CSS and html without using any external library with on hover show/hide effect. Mostly people use third party plugins or complex and unnecessary long css to add floating buttons, but we can create the same button
Document Spring based Restful API using Swagger
Swagger is a very powerful tool to generate documentation of your Rest based web services API containing Spring annotations. You don’t need to add any type of comments to your code to generate documentation. It will pick the Spring annotations
Postgres | Function to remove HTML tags from text
Problem: How to create a function in Postgres that will remove HTML tags from a piece of text? Solution: Create function in Postgres : CREATE OR REPLACE FUNCTION strip_tags(TEXT) RETURNS TEXT AS $$ SELECT regexp_replace($1, ‘]*>’, ”, ‘g’) $$ LANGUAGE
Dynamic CSS | How to start your project in SCSS
Before understanding how to maintain or start a project in SCSS we should understand what is SCSS and why it is used? SCSS is a special type of file for SASS, a program written in Ruby that assembles CSS style
Migrate AWS EC2 machine using Snapshot Sharing
How to migrate an EC2-machine from one AWS account to another aws account? Solution: To migrate EC2 machine, there are following main steps: Create Snapshot of the existing machine drives. Migrate the EC2 machine. Upgrade/downgrade migrated machine configuration. Step 1: Create
