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 January 16, 2025 05:59
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 April 16, 2025 02:42
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 April 17, 2025 05:03
An iTerm2 Cheatsheet

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
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@gitaarik
gitaarik / git_submodules.md
Last active April 13, 2025 18:24
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a 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;