Skip to content

Instantly share code, notes, and snippets.

View lucazz's full-sized avatar
🇧🇷
Working from home

Lucas do Amaral Saboya lucazz

🇧🇷
Working from home
View GitHub Profile
@stevenringo
stevenringo / reinvent-2017-youtube.md
Created December 3, 2017 23:01
Links to YouTube recordings of AWS re:Invent 2017 sessions

| Title | Description

ASAPP DevOps and Systems Engineering Challenge
==============================================
v0.1
Welcome to your challenge project!
You have two timeline options. If you live outside of NY and would have to fly in for your onsite, we strongly prefer that you take option 1. If coming in to the office is easy for you, then whichever you prefer is great.
Option 1: Code at home, half-day at ASAPP
@MattSurabian
MattSurabian / ansible-hacks.tf
Last active December 14, 2015 17:22
terraform ansible provisioning hack uses environment variables:DEBIAN_FRONTEND=noninteractive, AWS_PRIV_KEY=one line using \n, ANSIBLE_HOST_KEY_CHECKING=false, AWS_ACCESS_KEY_ID, and AWS_SECRET_ACCESS_KEY
provider "aws" {
region = "us-east-1"
}
resource "aws_instance" "terraform-test" {
ami = "ami-408c7f28"
instance_type = "t1.micro"
key_name = "atlas-testing"
security_groups = ["terraform-testing"]
}
@jaredmichaelwilliams
jaredmichaelwilliams / 0.Setup
Last active August 28, 2018 01:28
Setting up a Yubikey for use with SSH
Preparation
Purchase YubiKey NEO
Install X Code and Command Line Tools, if installing anything from source.
X Code can be installed from the App Store.
Command Line Tools are installed from X Code: X Code -> Preferences -> Downloads -> Components -> Command Line Tools.
Install YubiKey reader library libyubikey (aka yubico-c)
Using homebrew:
brew install libyubikey
brew install ykpers
#!/bin/bash
echo "Detailed Inode usage for: $(pwd)" ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; echo -e "$c\t\t- $d\n" ; done | sort -n ; echo -e "Total: \t\t$(find $(pwd) | wc -l)\n"
@chojayr
chojayr / dashing_zabbix_trigger.md
Last active November 28, 2023 16:39
Dashboard(Dashing) Zabbix Triggers

Dashing dashboard for zabbix trigger

zabbix trigger zabbix trigger

This will provide the total number of alerts on triggers status

  • flash when there's an alert/triggers (color based on the zabbix trigger color format)
  • trigger = Warning, Average, High & Disaster
  • unacknowledge triggers
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 4, 2024 17:58
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname