Skip to content

Instantly share code, notes, and snippets.

View aqhmal's full-sized avatar
🤕
$.get('//127.0.0.1')

Aqhmal Hafizi aqhmal

🤕
$.get('//127.0.0.1')
View GitHub Profile
@aqhmal
aqhmal / pgsql.md
Last active November 16, 2022 03:46
[HTB] Useful PostgreSQL Commands

Get

Get tables

SELECT tablename FROM pg_catalog.pg_tables WHERE pg_tables.schemaname = 'public'
@aqhmal
aqhmal / setup-docker-wiith-ufw.md
Last active May 13, 2022 08:13
Setup Docker with UFW

Setup Docker with UFW

In this scenario, I am using DigitalOcean VPS to demonstrate on this tutorial.

Setup the VPS

  1. Update & upgrade the repository
$ sudo apt-get update
@aqhmal
aqhmal / setup-verified-git-commit-in-macosx.md
Last active February 14, 2021 06:26
Setup Verified Git Commit in MacOSX

Setup Verified Git Commit in MacOSX

  1. Install the required packages.
$ brew install gpg2 pinentry-mac
  1. Generate a GPG key pair.
$ gpg --full-generate-key