Skip to content

Instantly share code, notes, and snippets.

View athlan's full-sized avatar

Piotr Pelczar athlan

View GitHub Profile
@wowo
wowo / pre-commit
Last active February 3, 2025 14:43
Basic pre-commit git hook
#!/bin/bash
exec < /dev/tty
phpunit
rc=$?
if [[ $rc != 0 ]] ; then
echo -n "It looks like some of your tests failed. "
exit $rc;
fi
@miglen
miglen / linux-networking-tools.md
Last active December 27, 2025 05:10
Linux networking tools

List of Linux networking tools

netstat (ss)

Displays contents of /proc/net files. It works with the Linux Network Subsystem, it will tell you what the status of ports are ie. open, closed, waiting, masquerade connections. It will also display various other things. It has many different options. Netstat (Network Statistic) command display connection info, routing table information etc. To displays routing table information use option as -r.

Sample output:

Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)    
tcp4 0 0 127.0.0.1.62132 127.0.0.1.http ESTABLISHED
@ddimtirov
ddimtirov / 1. Keynote.md
Last active May 30, 2018 07:25
Tokyo Java Days 2018 notes

Highlights

  • long term roadmap for Java exists (Oracle is not reducing their investment despite shift in strategy to OSS and services)
  • opening up developments
  • cloud native recurring topic
  • money from services
  • new release model - same/better for devs, makes ent. pay
  • making Java the premier choice for cloud native is recurring topic

Notable Projects:

  • portola: containers (startup time, resource management)