Posts

Showing posts from 2018

How to change number format for all users?(Windows 10)

From https://superuser.com/questions/1285747/how-to-change-number-format-for-all-userswindows-10 (...) For the  current user and all future users  that will be added, it is enough to change the setting in  Control Panel → Region → Additional settings , change  Decimal symbol , and click OK. For  existing user profiles , if there are too many to manually repeat this operation for each one, you could set up a Login script that does the operation. Create a registry  .reg  file with the required registry changes, say that it is named  changedecimal.reg  and contains : Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Control Panel\International] "sDecimal"="." Then do the following : In the Windows Start menu, enter  Edit group policy In the Local Group Policy Editor, navigate to  User Configuration > Windows Settings > Scripts . Double-click  Logon Click  Add... Click  Browse... Navigate to and click on  changedecimal.reg , the

How to start Node.js app windowless in Windows

Image
From [https://keestalkstech.com/2016/07/start-nodejs-app-windowless-windows/] How to start Node.js app windowless in Windows  2 min  read Node.js is getting more popular by the day. It breaks JavaScript free from the browser. I would love to auto start an application – much like a Windows service – without keeping a console window open. There are many programs / services to wrap node applications into an executable, but I like to stick with just Node. This small trick will start your Node application windowless on Windows. VBS to the rescue I’ve created a small Visual Basic Script called  app.vbs  that will start your node application within a hidden window: CreateObject ( "Wscript.Shell" ). Run "node app.js" , 0 The little zero at the end  does the trick . The string is the command to start the node process with the  app.js . The  .vbs  extension is executable in Windows. Autostart To execute it automatically at startup, open the  %

Git Basics

Image
From [https://git-scm.com/book/en/v2/Getting-Started-Git-Basics] 1.3 Getting Started - Git Basics Git Basics So, what is Git in a nutshell? This is an important section to absorb, because if you understand what Git is and the fundamentals of how it works, then using Git effectively will probably be much easier for you. As you learn Git, try to clear your mind of the things you may know about other VCSs, such as CVS, Subversion or Perforce — doing so will help you avoid subtle confusion when using the tool. Even though Git’s user interface is fairly similar to these other VCSs, Git stores and thinks about information in a very different way, and understanding these differences will help you avoid becoming confused while using it. Snapshots, Not Differences The major difference between Git and any other VCS (Subversion and friends included) is the way Git thinks about its data. Conceptually, most other systems store information as a list of file-based changes. These other

5 Ways to Use the VBA Immediate Window in Excel

Image
From [https://www.excelcampus.com/vba/vba-immediate-window-excel/] 5 Ways to Use the VBA Immediate Window in Excel Jon Acampora  September 23, 2014 The VBA Immediate Window is an awesome tool that allows you to get immediate answers about your Excel files, and quickly execute code.  It is built into the Visual Basic Editor, and has many different uses that can be very helpful when writing macros, debugging code, and displaying the results of your code. Every Excel user can benefit from the Immediate Window, even if you’re not writing macros.  This post will explain 5 different uses for the Immediate Window.  Once you understand the capabilities of this tool, you will find yourself using it all the time. Where is the Immediate Window? The Immediate window is located in the  Visual Basic Editor window . The fastest way to get to the Immediate Window is to: Press  Alt+F11  (hold Alt key, then press F11 key) from anywhere in Excel.  The Visual Basic Editor wind