Skip to content

Instantly share code, notes, and snippets.

View Soneji's full-sized avatar
:octocat:
octocat time

Dhaval Soneji Soneji

:octocat:
octocat time
View GitHub Profile
@Soneji
Soneji / tutorial_kali_autologin_afterupdate.txt
Created March 6, 2019 20:19 — forked from intrd/tutorial_kali_autologin_afterupdate.txt
Kali light xfce4 root autologin (works after lightdm update)
## Kali light xfce4 root autologin (works after lightdm update)
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
After lighdtdm update root autologin is broken fix doing this:
nano /etc/lightdm/lightdm.conf
at [Seat:*] group uncomment/edit:
autologin-user=root
autologin-user-timeout=0
@Soneji
Soneji / git checkout-all-branches.sh
Created March 31, 2023 10:48 — forked from wilmarvh/git checkout-all-branches.sh
git checkout-all-branches
#!/bin/bash
#Whenever you clone a repo, you do not clone all of its branches by default.
#If you wish to do so, use the following script:
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v main `; do
git branch --track ${branch#remotes/origin/} $branch
done
@Soneji
Soneji / timezones.txt
Created July 1, 2024 19:28
Timezones list
(GMT -12:00) Eniwetok, Kwajalein
(GMT -11:00) Midway Island, Samoa
(GMT -10:00) Hawaii
(GMT -9:30) Taiohae
(GMT -9:00) Alaska
(GMT -8:00) Pacific Time (US & Canada)
(GMT -7:00) Mountain Time (US & Canada)
(GMT -6:00) Central Time (US & Canada), Mexico City
(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima
(GMT -4:30) Caracas
@Soneji
Soneji / countries.txt
Created July 10, 2024 16:42
Countries list
United Kingdom
United States
Afghanistan
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antarctica