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 | |
sudo qemu-system-arm \ | |
-kernel ./kernel-qemu-4.4.34-jessie \ | |
-append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \ | |
-hda raspbian-jessie.qcow \ | |
-vga std \ | |
-cpu arm1176 -m 256 \ | |
-M versatilepb \ | |
-no-reboot \ | |
-serial stdio \ |
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
version: '2.1' | |
services: | |
nginx-mailcow: | |
labels: | |
- "traefik.enable=true" | |
- "traefik.http.routers.nginx-mailcow.entrypoints=web" | |
- "traefik.http.routers.nginx-mailcow.rule=HostRegexp(`{host:(autodiscover|autoconfig|webmail|mail|email).+}`)" | |
- "traefik.http.middlewares.nginx-mailcow-https-redirect.redirectscheme.scheme=https" | |
- "traefik.http.routers.nginx-mailcow.middlewares=nginx-mailcow-https-redirect" |
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
version: '3.7' | |
networks: | |
main: | |
external: true | |
services: | |
whoami: | |
image: "containous/whoami" | |
container_name: Traefik-whoami-main | |
restart: always | |
networks: |
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
for (let to = 1; to < tab.length-1; to++) { | |
// console.log(tab[to]) | |
if (tab[to].includes('T3')) { | |
try { | |
let modul = tab[to].split('td')[1].trim().substr(15).split('<')[0] | |
let kurs = tab[to].split(',800,600);">')[1].split('</a>')[0] | |
let zahlen = tab[to].split('<td class="tbdata" style="text-align:right;">') | |
let credits = zahlen[2].trim().split('<')[0] | |
let note = zahlen[3].trim().split('<')[0] |
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 'dart:ffi'; | |
import 'dart:io'; | |
import 'package:ffi/ffi.dart'; | |
import 'package:path/path.dart' as path; | |
import 'dart:convert' show jsonDecode, jsonEncode, utf8; | |
class Backend extends Opaque {} | |
typedef _automerge_apply_changes = IntPtr Function(Pointer<Backend>); | |
typedef AutomergeApplyChanges = int Function(Pointer<Backend>); |
OlderNewer