Skip to content

Instantly share code, notes, and snippets.

View azbesthu's full-sized avatar

Zoltan Arvai azbesthu

  • Hungary, Szeged
View GitHub Profile
@azbesthu
azbesthu / opnsense-i226-nic-tunables.txt
Created October 29, 2023 14:54 — forked from jorisvervuurt/opnsense-i226-nic-tunables.txt
OPNsense - Intel i226 NIC tunables
<item>
<tunable>net.inet.icmp.drop_redirect</tunable>
<value>1</value>
<descr/>
</item>
<item>
<tunable>net.isr.bindthreads</tunable>
<value>1</value>
<descr/>
</item>
@azbesthu
azbesthu / totp.ps1
Created January 7, 2022 12:09 — forked from jonfriesen/totp.ps1
TOTP Client for PowerShell
#requires -version 2
<#
.SYNOPSIS
Time-base One-Time Password Algorithm (RFC 6238)
.DESCRIPTION
This is an implementation of the RFC 6238 Time-Based One-Time Password Algorithm draft based upon the HMAC-based One-Time Password (HOTP) algorithm (RFC 4226). This is a time based variant of the HOTP algorithm providing short-lived OTP values.
.NOTES
Version: 1.0
cd /opt
wget http://apache-mirror.rbc.ru/pub/apache/kafka/0.10.1.0/kafka_2.11-0.10.1.0.tgz
tar xvzf kafka_2.11-0.10.1.0.tgz
ln -s kafka_2.11-0.10.1.0/ kafka
vi /etc/systemd/system/kafka-zookeeper.service
[Unit]
Description=Apache Zookeeper server (Kafka)
Documentation=http://zookeeper.apache.org
diff --git a/tools/buildscripts/repack_locales.py b/tools/buildscripts/repack_locales.py
index 51edb54..360ef37 100755
--- a/tools/buildscripts/repack_locales.py
+++ b/tools/buildscripts/repack_locales.py
@@ -162,6 +162,10 @@ def DoMain(argv):
help="Print the expected output file list, then exit.")
parser.add_option("-x", action="store", dest="int_dir",
help="Intermediate build files output directory.")
+ parser.add_option("-g", action="store", dest="grit_dir",
+ help="Placeholder for unused option.")
@azbesthu
azbesthu / coverage_result_processor.py
Created September 26, 2012 14:05 — forked from anonymous/coverage_result_processor.py
coverage_result_processor.py
#!/usr/bin/env python
# sudo apt-get install python-mysqldb
import csv
import getopt
import glob
import MySQLdb as mdb
import os
import readline
@azbesthu
azbesthu / coverage_result_processor.py
Created September 25, 2012 14:39 — forked from anonymous/coverage_result_processor.py
coverage_result_processor.py
#!/usr/bin/env python
import csv
import getopt
import glob
import MySQLdb as mdb
import os
import readline
import sys
import time
@azbesthu
azbesthu / coverage_result_processor.py
Created September 25, 2012 11:53 — forked from anonymous/coverage_result_processor.py
coverage_result_processor.py
#!/usr/bin/env python
import csv
import getopt
import glob
import MySQLdb as mdb
import os
import readline
import sys
import time
@azbesthu
azbesthu / coverage_result_processor.py
Created September 24, 2012 13:47 — forked from anonymous/coverage_result_processor.py
coverage_result_processor.py
#!/usr/bin/env python
import csv
import getopt
import glob
import MySQLdb as mdb
import os
import readline
import sys
import time