Google reCaptcha is a great way to keep any spam and fake accounts on your app/website in check. In this tutorial we’re going to look at how to add reCaptcha to register/sign up page of a vuejs app to ensure that whoever signs up is in fact a human being. The flow is as follows. User fills in …
Is There Limitation of Variables in Form Submission?
Yes, You may need to submit over 1000 variable data from Web Form. In this case, the number of variables are default limited by 1000 variables in PHP This is default configuration in php.ini file. If you need more, please set the max_input_vars=5000 in php.ini Reference: http://php.net/manual/en/info.configuration.php#ini.max-input-vars
Best way to use multiple SSH private keys on one client
From my .ssh/config:
Get tired from node-gyp error in npm install?
It’s really fucking that when you get node-gyp permission error installing npm packages. There is a trade-off.You can workaround by adding –unsafe-perm to the npm install command. You can install the package peacefully.
Synergy – use one mouse and keyboard for mac and windows
Synergy is a software download that shares one mouse and one keyboard between multiple computers. It combines your desktop devices together into one cohesive experience. You can even copy and paste between your computers. Synergy works on Windows, macOS, Linux, and Raspberry Pi. You only need a regular WiFi or Ethernet connection. Simply move your …
How to make self-signed certification work in google chrome
In some cases, we are forced to use https even on local development server. We can use OpenSSL to issue SSL certification, which can be used with Apache, nginx or node server. Steps are as follows:1. generate key for rootCA2. create rootCA3. create key for serverCA4. create certification request for server (domain)5. create serverCA using …
Ethereum Tokens Explorer
It is the similar blockchain explorer as etherscan.io.Etherscan.io only provides basic APIs for developers but Ethplorer provide much more rich APIs and more detailed information about ERC20 tokens.Disadvantage of this explorer is we can’t guarantee the accuracy of provided data. (It is noted in their official documentation.)https://ethplorer.io/
Sorting images automatically in HTML, and implement the gallery module
In real website coding, we are facing some challenges to create the complex gallery module in HTML or on the WordPress landing page sites. Fortunately, there are already pre-built libraries we can use or refer on, so we don’t need to waste our time to re-build them from scratch. Here are some of the image …
Brief overview of Hacking Attacks
SQL injection: SQL injection is a code injection that might destroy your database. For example if there is an input box in the form name and button Search. When we click search button we send name parameter to the back-end and back-end executes a query like ‘SELECT * from user WHERE name=’ + name. But …
Browserify
Browserify is elegant and fast. It makes frontend development fun again! That’s why we used it to build Yahoo’s new HTML5 video player. At Mapbox we build our website and JavaScript API with Browserify. It makes the structure and modularity of our code rock. Browserify does exactly what it says it does and it does …