How to give Wi-Fi static IP address with Netplan on Ubuntu server
It is ideal for a server to have wired connections. Just in case you need to set up a server with wireless connections with static IP address. You can change any unnecessary YAML file names to .old or .bak as you like.
Setting up Range Extender, TP-LINK RE650 for the TekSavvy router, SmartRG SR516ac
First of all, you can read and follow the article below to understand the limitation of RE650 and to start the set-upWhy my Range Extender is unable to detect 5GHz wireless network of my root router? However, your 5GHz Band won’t work if the bandwidth of 5GHz is not set to 40MHz. The image below […]
[Qualtrics] How to use Regular Expression for field validation
Qualtrics provides many built in options for field validations. However, it is required to apply more sophisticated validation than default options. Regular Expression can be used for this kind of situation. First, if you need to allow only alphabet characters with spaces. You can select “Custom Validation” for Validation Type. Then, you can add regular […]
[Qualtrics] How to change log in message when Password Protection is selected from Survey Options
The default message of Password Protection can be inappropriate since it start with “This survey…”. For most of cases, this statement is true but it is not necessarily correct for all of cases. JavaScript can be used to change this message. You have to go to “Look & Feel” and click “edit” under “Header”. You […]
[Qualtrics] How to limit input text box size
It is possible to limit the size of text box by setting “maxlength” attribute of input text box JavaScript is used for this purpose to be precise it is jQuery script. jQuery can be inserted for each question by clicking gear shape icon. It will give you the option for “Add JavaScript”. The code below […]
[Qualtrics] How to set the maxlength for input text
When Custom Validation is used. It can be confusing for users because error messages do not show the exact reason for the error. The JavaScript code below can stop a respondent to type further than intended. The maximum length of the input text box below is set to 19. Javascript code can be inserted as […]
[PHP] How to know if string is encoded as UTF8 (Unicode?)
The method below was presented in php.net site and it works as intended for the most of time. Here is code to convert the string if string is encoded as UTF8.
[JavaScript] How to stop browser back button
This code is not mine and it is copied from Stack Overflow as usual. More detailed information about history.pushState can be seen HERE. Here is another link for popstate.
[Story] User Manual
My dear friend, Darwin who is hated mostly by religion leaders, is dying from an unknown and incurable disease. I may know what that disease is but I am no one but a historian who like to dig into ancient documents and there is nothing I can do except being a good company to him […]
[PHP] Allow access to PHP file for AJAX call only from files on local server
It is worthwhile to check with phpinfo() function if sever variables are all available for your server to implement the code as below.