Skip to content

Instantly share code, notes, and snippets.

View megasuperlexa's full-sized avatar
♠️
Focusing

megasuperlexa

♠️
Focusing
View GitHub Profile
@alexedwards
alexedwards / Makefile
Last active July 22, 2024 04:49
Boilerplate Makefile for Go projects
# Change these variables as necessary.
MAIN_PACKAGE_PATH := ./cmd/example
BINARY_NAME := example
# ==================================================================================== #
# HELPERS
# ==================================================================================== #
## help: print this help message
.PHONY: help
@bluewalk
bluewalk / GetNordVPNWireGuardDetails.md
Last active July 22, 2024 17:14
Getting NordVPN WireGuard details

About

Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.

Source: https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27

Prerequisites

If you have any linux machine, use that or install a vm if you don't have one.

Get their official linux app installed. Make sure you have wireguard installed too. And set the used technology to Nordlynx by running nordvpn set technology nordlynx

anonymous
anonymous / Program.cs
Created February 6, 2018 09:17
IDictionary of enumerables vs ILookup
using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApp3
{
class Program
{
static void Main(string[] args)
{
@dotCipher
dotCipher / aliases.zsh
Last active March 30, 2024 08:23
oh-my-zsh mac aliases
# Push and pop directories on directory stack
alias pu='pushd'
alias po='popd'
# Copy pwd to clipboard
alias cpwd='pwd | tr -d "\n" | pbcopy'
# Basic directory operations
alias ...='cd ../..'
alias ..2='cd ../..'