This file contains hidden or 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
<script lang="ts"> | |
// These lines let the page transition animations come alive! | |
import { onNavigate } from '$app/navigation'; | |
onNavigate((navigation) => { | |
if (!document.startViewTransition) return; | |
return new Promise<void>((resolve) => { | |
document.startViewTransition(async () => { | |
resolve(); | |
await navigation.complete; |
This file contains hidden or 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
import { redirect } from "@sveltejs/kit"; | |
/** @type {import('./$types').PageLoad} */ | |
export function load() { | |
redirect(302, "/academy/"); // needs `throw` in v1 | |
} |
This file contains hidden or 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
prototype(Abte.Site:Component.Favicon) < prototype(Neos.Fusion:Component) { | |
thirtytwo = Carbon.Image:ImageUri { | |
asset = ${ q(site).property('logo') } | |
width = '32' | |
height = '32' | |
maximumWidth = '32' | |
maximumHeight = '32' | |
allowCropping = TRUE | |
} |
This file contains hidden or 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.onmousewheel = document.onmousewheel = function(e) { | |
e = e || window.event; | |
if (e.preventDefault) | |
e.preventDefault(); | |
e.returnValue = false; | |
}; |
This file contains hidden or 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
// JS-Code für die Augen | |
function jseyesmove(e, t, n) { | |
var r, i, s, o = $("#" + n), | |
u = $("#" + n + "_pupille"), | |
a = o.position(); | |
i = e - a.left - 10; | |
s = t - a.top - 10; | |
r = i * i / 90 + s * s / 110 < 1 ? 1 : Math.sqrt(9900 / (i * i * 110 + s * s * 90)); | |
u.css("left", r * i + 10 + "px"); | |
u.css("top", r * s + 10 + "px") |
This file contains hidden or 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
$TYPO3_CONF_VARS['GFX']['im_stripProfileCommand'] = '+profile \'*\' -colorspace CMYK'; |
This file contains hidden or 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 | |
# | |
# @author "cyon GmbH" <[email protected]> | |
# @version 0.1 | |
## PATH Setzen nicht vergessen! | |
Path='/home/[BENUTZERNAME]/[PFAD]/' | |
function setChmod { | |
ls -1 $1 | while read file | |
do | |
file=${1}/${file} |
This file contains hidden or 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
# entfernt die HTML-Kommentare der entsprechenden Objekte ### | |
page.config.disablePrefixComment = true |
This file contains hidden or 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
Mehrere Domains mit RealURL |
NewerOlder