Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael L. Gantz gantzm

View GitHub Profile
@gantzm
gantzm / UniFlashClone.txt
Created Nov 13, 2018
UniFlash - Cloning a project from the command line.
View UniFlashClone.txt
c:\ti\uniflash_4.4.0>dslite.bat --mode cc32xx project clone --name MyProject --overwrite --new MyProjectTest
View keybase.md

Keybase proof

I hereby claim:

  • I am gantzm on github.
  • I am gantzm (https://keybase.io/gantzm) on keybase.
  • I have a public key ASCZB3Qkfv3BHC-HNEndNyWHVupg78i2_j4sWFb2TNnvsQo

To claim this, I am signing this object:

View mysql setup
create database db_name;
show databases;
create user db_user;
grant all on db_name.* to 'db_user'@'localhost' identified by 'db_password';
@gantzm
gantzm / tar_par_compression
Created Sep 6, 2013
Parallel compression with tar.
View tar_par_compression
alias tar='tar --use-compress-program=pbzip2'
@gantzm
gantzm / esxi_jumbo_frames.txt
Created Dec 4, 2012
Test jumbo frames on ESXI.
View esxi_jumbo_frames.txt
vmkping -s 8972 -d IP
@gantzm
gantzm / linux_scsi_scan
Last active Oct 3, 2015
Linux - rescan scsi bus
View linux_scsi_scan
echo "- - -" > /sys/class/scsi_host/host#/scan
@gantzm
gantzm / gist:2393900
Created Apr 15, 2012
Apply patches to ESXI.
View gist:2393900
esxcli --server=10.69.0.2 --username=root software vib update --depot=/vmfs/volumes/DataStore-1/ISO/update-from-esxi5.0-5.0_update01.zip
@gantzm
gantzm / pom.xml
Created Mar 30, 2012
Maven pom ordering of elements.
View pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion/>
<parent>
<artifactId/>
<groupId/>
<version/>
<relativePath/>
@gantzm
gantzm / gist:2030516
Created Mar 13, 2012
How to find dns glue records.
View gist:2030516
dig +short com. NS
<answers>
dig +norec @h.gtld-servers.net. gantzgulch.com. NS
@gantzm
gantzm / gist:1941251
Created Feb 29, 2012
Bash history hacks.
View gist:1941251
# Taken from http://blog.sanctum.geek.nz/better-bash-history/
# Use append mode.
shopt -s histappend
# Keep last 5000 commands
HISTSIZE=5000
HISTTIMEFORMAT='%F %T '