Skip to content

Instantly share code, notes, and snippets.

View J-DubApps's full-sized avatar

Julian West J-DubApps

View GitHub Profile

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

Param($RegPath, $Property)
Try {
$Item = Get-ItemProperty -Path $RegPath -Name $Property -ErrorAction Stop
$ItemProperty = $Item | Select -ExpandProperty $Property
Return $ItemProperty
}
Catch {
Return $null
}
@J-DubApps
J-DubApps / ipcalc-excel.vbs
Created July 18, 2020 02:46 — forked from lantrix/ipcalc-excel.vbs
IP calculator for Excel, LibreOffice and OpenOffice.org - subnet calculator and IP address functions for your spreadsheet - http://trk.free.fr/ipcalc/
' Copyright 2010-2016 Thomas Rohmer-Kretz
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the