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 | |
define("DEBUG", cmd_exists("--debug")); | |
cmd_echo("Ein Aus langeweile gemachter Script!"); | |
$eingabe = false; | |
while(strstr(strtolower($eingabe),"fu") == FALSE) | |
{ | |
if($eingabe != false) { | |
cmd_echo ("Deine Angabe: {$input} ist falsch! Versuch es erneut!"); | |
} |
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 | |
/** | |
* @param GetAlphapet | |
* @link http://www.asciitable.com/ | |
* @author 2010 PrivateCityPage | |
* @author 2014 Dominik Pilichiewicz | |
*/ | |
function getNextABC($gbuchstabe = false) |
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 | |
function IsValideEmail($email) | |
{ | |
//$email = strtolower($email); ;; Groß und Kleinschreibung wird im eMail Verkehr berücksichtigt. | |
$return = false; | |
if(filter_var($email, FILTER_VALIDATE_EMAIL)) | |
{ | |
list($user, $host) = explode("@", $email); | |
if(checkdnsrr($host, "A") && checkdnsrr($host, "MX")) | |
{ |
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
#!/usr/bin/php -q | |
<?php | |
if(isset($argv[0]) && isset($argv[1])) | |
{ | |
$opt_use = 0; | |
$dir_use = 0; | |
if(file_exists($argv[1])) { | |
$opt_use = 1; | |
$dir_use = ($argv[1]); | |
} elseif(file_exists(getcwd().$argv[1])) { |
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
/************************************************************************************************************ | |
Ajax dynamic content | |
Copyright (C) 2006 DTHMLGoodies.com, Alf Magne Kalleland | |
This library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Lesser General Public | |
License as published by the Free Software Foundation; either | |
version 2.1 of the License, or (at your option) any later version. | |
This library is distributed in the hope that it will be useful, |
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
$kbs = @(2975719,2975179,2977174,2982791,2984006,2993651,2994897,2995004,2995005) | |
$kbSearch = "KB" + ($kbs -join " OR KB") | |
foreach($kb in $kbs) | |
{ | |
$remKbCmd = "wusa.exe /uninstall /kb:$kb /quiet /log /norestart" | |
Write-Host "Uninstalling KB$kb with '$remKbCmd'" | |
Invoke-Expression -Command $remKbCmd; | |
Write-Host "Waiting for KB$kb removal to finish ..." |
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
/* | |
Array LoL | |
der BIS20A vom 02 März 2015: Revision: A - Alpha | |
*/ | |
#include <stdio.h> // Präprozessor - Direktive für das einsetzen der Datei Stdio.h | |
// std = Standart, io = input/output, .h = Header-Datei | |
// noetig um die vorgefertigte funktion printf() zu benutzen | |
// = Kommentar bis Zeilenende | |
#include <stdlib.h> // Standart Bibliothek |
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
#include<stdio.h> | |
#include<stdlib.h> | |
#include<conio.h> | |
int main() | |
{ | |
// Init der Variablen | |
int summen_ungerade_zahlen = 0; // Variable für die Summen der Ungeraden Zahlen | |
int i = 0; // Variable, zum zählen der Zahlen bis 100. | |
while(i <= 100) // While Schleife, welche darauf achten Soll, dass die Zahlen von 0 bis 100 eingehlten werden! |
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
sftp-config.json |
OlderNewer