I hereby claim:
- I am mo6020 on github.
- I am mo6020 (https://keybase.io/mo6020) on keybase.
- I have a public key whose fingerprint is 8B53 93E5 0A09 0E64 D1F8 E411 A340 FCCC 0982 94C2
To claim this, I am signing this object:
import os | |
import random | |
import math | |
from math import exp, expm1 | |
num_files_total = 1000000 | |
width = 7 | |
num_files_per_p = int(num_files_total/width) | |
count = 0 |
# | |
# This scripts measures the amount of disk change on VMs each time it is run. | |
# It measures all VM virtual disks for which CBT has been enabled. | |
# | |
# The first time it is run, it creatse a file containing baseline data (CBT change IDs and times). | |
# Each subsequent run measures changes since the baseline was set. | |
# It supports multiple virtual disks per VM, but not addition of new virtual disks after the baseline is established. | |
# Note that every run creates a short-lived snapshot on every VM that has CBT enabed. | |
# | |
# Time to run will vary in each environment. In my case, it took about 20 seconds per VM for the 1st run, |
# README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# | |
# In addition, I recommend the | |
# [Tomorrow Night theme](https://github.com/chriskempson/tomorrow-theme) and, if | |
# you're using it on Mac OS X, [iTerm 2](http://www.iterm2.com/) over | |
# Terminal.app - it has significantly better color fidelity. |
# Make all text type file names upper case | |
perl -e 'for(@ARGV){rename$_,uc}' *.txt | |
perl -e 'for(@ARGV){rename$_,uc}' *.xml | |
# Replace underscores with DASHES | |
perl -e 'do { (my $f = $_) =~ tr/_/-/; rename $_, $f } for glob "@ARGV"' *.XML | |
perl -e 'do { (my $f = $_) =~ tr/_/-/; rename $_, $f } for glob "@ARGV"' *.TXT | |
# Save @JK-47's asupsections.txt to the directory. (This is just | |
# headers and helps me call to the other files) |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Copyright 2012-2014 Matt Martz | |
# All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may | |
# not use this file except in compliance with the License. You may obtain | |
# a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
#!/usr/bin/env bash | |
# Ed Morgan [[email protected]] | |
# version 1.2 | |
# 11/09/2015 | |
# Install Hombrew first! | |
# Make sure we’re using the latest Homebrew | |
echo "Updating brews..." | |
brew update |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
tweetbot_running() { | |
ps x | grep -v grep | grep Tweetbot > /dev/null | |
} | |
clean_tweetbot_cache() { | |
rm -rf ~/Library/Containers/com.tapbots.TweetbotMac/Data/Library/Caches/com.tapbots.TweetbotMac | |
} |
################################################## | |
# Joe Martin | |
# Cisco Systems, Inc. | |
# UCS Serial Number Collector v0.8 | |
# 3/10/13 | |
# | |
# Code provided as-is. No warranty implied or included. | |
# This code is for example use only and not for production | |
# | |
# This script will create an excel file of all UCSM based |
/* | |
Change DB name, location, and vpxuser password to whatever you wish. | |
Ed Morgan [[email protected]] - 16/01/2013 | |
*/ | |
use [master] | |
go | |
CREATE DATABASE [vCentre_Server] ON PRIMARY | |
(NAME = N'vCentre_Server', FILENAME = N'E:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\vCentre_Server.mdf' , SIZE = 3000KB , FILEGROWTH = 10% ) | |
LOG ON |