- create a free account on lottiefiles.com
- download after effects plugin on https://lottiefiles.com/plugins/after-effects
- create animation in after effects
- export (upload) to lottiefiles and download as dotLottie
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
<!DOCTYPE html> | |
<html lang="de"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5, minimum-scale=1" /> | |
<title>.</title> | |
<script> | |
class Confetti { | |
constructor() { | |
this.confettiConfig = { |
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
// composer require eluceo/ical | |
require_once(__DIR__ . '/vendor/autoload.php'); | |
$date_begin = '2023-01-01 20:00:00'; | |
$date_end = '2023-01-01 21:00:00'; | |
$d = new \DateTime($date_end, new \DateTimeZone('Europe/Berlin')); | |
$d->setTimeZone(new \DateTimeZone('UTC')); | |
$date_begin = $d->format('Y-m-d H:i:s'); |
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
<div class="logo"> | |
<?= is_front_page() ? '<h1 class="logo__headline">' : '' ?> | |
<a class="logo__link" href="index.php"> | |
<span class="logo__text" style="position:absolute;width:1px;height:1px;overflow:hidden;">h1 der Startseite</span> | |
<img class="logo__image" src="logo.svg" alt="h1 der Startseite"> | |
</a> | |
<?= is_front_page() ? '</h1>' : '' ?> | |
</div> | |
<?= !is_front_page() ? ' |
sudo apt-get install rename perl libunicode-map8-perl
find . -exec rename 's/�/x/g' "{}" \;
find ./ -type f -print0 | rename -v -0 'BEGIN { use Unicode::Map8; our $l1_map = Unicode::Map8->new("latin1") }; our $l1_map; $_ = $l1_map->tou($_)->utf8'
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
dd( \Illuminate\Support\Facades\Redis::connection('default')->keys('*') ); |
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
--SELECT to_tsquery('german', 'The & Fat & Rats'); | |
--DROP INDEX IF EXISTS jo; | |
--DROP TABLE IF EXISTS foo; | |
CREATE TABLE IF EXISTS foo ( | |
bar text, | |
baz text | |
); |
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
#!/bin/bash | |
CURRENT=$(df / | grep / | awk '{ print $5}' | sed 's/%//g') | |
THRESHOLD=80 | |
if [ "$CURRENT" -gt "$THRESHOLD" ] ; then | |
mail -s 'Project XY: Disk Space Alert' email1@tld.com, email2@tld.com, email3@tld.com << EOF | |
Your root partition remaining free space is critically low. Used: $CURRENT% | |
EOF | |
fi |
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 arr = [['foo','bar'],['bar','baz']]; | |
for(let [arr__value_1,arr__value_2] of arr) { console.log([val_a,val_b]); } | |
// ['foo','bar'], ['bar','baz'] |
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
<?php | |
$file_abspath = '/foo/bar/baz.pdf'; | |
$file_pseudoname = 'bazzz.pdf'; | |
$content = file_get_contents($file_abspath); | |
header('Content-Type: application/pdf'); | |
header('Content-Disposition: inline; filename="' . $file_pseudoname . '"'); | |
header('Content-Length: ' . strlen($file_abspath)); | |
header('Cache-Control: private, max-age=0, must-revalidate'); | |
header('Content-Transfer-Encoding: binary'); | |
header('Accept-Ranges: bytes'); |
NewerOlder