Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps.
These are the current alternatives (with links when possible):
- NewPipe (which you should have either way for youtube-dl/yt-dlp integration)
- NewPipe fork by polymorphicshade, which includes SponsorBlock support.
- LibreTube (still in early beta)
- A web browser with uBlock Origin (or another ad-blocker; Enhancer for YouTube has one build-in, but uBlock is universal and more powerfull, in addition to allowing to also remove non-advertisement parts of the website, like the top shelf with recommended tags / search querries), Enhancer for YouTube, SponsorBlock and [Return YouTube Dislike](https://
#!/bin/bash | |
dir=$(pwd)/$1 | |
if [[ $1 = /* ]]; then | |
dir=$1 | |
fi | |
regex='s/\([a-z0-9]\)\([A-Z]\)/\1_\2/g;s/\([A-Z0-9]\)\([A-Z0-9]\)\([a-z]\)/\1_\2\3/g;s/\(.*\)/\L\1/g' |
.terminal-line-cursor-effect::after { | |
content: ' _'; | |
animation: animate 1.5s linear infinite; | |
} | |
@keyframes animate { | |
0% { | |
opacity: 0; | |
} | |
50% { |
As of March 2021, YouCompleteMe compiles fine on Termux, but it crashes once the plugin is loaded. The following error can be noticed in the logs:
ImportError: dlopen failed: cannot locate symbol "_ZNSt6__ndk14__fs10filesystem18__weakly_canonicalERKNS1_4pathEPNS_10error_codeE" referenced by "/data/data/com.termux/files/home/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so"...
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
Tiny wrapper component for React-Datepicker to stylistically fit with Chakra-UI 1.x.
<DatePicker selectedDate={myDate} onChange={(d) => console.log(d)} />
"workbench.colorCustomizations": { | |
// Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast. | |
"contrastActiveBorder": "", | |
"contrastBorder": "", | |
// Base Colors | |
"focusBorder": "", | |
"foreground": "", | |
"widget.shadow": "", | |
"selection.background": "", | |
"descriptionForeground": "", |
This is a simple sample script for achieving the resumable upload to Google Drive using Node.js. In order to achieve the resumable upload, at first, it is required to retrieve the location, which is the endpoint of upload. The location is included in the response headers. After the location was retrieved, the file can be uploaded to the location URL.
In this sample, a PNG file is uploaded with the resumable upload using a single chunk.
Before you use this, please set the variables.
drawImage = async img_path => { | |
let canvas = document.createElement("canvas"); | |
canvas.src = img_path; | |
const context = canvas.getContext("2d"); | |
const img = await loadImage(img_path); | |
canvas.width = img.width; | |
canvas.height = img.height; | |
context.drawImage(img, 0, 0); |