Skip to content

Instantly share code, notes, and snippets.

View rverrips's full-sized avatar

Roy Verrips rverrips

View GitHub Profile
@rverrips
rverrips / check_wsus.cmd
Created April 29, 2014 12:03
Reset WSUS Auth Key on PC's that were mirrorred without running SYSPREP
@echo off
:: check_wsus.cmd
::
:: Logon script that checks if workstation token exists in wsus-check$
:: If it exists, simply exit, but if not, clears WINDOWSUPDATE registry keys.
::
:: Last updated by Roy Verrips (roy@verrips.org) on 30th January 2014
::
$newpath="C:\new\place\for\Hyper-V"
get-vm | % { move-vmstorage $_ -DestinationStoragepath $($newpath+"\"+$_.VMName)}
@rverrips
rverrips / tracert-to-csv.cmd
Last active August 29, 2015 14:01
Echo Traceroute to CSV using SQLite3
@echo off
Rem Set Environment and cleanup
c:
cd\tracert
del trace.txt
del trace.sql
del trace.out
Rem Generate the Tracefile
tracert -d 65.221.28.106 > trace.txt
@rverrips
rverrips / apiCCB.php
Last active August 29, 2015 14:14 — forked from JDMcKinstry/apiCCB.php
<?
/***
* class apiCCB
*
* @author Jeremiah D. McKinstry <jdmckinstry@gmail.com>
* @date Wednesday, August 14, 2013
* @version 1.0.0
* @see https://cdn6.ccbchurch.com/2/documents/pwt_implement.pdf
*
* @copyright This class is free: you can redistribute it and/or modify

#Buffalo Network Attachable Storage

As discussed you're free to have this Buffalo HS-DH500GL 500GB NAS to use a media server, etc. I believe it can be used in conjunction with external USB drive, but I've never really tried ... It is now more than 6 years old, so if it doesn't work as a media server, don't try too hard :)

It's on DHCP - If you can't find the IP assigned through your router, or just for kicks, download the NAS Navigator, which will find it on your network and also allow you to set a fixed IP, etc. if needed.

http://www.buffalotech.com/support-and-downloads/download/nasnavi-281.zip

Once you get the IP, the below should suffice.

@rverrips
rverrips / gist:2b5e7e3e5882f245088b
Last active November 16, 2015 18:38 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
@rverrips
rverrips / connie.txt
Created April 3, 2013 17:20 — forked from joejag/connie.txt
Connie Talk on Talking
Not "Have to present" -> "Get to present"
No reporting, no informating
resonating influencing
"How do people respond to your presentations?" (walk out, ask too many follow up questions, what actions do they take)
"there is nothing normal about presenting"
Prioritize the content
Judge the audience by: "where do they spend their time, energy and money"
When mixed audience:
@rverrips
rverrips / gist:5992217
Last active December 19, 2015 17:38
Google Static Image Syntax
http://maps.googleapis.com/maps/api/staticmap?zoom=16&size=600x300&sensor=true&markers=25.279139,51.551230
@rverrips
rverrips / gist:5992215
Last active December 19, 2015 17:38
Google Maps Link Syntax
maps.google.com/maps?q=25.279139,51.551230
/** In Microsoft SQL with unixtime ... do **/
Select DATEADD(second, @Unixtime-Variable, {d '1970-01-01'})