Code Snippets

These are a collection of code snippets I've used in the past and saved.

logo
Hotstar subtitle style

Customize hotstar.com subtitle

javascripttampermonkey
logo
Label encoders

Encode label of multiple attribute, and return the encoder object.

pythonnlp
logo
Quick Sort.js

Quick sort implementation in javascript.

javascriptcompetitiveprogramming
logo
Remove list of words from given sentences

A brute force method to remove words from sentences.

pythonnlp
logo
Remove undefined key.js

Explicitly remove undefined key of given object in javascript.

javascript
logo
Sieve of Eratosthenes.js

Generate from 1 to N prime number using sieve of eratosthenes, writen in js.

javascriptcompetitiveprogramming

©2021 Anvaqta Tangguh Wisesa. All Rights Reserved.