Just an itch, wanted to see how Fedora 33 Workstation looks like.
For other versions see here.
Monday, December 25, 2023
My Git cheat sheet
My Git cheat sheet
Undo changes and remove untracked filesc:\> git reset --hard HEAD c:\> git clean -fd
Push local branch to remote
c:\> git push -u origin feature/featurename
Clone and checkout remote
c:\> git clone --branch v1.3.9 --single-branch https://github.com/open62541/open62541.git
To view the name of the head (detached like above)
c:\> git show -s --pretty=%d HEAD
Neovim: How to enable yanking to system clipboard in Ubuntu
Neovim: How to enable yanking to system clipboard in Ubuntu
Yanking or copying to system clipboard can be enabled using the following commandset clipboard=unnamedplus
Saturday, November 25, 2023
Monday, November 20, 2023
Get Network Interface Card GUID in Windows
Get Network Interface Card GUID in Windows
Method 1 - using netshPS C:\> netsh lan show interfaces
There is 1 interface on the system: Name : Ethernet Description : Microsoft Hyper-V Network Adapter GUID : 17ab0088-6ca5-4aac-82bb-c533700cda21 Physical Address : 00-15-5D-1C-45-00 State : Connected. Network does not support authentication.
PS C:\> Get-CimInstance -ClassName Win32_NetworkAdapter | Select-Object -Property DeviceID, GUID, Name
DeviceID GUID Name -------- ---- ---- 0 Microsoft Kernel Debug Network Adapter 1 {17AB0088-6CA5-4AAC-82BB-C533700CDA21} Microsoft Hyper-V Network Adapter 2 WAN Miniport (SSTP) 3 WAN Miniport (IKEv2) 4 WAN Miniport (L2TP) 5 WAN Miniport (PPTP) 6 WAN Miniport (PPPOE) 7 WAN Miniport (IP) 8 WAN Miniport (IPv6) 9 WAN Miniport (Network Monitor)
Saturday, November 18, 2023
Control Panel console command equivalent
There are cases where you might need to run some of the Control Panel applets to
perform quick configuration like add user accounts under different user
credentials(say administrator account). Anyway below lists the files and
equivalent Control Panel applet.
Command | Description |
access.cpl | Accessibility Options |
appwiz.cpl | Add or REmove Programs |
bthprops.cpl | Bluetooth configuration |
desk.cpl | Display Properties |
firewall.cpl | Windows Firewall |
hdwwiz.cpl | Add Hardware Wizard |
inetcpl.cpl | Internet Properties |
intl.cpl | Regional and Laguage Options |
irprops.cpl | Infrared Properties |
joy.cpl | Game Controllers |
jpicpl32.cpl | Java Control Panel |
main.cpl | Mouse Properties |
mmsys.cpl | Sounds and Audio Devices Properties |
ncpa.cpl | Network Connections |
powercfg.cpl | Power Options Properties |
sysdm.cpl | System Properties |
telephon.cpl | Phone and Modem Properties |
timedate.cpl | Date and Time Properties |
wscui.cpl | Security and Maintenance |
Wednesday, October 25, 2023
Enable SSH server on QNX 6.5
This is quick start guide how to run ssh server on QNX. Tested on QNX 6.5
(650SP1-VM.tar).
This is not security best practice but this is only a test machine. Enable direct root ssh login to the machine.
To start ssh service interactively, do:
Use /usr/sbin/sshd -ddd to view debug output
To run sshd on start, add the following to /etc/rc.d/rc.local:
Reference:
http://www.qnx.com/developers/docs/660/index.jsp?topic=%2Fcom.qnx.doc.neutrino.utilities%2Ftopic%2Fs%2Fsshd.html
# ssh-keygen -t dsa -b 1024 -f /etc/ssh/ssh_host_dsa_key -N '' # ssh-keygen -t rsa -b 1024 -f /etc/ssh/ssh_host_rsa_key -N ''
This is not security best practice but this is only a test machine. Enable direct root ssh login to the machine.
# sed -i 's/#PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config
To start ssh service interactively, do:
# /usr/sbin/sshd
Use /usr/sbin/sshd -ddd to view debug output
To run sshd on start, add the following to /etc/rc.d/rc.local:
/usr/sbin/sshd &
http://www.qnx.com/developers/docs/660/index.jsp?topic=%2Fcom.qnx.doc.neutrino.utilities%2Ftopic%2Fs%2Fsshd.html
Subscribe to:
Posts (Atom)
Installing QNX 6.4.1 on Ubuntu 20.04
Installing QNX 6.4.1 on Ubuntu 20.04 Install pre-requisites $: sudo dpkg --add-architecture i386 $: sudo apt update $: sudo apt install li...
-
Installing MonoDevelop in OpenSUSE 12.2 from its repository was very easy. When running it for the first time though I got the message: Th...
-
Tried to update my Ubuntu host today and it did pickup that new version of VirtualBox is available (4.1.8). All other packages installed pro...
-
Press Alt+F1, then type: #: reboot -p Reference(s): https://groups.google.com/forum/#!topic/android-x86/pEI7xAnOpNY