I hereby claim:
- I am ptantiku on github.
- I am ptantiku (https://keybase.io/ptantiku) on keybase.
- I have a public key ASCODTlqSstH-SUanGcawDf0u8AaH1tDQql7OLHtg0hktwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bun | |
| import Bun from 'bun'; | |
| /** | |
| * Main function | |
| * @return {Promise<void>} nothing | |
| */ | |
| async function main() { | |
| // open and read inFile |
| #!/bin/sh | |
| # install PPA | |
| sudo add-apt-repository ppa:deadsnakes/ppa | |
| # update and install | |
| sudo apt update | |
| sudo apt install python3.8 python3.8-dev python3.8-venv | |
| # setup alternatives |
| # use C-a, since it's on the home row and easier to hit than C-b | |
| set-option -g prefix C-a | |
| unbind-key C-a | |
| bind-key C-a send-prefix | |
| set -g base-index 1 | |
| # vi is good | |
| set-window-option -g mode-keys vi | |
| #!/bin/bash | |
| export project=PROJECT_NAME_HERE | |
| # create project folder | |
| mkdir $project | |
| cd $project | |
| # setup virtual environment | |
| python -m venv .venv |
. ~/keystone_admincinder list or openstack volume list, for ex.VOLUME=ce6e79c1-5b57-49aa-9a66-acf17f37be70
ref: https://geekeasier.com/extract-apk-file-of-android-app-without-root/4769/
adb devices, this is to check whether your devices is connected or notadb shell pm list packages, this lists down all the packages name. Select whatever package name you want to extract.adb shell pm path package-name, selects the package you want to extract, this will give you the full path of the package, copy it down in the next step.adb pull /data/app/package-path desired/path, extracts the package to the desired specified location.| sudo apt install vim | |
| cat > ~/.vimrc <<END | |
| inoremap jk <esc> | |
| inoremap kj <esc> | |
| nnoremap H 0 | |
| nnoremap L $ | |
| set et ts=2 sw=2 sts=2 modeline number hlsearch | |
| END | |
| # set bash to vim-mode |
| # install dependencies | |
| sudo apt install libboost-all-dev build-essential | |
| # download source code | |
| git clone https://github.com/comaeio/porosity.git | |
| cd porosity/porosity/porosity/ | |
| # this is workaround file for fixing bug in libboost1.58-dev | |
| wget https://raw.githubusercontent.com/ethereum/solidity/develop/libdevcore/boost_multiprecision_number_compare_bug_workaround.hpp |