Нужно включить отладку по USB:
Settings -> Applications -> Development -> USB debugging
Наш девайс должен быть виден.
$ adb devices
List of devices attached
100044ddd111 device
| sha1sum: | |
| 50f6b5f560006b894e279f70f7d34297bfb7580f SC02BOMLL1_SC02BDCMLL1_DCM.zip | |
| md5sum: | |
| 7e9df962fb0fc7c7f6f54f46e1a26a43 SC02BOMLL1_SC02BDCMLL1_DCM.zip | |
| Samsung GALAXY S, SC-02B | |
| Phone Samsung GALAXY S |
Нужно включить отладку по USB:
Settings -> Applications -> Development -> USB debugging
Наш девайс должен быть виден.
$ adb devices
List of devices attached
100044ddd111 device
| #!/bin/bash | |
| echo "SELECT | |
| CONCAT('SELECT ',MIN(c.COLUMN_NAME),' FROM ',c.TABLE_NAME,' WHERE ',MIN(c.COLUMN_NAME),' IS NOT NULL;') | |
| FROM | |
| information_schema.COLUMNS AS c | |
| LEFT JOIN ( | |
| SELECT DISTINCT | |
| TABLE_SCHEMA,TABLE_NAME,COLUMN_NAME | |
| FROM | |
| information_schema.KEY_COLUMN_USAGE |
Sample usage:
seq 1 1000 | ./stddev.sh
Sample output:
MEAN 68% 95% 97%
500.50 789.32 1078.14 1366.96
| package main | |
| import ( | |
| "image" | |
| "image/color" | |
| "image/png" | |
| "os" | |
| "golang.org/x/image/font" | |
| "golang.org/x/image/font/basicfont" |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net/http" | |
| ) | |
| func main() { | |
| var count int |
| <?php | |
| /* | |
| Run with all available processing power: | |
| sudo nice -n -20 php startswith_benchmark.php | sort -h | |
| Running with PHP 7.0.7-3 gives: | |
| 1.6±0.0014 msec - strncmp_startswith_shortcut |
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <profiles> | |
| <profile name="Symfony"> | |
| <setting id="indentationChar" value=" "/> | |
| <setting id="insert_space_after_opening_paren_in_declare" value="false"/> | |
| <setting id="insert_space_before_closing_paren_in_declare" value="false"/> | |
| <setting id="insert_space_before_opening_paren_in_declare" value="false"/> | |
| <setting id="org.eclipse.php.core.formatter.insert_new_line_in_function_invoke" value="3"/> | |
| <setting id="org.eclipse.php.formatter.core.formatter.alignment_for_arguments_in_allocation_expression_force_split" value="false"/> | |
| <setting id="org.eclipse.php.formatter.core.formatter.alignment_for_arguments_in_allocation_expression_indent_policy" value="0"/> |
| <?xml version="1.0" encoding="utf-8"?> | |
| <!DOCTYPE yml_catalog SYSTEM "shops.dtd"> | |
| <yml_catalog date="2016-03-14 18:03"> | |
| <shop> | |
| <name>Shop Name</name> | |
| <company>Company Name</company> | |
| <url>https://www.example.com/</url> | |
| <currencies> | |
| <currency id="RUR" rate="1"/> | |
| <currency id="USD" rate="81.00"/> |