Skip to content

Instantly share code, notes, and snippets.

View bondt's full-sized avatar
💭
"Have you tried turning it off and on again?"

Bondt bondt

💭
"Have you tried turning it off and on again?"
View GitHub Profile
@bondt
bondt / PictureRename.ps1
Last active July 14, 2020 11:41 — forked from dkittell/PictureRename.ps1
PowerShell – Rename Pictures to Image Taken Date/Time with Dimensions
<#
.SYNOPSIS
Renames pictures.
.DESCRIPTION
The Rename-Pictures cmdlet to rename pictures to a format where the file creation time is first
in the name in this format: . The idea is that
.PARAMETER Path
Specifies the path to the folder where image files are located. Default is current location (Get-Location).
@bondt
bondt / reset.php
Last active August 29, 2015 13:56 — forked from christian-kolb/reset.php
Place this file in your (Contao based) website's root folder and update your username in line 16. Then run it from the browser and log in to the backend using the password "random".
<?php
define('BYPASS_TOKEN_CHECK', true);
require('system/initialize.php');
class Reset extends Frontend {
public function __construct() {
parent::__construct();
$this->import('Database');
}