Showing posts with label Settings. Show all posts
Showing posts with label Settings. Show all posts

November 17, 2021

Extend Ubuntu VM hard disk space/size

 Hi all,


Today I will explain about the process to extend and existing disk space in Ubuntu VM.

Environment

  1. VMWare
  2. Ubuntu

Context

Increase hard disk space more than initially configured for the Ubuntu VM.

Reason

VM hard disk might running out of space.

Procedure

  • Make sure we have shutdown the Ubuntu VM
  • Increase the hard disk size
    • Make sure it's in the allowed range
  • Start the VM
  • Open the Disks application in Ubuntu
  • In below example we are extending it by additional 3GB
  • Select the Extended Partition block
  • Click Settings (Gear) icon
  • Choose Resize option
  • Use the increment (+) icon or scroll bar to increase the partition size
  • Click on Resize button
  • Enter credentials when prompted
  • By now, the extended partition will be increased
  • Time to select the file system, where exactly our data is getting stored
  • We will repeat the process of resizing like earlier
  • Using scrollbar increase the disk size
  • Click on the Resize button
  • The harddisk size is been reflected.
Hurray !! You have increased your hard disk size to store more data on the Ubuntu VM.

The same process can be used for normal Ubuntu OS also.

Please send your comments and feedback to psrdotcom@gmail.com

August 24, 2020

Microsoft Azure DevOps Server move or copy Project Source Code from one organization to another organization

Hi folks,

Today I will explain the process of moving the projects from one organization to another in Azure DevOps Server which includes the source repository code, history of commits, tags.


Pre-requisites

  • Git command line tool
  • ssh-keygen tool
  • Azure DevOps Project access


Environment Setup

  1. Create ssh key on your local PC
  2. Same user account on both the organization with required permissions (Admin)
  3. On Azure DevOps, to go user profile
  4. Add the generated SSH pub key of PC to Azure DevOps


Procedure in terminal/command prompt

1. git clone <old org project repo ssh url>

2. cd <project>

3. git branch -a

    a. git checkout <all branches one by one>

4. git fetch --tags

5. git remote rm origin

6. git remote add orgin <new org project repo ssh url>

7. git push origin --all

8. git push --tags


Hope you are able to move/copy the project source code which includes the history of commits and tags.

Please send your comments and feedback to psrdotcom@gmail.com


October 24, 2019

Markdown file convert/export to html, png, jpeg, pdf with images

Hi folks,

Today I will share about, how we can include the images in markdown file and export to pdf, html, png and jpeg formats.

You can do this with 2 Visual Studio Code extensions

Pre-requisites

Visual Studio Code with following MarkDown Extensions
  1. To place images
  2. To convert the markdown to pdf, html, png and jpeg formats
Install the above 2 Visual Studio Code extensions.

Insert an image

Create images folder and keep all your images (Optional, but easy to maintain)
Syntax: ![](images/imagename.extension)
Usages: ![](images/abc.png)

By now, your image is part of your file.

Preview your file

Open Command Palette (View -> Command Palette OR Type F1 OR Ctrl+Shift+p)
Type "Markdown: Open Preview" OR Ctrl+Shift+v keyboard shotcut

Export Markdown

Open Command Palette (View -> Command Palette OR Type F1 OR Ctrl+Shift+p)
Type export and select below
  • markdown-pdf: Export (pdf)
  • markdown-pdf: Export (html)
  • markdown-pdf: Export (png)
  • markdown-pdf: Export (jpeg)
  • markdown-pdf: Export (all: pdf, html, png, jpeg)

Change Markdown conversion settings

  1. Select File > Preferences > UserSettings or Workspace Settings
  2. Find markdown-pdf settings in the Default Settings
  3. Copy markdown-pdf.* settings
  4. Paste to the settings.json, and change the value
Hope this blog is useful to insert images in your markdown file and export to supported formats.

Please send your valuable feedback and comments to psrdotcom@gmail.com

October 01, 2019

Remote desktop connection to Azure AD joined computer device

Hi Folks,

I have an issue of remotely connecting one of the Azure AD joined computer.

Fix is explained below


  1. Open "Remote Settings" from "System".
  2. You should be able to view "Remote" tab from "System Properties".
  3. Uncheck "Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)" from Remote Desktop section.
  4. Open regedit.exe.
  5. Navigate to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp".
  6. Update "SecurityLayer" key to "0" (Zero) from default 2 (Two).
  7. Reboot your system.
  8. While taking remote desktop, user "AzureAD\"your work email id" as your username.
  9. You should be able to connect your AzureAD joined system remotely from now.


Please send your comments and feedback to psrdotcom@gmail.com

February 22, 2017

Tomcat issue "windows could not start apache tomcat on local computer" after java update issue with resolution

