Skip to content

Instantly share code, notes, and snippets.

View fishi0x01's full-sized avatar
💾
0x01

Karl Fischer fishi0x01

💾
0x01
View GitHub Profile
@fishi0x01
fishi0x01 / homebrew.md
Last active May 12, 2024 09:03
bump vsh version
https://github.com/fishi0x01/k8s-manifests 98606b177fdbe4305035abd3d38dcf844d8cca0e
@fishi0x01
fishi0x01 / dashboard.tf
Created April 22, 2021 14:11
Terraform Datadog Debug
This file has been truncated, but you can view the full file.
terraform {
required_providers {
datadog = {
source = "DataDog/datadog"
version = "2.25.0"
}
}
}
resource "datadog_dashboard" "dashboard" {
@fishi0x01
fishi0x01 / luks-encryption.md
Last active January 5, 2022 18:28
Creating an encrypted drive with cryptsetup

Ensure to select the proper drive

fdisk -l
lsblk

Setup encryption

Assuming sdX is the device to encrypt

@fishi0x01
fishi0x01 / setup_rpi_openocd.md
Created February 13, 2021 09:36 — forked from tstellanova/setup_rpi_openocd.md
Setup rpi0 with openocd for flashing nrf52

Instructions for setting up a Raspberry Pi Zero for running OpenOCD specifically for the purpose of disabling Access Port Protection on nrf52 boards.

Build OpenOCD with CMSIS-DAP and GPIO support

The below script builds natively on the RPi0, and will take a very long time.

sudo apt install wget git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev libhidapi-dev libftdi-dev libhidapi-dev telnet
git clone https://github.com/ntfreak/openocd
cd openocd
./bootstrap
#! /bin/bash
usage() {
echo "measureTraffic.sh <targetIP>"
}
if [ -z "$1" ]; then
usage
exit 1
fi
---
jenkins:
systemMessage: "Powered automagically by Groovy and Configuration-as-Code Plugin\n\n"
numExecutors: 5
crumbIssuer:
standard:
excludeClientIPFromCrumb: false
remotingSecurity:
projects = [
[name: "serviceA", cron: "@daily"],
[name: "serviceB", cron: "@hourly"],
[name: "serviceC", cron: "@daily"],
]
for(project in projects) {
folder("${project.name}")
node('master') {
stage('Checkout') {
// Clean workspace and checkout shared library repository on the jenkins master
cleanWs()
checkout scm
}
stage('Configuration') {
// set CasC config in master
sh('cp /var/jenkins_home/workspace/Admin/Configure/resources/config/configuration-as-code-plugin/jenkins.yaml /var/jenkins_home/jenkins.yaml')
@fishi0x01
fishi0x01 / keybase.md
Last active March 9, 2020 21:01
keybase.md

Keybase proof

I hereby claim:

  • I am fishi0x01 on github.
  • I am fishi0x01 (https://keybase.io/fishi0x01) on keybase.
  • I have a public key ASBC98LoqVmGXqBk9o2PyofHRZ7Ee5d2Yi5C09wcQsxuzAo

To claim this, I am signing this object: