Js,Ts,Css
Javascript cookie manipulation
Get cookie by name Return cookie value by name. If not found return null Get all cookie names Set cookie by name, value and days Erase cookie More info: https://www.quirksmode.org/js/cookies.html
Get cookie by name Return cookie value by name. If not found return null Get all cookie names Set cookie by name, value and days Erase cookie More info: https://www.quirksmode.org/js/cookies.html
Simple rule to rewrite the traffic from index.html to index.php. Useful quick fix for wordpress websites. If you’re using apache httpd server You can deploy this rule inside the .htaccess file, the one inside the root folder, or inside the httpd.conf in the proper section More info: https://httpd.apache.org/docs/2.4/rewrite/flags.html Other webserver Read more…
If you are using a system with dual boot (windows + ubuntu) you can experience a painful bug. Ubuntu, and other unix system, uses a different way to display the time to the user. A quick fix could be install the service timesyncd that provide an internet sync with the Read more…
Ifconfig Ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is needed. Netstat Netstat prints information about the Linux networking subsystem Ps ps displays information Read more…
Mini script to inject javascript script runtime. Useful to manage cookie policy.
For break Classical for loop.. nothing to talk about it. Some loop The some() method tests whether at least one element in the array passes the test implemented by the provided function. It returns true if, in the array, it finds an element for which the provided function returns true; Read more…
If you want to trigger and event of “keydown” or “keyup” using a browser coming from an Android device be aware that Android will always send the keyCode = 229 and so you are not able to use that data in the standard way Example To avoid this problem I’d Read more…