Skip to content

Instantly share code, notes, and snippets.

View aczire's full-sized avatar

Jimson James aczire

View GitHub Profile
@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
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
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\
CREATE TABLE ntsb_accidents (
EventId STRING,
InvestigationType STRING,
AccidentNumber STRING,
EventDate STRING,
Location STRING,
Country STRING,
Latitude STRING,
Longitude STRING,
AirportCode STRING,
[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
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@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
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
cp -r ./linux-firmware/ath10k /lib/firmware/
rmmod ath10k_pci
modprobe -v ath10k_pci
In order to obtain the ARFCN/UARFCN/EARFCN, you will need to enter "Field Test Mode" in your phone. This varies greatly from phone to phone. In general, all involve "calling" certain numbers to bring up the hidden options
Some common ones are:
Samsung (Android): *#*#197328640#*#* or *#0011#
iPhone (all): *3001#12345#*
HTC (Android): *#*#7262626#*#*
https://www.cellmapper.net/
http://niviuk.free.fr/index.html
http://phoneftd.blogspot.ca/
bladerf@bladerf:~/bladerf$ history
1 sudo perl vmware-install.pl
2 /usr/bin/vmware-user
3 sudo apt-get update
4 sudo apt-get install build-essential
5 sudo apt-get install build-essential libssl-dev libffi-dev python-dev
6 sudo apt-get install python-pip python-dev build-essential
7 sudo pip install --upgrade pip
8 cd
9 sudo pip install pybombs