Skip to content

Instantly share code, notes, and snippets.

View diqidoq's full-sized avatar

dqd (formerly diqidoq) diqidoq

View GitHub Profile
@diqidoq
diqidoq / split_cue_flac_to_single_flac_files.py
Last active October 5, 2018 13:19 — forked from bancek/cue_to_mp3.py
CUE splitter using ffmpeg (to mp3)
cue_file = 'file.cue'
d = open(cue_file).read().splitlines()
general = {}
tracks = []
current_file = None
@diqidoq
diqidoq / author_picture_user_picture_occurence.sh
Last active November 30, 2017 07:15
Occurrence of author_picture, user_picture and respective settings in Drupal 8.5.x-dev
/drupal (8.5.x=) $ grep -rnw -e "author_picture"
core/themes/bartik/templates/node.html.twig:23: * - author_picture: The node author user entity, rendered using the "compact"
core/themes/bartik/templates/node.html.twig:92: {{ author_picture }}
core/themes/stable/templates/content/node.html.twig:23: * - author_picture: The node author user entity, rendered using the "compact"
core/themes/stable/templates/content/node.html.twig:85: {{ author_picture }}
core/themes/classy/templates/content/node.html.twig:23: * - author_picture: The node author user entity, rendered using the "compact"
core/themes/classy/templates/content/node.html.twig:96: {{ author_picture }}
core/modules/node/templates/node.html.twig:23: * - author_picture: The node author user entity, rendered using the "compact"
core/modules/node/templates/node.html.twig:87: {{ author_picture }}
core/modules/node/node.module:639: $variables['author_picture'] = user_view($node->getOwner(), 'compact');