type StringBool = "true"|"false";
interface AnyNumber { prev?: any, isZero: StringBool };
interface PositiveNumber { prev: any, isZero: "false" };
type IsZero<TNumber extends AnyNumber> = TNumber["isZero"];
type Next<TNumber extends AnyNumber> = { prev: TNumber, isZero: "false" };
type Prev<TNumber extends PositiveNumber> = TNumber["prev"];
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name WSB Merito Extranet Dark Theme | |
@author griffi-gh | |
@version 8.1.0 | |
@license MIT | |
@namespace griffi-gh-wsb | |
==/UserStyle== */ | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! https://gist.githubusercontent.com/griffi-gh/31dc0d175b5cbd026375ef32743e3e8a/raw/filters.txt | |
! | |
! I just dump the contents my personal uBlock "My filters" tab here every now and then | |
! Some filters are pretty opinionated or block ads on obscure websites | |
! | |
! ENABLE GENERIC PROCEDURAL FILTERS ! | |
! I use them heavily | |
! 2021-06-09 https://fastalts.net | |
||cdn.thealtening.com/banner_thealtening.gif$image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Naurok Bypass v2 | |
// @author griffi-gh | |
// @namespace griffi-gh | |
// @description Fetches answers to *all* Naurok quizes | |
// @version 8.1 | |
// @license MIT | |
// @match *://naurok.com.ua/test/*.html | |
// @grant GM_setValue | |
// @grant GM_getValue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------- | |
--- Definitions | |
---------------------------------------- | |
--- Huawei protocol used in Wireshark to dissect packets | |
--- @class Proto | |
local huawei_proto = {} | |
--- @class hpFields | |
local hpFields = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disabling telemetry takes a little more work but can be accomplished in about five minutes. Type "about:config" in the address bar, and you will be notified that you could void your warranty (Firefox has a warranty?). Click on "I accept the risk." Type in "telemetry" in the search bar to see the results. Only some can be changed, and according to Mozilla, they are: | |
browser.newtabpage.activity-stream.feeds.telemetry | |
browser.newtabpage.activity-stream.telemetry | |
browser.ping-centre.telemetry | |
toolkit.telemetry.archive.enabled | |
toolkit.telemetry.bhrPing.enabled | |
toolkit.telemetry.enabled | |
toolkit.telemetry.firstShutdownPing.enabled | |
toolkit.telemetry.hybridContent.enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Небольшая помощь в Smali | |
(Будет дополняться) | |
# | |
Общая информация | |
# | |
Smali | |
Виды(Types) | |
Байт-код Dalvik имеет два основных класса типов, примитивные типы и ссылочные типы. Типы ссылок - это объекты и массивы, все остальное является примитивным. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if false then -- For LuaDoc | |
--- | |
-- Pure Lua implementation of bitwise operations. | |
-- Not suitable for time critical code. Intended as fallback | |
-- for cases where a native implementation is unavailable. | |
-- Further optimization may be possible. | |
-- @version 0.1 | |
-- @author kaeza <https://github.com/kaeza> | |
module "bitty" |