This is the the doc for LAN client isolation issue with AP mode 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.
public class Constellation_main { | |
public static void main(String[] args) { | |
System.out.println(getConstellationFromDate("10/01")); | |
} | |
private static String getConstellationFromDate(String strBirthday) { | |
int intBirthday = Integer.valueOf(strBirthday.replace("/","")); | |
if (intBirthday < 11 | intBirthday > 1231) { |
Const n As Integer = 7 'edit this | |
For i As Integer = 0 To n | |
DirectCast(Me.Controls("TextBox" & n), System.Windows.Forms.TextBox).Text = 0 | |
Next |
int MaxVal = 5; // Max | |
ArrayList<Integer> list=new ArrayList<Integer>(); | |
for (int i = 1; i <= MaxVal; i++) { | |
list.add(i); | |
} | |
Collections.shuffle(list); | |
for(Integer result:list) { | |
Log.e("ValOut", result+""); // Result | |
} |
# if you want to kill all process with name "inetsim" | |
ps -aux | grep inetsim | grep -v grep | awk '{print $2}' | sudo xargs kill -9 |
#!/bin/bash | |
DISPLAY_ERRORS_VAL=`grep display_errors.*=.* '/etc/php5/apache2/php.ini'` | |
clear | |
echo "Info: 目前 ${DISPLAY_ERRORS_VAL}"; | |
echo "Info: 修改檔案需要權限, 請先輸入密碼 .." | |
sudo -v | |
if [ $? -eq 1 ]; then | |
clear | |
echo "Error: 未輸入正確密碼, 無法繼續執行" | |
sleep 3 |
#!/bin/bash | |
clear | |
echo "Please input the iso file in here [Nothing input will unmount]" | |
read -p ">> " srcinputfile | |
clear | |
mntPath=/media/isofileceh | |
if ["$srcinputfile" == ""] 2>/dev/null ; then | |
sudo umount "$mntPath" 1>/dev/null 2>/dev/null | |
sudo rmdir "$mntPath" 1>/dev/null 2>/dev/null | |
echo The iso file is unmounted ! |
#!/bin/bash | |
clear | |
echo "Info: 移除和更新核心檔案需要權限, 請先輸入密碼 .." | |
sudo -v | |
if [ $? -eq 1 ]; then | |
clear | |
echo "Error: 未輸入正確密碼, 無法繼續執行" | |
sleep 3 | |
exit 0 | |
fi |
#!/bin/bash | |
clear | |
echo "Info: 修改檔案需要權限, 請先輸入密碼 .." | |
sudo -v | |
if [ $? -eq 1 ]; then | |
clear | |
echo "Error: 未輸入正確密碼, 無法繼續執行" | |
sleep 3 | |
exit 0 | |
fi |
@ECHO OFF&mode con cols=15 lines=1 | |
SET TMP_FILE=%tmp%\cm.bat | |
SET FILE=%1 | |
SET FILE_EXT=%~x1 | |
IF NOT "%~s0"=="%TMP_FILE%" ( | |
COPY %0 %TMP_FILE% 1>nul 2>&1 | |
start/min %TMP_FILE% %FILE% | |
EXIT | |
) |