Skip to content

Instantly share code, notes, and snippets.

@b3nw
b3nw / install_gogs_ubuntu.sh
Last active November 24, 2017 04:42 — forked from jniltinho/install_gogs_ubuntu.sh
Install Gogs on Debian or Ubuntu
#!/bin/bash
## Install Gogs v0.11.4 + Nginx Webserver + Mysql
## On Debian, Ubuntu 64Bits
## Author: Nilton OS -- www.linuxpro.com.br
## Version: 3.5
### Tested on Ubuntu 16.04 LTS 64Bits
### Tested on Debian 8/9 64Bits
echo 'install_gogs_ubuntu.sh'
@b3nw
b3nw / ansible-bootstrap-ubuntu-16.04.yml
Last active August 7, 2016 22:51 — forked from gwillem/ansible-bootstrap-ubuntu-16.04.yml
Get Ansible to work on bare Ubuntu 16.04 without python 2.7
# Add this snippet to the top of your playbook.
# It will install python2 if missing (but checks first so no expensive repeated apt updates)
# handle not being root
- hosts: all
gather_facts: False
tasks:
- name: install python 2
become: yes

Keybase proof

I hereby claim:

  • I am b3nw on github.
  • I am b3nw (https://keybase.io/b3nw) on keybase.
  • I have a public key ASAnpMYlBey60L1Esxis29qsyQChnZWWd4NYK6nZFO--Vgo

To claim this, I am signing this object: