Skip to content

Instantly share code, notes, and snippets.

View linuxgemini's full-sized avatar

İlteriş Eroğlu linuxgemini

View GitHub Profile
/**
WiegandNG Extended Demo for HID Readers
2021-08-06 linuxgemini
Released under GNU LGPL v2.1 (or later)
*/
// HID SEOS: FC 54, CC 64004
const unsigned char correctID[] = {0x00, 0x6D, 0xF4, 0x08};
/*
* HID RFID Reader Wiegand Interface for Arduino Uno
* Originally by Daniel Smith, 2012.01.30 -- http://www.pagemac.com/projects/rfid/arduino_wiegand
*
* Updated 2016-11-23 by Jon "ShakataGaNai" Davis.
* See https://obviate.io/?p=7470 for more details & instructions
*
*
* Updated 2021-04-08 by linuxgemini
*/
[
{
"key": "Adana",
"latitude": 36.9914,
"longitude": 35.3308,
"name": "Adana"
},
{
"key": "Adıyaman",
"latitude": 37.7636,
@linuxgemini
linuxgemini / tckn.py
Last active January 22, 2021 08:55
A single file Python module for Turkish ID numbers based around the work of github.com/ssg/TurkishId
"""tckn
A simple Python library for handling Turkish ID Numbers.
"""
# Copyright 2021 İlteriş Yağıztegin Eroğlu (linuxgemini)
# SPDX-License-Identifier: MIT
import secrets
from typing import List
@linuxgemini
linuxgemini / tckn.js
Last active January 21, 2021 22:49
A single file JS library for Turkish ID numbers based around the work of github.com/ssg/TurkishId
/**
* tckn - A simple JS library for handling Turkish ID Numbers
* @license
* Copyright 2021 İlteriş Yağıztegin Eroğlu (linuxgemini)
* SPDX-License-Identifier: MIT
*/
"use strict";
class TCKN {
@linuxgemini
linuxgemini / Webhook.py
Last active December 26, 2020 11:27
Discord Webhook post-processing script for NZBGet
#!/usr/bin/env python
# Discord Webhook post-processing script for NZBGet
#
# Copyright (C) 2020 linuxgemini <nzbget@linuxgemini.space>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
@linuxgemini
linuxgemini / whois.erl
Last active September 26, 2021 02:22
%% Simple(?) WHOIS Client in Erlang
%% Copyright 2020 İlteriş Yağıztegin Eroğlu (linuxgemini) <new-iwhois@linuxgemini.space>
%% SPDX-License-Identifier: AGPL-3.0-or-later
-module(whois).
-export([query_iana/1,
query_ripe/1,
query_arin/1,
query_afrinic/1,
query_apnic/1,
// ==UserScript==
// @name EXPAND THIS WHOIS BITCH
// @namespace http://tampermonkey.net/
// @version 69.69.69.69
// @updateURL https://gist.github.com/linuxgemini/4afbe8f8fa3d0431f7d2013d73ebf66f/raw
// @description try to take over the world, well shit
// @author linuxgemini
// @match https://ripe.net/*
// @match https://*.ripe.net/*
// @match https://*.db.ripe.net/*
AS Number Organization Name Announced IPv4 Prefix Count Announced IPv6 Prefix Count
1885 SBN-AS - SBN Sigorta 0 0
2592 EGE-AS - Ege University 1 0
2600 TEKSTIL BANKASI A.S. 1 0
2872 NCTY - Netcity Bilisim Teknolojileri Yazilim Internet Ve Iletisim Hizmetleri A.S 7 0
3188 ALASTYR - Alastyr Telekomunikasyon A.S. 19 0
5422 Superonline Iletisim Hizmetleri A.S. 0 0
5458 FNV - Finans Yatirim Menkul Degerler A.S. 1 0
5474 TOBBETU-NET - TOBB Economics and Technology University 4 1
6707 HEPSI-BURADA-AS - D-Market Elektronik Hizmetler Tic. A.S. 2 0
@linuxgemini
linuxgemini / libnfc-brcm.conf
Created July 1, 2020 10:57
Angler libnfc configurations
###################### Start of libnfc-brcm.conf #######################
###############################################################################
# Application options
APPL_TRACE_LEVEL=0x01
PROTOCOL_TRACE_LEVEL=0x00000000
###############################################################################
# performance measurement
# Change this setting to control how often USERIAL log the performance (throughput)