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 / update-phpstorm.sh
Created September 19, 2017 12:59
A single simple script to update PhpStorm on Linux and create a desktop shortcut
#!/bin/bash
#
# Heavily based on https://gist.github.com/olivertappin/e5920e131db9a451c91aa6e2bc24dc40
#
INSTALL_DIR=/home/bondt/work/bin/phpstorm
#if [ "$(whoami)" != "root" ]
#then

Keybase proof

I hereby claim:

  • I am bondt on github.
  • I am bondt (https://keybase.io/bondt) on keybase.
  • I have a public key ASAuwz-f2OZtikL1jl0uqSP63xCc7C7ovAyvo-7DmnEFhAo

To claim this, I am signing this object:

@bondt
bondt / bootstrap-xl-xxl.scss
Created February 9, 2016 15:34
Add sizes for XL and XXL displays to Bootstrap 3.
/**
* Add sizes for XL and XXL displays to Bootstrap 3.
*
*
* Original from https://gist.github.com/juukie/d71133e69877b46f060e
*
* Notes:
* I work with PhpStorm and the <editor-fold>-lines make the blocks make them collapsible.
* Also, this only works for bigger sizes. If you want to add smaller sizes of display (such as XXS), please go here for instructions: http://stackoverflow.com/a/26963773/598560
*/
@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');
}