Skip to content

Instantly share code, notes, and snippets.

@chriszuercher
chriszuercher / abbc3.diff
Created February 19, 2022 09:18 — forked from FernandoGarcia/abbc3.diff
Make ABBC3 compatible with PHBB 3.14 and PHP 7
diff -ur orig/includes/bbcode.php phpBB3.14/includes/bbcode.php
--- orig/includes/bbcode.php 2019-12-06 21:27:48.073460091 -0300
+++ phpBB3.14/includes/bbcode.php 2019-12-06 20:51:26.565100654 -0300
@@ -125,6 +127,406 @@
}
$message = preg_replace($preg['search'], $preg['replace'], $message);
+
+ // Start Text_effect_pass
@chriszuercher
chriszuercher / gist:78d9313e21a9fdccdce781e8376e3668
Created February 10, 2022 09:08 — forked from metaskills/gist:893599
A Copy Of sp_MSforeachtable Stored Procedure For Azure, Uses sp_MSforeach_worker
CREATE proc [dbo].[sp_MSforeachtable]
@command1 nvarchar(2000), @replacechar nchar(1) = N'?', @command2 nvarchar(2000) = null,
@command3 nvarchar(2000) = null, @whereand nvarchar(2000) = null,
@precommand nvarchar(2000) = null, @postcommand nvarchar(2000) = null
AS
declare @mscat nvarchar(12)
select @mscat = ltrim(str(convert(int, 0x0002)))
if (@precommand is not null)
exec(@precommand)
2019-03-20 16:01:01,829 1016 [DEBUG] - XmlConfiguration is now operational
2019-03-20 16:01:01,892 1016 [INFO ] - ============================================================
2019-03-20 16:01:02,110 1016 [INFO ] - Chocolatey v0.10.13
2019-03-20 16:01:02,126 1016 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-03-20 16:01:02,126 1016 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-03-20 16:01:02,126 1016 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-03-20 16:01:02,142 1016 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" search 7-zip
2019-03-20 16:01:02,142 1016 [DEBUG] - Received arguments: search 7-zip
2019-03-20 16:01:02,204 1016 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-03-20 16:01:02,204 1016 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
@chriszuercher
chriszuercher / chocolatey.log
Created March 20, 2019 10:03
Choco UPgrad Issue
2019-03-19 10:53:02,667 3164 [DEBUG] - XmlConfiguration is now operational
2019-03-19 10:53:02,728 3164 [INFO ] - ============================================================
2019-03-19 10:53:02,960 3164 [INFO ] - Chocolatey v0.10.13
2019-03-19 10:53:02,968 3164 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-03-19 10:53:02,971 3164 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-03-19 10:53:02,972 3164 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-03-19 10:53:02,980 3164 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" upgrade companysystemupdate -y
2019-03-19 10:53:02,981 3164 [DEBUG] - Received arguments: upgrade companysystemupdate -y
2019-03-19 10:53:03,042 3164 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-03-19 10:53:03,050 3164 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...