Holberton School and The Low-Level Algorithms

How processes interact with the virtual memory

This image is a combination of Filindmitriy86, and oldschoolroleplaying.

The process


How to setup my Ubuntu

Resolver warning de perl

echo 'export LC_ALL=$LANG' >> ~/.bash_aliases

Resolver el problema de la zona horaria

sudo timedatectl set-timezone America/Bogota

Actualizar vim8

sudo add-apt-repository ppa:jonathonf/vim
sudo apt update
sudo apt install vim
vim --Version | head -1

Actualizar gdb

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gdb -y
gdb -v
sudo add-apt-repository ppa:ubuntu-toolchain-r/test --remove
sudo apt update
gdb --version | head -1

Instalar tmux 3.1b

wget -O ~/tmux https://github.com/nelsonenzo/tmux-appimage/releases/download/tmux3.1b/tmux-3.1b-x86_64.AppImage
chmod +x ~/tmux
mkdir -p /usr/local/bin
sudo mv ~/tmux /usr/local/bin/
source ~/.bashrc
tmux -V

Habitar el redireccionamiento x11 (abrir ventanas en el host)

config.ssh.forward_agent = true
config.ssh.forward_x11 = true
Vagrant.configure("2")…

Roots project icon
Roots Icon

Our Team


Logo

Measure the memory

vagrant@vagrant-ubuntu-trusty-64:~$ whatis free
free (1) - Display amount of free and used memory in the system
vagrant@vagrant-ubuntu-trusty-64:~$ free --si -h
total used free shared buffers cached
Mem: 501M 205M 295M 372K 18M 72M
-/+ buffers/cache: 114M 386M
Swap: 0B 0B 0B


Recursion, Holberton

What is a recursion In C

«A thing is defined in terms of itself or of its type»

— Wikipedia

Recursion in google meets


TL;DR — Enable Emacs shortcuts (PS6 & PS7)

Steps:

\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
\> mkdir $(Split-Path $PROFILE)
\> echo "Set-PSReadLineOption -EditMode Emacs" >> $PROFILE
\> & $PROFILE

Explanation:

  1. Set RemoteSigned into ExcecutionPolicy for CurrentUser
  2. mkdir creates the $PROFILE directory
  3. Paste the Emacs-Edit-Mode into $PROFILE’s file
  4. Reload $PORFILE configuration

Say Hi to PowerShell



What happens when you type `gcc main.c`

Photo by Aleks Dorohovich on Unsplash

What happens when you type ls *.c

Syntax

Wildcards

Gustavo Adolfo Mejía

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store