Posts

Showing posts from 2021

Teabags and Leaders

 What counts is what’s inside the teabag. You will notice that some teabags have fancy labels, while others have ordinary ones. Some have delicate silk tassels while others have humble strings. But here’s the thing to remember: the quality of the beverage is determined by the tea inside the bag—not by the label or the string. What’s true for teabags is true for all of us too. The fancy titles or the qualification or the alma mater, the clothes we wear and the cars we drive—none of these really matters. They are like the label and the string. They only make you look nice.   What really matters is the kind of person you are deep down. Your beliefs and your attitude—that’s what defines the person you are. The tea masters know that to make a great drink, they need to focus on the tea. Not on the label or the string. Focus on being a good human being. Fix your attitude. Get your values right. And don’t fret about the small stuff. It’s really who you are—at the core—that makes a difference. 

20 VS Code Shortcuts for faster coding

Image
  VS Code shortcuts This article hopes to help people using VS Code to code even faster. Not everyone has time to go through every tip and trick to find the ones that help them code faster — there’s just too many. So I’ll list my favorite shortcuts that make me a fast coder. Let’s start. Join Line Join line On Mac: Ctrl+J On Ubuntu, Windows : Open keyboard shortcuts from File > Preferences > Keyboard shortcuts , and bind editor.action.joinLines to a shortcut of your choice. Code Formatting This shortcut helps to indent the code as already set up in the editor settings. Code formatting Tip: Use this in the end or the start. I prefer using it when I’m done with the code in a file. On Windows: Shift + Alt + F On Mac: Shift + Option + F On Ubuntu: Ctrl + Shift + I Trim Trailing White Space This command help to get rid of extra white space at the beginning and end and will save you from any type of strict Lints. Trim white space Tip: Use this in the end, once you’re done with the

Setting up macbook for updates from seedutil

Image
  As part of a discussion of how to build test VMs, a colleague mentioned how they were using the seedutil tool to help configure Macs to access Apple’s beta updates. I hadn’t run across this tool before, so I decided to do some research and see if I could make it work for my own testing needs. For more details, see below the jump. seedutil is available at the following location in macOS 10.13.2: 1 /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/seedutil There is no manpage for it, but if you call the  seedutil  tool by itself it will display the following options: computername:~ username$ sudo /System/Library/PrivateFrameworks/Seeding.framework/Resources/seedutil -help Password: usage: seedutil enroll SEED_PROGRAM seedutil unenroll seedutil current seedutil migrate OLD_VERSION NEW_VERSION seedutil fixup computername:~ username$ view raw gistfile1.txt hosted with