Skip to content

Instantly share code, notes, and snippets.

Alexsander Falcucci alexfalcucci

Block or report user

Report or block alexfalcucci

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View clone-projects.sh
#!/bin/bash
set -euo pipefail
echo "-------------------------------------------"
echo "------ forking our repositories --------"
echo "-------------------------------------------"
links=(
"git@github.com:luizalabs/cain.git"
View update-nightly.sh
rm -rf ~/firefox-59.0a1.en-US.linux-x86_64.tar.bz2
nightly_url="https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central/firefox-59.0a1.en-US.linux-x86_64.tar.bz2"
wget $nightly_url
cd /opt
sudo rm -rf firefox/
sudo tar -xvjf ~/firefox-59.0a1.en-US.linux-x86_64.tar.bz2
View update-nightly.sh
nightly_url="https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central/firefox-59.0a1.en-US.linux-x86_64.tar.bz2"
wget $nightly_url
cd /opt
sudo rm -rf firefox/
sudo tar -xvjf ~/firefox-59.0a1.en-US.linux-x86_64.tar.bz2
@alexfalcucci
alexfalcucci / .vimrc
Last active Feb 25, 2018
lastest vimrc
View .vimrc
" ----------------------------------------------------------------------
" | General Settings |
" ----------------------------------------------------------------------
" Pathogen exec
execute pathogen#infect()
set nocompatible " Don't make vim vi-compatibile
@alexfalcucci
alexfalcucci / dracula.vim
Created Oct 23, 2017
dracula theme customized
View dracula.vim
" Dracula Theme v1.2.7
"
" https://github.com/zenorocha/dracula-theme
"
" Copyright 2016, All rights reserved
"
" Code licensed under the MIT license
" http://zenorocha.mit-license.org
"
" @author Trevor Heins <@heinst>
View .bash_prompt
#!/bin/bash
source "$(dirname $(readlink $BASH_SOURCE))/../os/utils.sh"
# ----------------------------------------------------------------------
# | Colors |
# ----------------------------------------------------------------------
enable_color_support() {
View .bash_aliases
#!/bin/bash
source "$(dirname $(readlink $BASH_SOURCE))/../os/utils.sh" \
&& declare OS="$(get_os)"
# ----------------------------------------------------------------------
# | Navigation |
# ----------------------------------------------------------------------
alias ..='cd ..'
View .bash_aliases
#!/bin/bash
source "$(dirname $(readlink $BASH_SOURCE))/../os/utils.sh" \
&& declare OS="$(get_os)"
# ----------------------------------------------------------------------
# | Navigation |
# ----------------------------------------------------------------------
alias ..='cd ..'
@alexfalcucci
alexfalcucci / .bash_history
Last active Apr 12, 2018
my bash history
View .bash_history
docker-compose buil
docker-compose build
docker-compose up
docks ps
docker ps
docker-compose ps
docker run -it app bash
docker run -it mobilevendasapi_app_1 bash
docker run -it mobilevendasapi_app bash
docker exec -it mobilevendasapi_app bash
View automatic-install-package.py
def install_and_import(package):
import importlib
try:
importlib.import_module(package)
except ImportError:
import pip
pip.main(['install', package])
finally:
globals()[package] = importlib.import_module(package)
You can’t perform that action at this time.