Skip to content

Instantly share code, notes, and snippets.

View Ark74's full-sized avatar

Luis Guzman Ark74

View GitHub Profile
@Ark74
Ark74 / install-google-fonts.sh
Last active October 10, 2018 18:27 — forked from keeferrourke/install-google-fonts.sh
A bash script to install all Google Fonts, system wide, on debian based systems (ex. Ubuntu)
#!/bin/sh
# Written by: Keefer Rourke <https://krourke.org>
# Based on AUR package <https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttf-google-fonts-git>
# dependancies: fonts-cantarell, ttf-ubuntu-font-family, git
sudo apt-get install fonts-cantarell, ttf-ubuntu-font-family, git
srcdir="/tmp/google-fonts"
pkgdir="/usr/local/share/fonts"
giturl="git://github.com/google/fonts.git"
@Ark74
Ark74 / apache-ispconfig3-trisquel.sh
Last active April 29, 2016 23:08
Install Apache 2.4 ISPConfig3 Trisquel 7.0 64Bits
#!/bin/bash
## Install ISPConfig3 on Trisquel 7.0 64Bits on a Digital Ocean Droplet
## Author: Luis Alberto Guzmán García ark.switnet.org
## Modified from: Nilton OS blog.linuxpro.com.br
## https://www.howtoforge.com/perfect-server-ubuntu-14.04-apache2-php-mysql-pureftpd-bind-dovecot-ispconfig-3
##
## Agregar swap de 1G y ajusta archivo ssysctl
fallocate -l 1G /swapfile ; chmod 600 /swapfile ; \
mkswap /swapfile ; swapon /swapfile ; \