- Mahidol VPN is Juniper Pulse VPN
- Ubuntu network connection is managed by Network Manager
sudo apt install openconnect libopenconnect5 network-manager-openconnect network-manager-openconnect-gnome
#!/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_admin
cinder 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 |
#!/bin/bash | |
# Install Java Runtime + Compiler (optional), | |
# other options: package "default-jdk" will get openjdk-11 | |
sudo apt install openjdk-8-jdk | |
# install Jenkins | |
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - | |
echo "deb https://pkg.jenkins.io/debian-stable binary/" > /etc/apt/sources.list.d/jenkins.list | |
sudo apt update |