I hereby claim:
- I am posoo on github.
- I am posoo (https://keybase.io/posoo) on keybase.
- I have a public key ASCP4z5uNUBRcP5_ndi_B-khCcfQBaIlsFcSyOvc6l_NhQo
To claim this, I am signing this object:
#!/bin/bash | |
# Check architecture and kernel version | |
if [[ ! $(uname -m) == "x86_64" ]] | |
then | |
echo "Only support x86_64 architecture" | |
exit 1 | |
fi | |
if [[ ! $(uname -r) =~ ^4.15.* ]] | |
then |
import os | |
import click | |
import mac_tag | |
import json | |
@click.command() | |
@click.option('--input_dir', type=click.Path(exists=True), required=True) | |
@click.option('--output_dir', type=click.Path(exists=False), required=True) | |
@click.option('--tag_color', type=click.Choice(['Green', 'Red', 'Yellow', 'Blue', 'Purple', 'Gray'], case_sensitive=False), required=True) | |
def main(input_dir, output_dir, tag_color): |
import os | |
import click | |
import mac_tag | |
import json | |
@click.command() | |
@click.option('--root_dir', type=click.Path(exists=True), required=True) | |
def main(root_dir): | |
ROOT_DIR_PATH = os.path.abspath(root_dir) | |
print("ROOT_DIR_PATH:", ROOT_DIR_PATH) |
#!/bin/bash | |
# Required arguments | |
REMOTE_USER=$1 | |
REMOTE_HOST=$2 | |
REMOTE_PORT=$3 | |
LOCAL_CACHE_BASE=$4 | |
ARCH=$5 | |
import os | |
import click | |
import mac_tag | |
import json | |
def scan(root): | |
os.chdir(root) | |
print('Working on ', os.getcwd()) | |
paths = [] |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Install development tools | |
sudo apt update | |
sudo apt install gcc make linux-headers-$(uname -r) git-core | |
# Build and install the modified wireless driver | |
CSITOOL_KERNEL_TAG=csitool-$(uname -r | cut -d . -f 1-2) | |
git clone https://github.com/posoo/linux-80211n-csitool.git --branch ${CSITOOL_KERNEL_TAG} --depth 1 | |
cd linux-80211n-csitool | |
make -C /lib/modules/$(uname -r)/build M=$(pwd)/drivers/net/wireless/iwlwifi modules |
name: Hexo | |
on: | |
push: | |
branches: | |
- 'source' | |
jobs: | |
build: | |
runs-on: ubuntu-latest |