Skip to content

Instantly share code, notes, and snippets.

@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 30, 2024 17:43 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@squarism
squarism / iterm2.md
Last active April 30, 2024 17:43
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)
@AdrianKoshka
AdrianKoshka / make_ipxe_uefi_usb.md
Last active April 30, 2024 17:42
Making a UEFI bootable iPXE USB drive

Making a UEFI bootable iPXE USB drive

Build the UEFI executable for iPXE

# First we'll clone iPXE
$ git clone git://git.ipxe.org/ipxe.git
# Go into the src directory of the cloned git repo
$ cd ipxe/src
# Compile the UEFI iPXE executable
@reecestart
reecestart / describe-rds-private-ips.py
Last active April 30, 2024 17:40
Will print out RDS DB Instance DB Identifiers with their ENI and Private IP. Will only work if one SG is used per RDS DB (EDIT: Updated to work for DB Clusters e.g. Aurora Serverless)
import boto3
ec2_client = boto3.client('ec2')
rds_client = boto3.client('rds')
rdsNetworkInterfaces = ec2_client.describe_network_interfaces(
Filters=[
{
'Name': 'attachment.instance-owner-id',
'Values': [
@chonthu
chonthu / gist:67b0e75edd6388f4dad10394ffdb84c7
Last active April 30, 2024 17:40
traefik2-tls-passthrough
version: "3.3"
services:
app:
image: nginx
ports:
- 80
- 443
restart: unless-stopped
tty: true
@lujanfernaud
lujanfernaud / problem_solving_for_developers.md
Last active April 30, 2024 17:35
Problem Solving for Developers
@renatofrota
renatofrota / init.php
Last active April 30, 2024 17:34
Adianti Debug - Funções d, dd, p, pp
<?php
// adicione estas funções no arquivo init.php
// uso: d($argumento1, $argumento2, ...);
// https://github.com/renatofrota
// dump
function d(...$args)
{
ob_start();
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active April 30, 2024 17:33
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@1eedaegon
1eedaegon / install-vmware-player-with-vagrant.ps1
Last active April 30, 2024 17:33
Install vagrant with vmware for windows 11
# 1. Download and install go
https://golang.org/doc/install
# 2. Download and install VMware workstation player
https://www.vmware.com/products/workstation-player.html
# 3. Download and install vagrant
https://www.vagrantup.com/downloads
# 4. Download vagrant vmware utility