Skip to content

Instantly share code, notes, and snippets.

View paoloumali's full-sized avatar

Paolo Umali paoloumali

View GitHub Profile
- Make it simple
- Make auth a separate service which can scale when needed
- Lessen hit by making a throttled search first if user requested to auth is existing
- When found, proceed to hash check
@paoloumali
paoloumali / r4ac international openwrt.md
Created August 5, 2022 23:53
r4ac international openwrt
root@XiaoQiang:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 01000000 00010000 "ALL"
mtd1: 00020000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 00010000 00010000 "crash"
mtd5: 00010000 00010000 "cfg_bak"
mtd6: 00200000 00010000 "overlay"
@paoloumali
paoloumali / notes.md
Last active August 15, 2022 07:42
zendesk setup

VARS

  • domain - something-help.zendesk.com

Tasks and noted behaviors

  • Create one customer
  • Manually create a ticket for that customer
  • zendesk by default sends a mail notif to requester(user that needs help) email
@paoloumali
paoloumali / gist:ac0ad91eff4c450591149b65c41b758b
Created September 8, 2022 07:55
Train yourself MariaDB from scratch
Workstation: 20.04
- install mariadb using DO guide
- install mysql-workbench using snap
- snap install mysql-workbench-community
- snap connect mysql-workbench-community:password-manager-service
- snap connect mysql-workbench-community:ssh-keys
- ignore notice about connection being non-standard as it's expected. keep it away from view.
@paoloumali
paoloumali / read.md
Created September 11, 2022 16:31
ubuntu 22.04 grub on 4k screen
@paoloumali
paoloumali / notes.md
Created October 12, 2022 23:13
PW Security

Github

When Github feels your PW is compromised, they will keep requiring some 2FA for you to be able to use the service. They will keep insisting you to change your PW

HSBC

HSBC requires passhrase to login, along with asking certain characters of your 'password' to be inputted before you can login.

## moving to other pages using categories
Common for one sidebar being used for categories and direct links
## moving inside the page
Another sidebar is used for showing which section you're scrolled to in a page
@paoloumali
paoloumali / README.md
Last active September 27, 2023 09:59
prep mac for dev
  • install brew
  • brew install bash
  • mkdir /usr/local/bin
  • ln -s /opt/homebrew/bin/bash /usr/local/bin/bash
  • echo '/usr/local/bin/bash' >> /etc/shells
  • Mac Settings > Users and Groups > right click on admin user > Advanced Settings > set the login shell to bash path
  • install docker desktop
  • brew install --cask visual-studio-code
  • install node 18 via nvm
  • git clone [email protected]:paoloumali/osx_dotfiles.git
  • Github uses www.arkoselabs.com

  • AWS Cost Explorer is not free

  • FrankenPHP is worth checking

  • Dec 27

    • pm2 refresher
    • tailwindcss refresher
  • Jan 2

  • ssh keys: ssh-keygen -t ed25519 -C “[email protected]