This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
event: "gtm.load", | |
gtm: { | |
uniqueEventId: 19, | |
start: 1686665690578, | |
allowlist: undefined, | |
blocklist: undefined, | |
whitelist: undefined, | |
blacklist: undefined | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def encrypt(pass,salt) | |
dig = [pass,salt].join | |
20.times { | |
dig = Digest::SHA512.new.hexdigest(dig) | |
} | |
dig | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
("#blukad").find('source').attr('src', megiston.video_original); | |
$("#blukad").get(0).load(); | |
$("#blukad").get(0).play(); | |
$("#blukad").on 'ended', -> | |
console.log 'Video has ended!' | |
$(this).prop 'muted', true | |
$(this).get(0).play() | |
$('.homepage-hero figcaption').removeClass('white-behavior') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.homepage-eventi.homepage-proposal-eventi | |
.bg-eventi | |
.container-fluid | |
.row.homepage-eventi-background | |
.col-md-6.relative | |
.homepage-eventi-vertical | |
%h3= @banner_eventi.title | |
= raw truncate_html(@banner_eventi.body, length: 400) | |
= link_to I18n.t("home.see_all"), events_path, class: "btn btn-primary btn-sm" | |
.col-md-6.px-0.d-none.d-sm-none.d-md-block |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.cookieconsent.initialise({ | |
palette: { | |
popup: { | |
background: "#232733" | |
}, | |
button: { | |
background: "transparent", | |
text: "#fff", | |
border: "#fff" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let Iub = class Iubenda { | |
static load() { | |
if (typeof Turbolinks !== "undefined" && Turbolinks.supported) { | |
return document.addEventListener("turbolinks:load", () => Iubenda.loadTag(), true); | |
} else { | |
return Iubenda.loadTag(); | |
} | |
} | |
static loadTag() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i blukad.mp4 -c:v libvpx -b:v 1024k -b:a 128k -f webm -s 1280x720 blukad.webm | |
ffmpeg -i blukad.mp4 -c:v libx264 -strict experimental -b:v 1024k -b:a 128k -s 1280x720 blukadweb.mp4 | |
ffmpeg -i blukad.mp4 -c:v libtheora -c:a libvorbis -b:v 1024k -b:a 128k -s 1280x720 blukad.ogg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ PATH=/bin:/sbin:/usr/bin:/usr/sbin | |
+ export PATH | |
+ appid=Firefox | |
+ appbin=firefox-bin | |
+ userprefbase='Library/Application Support' | |
+ userpref='/Users/davide/Library/Application Support/Firefox/Profiles' | |
+ usercachebase=/Users/davide/Library/Caches | |
+ usercache=/Users/davide/Library/Caches/Firefox | |
+ p_userbase='/Volumes/BUSINESSKEY/Mac/Utilities/Portable Firefox.app/Contents/Resources' | |
+ p_userpref='/Volumes/BUSINESSKEY/Mac/Utilities/Portable Firefox.app/Contents/Resources/profile' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ PATH=/bin:/sbin:/usr/bin:/usr/sbin | |
+ export PATH | |
+ appid=Firefox | |
+ appbin=firefox-bin | |
+ userprefbase='Library/Application Support' | |
+ userpref='/Users/davide/Library/Application Support/Firefox/Profiles' | |
+ usercachebase=/Users/davide/Library/Caches | |
+ usercache=/Users/davide/Library/Caches/Firefox | |
+ p_userbase='/Volumes/BUSINESSKEY/Mac/Utilities/Portable Firefox.app/Contents/Resources' | |
+ p_userpref='/Volumes/BUSINESSKEY/Mac/Utilities/Portable Firefox.app/Contents/Resources/profile' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mailchimp : => | |
$response = $("#response") | |
$response_text = $response.find('.response-text') | |
$("form#mcsubscribe").bind("ajax:beforeSend", (evt, xhr, settings) -> | |
$response_text.data "origText", $response_text.text() | |
$response_text.text "Loading ...." | |
$response.fadeIn() | |
return | |
).bind("ajax:success", (evt, data, status, xhr) -> | |
$form = $(this) |
NewerOlder