This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conosle.log('Verify Test'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conosle.log('Hello World'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conosle.log('Verify Test'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ACPI</key> | |
<dict> | |
<key>Add</key> | |
<array> | |
<dict> | |
<key>Comment</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install xrdp | |
sudo apt-get update | |
# Install new packages | |
sudo apt-get install xrdp xorg | |
# Add xrdp user to ssl-cert group and reoboot | |
sudo add user xrdp ssl-cert | |
sudo reoot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Changing a computer name | |
/etc/hostname | |
/etc/hosts | |
127.0.0.1 localhost.localdomain localhost | |
127.0.1.1 newname | |
# scaling | |
# Appearance > Fonts > Custom DPI setting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip show packagename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Contact: | |
""" example that uses an inner (nested) class """ | |
# class ("static") members and intended constants | |
DEFAULT_NAME = "(no name assigned)" | |
MIN_NAME_LEN = 2 | |
MAX_NAME_LEN = 30 | |
DEFAULT_PH_NUM = "0001112222" | |
# initializer ("constructor") method ------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::Run the below Robocopy command to copy directory structure i.e | |
::deep copy of folder hierarchy and the data in all the subfolders. | |
Robocopy /S D:\dir1\data E:\backup\data | |
:: if you do this "D:\dir1\my data\" because of the \" that will be seen as an escape | |
:: and you will be left without the final " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# login as root | |
su - | |
sudo -s |
NewerOlder