Skip to content

Instantly share code, notes, and snippets.

Luis Guzman Ark74

Block or report user

Report or block Ark74

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
@Ark74
Ark74 / obs-acc-free.sh
Created Dec 20, 2018
Trisquel compliant obs-studio rebuild
View obs-acc-free.sh
#!/bin/bash
apt install \
build-essential \
cdbs \
cmake \
debhelper \
libasound2-dev \
libavcodec-ffmpeg56 \
libavdevice-dev \
@Ark74
Ark74 / setup_trisquel8.sh
Created Nov 17, 2018
Backport installer to python3 (Trisquel 8)
View setup_trisquel8.sh
#!/bin/sh -e
# "-e" exists on first error.
#Check if user is root
if ! [ $(id -u) = 0 ]; then
echo "You need to be root or have sudo privileges!"
exit 1
fi
apt -yq2 install libpng-dev \
libfreetype6 \
@Ark74
Ark74 / install-google-fonts.sh
Last active Oct 10, 2018 — forked from keeferrourke/install-google-fonts.sh
A bash script to install all Google Fonts, system wide, on debian based systems (ex. Ubuntu)
View install-google-fonts.sh
#!/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 / Install-meet-jibri.sh
Last active Jan 7, 2019
First attempt to simplify the jitsi-jibri installation. - DEPRECATED please check: https://github.com/switnet-ltd/quick-jibri-installer
View Install-meet-jibri.sh
#!/bin/bash
# Quick Jibri Installer
# Luis Guzman - ark@switnet.org
# GPLv3 or later
# SYSTEM SETUP
JITSI_UNS_REPO=$(apt-cache policy | grep http | grep jitsi | grep unstable | awk '{print $3}' | head -n 1 | cut -d "/" -f 1)
CERTBOT_REPO=$(apt-cache policy | grep http | grep certbot | head -n 1 | awk '{print $2}' | cut -d "/" -f 4)
APACHE_2=$(dpkg-query -W -f='${Status}' apache2 2>/dev/null | grep -c "ok installed")
NGINX=$(dpkg-query -W -f='${Status}' nginx 2>/dev/null | grep -c "ok installed")
@Ark74
Ark74 / Silan patch2
Last active Aug 12, 2018
Patching Libretime Silan (Jessie/Stretch/Xenial/Trusty/Centos7)
View Silan patch2
#!/bin/bash
# PatchSilan - A simple script for Libretime and silan backport easing its
# upgrade to a working release for Debian, Ubuntu & CentOS(7) - @Aug/10/2018
#Check distro
if [ -f /etc/redhat-release ]
then
yum -y update && yum install -y wget
SILAN_RPM="$(rpm -q silan | cut -d '-' -f 2)"
elif [ -f /etc/debian_version ]
@Ark74
Ark74 / kiwix-plug.log
Last active Aug 7, 2018
kiwix-plug error log
View kiwix-plug.log
[STAGE 0/6: Preparations - 0%]
[STAGE 0/6: Preparations - 0%]
--> Check System Requirements
Please read https://framagit.org/ideascube/pibox-installer/wikis/System-Requirements for details
--> Prepare Image file
Call: ['/usr/bin/udisksctl', 'dump']
/org/freedesktop/UDisks2/Manager:
org.freedesktop.UDisks2.Manager:
@Ark74
Ark74 / patchLT-pInst.sh
Last active Jul 31, 2018
Patching Libretime Apache reverse proxy (Xenial/Trusty)
View patchLT-pInst.sh
#!/bin/bash
# PatchLT - A simple script for Libretime and reverse proxy
# easing the SSL setup and proxy using Apache2 - @Jul/30/2018
# Use along with PR https://github.com/LibreTime/libretime/pull/501
echo "This post-install script must be run right after finishing installation."
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
@Ark74
Ark74 / posbox-ssl.sh
Last active Jan 10, 2018
POSBOX SSL for ISPConfig DNS API
View posbox-ssl.sh
#!/bin/bash
# POSBOX SSL for ISPConfig DNS API
# This is an early approach, it is NOT suitable for production, yet. ;)
#
# ToDo
# Bypass RAM disk for apache2 configuration
# otherwise certs configuration is lost on reboot.
# mount -o remount, rw /
# ========== ACME.SH (Let's Encrypt) Installation ==========
@Ark74
Ark74 / ApacheReverseOdoo.sh
Last active Jan 9, 2018
Simple Apache Reverse proxy Odoo
View ApacheReverseOdoo.sh
#!/bin/bash
echo '<VirtualHost *:80>
ServerName $DOMAIN
ServerAdmin webmaster@localhost
Redirect permanent / https://$DOMAIN
TransferLog /var/log/apache2/$DOMAIN.log
</VirtualHost>
<VirtualHost *:443>
ServerName $DOMAIN
@Ark74
Ark74 / php-5.6.X-fpm
Last active Apr 22, 2017
php-5.6.X-fpm
View php-5.6.X-fpm
#! /bin/sh
### BEGIN INIT INFO
# Provides: php-5.6.0-fpm
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts php-5.6.0-fpm
# Description: starts the PHP FastCGI Process Manager daemon
### END INIT INFO
You can’t perform that action at this time.