Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
#
# Script to install Postgrey and SpamAssassin with ZPanel
#
# Tested on:
# - Centos 6.4 and ZPanel 10.1.0
# - Centos 6.5 and ZPanel 10.1.1
#
# Original post: http://goo.gl/5iG3LN
#
echo off
REM Replace [[[USER]]] with your local user account name
REM Clean Libraries
del /Q /S "C:\Users\[[[USER]]]\Contacts\*.*" > nul
del /Q /S "C:\Users\[[[USER]]]\Downloads\*.*" > nul
del /Q /S "C:\Users\[[[USER]]]\Music\*.*" > nul
del /Q /S "C:\Users\[[[USER]]]\Pictures\*.*" > nul
del /Q /S "C:\Users\[[[USER]]]\Videos\*.*" > nul
@bdamusis
bdamusis / vagrant-docker-digitalocean
Last active December 20, 2021 02:30 — forked from jsoriano/Vagrantfile
Vagrantfile for deploying to Digital Ocean droplet with Docker
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Quick start:
# - vagrant plugin install vagrant-digitalocean
# - Set-up ~/.digital_ocean.rb like this:
# module DigitalOceanKeys
# CLIENT_ID = 'foooooooo'
# API_KEY = 'fabada'
# end
@bdamusis
bdamusis / export-mysql.sql
Created August 4, 2014 18:24 — forked from paulund/export-mysql.sql
Import / export sql database via command line
mysqldump -p -u username -h hostname database_name > dbname.sql