Categories
Javascript

How to Add Multiple Migrations in Truffle?

Migration, in general, is a very much known term for developers in different aspects. In general, it is the process of moving your application from one operating environment into another operating environment to upgrade it. But most of the backend developers use it to define the schema of your database.  In Ethereum blockchain we need […]

Categories
WordPress

How to Work with iFrame during WordPress Post Insertion?

Content sharing is fairly a common practice. However, featuring another creator’s content on your WP site has potential legal ramifications. In a nutshell, iFrame is a fruitful way to embed a web page into the content of another page. There are two situations where iFrames are generally useful. First, when you wish to share content […]

Categories
Javascript Uncategorized

How to Get Data from FCM while App is in Background in React Native?

The notifications module in React Native Firebase has support for both remote (FCM) and local notifications. Firebase Cloud Messaging (FCM) is a great way to notify users about something you want them to know. But you can do more instead of showing only the message to the client. So, how do you get data from […]

Categories
Javascript

Do We Need to Unsubscribe Angular HttpClient?

Is there any way we can unsubscribe Angular HttpClient manually? Fortunately, yes we have! But we don’t need to unsubscribe it. Instead, HttpClient observes until getting a response from API. And, once it gets the response, HttpClient unsubscribes automatically. Https use AsyncPipe for the response and the AsyncPipe subscribes to an Observable. It returns the […]

Categories
WordPress

Adding a Mime Type to WordPress

WordPress doesn’t have .xml as part of its default mime-types, so we need to add it ourselves. How can you do that? Search for wp_get_mime_types() function in the WordPress core files. You will find it inside the wp-includes/function.php. In the function, you will find a filter called mime_types. We have an appropriate filter now, and […]

Categories
PHP

CUT SHORT YOUR URL : YOURLS

YOURLS: Your Own URL Shortener How about having a pet name for your website. A short, geeky, precise URL for a long webURL is what YOURLS is. YOURLS is nothing but a set of PHP scripts and the best thing is all the versions of YOURLS are named after (metal) music celebrity. The latest one is YOURLS […]

Categories
Programming

XML vs YAML vs JSON

XML is commonly utilized for web application messaging – sending information back to a browser from a web server, or sending information between web accommodations. It’s dead facile to do this and it works very well, hence XML has become the de-facto cull for data exchange for web applications. Alternatives such as YAML and JSON have […]

Categories
PHP

Spawn FCGI vs FCGI Wrap

Before  I make out the differences a summary on FCGI that is the Fast Common Gateway Interface. FCGI is a fast, open, and secure binary Web server interface protocol. It is actually a CGI only with some additional plugins. Speeds of the incoming requests to a web site or a specific application programme increases by […]

Categories
Drupal modules Drush PHP

Drush:Powered by Drupal

Before starting with DRUSH, lets have a flashback about DRUPAL. Drupal is an open source content management, web development platform. Having a high modularized architecture Drupal has already made its mark in the WhiteHouse.gov and data.gov.uk. With no licence, no purchase, no maintenance Drupal is all set free to download, modify and use. Its Scalable starting from […]

Categories
HTML Programming

MarkDown Syntax Cheat Sheet for HTML

MarkDown Syntax Cheat Sheet How easy it would be if you make out a doc file and converting the same with a tool to get the required website. This is where Markdown Syntax comes from.A tool that converts text file to HTML or(XHTML). In a search for easy-to-read, easy-to-write plain text format and converting it […]