Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

AliLtRP

🎯
Focusing
View GitHub Profile
@superjojo140
superjojo140 / apache_and_php.md
Last active Dec 22, 2022
Apache and PHP on Archlinux
View apache_and_php.md

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
yellowbyte / compiling_asm.md
Last active Jan 11, 2023
how to assemble assembly with NASM assembler to 32-bit or 64-bit ELF binary with or without libc
View compiling_asm.md

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
thomasheller / INSTALL.md
Last active Jan 27, 2023
Install Arch Linux in VirtualBox VM
View INSTALL.md
@mindplace
mindplace / git_and_github_instructions.md
Last active Jan 13, 2023
Pushing your first project to github
View git_and_github_instructions.md

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