Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
superjojo140 /
Last active Dec 22, 2022
Apache and PHP on Archlinux

Guide to install Apache and PHP on your archlinux system and serve php-based application

Install Packages

pacman -S apache php php-apache

Config PHP

The main PHP configuration file is well-documented and located at /etc/php/php.ini

yellowbyte /
Last active Jan 11, 2023
how to assemble assembly with NASM assembler to 32-bit or 64-bit ELF binary with or without libc

32-bit ELF binary

how to assemble and link:

nasm -f elf32 -o <filename>.o <filename>.asm
ld -m elf_i386 -o <filename> <filename>.o

template code (hello world):

section .text
global _start
thomasheller /
Last active Jan 27, 2023
Install Arch Linux in VirtualBox VM
mindplace /
Last active Jan 13, 2023
Pushing your first project to github

1. Make sure git is tracking your project locally

Do you need a refresher on git? Go through Codecademy's git course.

  1. Using your terminal/command line, get inside the folder where your project files are kept: cd /path/to/my/codebase. → You cannot do this simply by opening the folder normally, you must do this with the command line/terminal.
    → Do you need a refresher on using your command line/terminal? I've compiled my favorite resources here.

  2. Check if git is already initialized: git status