Skip to content

Instantly share code, notes, and snippets.

View linuxgemini's full-sized avatar

İlteriş Eroğlu linuxgemini

View GitHub Profile
@linuxgemini
linuxgemini / .eslintrc.json
Last active February 11, 2018 12:01
Example eslint config
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"impliedStrict": true,
/*--------------------------------------------------------------
* Copyright (c) linuxgemini. All rights reserved.
* Licensed under the Apache License 2.0.
*-------------------------------------------------------------*/
"use strict";
const tebesir = require("chalk");
const an = require("moment");
@linuxgemini
linuxgemini / Mikrotik_DuckDNS-HurricaneElectric_DDNS_updater.rsc
Last active March 12, 2018 19:04
Update your DuckDNS and Tunnelbroker IPs at the same time. Tested on Mikrotik RB750Gr3.
:local WANinterface "wan-interface-name"
:local HEtunnelinterface "6to4-interface-name"
:local DuckDNSDomains "duckdns-domain,or-domains-seperated-with-commas"
:local DuckDNSToken "duckdns-token"
:local HEtunnelid "tunnelbroker-tunnel-id"
:local HEuserid "tunnelbroker-username"
:local HEmd5pass "tunnelbroker-tunnel-update-passkey"
@linuxgemini
linuxgemini / blkExtractorAPI.js
Created May 14, 2018 17:31
Export files from the proprietary BLK format.
/*--------------------------------------------------------------
* Copyright (c) linuxgemini. All rights reserved.
* Licensed under the MIT License.
*
* Original ActionScript code written by JrMasterModelBuilder (c) 2011
*-------------------------------------------------------------*/
"use strict";
/*
@linuxgemini
linuxgemini / megalovania.rsc
Created February 11, 2019 18:03
RouterOS script to play megalovania
# megalovania first part
# for mikrotik routerboard
# by linuxgemini
#
# challenge started by ave
# bar 1
/beep frequency=293 length=0.14
/delay delay-time=0.14
/beep frequency=293 length=0.122
#!/usr/bin/env bash
IP4s=`curl -s https://www.cloudflare.com/ips-v4`
IP6s=`curl -s https://www.cloudflare.com/ips-v6`
start="["
main=""
end="]"
while read -r line; do
main="$main\"$line\", "
06-17 15:00:38.822 2000 3324 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 3324 (bt_hci_thread), pid 2000 (droid.bluetooth)
06-17 15:00:39.464 19019 19019 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-17 15:00:39.465 19019 19019 F DEBUG : LineageOS Version: '17.1-20200608-UNOFFICIAL-angler'
06-17 15:00:39.465 19019 19019 F DEBUG : Build fingerprint: 'google/angler/angler:8.1.0/OPM3.171019.014/4503998:user/release-keys'
06-17 15:00:39.465 19019 19019 F DEBUG : Revision: '0'
06-17 15:00:39.465 19019 19019 F DEBUG : ABI: 'arm64'
06-17 15:00:39.465 19019 19019 F DEBUG : Timestamp: 2020-06-17 15:00:39+0300
06-17 15:00:39.466 19019 19019 F DEBUG : pid: 2000, tid: 3324, name: bt_hci_thread >>> com.android.bluetooth <<<
06-17 15:00:39.466 19019 19019 F DEBUG : uid: 1002
06-17 15:00:39.466 19019 19019 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
@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)
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
// ==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/*