Skip to content

Instantly share code, notes, and snippets.

View calpamos's full-sized avatar
👾
what is pointer :S

calpamos

👾
what is pointer :S
View GitHub Profile
@calpamos
calpamos / interviewing_my_mother,_a_mainframe_COBOL_programmer.txt
Created April 22, 2026 11:03
Interviewing my mother, a mainframe COBOL programmer
Interviewing my mother, a mainframe COBOL programmer
My mother has been working for one of the largest banks in the EU since before I was born and I’ve always been fascinated by her line of work, especially these last years since I’ve become a programmer myself. I’ve been asked to interview her plenty of times, and finally decided to do so.
Some notes
The banking programming world is a completely different world than what most of us are used to, and for the next couple of hours after posting this I’ll accept whatever questions you may have for her, but keep in mind that some questions may not be answered due to security concerns. I’ll be posting this to HN & Reddit and will answer questions over there as well.
I won’t write this as a Q&A, but more like I’m telling you her story.
UPDATE: I’ve added Q&A of some FAQ to the bottom of the post!
@calpamos
calpamos / diskpart USB_UEFI remove
Last active November 22, 2025 19:29
remove hidden partitions from bootable OS USBs and reset the device
diskpart
list disk
select disk *x*
clean | list partition // clean is shorthand for these commands
| select partition *x*
| delete partition *x*
create partition primary
format fs=ntfs quick
sudo apt install docker.io docker-compose
sudo apt remove --purge "libreoffice*"
sudo apt clean
sudo apt autoremove
@calpamos
calpamos / MU-TH-UR_motd
Last active November 18, 2025 11:48
motd for the discerning user
CRFX OM2077AM L ALLIGNMENT SM2093
ATTITUDE SM2078 PHOTO F SM2094
WASTE HEAT 2080 MAINS
RAD 2081 IUA SM2096
VENT 2082AM 2LA SM2097
NAVIGATION M2083 3RA SM2098
TIME M2084 4LHA SM2099
GAL POS GRAY GRIDS
COMMAND 2086SC INERTIAL DAMP 3002AM
@calpamos
calpamos / dockerized-drupal.yml
Last active July 9, 2024 11:40
typical dockerized drupal installation in handy docker-compose.yml format to hit & run
services:
mysql:
container_name: mysql
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: drupal
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
@calpamos
calpamos / tar man
Last active November 18, 2025 11:52
Tar cheatsheet
! files or directories cannot be aded to compressed .tar.gz or .tar.bz2. also cannot be verified
== CREATE ==
options:
-c create
-v verbose progress
-z zip with gz
-j zip with bz2
-f filename
@calpamos
calpamos / linuxVerboseBoot
Last active November 18, 2025 13:19
linux boot in verbose mode
sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" for GRUB_CMDLINE_LINUX_DEFAULT=""
sudo update-grub
@calpamos
calpamos / nvmInstall
Last active November 18, 2025 13:18
install nvm (node version manager)
1. wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
2. export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
3. nvm install 18.20.0
----
show node versions available to install:
@calpamos
calpamos / stealth
Last active November 18, 2025 13:18
looks busy
hexdump -C /dev/urandom | GREP_COLOR='1;32' grep --color=auto 'ca fe'
sudo tcpdump
od -c /dev/random