Skip to content

Instantly share code, notes, and snippets.

View aczire's full-sized avatar

Jimson James aczire

View GitHub Profile
root@ubuntu:~# history
1 ls /mnt/
2 ls
3 mount
4 ll /lib/firmware/
5 mv /lib/firmware/ath10k/ /lib/firmware/ath10k.old/
6 cp -r /media/cdrom/athk/ath10k/ /lib/firmware/
7 rmmod ath10k_pci
8 modprobe -v ath10k_pci
9 dmesg | grep ath | less
1 cp -r /cdrom/athk/ath10k /lib/firmware/
2 rmmod ath10k_pci
3 modprobe -v ath10k_pci
5 apt-get install vim
6 apt-get install apache2 -y
8 add-apt-repository ppa:ondrej/php
9 apt-get update
10 apt-get install php
11 mkdir null
12 cd null/
[root@aczire ~]#
[root@aczire ~]# history
1 groupadd yate
2 usermod -a -G yate admin
3 vi /etc/udev/rules.d/90-yate.rules
4 udevadm control --reload-rules
5 yum group install "Development Tools"
6 yum group list
7 yum groupinstall "Development Tools"
8 yum groups mark convert
CREATE TABLE ntsb_accidents (
EventId STRING,
InvestigationType STRING,
AccidentNumber STRING,
EventDate STRING,
Location STRING,
Country STRING,
Latitude STRING,
Longitude STRING,
AirportCode STRING,
echo "All commands are for illustrative purpose only. May require additional changes."
echo "Must use Ruby-2.3 or lower, nokogiri requires Ruby version < 2.4, >= 2.1.0"
wget https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.3-x64.exe
echo "Install with all options." && ./rubyinstaller-2.3.3-x64.exe
wget https://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe
./DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe to C:\Ruby23-x64\
cd /c/Ruby23-x64/
ruby dk.rb init
ruby dk.rb install
export RI_DEVKIT=C:\Ruby23-x64\
Export Putty Sessions via Powershell.
Get-ChildItem Registry::HKEY_CURRENT_USER\Software\SimonTatham -Recurse | Export-Clixml -Depth 5 -Path C:\Users\user1\AppData\putty.xml
@aczire
aczire / work-with-multiple-github-accounts.md
Created June 30, 2023 11:10 — forked from rahularity/work-with-multiple-github-accounts.md
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent