This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM postgres:12 | |
# Create plpython3u when the db starts. | |
RUN echo 'CREATE EXTENSION IF NOT EXISTS plpython3u;' > /docker-entrypoint-initdb.d/py3.sql | |
# Installing last python and plpython3 for current version | |
RUN apt update && apt install python3 python3-pip postgresql-plpython3-${PG_MAJOR} -y | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Installing Docker!" | |
sudo apt update | |
sudo apt install -y \ | |
sudo apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common jq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $EUID != 0 ]; then | |
sudo "$0" "$@" | |
exit $? | |
fi | |
echo -e "" | |
echo -e "\e[1;31m****************Update & dist-upgrade!!\e[0m" | |
echo -e "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Removes old revisions of snaps | |
# CLOSE ALL SNAPS BEFORE RUNNING THIS | |
set -eu | |
if [ $EUID != 0 ]; then | |
sudo "$0" "$@" | |
exit $? | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#* It gets last Miniconda3 Linux version and install it | |
CONDA_INSTALLER_URL='https://repo.anaconda.com/miniconda/' | |
OUTPUT_INSTALLER='/tmp/Miniconda3-latest-Linux-x86_64.sh' | |
echo "*** Descargando instalador de Anaconda --> Miniconda3-latest-Linux-x86_64.sh" | |
curl "$CONDA_INSTALLER_URL"Miniconda3-latest-Linux-x86_64.sh --output $OUTPUT_INSTALLER | |
INSTALLER_MD5=$(curl -s $CONDA_INSTALLER_URL 2>&1 | awk '$1=$1' ORS=' ' | perl -n -e'/href="Miniconda3-latest-Linux-x86_64.sh.*?([a-f0-9]{32})/ && print $1' ) | |
GET_MD5=$(md5sum $OUTPUT_INSTALLER | awk '{ print $1 }') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:buster-slim | |
RUN apt update -y && apt upgrade -y && apt install git build-essential -y | |
ENTRYPOINT ["tail", "-f", "/dev/null"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check status | |
Write-Host "Checkeando wiffi" | |
while($true) | |
{ | |
$output = "" | |
$red = "" | |
$fecha = Get-Date | |
$red = netsh wlan show interfaces | select-string -Pattern '\sSSID','\sSeñal','\sEstado ' | Out-String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net stop wuauserv | |
CD %Windir% | |
CD SoftwareDistribution | |
DEL /F /S /Q Download | |
net start wuauserv | |
PAUSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh -c "$(curl -fsSL \ | |
https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Plugin: zsh-completions | |
git clone https://github.com/zsh-users/zsh-completions.git \ | |
~/.oh-my-zsh/custom/plugins/zsh-completions | |
# Plugin: zsh-syntax-highlighting | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \ | |
~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting | |
# Plugin: zsh-autosuggestions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.9" | |
services: | |
# From https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#core-stacks | |
jupyterlab: | |
image: jupyter/base-notebook | |
container_name: jupyter | |
user: root | |
ports: | |
- "8888:8888" |
OlderNewer