Skip to content

Instantly share code, notes, and snippets.

@TGM
TGM / INSTALL.md
Created March 14, 2018 12:51 — forked from arya-oss/INSTALL.md
Ubuntu 16.04 Developer Tools installation

Ubuntu 16.04 Developer Tools Installation

First things first !

sudo apt update
sudo apt upgrade

Standard Developer Tools

sudo apt-get install build-essential git
# Update & Upgrade the System
sudo apt-get update
sudo apt-get upgrade
# Install dependencies there might be more based on your system
# However below instructions are for the fresh Ubuntu install/server
# Please carefully watch the logs because if something could not be install
# You have to make sure it is installed properly by trying the command or that particular
# dependency again
@TGM
TGM / zfs_health.sh
Created October 13, 2017 13:27 — forked from geggo98/zfs_health.sh
ZFS health checker script from calomel.org, adapted for Ubuntu Linux
#! /bin/sh
# ZFS health version for Ubuntu
# You must install the package "dateuils" from the univers
#
# Based on Calomel.org
# https://calomel.org/zfs_health_check_script.html
# FreeBSD ZFS Health Check script
# zfs_health.sh @ Version 0.16
# Check health of ZFS volumes and drives. On any faults send email.
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
@TGM
TGM / meta-tags.md
Created November 12, 2013 21:35 — forked from jaigouk/meta-tags.md

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@TGM
TGM / mysql_multiple_import.bash
Created October 14, 2012 10:24 — forked from gagarine/mysql_multiple_import.bash
Import multiple sql file in a mysql database
#!/bin/bash
db=$1
user=$2
passwd=$3
if [ "$db" = "" ]; then
echo "Usage: $0 db_name user password"
exit 1
fi
clear
for sql_file in *.sql; do