Skip to content

Instantly share code, notes, and snippets.

View udhayakumar-in8's full-sized avatar
🎯
Focusing

udhayakumar - (variable-x) udhayakumar-in8

🎯
Focusing
  • Fatpipe Networks
  • chennai
View GitHub Profile
@udhayakumar-in8
udhayakumar-in8 / set_irq_affinity.sh
Created July 17, 2023 16:56 — forked from xdel/set_irq_affinity.sh
Sets IRQ affinity on intel NICs, this version handles systems with >32 cores
# setting up irq affinity according to /proc/interrupts
# 2008-11-25 Robert Olsson
# 2009-02-19 updated by Jesse Brandeburg
# 2012-12-21 fix for systems with >32 cores by Andrey K.
#
# > Dave Miller:
# (To get consistent naming in /proc/interrups)
# I would suggest that people use something like:
#char buf[IFNAMSIZ+6];
#
@udhayakumar-in8
udhayakumar-in8 / web-servers.md
Created August 28, 2020 08:18 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000