Changing Page Layout Doesn’t Reflect in PDF Printing

Blogs, Snippets
For quite some time it was strange to see some unnecessary margin borders in the PDF printing like below. A4 Page layout in Microsoft Word prints with some extra margins in the PDF The reason for this inappropriate printing is there is another layer of printer properties that control how the printer actually prints. In the printer settings, there is another page property which overrides the A4 page property that's set in MS-Word To fix the printer property (Microsoft Print to PDF printer in this case), go through the following in image below. Windows Settings → Printers & Scanners → Select Printer (Microsoft Print to PDF in this case) → Printing Preferences → Advanced → PaperSize → Set your required paper size that matches Page settings in MS-Word
Read More

Refreshing LinkedIn Post Thumbnails

Snippets
LinkedIn updates the images or text from the link for the first time and later when those links are updated with new images, it still doesn't update. To refresh it, use LinkedIn Post Inspector where you can drop your link to refresh. Now when you go back to your post, you may find its images and relevant text from the link is updated. I didn't have the dragon in the LinkedIn post before and after updating the blog with the dragon image, the post didn't update. After dropping the link in the post inspector, the dragon got updated. Image in a LinkedIn post updated after post inspector
Read More

Adding Alias Email to Gmail

Blogs, Snippets
We can send proxy emails from Gmail with other email addresses. You need to verify that another email address is your own in order to do this. I use this service to send email as if I'm sending from another Gmail itself. Recently Google has stopped the authentication of this kind of less-secure apps. However, there is another way to achieve it is via using the google app passwords that allow temporary password generation to connect from less-secure apps. Steps to add alias email in this new method Generate the password from your App PasswordsGo to Gmail settings --> Accounts and Imports --> Send Mail as: --> Add another email addressEnter your Name and Alias's Email address on the first pageEnter Google SMTP (smtp.gmail.com), Google ID, generated passwordVerify the code…
Read More

Renewing Bitnami’s Let’sEncrypt SSL Certificate

Blogs, Snippets
I use Bitnami wordpress and it comes with built in Let'sEncrypt SSL option for secured website. Previously I used to install this Let'sEncrypt independently, but in past few years this free SSL certificate comes preinstalled in Bitnami image. Recently, the certificate got expired and I found this thread with simple steps below to renew it Step 1: Stop the running script Run below command to stop the running script. sudo /opt/bitnami/ctlscript.sh stop I couldn't find the ./opt/ folder, so I went inside ./stack/ctlscript.sh Step 2: Update the certificate Run the below script with correct EMAIL-ADDRSS and DOMAIN (xyz.com) to which you need the certificate. sudo /opt/bitnami/letsencrypt/lego --tls --email="EMAIL-ADDRESS" --domains="DOMAIN" --path="/opt/bitnami/letsencrypt" renew --days 90 Step 3: Restart the script Finally start the server with the command below. sudo /opt/bitnami/ctlscript.sh start
Read More

Feature wall project

Blogs
In this blog post, I'm building in public the feature wall project from ideation to practical. The initial idea behind the feature wall is that there are not many customized or patterned features available for the self-painters to paint their wall. Prototype 1: In this first prototype, I'm going to figure out some appropriate sticker roll with properties such as below to should stick to the wall and be removable from the wall without damaging the wall or painting on the wall.should be similar to masking tapeshould be available in a larger size (1mx1m or 1m roll) Tesa 4848should be paper cuttable on machine-like Vinyl Cutter Plotter Once discovered then follows some design for one of my walls in the house and trialing with paints.
Read More

Physical Product Ideas

Blogs
Often I come across some product or service ideas to try and I move a little inch forward or never moved an inch forward, but drop just after brainstorming enough. Very often it was dropped because of an unknown space where I don't have a sense of whether will it work out or doom. Here I'm taking a different approach to building in public, maybe public motivates me more than just doing it silo get it done. First of all, I'm about to collect various ideas here before embarking on any specific one. First Idea: Door status indicator How often have you gone back to check if you had latched/locked your doors properly? I often have done that. Almost every night after in bed, I get up to check if…
Read More

macOS Monterey VirtualBox Slow Performance Issue

Blogs
Recently I started using macOS full-time and I have to start using VirtualBox as my default Windows option inside Mac. The performance was good but I noticed it drags over the time usage then I came across this thread to use a special option "Open Low Resolution" for VirtualBox settings. However, I didn't find it in macOS Monterey. For some reason Apple engineers took away this option from the Application --> Get Info window. Few other resources explained how this can be still set in advanced mode using by editing the file. I edited two Info.plist files which are File 1 sudo nano /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/Info.plist Set NSHighResolutionCapable to False Save the changes with keys control-O (^O) to WriteOutExit the editor window with keys control-X (^X) to Exit File 2 This file…
Read More

Red arrow shortcut glyph on icon in Windows

Blogs, Snippets
After using the hardlink (instead of symbolic link in Link Shell Extension) I noticed this Red arrow shortcut glyph right on the source file from which I created the hardlink to other location. Strangely, Windows Explorer didn't show the hardlink indication however XYplorer showed this clearly. You may mistaken that red arrow is a shortcut but it's actually the source file. Red arrow glyph appearing on XYplorer but not in Window explorer for hardlinked source.
Read More

TestStand Execution Aborts Unexpectedly

Blogs, LabVIEW Blog
TestStand persisted data (like a watch window data) could be a reason behind such aborts or stopping of sequence unexpectedly. In my case, I tried to check function AbortAll() in the watch window and ran into an infinite loop of aborts whenever I try to pause the sequence. To add more trouble, it didn't allow me to delete it as Watch View becomes inaccessible (see greyed out below) after sequence aborts. Watch Window in TestStand is executing unexpected functions of TS-Engine To overcome this issue, the Watch expressions are persisted in the TS common app data can be edited in a simple text editor. Open TeststandPersistedOptions.opt found in below path in a notepad and remove the section as highlighted in following screenshot. C:\ProgramData\National Instruments\TestStand 2021 (32-bit)\Cfg\TeststandPersistedOptions.opt Delete the section which…
Read More

Reduce Path Lengths using System Links

Blogs
Sometimes when you're working with many source files, easily the file paths can go deeper in length and causes you trouble in platforms which has path length limitations. For example, LabVIEW has only a path length of 260 characters, then it starts searching for the same file even if exists in the same location beyond the 260 char path. In such cases, it would be helpful if you can reduce the length of the path but can still maintain a single copy of source files but don't like to move around copies of source files to root directories. Solution My favorite solution for this is to use symlinks or symbolic links. The way symlinks work is pretty much like a shortcut but only that it makes some hard links to…
Read More