This file contains hidden or 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 | |
speedtest-cli --list | tail -n +2 | head -n 5 | while read s;do echo "### "$s;speedtest-cli --server $(echo $s | sed "s/\(\d*\)).*/\1/g") --simple --bytes;done > $(date +%Y%m%d-%H%M).txt |
This file contains hidden or 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 | |
echo "Content-type: text/plain" | |
# echo "" # avahi-browseの出力になんか空行があるのでここを省略 | |
# query_paramのパース | |
get_query_string() { | |
saveIFS=$IFS | |
IFS='=&' |
This file contains hidden or 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 | |
/** | |
* Markdon Syntax with marked.js | |
*/ | |
function plugin_markedjs_convert() | |
{ | |
$args = func_get_args(); | |
$body = array_pop($args); | |
$noskin = in_array("noskin", $args); |
NewerOlder