Skip to content

Instantly share code, notes, and snippets.

View fatchild's full-sized avatar
👋
👉 ⌨️ 👈

Edward Oakley fatchild

👋
👉 ⌨️ 👈
View GitHub Profile
@Grinnz
Grinnz / perl7faq.md
Last active November 9, 2025 16:41
Perl 7 FAQ

Perl 7 FAQ

last updated 2025-01-16

Is Perl 7 coming?

It has been the plan that this version number will be used for Perl at some point in the future.

As of 2025, there is now a proposal to use the second component of the Perl version number as the major version, skipping over the question of what Perl 7 should or should not be.

@oleg-andreyev
oleg-andreyev / Improved Persistent Login Cookie Best Practice.md
Created January 10, 2019 20:44
Improved Persistent Login Cookie Best Practice
@miglen
miglen / linux-networking-tools.md
Last active November 3, 2025 10:34
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
@squarism
squarism / iterm2.md
Last active December 5, 2025 14:15
An iTerm2 Cheatsheet

In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So + D does not mean hold shift. + Shift + D does of course.

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
@gitaarik
gitaarik / git_submodules.md
Last active November 23, 2025 15:50
Git Submodules basic explanation

Git Submodules - Basic Explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a sub-repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.
#!/usr/bin/env perl
use strict;
use warnings;
use Benchmark qw(cmpthese);
cmpthese shift || -3, {
"shift" => sub {
my $arg = shift;