Skip to content

Instantly share code, notes, and snippets.

View magicdrums's full-sized avatar
🏠
Working from home

Victor Pereira Barahona magicdrums

🏠
Working from home
  • Cirion Technologies
  • Santiago, Chile
View GitHub Profile
@magicdrums
magicdrums / Cloud Manager Resource Tasks
Last active April 4, 2022 15:47
Qwiklabs - Google Cloud Platform
Tarea 1: Create a project jumphost instance
Run command:
gcloud compute instances create <NOMBRE_INSTANCIA> \
--network nucleus-vpc \
--zone us-east1-b \
--machine-type f1-micro \
--image-family debian-9 \
--image-project debian-cloud \
--scopes cloud-platform \
@magicdrums
magicdrums / .screenrc
Last active December 14, 2015 21:09
.screenrc
term "xterm-256color"
shelltitle "$ |Shell"
screen -t Shell 0
defscrollback 5000
caption always "%-Lw %{= kG}Host: %{Y}%H%? %{c}(%1`)%{= kG} %-=Load: %{Y}%l%{kG} %{= kG}Date: %{Y}%m/%d/%y%{= kG} Time: %{Y}%C:%s%a%{= kG}%{W}"
hardstatus alwayslastline "%Lw %{=kG}"
blankerprg top
idle 30 blanker
@magicdrums
magicdrums / verify_vm
Last active December 14, 2015 21:09
Kernel 2.3.6-358.0.1 – CentOS
[root@vm01 ~]# uname -a
Linux vm01 2.6.32-358.0.1.el6.x86_64 #1 SMP Wed Feb 27 06:06:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@vm01 ~]# cat /etc/issue
CentOS release 6.4 (Final)
Kernel \r on an \m