This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-Type: application/json; charset=utf-8'); | |
$account = $_POST['account']; | |
$password = $_POST['password']; | |
$name = $_POST['name']; | |
$name = (!isset($name) || empty($name)) ? "" : $name; | |
$json = array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-Type: application/json; charset=utf-8'); | |
$id = $_GET['id']; | |
$data = array( | |
"0" => array( | |
"name" => "八方雲集", | |
"address" => "台中市沙鹿區英才路17號" | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<d:devices xmlns:d="http://schemas.android.com/sdk/devices/5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<d:device> | |
<d:name>Zenbo</d:name> | |
<d:manufacturer>User</d:manufacturer> | |
<d:meta/> | |
<d:hardware> | |
<d:screen> | |
<d:screen-size>xlarge</d:screen-size> | |
<d:diagonal-length>10.10</d:diagonal-length> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Replace with the IP address you want to ping | |
IPArray=( | |
"192.168.0.1" | |
"192.168.0.2" | |
"192.168.0.3" | |
"192.168.0.4" | |
"192.168.0.5" | |
) |