Skip to content

Instantly share code, notes, and snippets.

View pocco81's full-sized avatar
🍁
I may be slow to respond.

pocco pocco81

🍁
I may be slow to respond.
  • Mars
View GitHub Profile
#!/bin/bash
#sve = System Variable Exemplifier
#This script executes whatever file you tell regardless of in which directory it's currently in.
script_help=$( cat << EOF
This script executes whatever file you tell regardless of
in which directory it's currently in. In order or execution,
@pocco81
pocco81 / .vimrc
Last active January 12, 2021 18:05
this is my old .vimrc
if $COLORTERM == 'gnome-terminal'
set t_Co=256
endif
set shell=bash
map <C-z> u
set nocompatible " be iMproved, required
@pocco81
pocco81 / Online_file_checker.sh
Created September 16, 2020 04:27
This will check if the folder exists, and then create it if false
file_1=test_1; if [ -d "$file_1" ]; then echo -e "\nfile:\t→→\t$file_1\nstatus: exists"; else echo -e "file:\t→→\t$file_1\nstatus: does not exists\n"; read -p "Do you want to create $file_1? (y/n): " u_answer; case $u_answer in y|Y|yes|Yes|YES|YeS|YEs|yeS) echo -e "creating $file_1...\n"; `mkdir $file_1`; case "${?}" in 0) echo -e "\nfile: $file_1\nstatus: created"; ;; *) echo -e "ERROR: something happened\nthis might be caused because you don't have permission to write to this folder\nrun 'cd ..' & 'sudo chmod 775 your_folder'"; ;; esac; ;; n|N|No|nO|n0|N0|no) echo "Glad to help!"; ;; *) echo -e "ERROR: command $u_answer not recognized\nexiting the program..."; ;; esac; fi
@pocco81
pocco81 / README.md
Last active September 16, 2020 04:41
Welcome to my GitHub page!

Hi there πŸ‘‹! I'm Sebastian


  • 🌱 Programming growth: Python, Bash, Markdown and Arduinoo
  • β˜• Languages: Spanish, English, Portuguese & Esperanto
  • πŸ“« Contact: [email protected]

GitHub followers GitHub watchers

@pocco81
pocco81 / README-Template.md
Created August 27, 2020 03:31 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites