Skip to content

Instantly share code, notes, and snippets.

@secator
secator / CustomRules.js
Created July 21, 2021 12:44
fiddler url repeater
/*
https://example.com/?id={@start_decimal@,@limit_decimal@}
https://example.com/?id={@0@,@999@}
*/
static function OnBeforeRequest(oSession: Session) {
var regex = /{@([0-9]+)@,@([0-9]+)@}/i;
var repeater = oSession.PathAndQuery.match(regex);
if (repeater) {
@secator
secator / sync-iphone.ps1
Created August 11, 2021 18:12
Powershell Script Sync iPhone
# Powershell Script Sync iPhone v0.0.2
#
# Copy Files (Images/Videos) to PC
# Copy Files Created After `date`
# Rename Files to "yyyyMMdd_HHmmss.ext" (android style)
#
# Usage:
# .\sync-iphone.ps1
# .\sync-iphone.ps1 -After 2021-07-01
# .\sync-iphone.ps1 -After last