Skip to content

Instantly share code, notes, and snippets.

View arturu's full-sized avatar

Pietro Arturo Panetta arturu

View GitHub Profile
AnnoyingTechnology /
Last active April 12, 2024 12:40
Download Filemaker 19.5 Server Ubuntu 18LTS
sunapi386 /
Created March 23, 2019 00:51
How to mount encrypted drive with same volume group name


  • I have two physical 1TB disks with identical setup.
  • Both are encrypted.
  • I unlocked and booted off one of them.
  • The other disk is still locked at this point.
  • I am using fish shell.

1. Identify which disk you want to unlock

mtrimarchi /
Created December 5, 2018 12:51
Python Script VoIP TIM
# Credenziali voip TIM + Proxy IP
import sys
import random
import json
import requests
except ImportError:
print ("ERRORE: Il modulo \"requests\" deve essere installato. Eseguire -> pip install requests")
raise SystemExit(0)
teknoraver /
Last active August 1, 2018 15:37
create map track video from Exif tags
# - download static maps from Google Maps
# Copyright (C) 2018 Matteo Croce <>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
thejimbirch / paragraph--carousel.html.twig
Created October 21, 2016 17:54
Drupal 8 Template for Bootstrap Paragraphs customized for Carousel.
raphaellarrinaga /
Last active July 20, 2023 21:21
[Drupal 8 Twig cheatsheet] #tags: drupal8, twig, cheatsheet

Drupal 8 Twig cheatsheet

Please note I created that sheet as a personal side note/draft and not everything is fully tested. There could be errors or better things to do. So if you spot something wrong or something that can be improved, feel free to comment below and I will do the changes.

Getting Drupal 8 field values in Twig

Image path: {{ file_url(content.field_name['#items'].entity.uri.value) }}