Posts

Showing posts from January, 2018

Search for inline css in html file with atom using regex

In Atom or any text editor that supports regex search, you can use this to search for the inline css styles in a HTML file: style='[^']*' or double quote: style="[^"]*" Awesome!

Backup and Restore your Google Site

Image
The public Google Sites (old version) does not give you an option to download a backup of your site so it will be a problem if you want to migrate to another place. Fortunately, a project (was originally hosted on Google Code) on Github that can make a copy of your site: "...using HTML Microformats it generates an XHTML version of Sites content suitable for offline browsing and simple HTTP hosting, which is also able to be losslessly imported back into sites." https://github.com/sih4sing5hong5/google-sites-liberation In Ubuntu you can use the tool as follows: 1. Install Java (I tested it with OpenJDK 8) 2. Download the jar package (It's version 1.0.6 when I'm writing this post): https://sih4sing5hong5.github.io/google-sites-liberation/jar/google-sites-liberation-1.0.6-jar-with-dependencies.jar 3. Execute the jar file to open the graphic interface: java -jar google-sites-liberation-1.0.6-jar-with-dependencies.jar With: Host: If not sites.google.c...

My wedding ceremony in 6 minutes

Image

My pre-wedding video clip

Image