Hi friends,

Today I have faced an issue with Tomcat service starting. I would like to share with you the resolution as well. Please find the details below.

Root cause

Updated java version

Resolution


  • Navigate to you apache installed folder
  • Go bin folder
  • Double click on "Tomcat(X)w.exe" where X the version of tomcat.
  • In my case it is "Tomcat8w.exe" because the version is 8
  • Select "Use Default". So that, it uses the JAVA_HOME version by default.
  • Click on OK
  • Start the Tomcat service and enjoy deploying


Please send your comments and feedback to psrdotcom@gmail.com

November 17, 2015

Unable to open WebEx issue on Windows 10 solution

Hi all,
I was facing an issue with opening WebEx on my Windows 10. I found the solutions from different sources and wants to share with you.

Procedure

  1. Open the WebEx link in IE
  2. Press F12 (Development Tools) on keyboard or from settings icon from top right corner IE
  3. Navigate to “Emulation” tab
  4. Select “Document Mode” as 9
  5. Select “User agent string” as 9
  6. Browser automatically refreshes
  7. Now, you try to join/start the meeting
  8. It should open the WebEx application

Please find the relevant screenshot to do the configuration

 
 
Please send your comments and feedback to psrdotcom@gmail.com. 
Visit my personal website http://pillisureshraju.in for Java and Android tutorials

January 06, 2012

Create custom mozilla firefox profile with browser settings customization in Ubuntu and Windows

Hi all,

Today I have customized my mozilla firefox browser with custom settings by creating my own profile in my user account.

Follow these steps in creating the custom profile for firefox in Ubuntu
  1. Open terminal (Keyboard Shortcut Key: Ctrl+Alt+t)
  2. Change the directory to mozilla preferences directory for user
    • $ cd ~/.mozilla/firefox
  3. Create a new directory yourname.default
    • ~/.mozilla/firefox$ mkdir psr.default
  4. Open the existing profiles.ini file
    • ~/.mozilla/firefox$ gedit profiles.ini &
  5. Replace the Path variable with the following
    • Path=psr.default
  6. Save and close the profiles.ini file
  7. Change the directory to psr.default
    • ~/.mozilla/firefox$ cd psr.default
  8. Create a user.js file
    • ~/.mozilla/firefox/psr.default$ gedit user.js &
  9. Edit the all possible settings by following the references, which are listed down
  10. For Windows Operating System mozilla firefox browser customization, you can follow this link http://www.pcc-services.com/kixtart/firefox-lockdown.html

References:http://www-archive.mozilla.org/unix/customizing.html#prefs
http://thegoldenear.org/toolbox/windows/docs/mozilla-pre-config.html
http://www.pcc-services.com/kixtart/firefox-lockdown.html
http://www.eng.uwaterloo.ca/twiki/bin/view/Linux/FirefoxLockdown

If you have any queries, please write to psrdotcom@gmail.com

September 14, 2010

PL/SQL Developer Useful Settings

Hi friends,

I am using Pl/Sql Developer IDE to connect different databases and performing different database operations at the same time. Its been proved that Pl/Sql developer is very useful tool for sql and/or plsql statement/query execution.

What I liked in Pl/Sql Developer are

  1. Select some part of the query and execute the selected part in the query. I liked it very much.
  2. Export output result to excel as a table
  3. Code assistant which will display all the tables in that schema when you entered your_schema_name.
  4. Working in different windows like SQL window, Test window, Program window, Command window and Diagram window at the same time
  5. Macros which can do certain action once recorded

What I have learn today is

i) Logon History

Are you able to remember all the username and passwords of different databases?
Fed up of typing username and password everytime when logging?


Use "Fixed Users" option in Logon History Preferences

We can create different menus to differentiate users or type of logons

Syntax:
>Menu
username/password@database

Example:
>Test
abc/abc123@xyz
def/def234@psr

Note: 
  • More than one users under the same menu should be in next line
  • Avoid @ usage in password because database delimeter is @ so it will treat first @ onwards as database

Example: ghi/lkj@123@qwe
Here
username: ghi
password: lkj@123
database: qwe

but
pl/sql developer will treat
username: ghi
password: lkj
database: 123@qwe

Because first @ onwards it will treat as database.
We can have many menus with many logon to connect different databases with very less effort.
Click the Logon Button Arrow and select the menu->username/password@database
It will get connected automatically without typing username and password

Very Useful .. Try it

ii) Auto Replace facility

Open Pl/Sql Developer->Click on Tools->Preferences->Select Editor Preferences

Scroll down to AutoReplace tab and use the syntax and example to use the facility

syntax: shortcutword=full(part)command

example: saf = select * from 

When you type saf and space then you can see select * from as a replacement of saf

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com