Skip to content

Instantly share code, notes, and snippets.


Alexandros Georgiou alex-georgiou

View GitHub Profile
ldodds / scribd.js
Created May 13, 2015
Scribd bypass
View scribd.js
var id = window.location.href.match(/\/doc\/([0-9]+)\//)[1]
window.location.href = "" + id + "?extension=pdf&from=embed&source=embed"
jmuspratt / Exiftool Canonize
Last active Jun 28, 2020
exiftool : rename files in current dir to YYYY-MM-DD-HH-MM-SS-1.ext
View Exiftool Canonize
# Rename image and MOV files according to EXIF capture date, using YYYY-MM-DD-HH-MM-SS.ext
# Files shot within the same second get copy number added (-1,-2, etc.).
# Video files require a different, so we run exiftool 3 times:
# 1. Exclude MOV files and rename the image files with <CreateDate>.
# 2. Target MOV files and rename them with MediaCreateDate (for iPhone videos).
# 3. Target MOV files and rename them with DateTimeOriginal (for Fuji camera videos).
# Requirements: install the package manager Homebrew (, then install exiftool (type brew install exiftool in
# Now open, cd to the relevant directory, and run the command.
tommusrhodus / example-skills-block
Created Feb 18, 2015
This example is just really simple, the main shortcode is simple enough to not need any options or globals applied, it simply wraps the innner shortcodes.
View example-skills-block
* The Shortcode
function ebor_skills_shortcode( $atts, $content = null ) {
$output = '<div class="skills-wrapper">'. do_shortcode($content) .'</div>';
return $output;
add_shortcode( 'machine_skills', 'ebor_skills_shortcode' );
danielbachhuber / gist:7684646
Created Nov 27, 2013
How to integrate WordPress Core updates with your custom Plugin or Theme
View gist:7684646
* How to integrate WordPress Core updates with your custom Plugin or Theme
* Filter the `update_plugins` transient to report your plugin as out of date.
* Themes have a similar transient you can filter.
add_filter( 'site_transient_update_plugins', 'wprp_extend_filter_update_plugins' );
add_filter( 'transient_update_plugins', 'wprp_extend_filter_update_plugins' );
function wprp_extend_filter_update_plugins( $update_plugins ) {
You can’t perform that action at this time.