I'm developing my new profile website. I want to reduce the loading time of my page. Google Chrome also provides the tool to help developer to analyze the websites. So it's time to play with the "Google Chrome Inspect Element to Analyze the website"
1. I want to see how each element take time to load.
then I go back and modify some images and code. This is the result.
For the images I use the Photoshop "Save as Web" feature to help me consider which option is the best for my website. Actually, I will reduce the quality of the images down to 60-80% depend on each images.
This will greatly reduce the image file size but it still look beautiful. Furthermore, there are other options e.g. reduce the number of colors, reduce image size, use the vector file and more. This Technics are depend on each images. In the example below, You can see that jpg format gives the better image quality compare to .gif at the same file size. I think jpg is great for photo while g…
I love to keep my favorite musics on youtube. As the time go on some music has been deleted. So I have to download it and keep it local. But keep it as a video file will waste too much storage so I want to convert to mp3 file. After doing research I found a great solution. just one command to make things done. This app will download every youtube video in the list (and yet it can download a single video) then convert each video to mp3 files.
How to install Open terminal /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install youtube-dl youtube-dl --extract-audio --audio-format mp3 --ignore-errors <www.youtubeUrl-or-playlistUrl>