Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

phx HarshaSuranjith

🎯
Focusing
View GitHub Profile
@HarshaSuranjith
HarshaSuranjith / linux-usb-file-copy-fix.md
Created Jan 2, 2021 — forked from 2E0PGS/linux-usb-file-copy-fix.md
Fix Ubuntu and other Linux slow/hanging file copying via USB.
View linux-usb-file-copy-fix.md

If your running a x64 bit Ubuntu or other Linux and find USB transfers hang at the end apply this fix:

echo $((16*1024*1024)) > /proc/sys/vm/dirty_background_bytes
echo $((48*1024*1024)) > /proc/sys/vm/dirty_bytes

I suggest you edit your /etc/rc.local file to make this change persistant across reboots.

sudo nano /etc/rc.local

View fxcm.yml
name: fxcm
channels:
- defaults
dependencies:
- appnope=0.1.0
- bleach=2.1.2
- ca-certificates
- certifi=2018.4.16
- cycler=0.10.0
- dbus=1.12.2
@HarshaSuranjith
HarshaSuranjith / spring-mvc-snips.md
Created Feb 1, 2020
snippets for spring mvc xml config
View spring-mvc-snips.md

dispatcher-servlet.xml

@HarshaSuranjith
HarshaSuranjith / rabbitmq.txt
Created Feb 23, 2018 — forked from sdieunidou/rabbitmq.txt
create admin user on rabbitmq
View rabbitmq.txt
rabbitmqctl add_user test test
rabbitmqctl set_user_tags test administrator
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"