Skip to content

Instantly share code, notes, and snippets.

View yalin's full-sized avatar
✴️

Yalin Aydin yalin

✴️
  • Kingston, ON, Canada
  • X @yalin
View GitHub Profile
@yalin
yalin / convertJPGtoPDF
Created May 10, 2023 12:04
convert jpg to pdf
for f in *.JPG; do convert $f -resize 800 -quality 80 ${f%.*}.pdf ; done;
@yalin
yalin / scroll-mouse.sh
Created August 22, 2023 02:20
fix Synaptics touchpad scrolling speed
#!/bin/bash
# xinput set-prop 12 345 30
device_num=12 # default value if can not find
for i in $(xinput list | awk -F 'Synaptics' '{print $2}')
do
if [[ "$i" == *"id"* ]]; then
device_num=$(echo $i | awk -F 'id=' '{print $2}')
fi;
done;
@yalin
yalin / vscode_extension_list.txt
Last active October 19, 2023 03:15
VSCode extensions installed
aaron-bond.better-comments
abdelaziz18003.quasar-snippets
ahmadalli.vscode-nginx-conf
akamud.vscode-javascript-snippet-pack
akamud.vscode-theme-onedark
akamud.vscode-theme-onelight
alefragnani.project-manager
amlovey.shaderlabvscodefree
AndreyVolosovich.monokai-st3
Angular.ng-template
@yalin
yalin / synaptics
Created February 23, 2021 05:00
Synaptics Touchpad default config
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (190): 1
Coordinate Transformation Matrix (192): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (319): 1
Device Accel Constant Deceleration (320): 2.500000
Device Accel Adaptive Deceleration (321): 1.000000
Device Accel Velocity Scaling (322): 6.158088
Synaptics Edges (323): 1574, 5370, 1407, 4443
Synaptics Finger (324): 25, 30, 0
Synaptics Tap Time (325): 180