node --version
// >= 23npm init -y
npm install whatsapp-web.js
npm install qrcode-terminal
node --no-deprecation script.js
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
<IfModule mod_deflate.c> | |
SetEnv no-gzip 1 | |
</IfModule> |
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
import tiktoken | |
import torch | |
import torch.nn as nn | |
import urllib.request | |
import re | |
from torch.utils.data import Dataset, DataLoader | |
import numpy as np | |
import zipfile | |
import os | |
from pathlib import Path |
- Verfügbar ab PHP 8.1
- Definition einer festen Menge von möglichen Werten für einen bestimmten Typ
- Verbessert Code-Lesbarkeit
enum UserRole: string
{
case Admin = 'admin';
case Benutzer = 'user';
case Gast = 'guest';
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" /> | |
<title>autocaps</title> | |
<script> | |
document.addEventListener('DOMContentLoaded', () => { | |
if( document.querySelectorAll('.autocaps').length > 0 ) { | |
document.querySelectorAll('.autocaps').forEach($el => { | |
$el.addEventListener('input', (e) => { |
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
VODAFONE_PASSWORD=... | |
OPENAI_API_KEY=... |
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
setlocale(LC_TIME, 'de_DE.utf8'); | |
__strftime('%A, %d. %B %Y', strtotime('2001-01-01')); // Montag, 01. Januar 2001 | |
IntlDateFormatter::formatObject(new DateTime('2001-01-01', new DateTimeZone('Europe/Berlin')), 'eeee, dd. MMMM yyyy', 'de_DE'); // Montag, 01. Januar 2001 |
NewerOlder