Javascript CNP Validator
You can use the function in this file to validate your CNP string.
Smaller solutions in my every day work. Also solving more complex problems I have encountered . If I may, reflections of my experience so far.
You can use the function in this file to validate your CNP string.
The following code will convert an object to an array in Javascript, minding the order of the keys.
Use the following commands to change the URL of a WordPress website directly inside the mysql database:
If “ENOENT, stat” error orccurs, manually create the folder at the displayed path. In this case, in “C:\Users\Username\AppData\Roaming\” the folder “npm” does not exist.
This error appears when the map variable of Openlayers has a different SRS than the wanted layer. When the SRS of the source for the layer cannot be changed, you can use: Here is a full example of a layer:
The following function will help you check if there is an overlap between a certain feature and a layer. In order to work, the example needs ol3 and the JSTS library loaded.
Sometimes, the programs you use to connect to your PC (e.g. TeamViewer) might fail and your computer might need a reboot to start them again. If your Web server running PHP is still up and running and you have a…
The code below will help you make Twitter’s Boostrap accordion widget as high as the column it is inserted in. It has been tested in version 3.3.4.
Use the following code to disable the navbar collapse in Twitter’s Bootstrap version 3.3.4: then add the .off class to each of the lists and the .no-collapse class to the main container. You can find a jade usage example here:…
The example below adds a tag to the bottom of the page.
Problem: trying to start an Apache server on port 80 fails due to the fact that the 80 is not available.
You can use the following code to put a menu in a shortcode: Source: