Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Working from Home

Markus Ritzmann mritzmann

👨‍💻
Working from Home
Block or report user

Report or block mritzmann

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mritzmann
mritzmann / menu.bat
Last active Aug 29, 2015
Einfaches Menü
View menu.bat
@echo off
:: Ein einfaches Auswahl-Menue
:: Erstellt für: http://forum.chip.de/batch-shell-python-perl/auswahl-menue-batch-1807258.html
::
:: Momentan wird bei jeder Auswahl der Taschenrechner gestartet.
echo.
echo Ein Auswahl-Menue
echo.
echo.
echo Folgende Optionen stehen zur auswahl:
@mritzmann
mritzmann / traceroute
Last active Aug 29, 2015
traceroute to 216.81.59.173
View traceroute
[ritzmann@antila]$ traceroute 216.81.59.173 -m 200
traceroute to 216.81.59.173 (216.81.59.173), 100 hops max, 60 byte packets
1 rh-tec.gate.jonaspasche.com (95.143.172.1) 0.764 ms 0.929 ms 0.900 ms
2 vl-7.cr0.fra2.de.rh-tec.net (62.216.175.37) 0.497 ms 0.699 ms 0.680 ms
3 30gigabitethernet4-3.core1.fra1.he.net (80.81.192.172) 7.891 ms 8.095 ms 8.079 ms
4 100ge5-2.core1.par2.he.net (72.52.92.13) 10.187 ms 10.403 ms 10.384 ms
5 10ge15-1.core1.ash1.he.net (184.105.213.93) 113.095 ms 113.301 ms 119.311 ms
6 10ge1-2.core1.atl1.he.net (184.105.213.110) 109.861 ms 111.052 ms 125.546 ms
7 216.66.0.26 (216.66.0.26) 125.754 ms 125.756 ms 125.902 ms
@mritzmann
mritzmann / tzc.vbs
Created Nov 23, 2014
VBA Zeitzonen Rechner
View tzc.vbs
' ------------------------------------------------
' Author: Patrick Albrecht und Markus Ritzmann
' Version: 141102
'
' Copyright (C) 2014 mritzmann and heubergen
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
@mritzmann
mritzmann / zufallszahl.vba
Last active Aug 29, 2015
Generiert eine Zufallszahl
View zufallszahl.vba
' Generiert eine Zufallszahl zwischen 12 und 50. Minimale und Maximale Zahl kann beliebig angepasst werden.
' Lizenz: Public Domain
Private Sub Button_Click()
Zufallszahl = Int(Rnd() * 50 + 12)
MsgBox Zufallszahl
End Sub
View taschenrechner.vba
' Lizenz: Public Domain
' Autor: Markus Ritzmann
Public Ausgabe1 As Byte 'Damit Variable Sub-Uebergreifend gespeichert wird
Public Operator As String 'Damit Variable Sub-Uebergreifend gespeichert wird
Private Sub cmd0_Click()
txt.Text = txt.Text & 0
End Sub
@mritzmann
mritzmann / bit_to_maske.md
Last active Aug 29, 2015
Subnetting Beispiele
View bit_to_maske.md

Bits zu Maske

Info

Bits: 27
Maske: gesucht

Lösungsweg

@mritzmann
mritzmann / ping
Last active Aug 29, 2015
Swisscom: issues with GitHub.com
View ping
C:\Users\Markus>ping github.com -t
Ping wird ausgeführt für github.com [192.30.252.130] mit 32 Bytes Daten:
Antwort von 192.30.252.130: Bytes=32 Zeit=136ms TTL=49
Antwort von 192.30.252.130: Bytes=32 Zeit=136ms TTL=49
Antwort von 192.30.252.130: Bytes=32 Zeit=136ms TTL=49
Zeitüberschreitung der Anforderung.
Antwort von 192.30.252.130: Bytes=32 Zeit=134ms TTL=49
Antwort von 192.30.252.130: Bytes=32 Zeit=134ms TTL=49
Antwort von 192.30.252.130: Bytes=32 Zeit=134ms TTL=49
@mritzmann
mritzmann / ping
Last active Aug 29, 2015
Swisscom: issues with reddit.com
View ping
markus@UbuntuGnome:~$ ping reddit.com
PING reddit.com (198.41.209.143) 56(84) bytes of data.
^C
--- reddit.com ping statistics ---
57 packets transmitted, 0 received, 100% packet loss, time 56313ms
@mritzmann
mritzmann / hosts
Created Nov 1, 2015
Gravatar Hostfile Block-list
View hosts
127.0.0.1 www.gravatar.com
127.0.0.1 gravatar.com
127.0.0.1 www.gravatar.org
127.0.0.1 gravatar.org
127.0.0.1 0.gravatar.com
127.0.0.1 1.gravatar.com
127.0.0.1 2.gravatar.com
127.0.0.1 3.gravatar.com
127.0.0.1 secure.gravatar.com
View mysql_howto.md

MySQL

Installation MySQL

apt-get install mysql-server

Installation PHP-MySQL Schnittstelle

You can’t perform that action at this time.