=RECHTS(A1;LÄNGE(A1)-3)
Um beispielsweise mal Flott einen SQL Query aus einer Excel Datei zu erzeugen ist folgendes hilfreich
<?php | |
$it = new RecursiveIteratorIterator( new RecursiveDirectoryIterator('.')); | |
$regx = new RegexIterator($it, '/^.*\.php$/i', // only matched text will be returned | |
RecursiveRegexIterator::GET_MATCH); | |
foreach ($regx as $file) { | |
$file = $file[0]; | |
exec('php -l ' . $file); //check the syntax here | |
} |
// SOURCE https://stackoverflow.com/questions/16616722/sending-all-javascript-console-output-into-a-dom-element | |
var baseLogFunction = console.log; | |
console.log = function(){ | |
baseLogFunction.apply(console, arguments); | |
var args = Array.prototype.slice.call(arguments); | |
for(var i=0;i<args.length;i++){ | |
var node = createLogNode(args[i]); |
/<sheetProtection algorithmName="SHA-512" hashValue=".*" saltValue=".*" spinCount="\d+" sheet="\d+" objects="\d+" scenarios="\d+"\/>/ |
USE [DB_NAME] | |
GO | |
/****** Object: StoredProcedure [dbo].[W3_APP_GEN_Doctrine] Script Date: 03.09.2019 09:18:59 | |
FOUND HERE: https://stackoverflow.com/a/35901836 | |
Updates I did: | |
- Save some lines, because SQL Server Terminates at some number of lines | |
- Added timestamp type |
REM Source: https://stackoverflow.com/a/4507364 | |
set wsc = CreateObject("WScript.Shell") | |
Do | |
WScript.Sleep (60*1000) | |
wsc.SendKeys ("{SCROLLLOCK 2}") | |
Loop |
'author Patrick Kilter | |
'email [email protected] | |
'OTRS Base URL | |
DIM strOtrsBaseUrl | |
strOtrsBaseUrl = "http://otrs.local" | |
'get TN | |
DIM strTn | |
strTn =InputBox("Ticket Number", "OTRS FastForward") |
logparser.exe "SELECT cs-uri-stem, cs-uri-query, COUNT(*) AS TotalCount, MAX(time-taken) AS MaximumTime, AVG(time-taken) AS AverageTime FROM *.log GROUP BY cs-uri-stem, cs-uri-query ORDER BY AverageTime DESC" -i:w3c
take an cs-uri-stem value from the report above and replace it in the following command