This API enables cross-origin requests to anywhere. Usage: Shows help /iscorsneeded This is the only resource on this host which is served without CORS headers. Create a request to <url>, and includes CORS headers in the response. If the protocol is omitted, it defaults to http (https if port 443 is specified). Cookies are disabled …
Better PR chrome extension
Most developers are using PR to review codes on github. This chrome extension is very helpful for that. https://chrome.google.com/webstore/detail/better-pull-request-for-g/nfhdjopbhlggibjlimhdbogflgmbiahc?hl=en Please download the chrome extension and go to PR page of github. Maybe you will see a conformation dialog. Please enable on that. Then you will see the file structure on left side like sublime or …
Stripe Connect and Connect Payouts
Businesses use Stripe Connect to accept funds and pay out millions of third parties. Connect Payouts gives you the same funds routing, recipient UIs, and compliance capabilities for just your business’s payouts—no matter how you accept funds. Previously, Stripe Connect required that payouts were linked to incoming payments. Now, you can use Connect Payouts to …
Introduction about Rodal
A React modal with animations. http://chenjiahan.github.io/rodal/ Installation React 15/16 React 0.14 Usage Props Property Type Default Description width number 400 width of dialog height number 240 height of dialog measure string px measure of width and height onClose func / handler called onClose of modal onAnimationEnd func / handler called onEnd of animation visible bool …
Sinonjs – Standalone test fakes, mocks, stubs for JavaScript
SinonJS provides stand alone test spies, stubs and mocks. This is the mechanism we’ll be using to create our spies, stubs and mocks. Spies: Creates fake functions which we can use to track executions. This means we can tell/ find out whether the function has been executed/ how many times its been called etc. We can also …
A/B testing by Google Optimization
Google Optimization is best service for A/B testing. We can implement A/B testing by Google Analytics and Google Optimization. Already Google Analytics is containing the Google Optimization. We can simply do testing by UI without changing code manually. Please create google analytics account by google account and go to google optimization on the dashboard. And …
Session and Web Controller Functions in Yii Console Application
Session and Web Controller Functions are not available in Yii console applications. For example, you can not use redirect() function in CronJob. Also, you can not use Session::setFlash() function that is related to session.
JavaScript Event Capturing and Bubbling
In JavaScript, The event handling process: When an event happens – the most nested element where it happens gets labeled as the “target element” (event.target). Then the event first moves from the document root down to the event.target, calling handlers assigned with addEventListener(…., true) on the way (true is a shorthand for {capture: true}). Then the event moves from event.target up to …
Paypal payout integration in Node.js
In the web application development, you may have to integrate PayPal payment API because PayPal is one of the most popular payment method in modern ecommerce online merchants. In Node.js based applications, there is a simple SDK https://www.npmjs.com/package/paypal-rest-sdk Next, you need to create sandbox account on PayPal developer account dashboard https://developer.paypal.com/developer/applications Obtain client_id and client_secret …
Angular Internationalization (i18n)
Application internationalization is a many-faceted area of development, focused on making applications available and user-friendly to a worldwide audience. This page describes Angular’s internationalization (i18n) tools, which can help you make your app available in multiple languages. See the i18n Example for a simple example of an AOT-compiled app, translated into French. Angular and i18n Internationalization is the …