Skip to content

Instantly share code, notes, and snippets.

View Tower450's full-sized avatar

Jonathan Tourangeau Tower450

  • Montreal, QC Canada
View GitHub Profile
@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active April 8, 2025 00:51
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@remonsec
remonsec / Golang_bashrc
Last active January 3, 2024 21:38
bashrc setup for golang. put it on your bashrc and source it
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:$HOME/go/bin
export GOPATH=$HOME/go
@alsargent
alsargent / telegraf-synthetic-aws.conf
Created September 17, 2019 23:54
Sample configuration file for Telegraf to monitor AWS API endpoints and send to InfluxDB Cloud
# Telegraf Configuration
#
# Telegraf is entirely plugin driven. All metrics are gathered from the
# declared inputs, and sent to the declared outputs.
#
# Plugins must be declared in here to be active.
# To deactivate a plugin, comment out the name and any variables.
#
# Use 'telegraf -config telegraf.conf -test' to see what metrics a config
# file would generate.
@yifanlu
yifanlu / Ghidra-OSX-Launcher-Script.scpt
Last active April 3, 2025 16:57
Ghidra.app launcher for OSX
# Credit for this: Nicholas Swift
# as found at https://medium.com/@nicholas.w.swift/easy-a-star-pathfinding-7e6689c7f7b2
from warnings import warn
import heapq
class Node:
"""
A node class for A* Pathfinding
"""
@bmoore-msft
bmoore-msft / Verify-DeploymentGuid.ps1
Last active June 7, 2024 09:34
Fetch the resources tagged in a pid-[GUID] deployment
Param(
[string][Parameter(Mandatory=$true)]$deploymentName, # the full name of the deployment, e.g. pid-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
[string][Parameter(Mandatory=$true)]$resourceGroupName
)
# Get the correlationId of the named deployment
$correlationId = (Get-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -Name "$deploymentName").correlationId
# Find all deployments with that correlationId
$deployments = Get-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName | Where-Object{$_.correlationId -eq $correlationId}
@fedir
fedir / golang.bashrc
Last active April 19, 2024 12:06
Go (Golang) installation and path configuration for Ubuntu / Debian / Linux Mint / ...
export GOROOT=/usr/local/go
export PATH=${GOROOT}/bin:${PATH}
export GOPATH=$HOME/go
export PATH=${GOPATH}/bin:${PATH}
@learner-long-life
learner-long-life / Rinkeby.md
Last active August 30, 2022 22:32
How to get on Rinkeby Testnet in less than 10 minutes

How to get on Rinkeby Testnet in less than 10 minutes

Following instructions from the excellent https://www.rinkeby.io/

Synchronizing a Full Node

A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,

@nikhita
nikhita / update-golang.md
Last active April 7, 2025 21:32
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: