Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am guitmz on github.
  • I am guitmz (https://keybase.io/guitmz) on keybase.
  • I have a public key whose fingerprint is C695 D4A8 F408 987F 9515 4C77 62EE 4AAA A871 0326

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am guitmz on github.
  • I am guitmz (https://keybase.io/guitmz) on keybase.
  • I have a public key ASA678m1aS4xfKoiWPFi7VVzy-Qa-xpkDr-wJat5rWvpnQo

To claim this, I am signing this object:

@guitmz
guitmz / mfa-s3-cloudtrail.md
Last active June 7, 2022 20:50
Enable MFA in CloudTrail S3 Bucket
  1. Run list-buckets command (OSX/Linux/UNIX) to list all S3 buckets available in your AWS account:
aws s3api list-buckets
  --query 'Buckets[*].Name'
  1. The command output should return the name of each S3 bucket available in your AWS account:
@guitmz
guitmz / Emacs.md
Created February 8, 2022 13:25 — forked from redinger/Emacs.md
Setting up Emacs daemon on OS X

Setting up Emacs daemon on OS X

Tired of waiting for emacs to start on OS X? This step by step guide will teach you how to install the latest version of emacs and configure it to start in the background (daemon mode) and use emacsclient as your main editor.

Install Cocoa Emacs

Download the latest pretest version of [Emacs for Mac OS X]: http://emacsformacosx.com/builds

@guitmz
guitmz / mode-line+.el
Created August 9, 2022 20:41 — forked from clemera/mode-line+.el
mode-line+
;;; -*- lexical-binding: t; -*-
;; doom-mode-line > mood-line > mode-line+
;; * Deps
(defvar anzu--state nil)
(defvar multiple-cursors-mode nil)
(declare-function flycheck-count-errors "ext:flycheck" (errors))
(declare-function anzu--update-mode-line "ext:anzu" ())
(declare-function mc/num-cursors "ext:multiple-cursors" ())
@guitmz
guitmz / elf64-bss.asm
Created March 8, 2023 18:33 — forked from warabanshi/elf64-bss.asm
ELF sample6 bss division
BITS 64
org 0x08048000
ehdr: ; ELF64_Ehdr(ELF header)
db 0x7f, "ELF", 2, 1, 1 ; e_ident
times 9 db 0 ; e_ident
dw 2 ; u16 e_type
dw 0x3e ; u16 e_machine /usr/include/linux/elf-em.h
; 62 = x86-64
dd 0x01 ; u32 e_version