Skip to content

Instantly share code, notes, and snippets.

View 4oo4's full-sized avatar

4oo4 4oo4

  • 0.0.0.0/0
View GitHub Profile
This file has been truncated, but you can view the full file.
0000243c.0000244c::2021/10/23-02:31:31.150 INFO [RES] Network Name <mydb4_mydb4>: AccountAD: CheckIfPasswordIsInSync for mydb4returned 0
0000243c.000008ac::2021/10/23-02:31:31.169 INFO [RES] Network Name <mydb3_mydb3>: AccountAD: CheckIfPasswordIsInSync for mydb3 returned 0
0000243c.000008ac::2021/10/23-02:31:31.272 INFO [RES] Network Name <mydb1_mydb1>: AccountAD: CheckIfPasswordIsInSync for mydb1 returned 0
0000243c.000008ac::2021/10/23-02:31:32.136 INFO [RES] Network Name <mydb2_mydb2>: AccountAD: CheckIfPasswordIsInSync for mydb2 returned 0
0000023c.00001dc4::2021/10/23-02:32:24.640 INFO [RES] File Share Witness <File Share Witness>: Querying share protocol info on test file \\clusterwitness\AAGShare\3a2b1162-b1a6-4110-8849-522a1401547c\VerifyShareWriteAccess.txt.
0000023c.00001dc4::2021/10/23-02:33:24.654 INFO [RES] File Share Witness <File Share Witness>: Querying share protocol info on test file \\clusterwitness\AAGShare\3a2b1162-b1a6-4110-8849-522a1401547c\VerifyShareWriteAccess.txt.
0000023c.00
@4oo4
4oo4 / win-cluster-evtx.log
Last active October 27, 2021 15:37
Windows Cluster - Event Log
Cluster resource 'MyDb1' of type 'SQL Server Availability Group' in clustered role 'MyDb1' failed.
Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it. Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.
-------------
No matching network interface found for resource 'MyDb2_10.30.0.165' IP address '10.30.0.165' (return code was '5035'). If your cluster nodes span different subnets, this may be normal.
----------------
Cluster resource 'MyDb2' of type 'SQL Server Availability Group' in clustered role 'MyDb2' failed.
Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it. Check the resource and group state using Failover Cluster Manager or the Get-ClusterResou
alt1-mtalk.google.com
alt-8-mtalk.google.com
android.clients.google.com
android-safebrowsing.google.com
beacons2.gvt2.com
beacons3.gvt2.com
beacons.gcp.gvt2.com
beacons.gvt2.com
cdn.ampproject.org
ci3.googleusercontent.com
@4oo4
4oo4 / gitea-upgrade.sh
Created November 26, 2018 22:20
Gitea Upgrade Script
#!/bin/bash
export GOPATH=/home/git/go
export GOROOT=/usr/lib/go-1.10
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
export GITEAPATH=$GOPATH/src/code.gitea.io/gitea
export OLDGITEAPATH=$GOPATH/src/code.gitea.io/gitea-old
cd /home/git/gitea

Keybase proof

I hereby claim:

  • I am 4oo4 on github.
  • I am 4oo4 (https://keybase.io/4oo4) on keybase.
  • I have a public key whose fingerprint is 76E4 AEEC 9314 057F BFCA C28B 549B 674A F1B8 B700

To claim this, I am signing this object:

@4oo4
4oo4 / spectre.c
Created January 10, 2018 00:43 — forked from ErikAugust/spectre.c
Spectre example code
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif
--- check_mk-if.php.orig 2017-11-18 15:44:44.518227855 -0600
+++ check_mk-if.php 2017-11-18 17:14:32.980595205 -0600
@@ -54,9 +54,9 @@
}
# Convert bytes to bits if neccessary
-$bandwidth = $MAX[1] * $unit_multiplier;
-$warn = $WARN[1] * $unit_multiplier;
-$crit = $CRIT[1] * $unit_multiplier;
+$bandwidth = ((float)$MAX[1]) * $unit_multiplier;