Posts

How to copy screenshot to clipboard in New Apple Mac OS

If you have upgraded your Apple Mac OS to 14.x.x, then you may find it strange that the screenshots are not copied into the clipboard. The screenshots taken are saved to Desktop by default. And also it appears on the bottom right corner for a few seconds so that you can click on that copy image.  But that is annoying! You find it very inconvenient to click on multiple times to copy the screenshot you just took.  However, there is a built-in option to copy the screenshot into the clipboard, so that you can paste it anywhere you want.  To copy the screenshot into the clipboard press hold the Control key also along with COMMND and SHIFT.  COMMAND + SHIFT + CONTROL + 3   To take a screenshot of the full screen and copy the screenshot into Clipboard.  COMMAND + SHIFT + CONTROL + 4   To enable drag and drop then take a screenshot of the selected portion and copy the screenshot into Clipboard.     

Apple MacBook Notes strike through Menu option and Setting Keyboard shortcut.

Image
Apple Notes is the probably most widely used App for taking notes on Apple MacBook or Apple Mac in general. In this tutorial, I will show you how to set a keyboard shortcut for Strike Through.  Even the menu navigation is not easily accessible. You have to reach the 2nd  level of the menu item. And If you are coming from a Windows background, it will even be tricky to find the option in the menu.  First of all the strike thought option is available Under Format -> Fonts.  To make it handier, you can set a keyboard shortcut so that, if you are using Notes more often, then it will be very useful.  Follow these steps to set a keyboard short to strike through in the Mac. It is limited to only the Notes App.  Go to System Preferences , and select Keyboard . Then select Shortcuts Tab  Then select App Shortcuts  in the left-hand side pane. Then click on the '+' Icon at the bottom center of the menu.  The new dialog appears. S...

How to create a self signed SSL certificate and how to use it with your web Server.

Image
SSL certificate is the foremost important aspect of any website. If your website is running without SSL, modern browsers will stop the users from entering the website. Of course, there are ways to bypass that, at your own risk. As long as your website has no commercial data exchange, sensitive user information, etc, you are still good to run a website without a proper SSL certificate. For example, a blog can run without an SSL.  Note that Google AdSense accepts websites without SSL.  But the topic of this post is about Self Signed SSL certificate. How to create one, how to use it, and where to use it.  Let us see where to use it. For any website which is used for internal purposes, it's always a good idea to use Self Signed SSL, instead of paying for a real SSL certificate. Internal I mean, within a company, team, or for personal uses, for testing purposes, etc.  Now, let us see how to create a self-signed SSL certificate.  What you need A Linux machine.  O...

How to set Python3 as default interpreter for VS Code | or set any version as default interpreter.

Image
Want to run your python code with a particular python version in Microsoft VS Code? And, make it the default version? Read on. Make sure that the required version is installed. You check the available version and the path by running this command. I am trying this on Apple Mac. It should be similar in Windows Machines as well.   Open the VS Code, at the bottom of the screen you will Terminal. If it is not visible, Go to View and then select Terminal. Check the available python versions and their path.   % which python   /usr/bin/python  % which python2 /usr/bin/python2  % which python3   /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 Next,  Run this python code to check what version is used by default.  import platform print ( platform . python_version_tuple ()) print ( type ( platform . python_version_tuple ())) You will get this ('2', '7', '16') <type 'tuple'> Now you know the path and versions available. In the VS code...

SOLVED | AdSense Approval Issues and Fixes for Site down or Unavailable | How to Fix

Image
I tried to get an AdSense approval for my site but I got a mail from AdSense saying the site is down or unavailable. But the site is definitely accessible and all the other requirements are taken care of. The site is also very old and the domain itself is 3 years old. There are no issues with page views as well.  Here is my situation. I have an approved AdSense for YouTube. I got my blogger site upgrade to a top-level domain. This is the requirement to link your YouTube AdSense to your blogger site.   I have taken care of all the requirements to apply for the AdSense for my site.  1. Clean design and unique content. No issue with the design as I have created it using a blogger theme.  2. About page, Contact Us Page, Privacy Policy Page. These are mandatory  3. Top-Leve Domain After applying for the AdSense I got the denial mail and looking at the reason, I was convinced that there must be a small mistake in the Domain setup or blogger settings.   ...

How to create MS Word document automatically with Excel

MS Word and Excel can do wonders together.  You can do a lot of automation using these 2 applications for your small and medium businesses.  Here is one such solution.   Generating the MS word report automatically using excel as a data source. Mail merge is used to link data from excel to word. Then a simple macro is used to get the desired record from Excel Spreadsheet. Download the MS word document and Excel spreadsheet used in this video here https://drive.google.com/drive/folders/0B4UB3eOhhY26TVdvQ3RucW1zb1E?resourcekey=0-YcGX4_XdYqt_C_dSztvA_A&usp=sharing Please use this link https://drive.google.com/drive/folders/0B4UB3eOhhY26TVdvQ3RucW1zb1E?resourcekey=0-YcGX4_XdYqt_C_dSztvA_A&usp=share_link If you are not able to access this link, let me know. The link in my YouTube channel was not working, now I have uploaded the files here. 

[SOLVED] MacBook Pro keyboard backlight not working? Check this post

Image
Keyboard backlight not working on your MacBook Pro? And your Mac has a touch bar?  Continue reading... MacBook Pro 2020 which comes with a touch bar has moved its Keyboard backlight controls to the touch bar. You will not see any control on the screen under the Keyboard settings. But the setting in the touch bar is also not easy to see and it bit tricky. You most probably, think that there is some issue with Keyboard. Even the support people suggest resetting some of the settings. That is what happened with my case. Luckily I found a way to change the settings.  By default, the Keyboard backlight settings are not visible on the touch bar. You have to expand the tra-like stuff on the touch bar and then you will find icons, which look similar to screen brightness control icons.  On the right side of your touch bar, you will these 4 controls 1. Screen Brightness control  2. Volume control  3. Mute control  4. Siri button.  Left these con...