Skip to content

Instantly share code, notes, and snippets.

View jtuttas's full-sized avatar

jtuttas jtuttas

  • http://www.mmbbs.de
View GitHub Profile
@jtuttas
jtuttas / install.md
Last active November 19, 2024 15:46
Moodle Bot

1. Anmeldung und Registrierung bei Open AI

console.log
@jtuttas
jtuttas / readme.md
Last active April 24, 2022 13:00
mmbbsmoodle

Moodle auf Ubuntu (z.B. WSL) installieren

LAMP System vorbereiten

  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install mysql-server mysql-client libmysqlclient-dev
  • sudo apt-get install apache2 apache2-doc apache2-utils libexpat1 ssl-cert
  • sudo apt-get install libapache2-mod-php7.4 php7.4 php7.4-common php7.4-curl php7.4-dev php7.4-gd php-pear php-imagick php7.4-mysql php7.4-ps php7.4-xsl
  • sudo apt-get install php7.4-zip php7.4-mbstring php7.4-intl

MMBBS Moodle clonen

from tkinter import *
from tkinter.font import Font
import time
import random
import win32com.client
from tkinter import filedialog
rand=-1
slides=0
myPresentation=None
$global:pw="geheim"
# Vor dem Start werden alte, registrierte Events geschlossen
Unregister-Event -SourceIdentifier *
# Initialisierung der Variablen
$global:Folder = "$PSScriptRoot\encoded"
$global:FolderOut = "$PSScriptRoot\decoded"
@jtuttas
jtuttas / wernoch.ps1
Last active December 15, 2015 02:29
wernoch
cls
$gebtag=Read-Host "Dein Geburtstag (in der Form 11.April.1968)"
$geb = $gebtag.Split(".")
$webClient = new-object System.Net.WebClient
#$proxy = new-object System.Net.WebProxy "10.20.30.55:3128"
#$cred = New-Object System.Net.NetworkCredential 'veranstaltung', 'qwertz'
#$proxy.Credentials = $cred #(Get-Credential).GetNetworkCredential()
#$proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
#$webclient.proxy=$proxy
@jtuttas
jtuttas / geburtstage.ps1
Last active December 15, 2015 02:19
Geburtstage als ics Datei aus einer CSV Datei
cls
$d = Get-Content .\Geburtstage.csv
$filename = "geburtstage.ics"
"" | Set-Content $filename
$idcount=1;
foreach ($zeile in $d) {
$daten = $zeile.Split(";")
"BEGIN:VCALENDAR" | Add-Content $filename
"VERSION:2.0" | Add-Content $filename
"PRODID:http://www.mmbbs.de" | Add-Content $filename