Skip to content

Instantly share code, notes, and snippets.

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 Jul 14, 2020 — forked from dkittell/PictureRename.ps1
PowerShell – Rename Pictures to Image Taken Date/Time with Dimensions
View PictureRename.ps1
<#
.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 Sep 19, 2017
A single simple script to update PhpStorm on Linux and create a desktop shortcut
View update-phpstorm.sh
#!/bin/bash
#
# Heavily based on https://gist.github.com/olivertappin/e5920e131db9a451c91aa6e2bc24dc40
#
INSTALL_DIR=/home/bondt/work/bin/phpstorm
#if [ "$(whoami)" != "root" ]
#then
View keybase.md

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 Feb 9, 2016
Add sizes for XL and XXL displays to Bootstrap 3.
View bootstrap-xl-xxl.scss
/**
* 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 Aug 29, 2015 — 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".
View reset.php
<?php
define('BYPASS_TOKEN_CHECK', true);
require('system/initialize.php');
class Reset extends Frontend {
public function __construct() {
parent::__construct();
$this->import('Database');
}
You can’t perform that action at this time.