Skip to content

Instantly share code, notes, and snippets.

@gmariani
gmariani / disable_email_forward_hook.php
Last active Sep 20, 2021
Disable email forwarding to external domains in cPanel
View disable_email_forward_hook.php
#!/usr/local/cpanel/3rdparty/bin/php -q
<?php
/**
* @version 1.0.0
* @package Disable Email Forwards
* @author Gabriel Mariani
* @url https://coursevector.com
* @copyright Copyright (c) 2020 CourseVector LLC. All rights reserved.
* @license GNU/GPL license: https://www.gnu.org/copyleft/gpl.html
@gmariani
gmariani / mssql-csv.aspx.vb
Created Jan 20, 2018
MSSQL export as CSV
View mssql-csv.aspx.vb
Imports CompanyLibrary
Imports System.Data.DataTable
Imports System.Data.SqlClient
Imports System.Data.Sql
Imports System.Data.SqlTypes
Imports System.Configuration
Partial Class viewcsv
Inherits System.Web.UI.Page
Dim db As New CompanyDataContext