Skip to content

Instantly share code, notes, and snippets.

Alon Ganon ChiefGyk

View GitHub Profile
@ChiefGyk
ChiefGyk / mailgun_setup.sh
Last active Sep 28, 2018
sets up mail-in-a-box to work with mailgun for email relaying
View mailgun_setup.sh
#!/bin/bash
#Must make the sasl_passwd and relayhost_map files beforehand. Scroll down a bit for how they are to be formatted
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
#Remove the line that has "relayhost =" we will add it back later properly
sed -i.bak '/relayhost =/d' /etc/postfix/main.cf
#Look for and add the appropriate lines for mailgun
grep -q -F 'smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd' /etc/postfix/main.cf || echo 'smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd' >> /etc/postfix/main.cf
@ChiefGyk
ChiefGyk / reclaimWindows10.ps1
Created May 4, 2018 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults)
View reclaimWindows10.ps1
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.12.1, 2018-03-15
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
View HTML5-Markup-Template---Basic.markdown

HTML5 Markup Template - Basic

A very basic starter template with fundamental HTML5 markup -- only the basics.

Based on HTML5 Bones | http://html5bones.com

You can’t perform that action at this time.