Archives for General - Page 6
PHP: file_get_contents NUL value
Somehow when i read the content of some files with file_get_contents, i see NUL value, the text file seems OK when i open with notepad or other text utility....
Want to Backup your ICloudPhotos to your local hard drive?
I want to regularly backup/copy my icloud photos to local hard drive. Why ? i need them in a file system on machine so i can do tasks faster....
Some Metrics Missing in Graphites?
We use Graphite to store time series metrics for Sitespeed run result. Each of Sitespeed page result data contains more than 500 metrics. It’s interesting that we only see...
Sitespeed – New tab when clicking on a link
There was a known issue when you use chrome browser – if you click on a link and it opens a new tab, you will get some errors. This...
Linux: Find empty file and delete them
For the current directory only: find ./ -maxdepth 1 -type f -size 0 | xargs rm -f Include all sub directories find ./ -type f -size 0 | xargs...
ICloud Photos Backup?
Have you ever thought of backing up your icloud photos to your own disk? Well, i haven’t found tools to do this job yet. I spent few hours to...
Puppeteer: Client certificate authentication
I was struggling with the client certificate with Puppeteer. Can you use client certificate for authentication? Yes, you can , but you have to do 3 things: –...
Some reason to use Sitespeed vs Puppeteer
If a site require a certificate authentication- puppeteer will throw out navigation error – we can’t handle it. Sitespeed seems to use the normal Chrome instead of Chromium
Puppeteer docker – it’s hanging
If you run a puppeteer script with docker and the docker was hang. It’s probably because your browser is still running, you might have some exceptions that cause your...
Puppeteer – Headless or Normal mode
When you run puppeteer, you can either to run it in headless mode or normal mode, headless is a little bit faster. Which one you should use? In my...