Skip to content

Instantly share code, notes, and snippets.

guruevi / remoteCP.bat
Created Mar 6, 2020
A quick and dirty method of remotely admin-ing a Windows CrashPlan Pro instance.
View remoteCP.bat
@echo off
echo Enter the computer name or IP you want to connect to
set /P name="Hostname: "
rem Making a backup
copy C:\ProgramData\CrashPlan\.identity C:\ProgramData\CrashPlan\.identity-CPProxy
copy C:\ProgramData\CrashPlan\.ui_info C:\ProgramData\CrashPlan\.ui_info-CPProxy
copy C:\ProgramData\CrashPlan\service.pem C:\ProgramData\CrashPlan\service.pem-CPProxy
rem Copying the necessary files
guruevi /
Created Feb 6, 2020 — forked from dansimau/
Shell script that reads LDIF data from STDIN and outputs as CSV.
# Converts LDIF data to CSV.
# Doesn't handle comments very well. Use -LLL with ldapsearch to remove them.
# 2010-03-07
# Show usage if we don't have the right params
guruevi /
Created Jan 29, 2017
Create a User in UCS with RFC2307 (Unix Extensions in Samba) enabled
# Collect information
echo "Enter first name"
read firstname
echo "Enter last name"
read lastname
echo "Enter username"
read username
guruevi / 99-checkwifi
Created Sep 22, 2016
Reboot if network connection is down
View 99-checkwifi
#put in /etc/cron.daily
ping -c4 > /dev/null
if [ $? != 0 ]
sudo /sbin/shutdown -r now
#!/usr/bin/env python
import dns.resolver
import time
import sys
from collections import defaultdict
services = {
#'local': [''],