Desk2Mob

Desk2Mob

Desk2Mob

Operating System

How to install gitk in Linux?

sudo yum install gitk

Posted on February 06, 2014 by Desk2Mob
Display only the Directory or file

If you want to display only a list of directories, enter the following command on the console. ls -l | grep '^d' If you want to show just a list of files, type the following command on the console. ls -l | grep -v '^d'

Posted on February 10, 2014 by Desk2Mob
How do I determine if I am running a 32-bit or 64-bit Windows System?

You can do a two-way First way There is a “Computer” icon on the Desktop, right-click on that and select “Properties”, see image below So, the System Properties Dialog will be open, and you can see under the System section, there is a property named “System type” and the value is “64-bit Operating System” (if it is a 32-bit version, operating system “32-bit Operating System”), see image below. Second Way Click on the Start button, see the image below And type system in the Search program and file box, and then click System Information in the Programs list, see image below. So, the System Information dialog will be open, and x64-based PC under value appears for the System type under Item. (If it is a 32-bit version operating system, the x86-based PC under value appears for the System type under Item.), See image below

Posted on April 17, 2014 by Desk2Mob
How to install node.js on Windows 7

Open http://nodejs.org/, then click on Download (http://nodejs.org/download/), so you can view the following details on the screen. Now, based on your Windows 7 system type (meaning whether it is 32-bit or 64-bit), download the appropriate Windows Installer. If you don't know how to determine if you are using 32-bit or 64-bit Windows, please Click Here. Open Command Prompt with administrator privileges; see the following image for more information. Right-click on Command Prompt and select 'Run as administrator'. Now run the following command. msiexec /i node-v0.10.26-x64.msi After hitting the Enter key, you will see the Welcome Setup Wizard screen. Now click on the “Next” button, Click Next to accept the license agreement. Leave the Destination ...

Posted on April 29, 2014 by Desk2Mob
How can I create an executable Ruby file on Ubuntu?

I tried it in Ubuntu 14.04.2 LTS, and it is working fine Step 1: (the purpose of the first line in designating which interpreter to use for the rest of the file), and save the file as a hello-world.rb #!/usr/bin/env ruby puts "Hello World!" Step 2: (make the file executable with the below command) chmod u+x hello-world.rb Step 3: ./hello-world.rb Please note that if your platform doesn't support the `#!/usr/bin/env` convention, then don't forget that the script can be run by passing it to the Ruby interpreter manually: <path_to_ruby_interpreter> -w hello-world.rb

Posted on October 26, 2015 by Desk2Mob
Install Apache on Windows 7

Open Command Prompt with administrator privileges. Please refer to the image below for more details. Right-click on Command Prompt and select Run as administrator. Now run the following command. msiexec /i httpd-2.2.25-win32-x86-no_ssl.msi Now press the Enter key on the keyboard. The installation wizard will appear. Click Next to continue. Accept the license agreement and click Next. Read this first if you wish, and then click Next to continue. Now, you need to enter the server details: Network Domain: desk2mob.dev Server Your Name: www.desk2mob.dev Administrator Email Address: admin@desk2mob.com Keep the installation settings as All Users, on Port 80, as a Service, and it should resemble the image below. Now click the Next button to continue, and the next image will appear. Leave the Setup Type as Typical and click the Next button to continue. Leave the Destination Folder as the default (C:\Program Files (x86...

Posted on August 21, 2025 by Desk2Mob
How to Make a Simple Caffeinate-Style Application for Windows

On macOS, the caffeinate command keeps the system awake during long-running tasks — scripts, downloads, backups, or remote sessions that shouldn't be interrupted by sleep. Windows doesn't have a built-in equivalent, but a batch file and a short PowerShell script can do the same job. Windows already has a few ready-made ways to do this — PowerToys includes an Awake module, and there's the long-standing Caffeine utility. This is the DIY version: nothing to install, and you can see exactly what it's doing. The idea is simple: send a harmless key press at a regular interval so Windows does not treat the machine as completely idle. Scroll Lock is a reasonable choice here because it usually has very little effect on normal work. Why you'd want this Watching a dashboard Keeping the local machine from sleeping during a remote session Preventing the screen from sleeping during a temporary task Keeping a development process visible while monitoring logs How the...

Posted on June 23, 2026 by Desk2Mob