For setting the file's modification date to the creation date:
For videos
exiftool "-filemodifydate<CreateDate" *.MOV
For photos
exiftool "-filemodifydate<datetimeoriginal" *.JPG
#!/bin/bash | |
## ================================== | |
## Servers | |
## ================================== | |
# A server with a non-standard SSH port, using passwordless RSA key authentication | |
alias server1='ssh -p 2200 [email protected]' | |
# A server that uses a certficate for authentication |
#!/usr/bin/env bash | |
########################################################################### | |
# Originally written by: Henrik Bengtsson, 2014 | |
# https://github.com/HenrikBengtsson/speedtest-cli-extras | |
# Modified to use Zapier by: Milo Jennings, 2018 | |
# Further modified to store a permanent log locally with all the details in | |
# a CSV file on the desktop (designed for Mac use) | |
# License: GPL (>= 2.1) [http://www.gnu.org/licenses/gpl.html] | |
# See Google Sheet Template: https://docs.google.com/spreadsheets/d/1usJKKMoUpt-VWI94aJ_rU4qLj3ImjDoNt6HqFL-wcRE/edit?usp=sharing | |
# ------------------------------------------------------------------------- |
<div class="wrap"> | |
<h2>Time since <br>Indie was born <small id="birthdate">08/31/2015 4PM</small></h2> | |
<span class="heartbeat">Loading...</span> | |
<p id="total"></p> | |
<p id="secs"></p> | |
<p id="mins"></p> | |
<p id="hours"></p> | |
<p id="days"></p> | |
<p id="weeks"></p> | |
<p id="months"></p> |
For setting the file's modification date to the creation date:
For videos
exiftool "-filemodifydate<CreateDate" *.MOV
For photos
exiftool "-filemodifydate<datetimeoriginal" *.JPG
#!bash | |
# | |
# bash completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# |
<?php | |
function lang_support() { | |
return array('en','fr'); // Add your support lang-code (1st place is a default) | |
} | |
function rewrite_lang(){ | |
$langs = lang_support(); | |
foreach($langs as $lang) { | |
add_rewrite_endpoint($lang,EP_PERMALINK|EP_PAGES|EP_ROOT|EP_CATEGORIES); | |
} |
body { | |
background:url(http://i.imgur.com/qKsVr.png); | |
} | |
.box { | |
width:400px; | |
background: white; | |
position: relative; | |
} |
/* awesome card */ | |
@list-color: #000000; | |
@front-card-back: #156AEA; | |
@front-p: #ffffff; | |
@back-p: #000000; | |
container { | |
-webkit-perspective: 1000; | |
} |
<?php | |
class kirbytextExtended extends kirbytext { | |
function __construct($text, $markdown=true) { | |
parent::__construct($text, $markdown); | |
$this->addTags('figure'); |