Skip to content

Instantly share code, notes, and snippets.

View thenets's full-sized avatar
🍫
Nothing is true; Everything is permitted

Luiz Felipe F M Costa thenets

🍫
Nothing is true; Everything is permitted
View GitHub Profile
@thenets
thenets / Dockerfile_laravel
Created August 22, 2017 01:41
Dockerfile for Laravel - Ubuntu 16.04
FROM ubuntu:16.04
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y htop curl nano
# Install PHP
RUN apt-get install -y php7.0 php7.0-mbstring php7.0-dom
@thenets
thenets / tyrworker.sh
Last active June 27, 2017 15:02
Start a TyrAlgorithm Worker
#!/bin/bash
# Install Docker if not avaliable
if ! [ -x "$(command -v docker)" ]; then
curl -sSL https://get.docker.io | sudo sh
fi
# Update Tyr Worker image
docker pull thenets/tyrworker:latest
clear
echo "# ======================================================== #"
echo "# == Easy CKAN installation for Ubuntu 16.04 == #"
echo "# #"
echo "# Special thanks to: #"
echo "# Alerson Luz (GitHub: alersonluz) #"
echo "# Adrien GRIMAL #"
echo "# ======================================================== #"
su -c "sleep 3"
#!/bin/bash
# ======================================================
# Simple one command installers for Fedora
# ======================================================
# Atom IDE
rm -f /tmp/atom.x86_64.rpm ; wget -O -q /tmp/atom.x86_64.rpm $(curl -sSL https://api.github.com/repos/atom/atom/releases/latest | sed 's/ //g' | grep '/atom.x86_64.rpm' | sed 's/"browser_download_url"://g' | sed 's/"//g') ; sudo dnf install -y /tmp/atom.x86_64.rpm
@thenets
thenets / telegram_install.sh
Created July 24, 2016 20:37
Telegram Installer Script
# Create installation dir
mkdir ~/.apps/
# Remove old version
rm -R ~/.apps/Telegram/
# Download and extract
cd ~/.apps/
wget https://tdesktop.com/linux -O "telegram.tar.xz"
tar -xf ./telegram.tar.xz