Skip to content

Instantly share code, notes, and snippets.

Nambi Sankaran snambi

  • Sunnyvale, CA
Block or report user

Report or block snambi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@snambi
snambi / deploy-to-ebaycentral.md
Last active Jun 6, 2017
How to upload a maven artifact to ebaycentral
View deploy-to-ebaycentral.md

Add distributionManagement to your pom.xml

  <distributionManagement>
    <repository>
      <id>raptor.releases</id>
      <url>http://ebaycentral.qa.ebay.com/content/repositories/releases/</url>
    </repository>
    <snapshotRepository>
      <id>raptor.snapshots</id>
View haproxy.cfg
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
user haproxy
group haproxy
daemon
defaults
log global
@snambi
snambi / haproxy.cfg
Created Mar 30, 2017
ha-proxy configuration
View haproxy.cfg
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
user haproxy
group haproxy
daemon
defaults
log global
@snambi
snambi / set-input.sh
Created Mar 12, 2017
Set Mouse, Touch pad properties
View set-input.sh
# increase the trackpad tracking speed ( increase it by 4 times )
xinput --set-prop 13 171 4.000000, 0.000000, 0.000000, 0.000000, 5.000000, 0.000000, 0.000000, 0.000000, 1.000000
# increase the apple mouse tracking speed ( increase it by 4 times )
xinput --set-prop 18 171 4.000000, 0.000000, 0.000000, 0.000000, 5.000000, 0.000000, 0.000000, 0.000000, 1.000000
## enable tap-to-click
xinput --set-prop 13 306 1
View xinput-set-prop.sh
xinput --set-prop 15 171 4.000000, 0.000000, 0.000000, 0.000000, 5.000000, 0.000000, 0.000000, 0.000000, 1.000000
@snambi
snambi / xinput-list-props.sh
Last active Jun 17, 2019
xinput --list-props <id>
View xinput-list-props.sh
xinput --list-props 13
Device 'Elan Touchpad':
Device Enabled (169): 1
Coordinate Transformation Matrix (171): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (306): 1
libinput Tapping Enabled Default (307): 0
libinput Tapping Drag Enabled (308): 1
libinput Tapping Drag Enabled Default (309): 1
libinput Tapping Drag Lock Enabled (310): 0
libinput Tapping Drag Lock Enabled Default (311): 0
View gist:c4f7111d7bc77c9ba4bd36bf9f4aaa0e
$xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ USBest Technology SiS HID Touch Controller id=11 [slave pointer (2)]
⎜ ↳ Elan Touchpad id=13 [slave pointer (2)]
⎜ ↳ Microsoft Basic Optical Mouse id=18 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Asus Wireless Radio Control id=7 [slave keyboard (3)]
@snambi
snambi / install_kernel.sh
Created Mar 12, 2017
Install Linux Kernel
View install_kernel.sh
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.5-wily/linux-headers-4.3.5-040305-generic_4.3.5-040305.201601311533_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.5-wily/linux-headers-4.3.5-040305_4.3.5-040305.201601311533_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.3.5-wily/linux-image-4.3.5-040305-generic_4.3.5-040305.201601311533_amd64.deb
sudo dpkg -i linux-headers-4.3.5*deb linux-image-4.3.5*deb
@snambi
snambi / Zenbook.md
Last active Mar 6, 2017
ASUS Zenbook Pro
View Zenbook.md
Requirement ZenBook Pro
8 Core CPU Intel® Core™ i7-6700HQ Processor
16 GB of RAM Yes, extendable upto 64GB
Nvidia GPU NVIDIA® GeForce® GTX 960M
4K Display 15.6'' 16:9 IPS UHD (3840 x 2160)
Trackpad Elan Touchpad
Touch Screen Yes
WebCam HD Webcam
Speakers Built-in 2 Speaker(s) And Array Microphone
@snambi
snambi / ubuntu_16.04_set_mouse_speed.md
Last active Oct 20, 2019
Ubuntu 16.04 Adjust mouse/track pad speed and configure tap-to-click
View ubuntu_16.04_set_mouse_speed.md

Ubuntu 16.04 xinput

Setup Mouse/Touchpad speed and configure tap-to-click on the touch pad

display all input devices

xinput --list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ USBest Technology SiS HID Touch Controller	id=11	[slave  pointer  (2)]
⎜   ↳ Elan Touchpad                           	id=14	[slave  pointer  (2)]
You can’t perform that action at this time.