Skip to content

Instantly share code, notes, and snippets.

View rh3xp's full-sized avatar
🌎
hosting globally

Parth Krishna rh3xp

🌎
hosting globally
View GitHub Profile
@rh3xp
rh3xp / mouse.txt
Created June 30, 2019 04:17
/etc/X11/xorg.conf.d/50-synatptics
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "ClickPad" "true"
Option "EmulateMidButtonTime" "0"
Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
in mousecatchall the first one
@rh3xp
rh3xp / mouse.txt
Created June 30, 2019 04:17
/etc/X11/xorg.conf.d/50-synatptics
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "ClickPad" "true"
Option "EmulateMidButtonTime" "0"
Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
in mousecatchall the first one

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@rh3xp
rh3xp / keybase.md
Last active January 23, 2021 17:40

Keybase proof

I hereby claim:

  • I am thenerdsuperuser on github.
  • I am thenerdsuperuser (https://keybase.io/thenerdsuperuser) on keybase.
  • I have a public key whose fingerprint is 770C 0A4C EB9E 48F5 AC68 460B 644F 3F23 2A33 8F27

To claim this, I am signing this object:

@rh3xp
rh3xp / backup.sh
Created May 30, 2021 13:50
Run this she'll script and all changes made to the desired folder will be monitored, added, commited and pushed to github. Think of it as a watchdog service.
#!/bin/sh
path="$HOME/backup"
while true
do
inotifywait --recursive -qq -e attrib,create,delete,modify,delete_self,move,move_self,close_write $path
cd $path
git add --all
now=$(date)
git commit -m "Auto-Commit at : $now"
git pull
@rh3xp
rh3xp / COM_outlook_heirarchy_mapper.py
Created May 27, 2024 07:04
Takes the MS Outlook profile and maps out a tree of all the Direct Reports List
import time
import pandas as pd
from pprint import pprint
import win32com.client
df = pd.DataFrame()
level = []
name = []
title = []
manager = []