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
.DS_Store | |
README.md | |
run.sh | |
tmp/** |
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
# to store in '.bashrc.d/tmux.sh' or somewhere else in '.bashrc' | |
tx() { | |
if [[ -z "$1" ]]; then | |
echo "Missing session name" | |
return 1; | |
fi | |
tmux a -t "$1" || tmux new -s "$1" | |
} | |
alias txls="tmux ls" |
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 | |
rcloneTmpPid="$(dirname "$(mktemp -u)")/rclone.${USER}.pid" | |
target="${HOME}/mnt/OneDrive" | |
function mountIt() { | |
local pid rc | |
mkdir -p "$target" || exit 1 | |
rclone mount --vfs-cache-mode writes --allow-non-empty OneDrive: "$target" & |
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
<template> | |
<div class="bg-gray-200 w-screen min-h-screen h-full py-4"> | |
<div | |
class="w-full sm:max-w-screen-sm md:max-w-screen-md mx-auto p-6 bg-gray-50 space-y-5" | |
> | |
<h1 class="my-2 text-center text-2xl font-bold"> | |
Click Away Demo | |
</h1> | |
<a | |
href="#" |
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="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>My Title</title> | |
... | |
</head> | |
<body> | |
... |
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
<template> | |
<div> | |
<h1>{{ pageTitle }}</h1> | |
</div> | |
</template> | |
<script> | |
import useConfig from "../composition/useConfig" | |
// vue 2 |
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 | |
.... | |
// creating the message | |
/** @var \TYPO3\CMS\Core\Messaging\FlashMessage $message */ | |
$message = GeneralUtility::makeInstance( | |
'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', | |
'Falscher Fehler', | |
'', | |
\TYPO3\CMS\Core\Messaging\FlashMessage::WARNING |