Skip to content

Instantly share code, notes, and snippets.

View trash-anger's full-sized avatar
👽
Hi !

Florian Frouin trash-anger

👽
Hi !
View GitHub Profile
# Source: https://gist.github.com/0c56f8b8a820198ada44123fa1bf4b60
################################################################
# How To Apply GitOps For Everything Using Crossplane And Flux #
# https://youtu.be/dunU2ABitMA #
################################################################
# Additional Info:
# - eksctl - How to Create and Manage AWS EKS clusters: https://youtu.be/pNECqaxyewQ
# - Flux CD v2 With GitOps Toolkit - Kubernetes Deployment And Sync Mechanism: https://youtu.be/R6OeIgb7lUI
@aberezin
aberezin / iterm
Created June 22, 2018 22:53 — forked from vyder/iterm
iterm.bash - Launch iTerm from command line
#!/usr/bin/env bash
#
# Open new iTerm window from the command line using v3 syntax for applescript as needed in iTerm2 Version 3+
# This script blocks until the cmd is executed in the new iTerm2 window. It then leaves the window open.
# TODO Add option to close iTerm2 after cmd execs
# See also https://www.iterm2.com/documentation-scripting.html
#
# Usage:
@TolgaBagci
TolgaBagci / Download vIOS-L2.md
Last active July 8, 2023 13:24
Download vIOS-L2

Using the GNS3 program, you can use the vIOS-L2 IOS image for Cisco CCNA and Cisco CCNP exams. To download vIOS-L2, visit the relevant post by clicking the link below.

Download IOS: vIOS-L2

@Conobi
Conobi / [1]install.md
Last active January 11, 2023 02:18
Oh my ZSH on Ubuntu w/ Neofetch

Avant on fait un petit

sudo apt install zsh neofetch netcat 

On installe Oh my zsh

wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh

On met zsh comme interprétateur par défaut

@azizur
azizur / Creating a static copy of a dynamic website.md
Last active July 9, 2024 03:00
Creating a static copy of a dynamic website

The command line, in short…

wget -k -K -E -r -l 10 -p -N -F --restrict-file-names=windows -nH http://website.com/

…and the options explained

  • -k : convert links to relative
  • -K : keep an original versions of files without the conversions made by wget
  • -E : rename html files to .html (if they don’t already have an htm(l) extension)
  • -r : recursive… of course we want to make a recursive copy
  • -l 10 : the maximum level of recursion. if you have a really big website you may need to put a higher number, but 10 levels should be enough.
@jamesrr39
jamesrr39 / Golang program stdin stdout interaction.md
Last active July 12, 2023 18:21
Using stdout and stdin from other programs in Golang

Go program interaction

Example of how to use stdout and stdin from other programs in golang

Requires go

Run

go run parentprocess.go
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten