This is the the doc for wifi multi-role on LinkIt Smart 7688 temporary solution.
-
Factory reset or configure 7688(or 7688 Duo)'s Wi-Fi to AP mode.
-
SSH login to 7688(or 7688 Duo)'s shell.
###################################### | |
# INSTALL OPENCV ON UBUNTU OR DEBIAN # | |
###################################### | |
# Use below command to install OpenCV 3.2 with Contrib at Ubuntu or Debian on your own operating system. | |
# wget -O - https://gist.githubusercontent.com/syneart/3e6bb68de8b6390d2eb18bff67767dcb/raw/OpenCV3.2withContrib.sh | bash | |
# | THIS SCRIPT IS TESTED CORRECTLY ON | | |
# |-----------------------------------------------------------| | |
# | OS | OpenCV | CUDA | Test | Last test | |
#include <stdio.h> | |
int main(int argc, char *argv[]) { | |
FILE *fileptr; | |
char *buffer; | |
long filelen; | |
fileptr = fopen(argv[1], "rb"); // Open the file in binary mode | |
fseek(fileptr, 0, SEEK_END); // Jump to the end of the file | |
filelen = ftell(fileptr); // Get the current byte offset in the file |
BEGIN:VCALENDAR | |
VERSION:2.0 | |
METHOD:PUBLISH | |
CALSCALE:GREGORIAN | |
PRODID:Jed | |
BEGIN:VTIMEZONE | |
TZID:Taipei | |
END:VTIMEZONE | |
BEGIN:VEVENT | |
DESCRIPTION:我們決定要結婚了 (還籌備了好陣子)\n小小婚禮希望大家來參與\n讓我們與你/妳分享喜悅 ☺ |
#!/bin/sh | |
# This shell script is made by SyneArt <[email protected]> | |
####################################### | |
# BUILD WIRESHARK ON UBUNTU OR DEBIAN # | |
####################################### | |
# | THIS SCRIPT IS TESTED CORRECTLY ON | | |
# |----------------------------------------------------------| | |
# | OS | Wireshark | Test | Last test | | |
# |--------------------|----------------|------|-------------| |
27a28 | |
> import subprocess | |
64,68d64 | |
< # Handle command line arguments | |
< parser = argparse.ArgumentParser(prog=PROGRAM_NAME, description='Toggle desktop idleness inhibition') | |
< parser.add_argument('-V', '--version', action='version', version=PROGRAM_NAME + ' ' + VERSION) | |
< parser.parse_args() | |
< | |
179d174 | |
< |
#!/usr/bin/env python2 | |
# -*- coding:utf-8 -*- | |
# pip2 install requests BeautifulSoup4 wget --user | |
import os, requests, json, re, wget | |
from bs4 import BeautifulSoup | |
root_save_dir_path = r'./netgear/' | |
if not os.path.isdir(root_save_dir_path): | |
os.mkdir(root_save_dir_path) |
#!/bin/sh | |
# | THIS SCRIPT IS TESTED CORRECTLY ON | | |
# |--------------------------------------------------------| | |
# | OS | MySQL | Test | Last test | | |
# |--------|--------------------------|------|-------------| | |
# | Ubuntu | Ver 14.14 Distrib 5.7.26 | OK | 16 May 2019 | | |
MYSQL_ROOT_PASSWORD=`head /dev/urandom | tr -dc A-Za-z0-9 | head -c10` | |
sudo mysql -uroot<<EOF | |
use mysql; |
#!/bin/bash | |
# This shell script is made by SyneArt <[email protected]> | |
####################################### | |
# INSTALL UHD ON UBUNTU OR DEBIAN # | |
####################################### | |
# | THIS SCRIPT IS TESTED CORRECTLY ON | | |
# |--------------------------------------------------------| | |
# | OS | UHD | Test | Last test | | |
# |----------------|------------------|------|-------------| |
#!/bin/bash | |
# This shell script is made by SyneArt <[email protected]> | |
# Android Studio default path on Mac | |
adb=~/Library/Android/sdk/platform-tools/adb | |
function connect() { | |
device_id=$1 | |
device_ip=`${adb} -s ${device_id} shell ip -f inet addr show wlan0 | grep -e "[0-9].*\/[0-9]*" | awk '{ print $2 }' | sed 's/\/[0-9]*//'` | |
echo "Android device id: ${device_id}" |