Skip to content

Instantly share code, notes, and snippets.

View gpant's full-sized avatar

George Pantazis gpant

View GitHub Profile
@gpant
gpant / tasks.json
Last active January 5, 2023 19:21
vscode tasks for building with go
{
"version": "0.1.0",
"command": "go",
"isShellCommand": true,
"showOutput": "always",
"tasks": [{
"taskName": "build",
"args": ["-v", ""],
"isBuildCommand": true
}]
@gpant
gpant / Guide
Last active January 5, 2023 19:18
Bind Update Statistics
Create a cron entry like this:
* * * * * /home/bindstats.sh > /dev/null 2>&1
Create the file /home/bindstats.sh and paste the following:
#!/bin/bash
if [ -f /var/named/data/named_stats.txt ]; then
rm /var/named/data/named_stats.txt
fi
/usr/sbin/rndc stats
@gpant
gpant / build.bat
Last active July 7, 2023 02:10
Go Build Batch File
@echo off
SET @version=0.1.34
SET BINARYNAME=cacti-go-tools
SET BUILDSPATH=builds
SET ARCH[0]=386
SET ARCH[1]=amd64
SET ARCH[2]=arm
SET ARCH[3]=arm64
SET ARCH[4]=ppc64
@gpant
gpant / keybase.md
Last active January 5, 2023 19:19
Keybase Verification

Keybase proof

I hereby claim:

  • I am gpant on github.
  • I am earentir (https://keybase.io/earentir) on keybase.
  • I have a public key whose fingerprint is 2041 9E62 779C 192D 21E9 7934 0A0A 61AA CE30 ACFF

To claim this, I am signing this object: