Skip to content

Instantly share code, notes, and snippets.

View arvati's full-sized avatar
💭
Studying online

Ademar Arvati arvati

💭
Studying online
View GitHub Profile
@arvati
arvati / reboot.md
Last active April 20, 2024 19:26
Reboot Openwrt
@arvati
arvati / javascript.md
Created November 26, 2023 01:39
PDF to TEXT OCR online

site: https://www.newocr.com/

step 1 = only one time

$('#page').val("1");$('#form-ocr').submit();$('#ocr').click();

step 2 = 343 times

localStorage.setItem($('#page option:selected').text(),$('#result2-container').contents().find('pre').text());$('#page').val(String(parseInt($('#page option:selected').text(), 10) + 1));$('#form-ocr').submit();$('#ocr').click();
@arvati
arvati / w10 hacks.md
Last active November 2, 2023 16:20
Windows 10 Hacks

Make command prompt available at logon screen:

c:
cd windows/system32
ren utilman.exe utilman_bkp.exe
copy cmd.exe utilman.exe
shutdown -f -r
exit
@arvati
arvati / alpine.md
Last active September 7, 2023 19:05
Install Alpine Linux on sdcard

Mount Destination partition on sdcard

lsblk -f
sudo fdisk /dev/sda
sudo mkfs -t ext4 /dev/sda1
sudo mount -t auto /dev/sda1 /mnt
cd /mnt
sudo su

mkdir -p ./etc/apk
@arvati
arvati / lxc.ipynb
Last active June 8, 2023 12:04
Install Lxc on Debian
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@arvati
arvati / omada.ipynb
Last active June 4, 2023 17:47
Docker Omada Controller
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am arvati on github.
  • I am arvati (https://keybase.io/arvati) on keybase.
  • I have a public key ASCC2sWW6FwcO8TRf6qg5vXHuiuT3LWy2m3bo_YZ15tJYgo

To claim this, I am signing this object:

@arvati
arvati / .wsl-git.md
Created May 21, 2023 23:44 — forked from carlolars/.wsl-git.md
HOWTO: Use WSL and its Git in a mixed development environment

How to setup a development environment where Git from WSL integrates with native Windows applications, using the Windows home folder as the WSL home and using Git from WSL for all tools.

Note if using Git for Windows, or any tool on the Windows side that does not use Git from WSL then there will likely be problems with file permissions if using those files from inside WSL.

Tools

These are the tools I use:

  • git (wsl) - Command line git from within WSL.
  • Fork (windows) - Git GUI (must be used with wslgit)
  • wslgit - Makes git from WSL available for Windows applications. Important! Follow the installation instructions and do (at least) the first optional step and then the Usage in Fork instructions.
@arvati
arvati / howto.ipynb
Last active June 27, 2023 18:27
Installing Jupyter Kernels for VScode
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@arvati
arvati / xfce4.ipynb
Last active June 28, 2023 01:43
awesome xfce4 mods
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.