Skip to content

Instantly share code, notes, and snippets.

@ilya-bystrov
ilya-bystrov / cVimrc
Last active November 2, 2023 23:12
cVimrc
let langmap = "Ё|АFБ<ВDГUДLЕTЖ:ЗPИBЙQКRЛKМVНYОJПGРHСCТNУEФAХ{ЦWЧXШIЩOЪ}ЫSЬMЭ\"Ю>ЯZаfб\\,вdгuдlеtж\\;зpиbйqкrлkмvнyоjпgрhсcтnуeфaх[цwчxшiщoъ]ыsьmэ'ю.яzё\\№#"
let hintcharacters="asdfqwerjkluiop"
let blacklists = ["https://www.twitch.tv/*", "http://localhost*"]
getIP() -> {{
httpRequest({url: 'http://api.ipify.org/?format=json', json: true},
function(res) { Status.setMessage('IP: ' + res.ip); });
}}
map yi :call getIP<CR>
@ilya-bystrov
ilya-bystrov / fs_encrypt_decrypt.sh
Created June 2, 2021 13:42 — forked from pbabics/fs_encrypt_decrypt.sh
Fallout Shelter save file Decrypt/Encrypt
# Encrypt:
cat Vault.json | openssl aes-256-cbc -iv '7475383967656a693334307438397532' -K 'A7CA9F3366D892C2F0BEF417341CA971B69AE9F7BACCCFFCF43C62D1D7D021F9' | base64
# Decrypt:
cat Vault1.sav | base64 -d | openssl aes-256-cbc -d -iv '7475383967656a693334307438397532' -K 'A7CA9F3366D892C2F0BEF417341CA971B69AE9F7BACCCFFCF43C62D1D7D021F9' | python -m json.tool
@ilya-bystrov
ilya-bystrov / fshack.py
Created June 2, 2021 13:41 — forked from ouroborus/fshack.py
Decrypt/Encrypt Fallout Shelter save files
#!/usr/bin/python
from __future__ import print_function,division
from Crypto.Protocol.KDF import PBKDF2
from Crypto.Cipher import AES
from base64 import decodestring,encodestring
from sys import stdout,stdin
from json import loads,dumps
from math import ceil
# fshack.py <Vault1.sav >Vault2.sav
" exrc for wasavi
set noerrorbells
set nolaunchbell
set bellvolume=0

#Ubuntu on Acer Aspire Switch ##The problem What's the problem with this tablet? Why can't I just insert the USB and mash F12 until it boots? The tablet is made to run Windows 8.1 and Windows 8.1 only. Because of the stupidity that is UEFI (specifically it's "Safe boot" feature) we can't just boot from any USB stick we want.

Also, because someone thought putting a 32-bit UEFI on a 64-bit system was a good idea.

NOTE: This guide focuses on installing Ubuntu alongside Windows. If you're trying to replace Windows, then I assume you know enough about Linux to know which parts to change.