Categories
User Help

Slow upload speed in every browser in Windows 10

I’m experiencing slow upload speeds from every browser (Chrome, Firtefox, Opera, Edge) of 0.7Mbps~1.2Mbps. When using the Ookla CLI tool, windows store Ookla Speedtest, or Android Speedtest (on WiFi) I get upload speeds of ~3.4Mbps which is consistent with what the ISP should deliver. Same behavior can be observed with other services (OK from any […]

Categories
Mastering Development

XMLHttpRequest bad behaviour loading XML files

Last year I discovered that XMLHttpRequest was misbehaving on some files on some browsers. Notably it didn’t like reading some (but not all) xml files in the root of a site. I finally got the time to see if I could come up with something that worked across browsers. My solution is to place the […]

Categories
Mastering Development

PHP do_shortcode in custom php file

I’ve created a little bit of js that passes three variables to my php script loadtable.php. This php file is stored in my child theme folder and its contents are as follows: <?php $d = Date(‘Y-m-d’, strtotime($_GET[‘d’])); $c = $_GET[‘c’]; $b = $_GET[‘b’]; $shortcode = “[wpdatatable id=3 var1=”.$b.” var2=”.$d.” var3=”.$c.”]”; echo do_shortcode(‘$shortcode’); The js part […]

Categories
Linux Mastering Development Ubuntu

Backup such that all programs are saved as well

I just recently found out here that the Deja Dup Backup tool does not backup the programs (Python, pip3, Opera, …): Backup with Deja Dup Backup Tool Therefore, I would like to ask you whether you know which free and open-source options there are for doing a backup of programs. (Please note that I do […]

Categories
Linux Mastering Development Ubuntu

Backup with Deja Dup Backup Tool

Here, I found an instruction on a backup with the built-in backup tool of Ubuntu: https://www.howtogeek.com/108869/how-to-back-up-ubuntu-the-easy-way-with-dj-dup/ However, I was just wondering that if I backed up my entire home folder to an external USB drive, would also all the installed packages and programs (Python3, pip, Opera, …) be saved in the backup file? And can […]

Categories
Development User Help

Mathematical symbols issue in displaying

I’m having a strange issue on my android device. Oh, this is mathematical: On my android device, using Brave, Opera, or DDG browsers I cannot see many symbols in mathematical pages on wiki. The symbols do not show up or are showing up as white. It seems to be just a few symbols but it […]

Categories
Development Linux Ubuntu

How can i enter youtube without VPN? [closed]

Last year here is forbidden to access youtube. Then i have begun vpn to acces to youtube. Later time prohibition was eliminated. Now Accecing to youtube is free, but i can’t enter youtube without vpn. I tried several browser Chrom, Firefox, Opera, Konquaror, Luakit, Falcon, Dillo,and so on. But i cant access it. I don’t […]

Categories
CMS Development Wordpress

Site only working in browser where i created it

I built a site. I used google chrome to do it. Everything works properly…, in google chrome [only on this computer]. (logged in to wp-admin, and out too) But… The site don’t work in any other browsers or computers. None of them (i tried IE, Edge, Opera, Safari [ios]). The site load in, but none […]

Categories
AJAX Development MySQL PHP SQL

Clocking in system PHP, Ajax, Mysql

I’m attempting to write some code that enables my colleagues to clock in/out. Firstly, they select the month they are born, then all names appear for that month. This data is retrieved from a DB. That all works with this code (I got the majority from this site) – (index.html) (This part works, and will […]

Categories
Development

Patching document.write on Edge and IE

Here is a simple monkey patch for document.write which works in all major browsers but MS Edge and IE. <!DOCTYPE html> <html> <head> </head> <body> <iframe id=”first” width=”300″ height=”250″></iframe> <script> var ifr = document.getElementById(‘first’); var doc = ifr.contentWindow.document; console.log(‘Before patching:’, doc.write); (function(doc) { var originalWrite = doc.write; doc.write = function() { console.log(‘Patched’); return originalWrite.apply(doc, arguments); […]