Skip to content

Instantly share code, notes, and snippets.

View rickscherer's full-sized avatar

Rick Scherer rickscherer

View GitHub Profile
# https://github.com/tchellomello/python-ring-doorbell
from ring_doorbell import Ring
# ID of the newest video you want
OLDER_THAN = 6678032064860195883
# ID of the oldest video you want
LAST_ONE = 6675690255416888363
# grab info on this many videos at a time
CHUNK_SIZE = 50
@rickscherer
rickscherer / download-tadpoles-media.js
Last active April 16, 2019 23:48 — forked from yongheng/download-tadpoles-media.js
Download Tadpoles Media
// Step 1: Open https://www.tadpoles.com/parents and log in;
// Step 2: Select the 'all' tab (IMPORTANT STEP);
// Step 3: Select a month;
// Step 4: Open the JavaScript console in your browser (e.g., press
// Command + Alt + i in Google Chrome on a Mac, or press
// Ctrl + Shift + i in Google Chrome in Windows);
// Step 5: Copy this entire code snippet, paste it to the JavaScript console,
// and press Enter to run; all photos and videos will be downloaded
// to your default Downloads folder and they should have proper
// file names.

Keybase proof

I hereby claim:

  • I am rickscherer on github.
  • I am rickscherer (https://keybase.io/rickscherer) on keybase.
  • I have a public key whose fingerprint is E5D6 88F6 0EFA 86F1 BBC8 8710 A4F4 AF08 F2CC 648A

To claim this, I am signing this object:

@rickscherer
rickscherer / vmware_unmap_datastore.ps1
Last active May 20, 2016 17:33
Dumps Datastore (in GB): Capacity, Free, and Uncommitted space to CSV and runs ESXCli command 'unmap' to retrieve unused space on Thin Provisioned LUNs.
Clear-Host
$ErrorActionPreference = "Continue"
$DebugPreference = "Continue"
$VerbosePreference = "Continue"
@"
## vmware_unmap_datastore.ps1 #################################################
Usage: powershell -ExecutionPolicy Bypass -File ./vmware_unmap_datastore.ps1
Purpose: Dumps Datastore (in GB): Capacity, Free, and Uncommitted space to
@rickscherer
rickscherer / myqgdo.st
Created September 11, 2015 22:00
MyQ Garage Door Opener
/**
* MyQ Garage Door Opener SmartDevice
*
* Author: Jason Mok
* Date: 2014-12-26
*
***************************
*
* Copyright 2014 Jason Mok
*
@rickscherer
rickscherer / aem.st
Created September 11, 2015 21:59
Appliance Energy Meter
/**
* Copyright 2015 SmartThings
*
* 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
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
@rickscherer
rickscherer / myqsm.st
Created September 11, 2015 21:59
MyQ Service Manager
/**
* MyQ Service Manager SmartApp
*
* Author: Jason Mok
* Date: 2014-12-26
*
***************************
*
* Copyright 2014 Jason Mok
*
@rickscherer
rickscherer / yapm.st
Last active September 11, 2015 21:58
Yet Another Power Monitor
/**
* Yet Another Power Monitor
*
* Copyright 2015 Elastic Development
*
* 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
*
@rickscherer
rickscherer / fullbackup.pl
Created May 15, 2015 22:54
Perl script using cPanel Public API 1.0 to perform automated full backup of entire site to external FTP server. Make sure cPanel::PublicAPI 1.0 is loaded.
#!/usr/bin/perl
use cPanel::PublicAPI;
my $config = {
'folder_name' => '/Backup', # Change to the folder on your FTP server
'ftp_host' => 'ftp.vmwaretips.com', # Change to your FTP server fqdn/IP
'ftp_user' => 'username', # Change to your FTP username
'ftp_pass' => 'password', # Change to your FTP password
'ftp_port' => '21', # Change to your FTP port number