One of my most beautiful experience

How to setup my Ubuntu

One of the most beautiful experiences in holberton

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

referencia: https://github.com/nelsonenzo/tmux-appimage/releases

Habitar el redireccionamiento x11 (abrir ventanas en el host)

copias las siguientes lineas en el VagrantFile

config.ssh.forward_agent = true
config.ssh.forward_x11 = true

debería verse así

Vagrant.configure("2")…

Roots project icon
Roots project icon
Roots Icon

Roots was an Idea from our peer Alison Alison Quintero, She has a brother in the autism spectrum. He studies everyday with a specialist how to understand the world.

The people who are un this Spectrum has problem with verbal communication. The world has a lot of information and it becames into a chaos for them. For this reason The pictograms was created.

The pictograms are graphical and simple representations which shows actions, objects, pronoms with simple images. With this, Alison’s brother can create sentences.

And with the platform we became this images into a digital tool for latins speakers

Our Team


Tutorial valgrind

Logo

Lets start talking about the What happen to the RAM when you execute your program.

Measure the memory

the command free will show you the free memory in the system

vagrant@vagrant-ubuntu-trusty-64:~$ whatis free
free (1) - Display amount of free and used memory in the system

and with the flag --si and -h you can get a better representation, --si will show you GigaBytes instead Gigibytes and the flag -h include the symbols

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

In this example…


Recursion, Holberton

What is a recursion In C

Let’s start with a simple definition of Recursion

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

— Wikipedia

But what it means. Well, Let’s keep simple «It’s like search a word in a dictionary and find the word in the definition»

In these days that we are in quarantine and the virtual conferences are everywhere. We can find a recursion when we see our shared screen

Recursion in google meets

I admit that is funny search some visual recursions


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

Steps:

Open PowerShell and run this 4 lines

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

use Ctrl+p to search into history to check the change was done

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

PowerShell and command line (CMD) are the default tools in windows, and you has to deal with it. Linux and Mac has a bash terminal. …


Static Libraries


What happens when you type `gcc main.c`

Short answer: A new execute file born…

That’s all, now you can close the page.

… bye …

Photo by Aleks Dorohovich on Unsplash

I don’t expect that you still here, but if you are like me and this answer is simple and tasteless, and it only gives you another question … what suppose to be an execute file?

Well, keep reading

Maybe you are reading this article with a web explorer like chrome, firefox or safari, or Let’s think about your favorite writing program or your favorite pdf reader.


What happens when you type ls *.c

ls is a command Written by Richard M. Stallman and David MacKenzie. Yes, our favorite Hippe creator of the GNU project.

The philosophy of Unix is that “everything is a file”, and the ls command applies it. This command searches in the directory and list the files founded in a special file named standard output (stdout). Normally this output goes to the screen where we can see it.

Syntax

ls [OPTIONS] ... [FILE] ...

ls use can use one or more options to customize the selected file(s).

Wildcards

ls use wildcard to customize the output ls *c list all the files with…

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