Skip to content

Instantly share code, notes, and snippets.

View ackvf's full-sized avatar
🏡
Remote Fullstack Node.js / Frontend React.js / Web3 integrations

Qwerty (Vítězslav Ackermann Ferko) ackvf

🏡
Remote Fullstack Node.js / Frontend React.js / Web3 integrations
View GitHub Profile
@ackvf
ackvf / README.md
Last active January 29, 2026 03:26
React utils
@ackvf
ackvf / README.md
Last active January 29, 2026 15:45
TS/JS utility functions
@ackvf
ackvf / README.md
Last active January 29, 2026 17:08
Bookmarklets and script snippets
@ackvf
ackvf / README.md
Last active January 26, 2024 05:10
Crypto scripts
@ackvf
ackvf / README.md
Last active April 13, 2022 16:26
eToro scripts

How to use this?

enable balance

Create new Bookmark

add new bookmark page

Edit Bookmark details

@ackvf
ackvf / README.md
Last active January 30, 2026 09:31
TypeScript type toolbelt
@ackvf
ackvf / CommService.ts
Created February 10, 2021 15:19
Services
import CoreAPIService from './CoreAPIService';
import { CommentInterface } from '../interfaces/requestInterface';
class CommService {
// CREATE
addCommentToRequest = async (requestId: number, data: FormData) =>
CoreAPIService.post(`comments/${requestId}`, data, { 'Content-Type': 'multipart/form-data' })
.then<CommentInterface>(response => response.data);
// ==UserScript==
// @name Neptune's Pride 2 devel - Triton userscript
// @version 1
// @description This plugin works with Triton's data structures and performs advanced tasks on them.
// @namespace http://qry.me/
// @author Vitezslav Ackermann Ferko (Qwerty), [email protected] [email protected]
// @copyright 2014+, 2021+, Vitezslav Ackermann Ferko (Qwerty)
// @licence Released under MIT licence
// @downloadURL https://gist.githubusercontent.com/ackvf/464bc077f430cdd8677bbd9669d47605/raw/9285c7c3be05d5fac70cab8dac6db5589921d9b1/qscript-nptriton.devel.intro.monkey.js
// //run-at document-start
@ackvf
ackvf / compose-functions.ts
Last active April 29, 2020 11:42
Typed compose
/**
* @name compose
* @summary Composes Higher-Order-Functions from right to left so that they are executed from left to right.
* note: To compose Higher-Order-Components, use compose.ts
*
*
* @description
* Two overloads are available:
* A) Matches the composed signature of whole compose to the wrapped function.
* B) As an escape hatch, it is possible to explicitly define the resulting OuterSignature with a generic, ignoring the HOFs types.
@ackvf
ackvf / eventloop.js
Last active November 14, 2019 17:30
Understanding the Event Loop
function callback(arg) {
setTimeout(console.log, 0, arg, ' # 4 timeout ');
setImmediate(console.log, arg, ' # 5 immediate');
process.nextTick(console.log, arg, ' # 2 nextTick ');
(async () => { await undefined; console.log(arg, ' # 3 await '); })();
console.log(arg, '# 1 sync ');
}
setTimeout(callback, 0, ' # 4 timeout ');
setImmediate(callback, ' # 5 immediate');