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
/* | |
=============================================================================== | |
Name : TestSleep.c | |
Author : $(author) | |
Version : | |
Copyright : $(copyright) | |
Description : main definition | |
=============================================================================== | |
*/ |
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
ircomp1 (){ | |
local list1 | |
list1=$(irsend list '' '' 2> >(sed 's/irsend: //g')) | |
case "$COMP_CWORD" in | |
1 ) | |
COMPREPLY=( $(compgen -W "send_once send_start send_stop list set_transmitters simulate" $2) );; | |
2 ) | |
COMPREPLY=( $(compgen -W "$list1" $2) );; | |
3 ) | |
COMPREPLY=( $(compgen -W "$(irsend list "$3" '' 2> >(cut -f1 -d " ") | cut -f2 -d ' ')" $2) );; |
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
RewriteEngine On | |
RewriteCond %{QUERY_STRING} transport=polling | |
RewriteRule /(.*)$ http://localhost:3000/$1 [P] | |
ProxyRequests off | |
ProxyPass /socket.io/socket.io.js http://localhost:3000/socket.io/socket.io.js | |
ProxyPassReverse /socket.io/socket.io.js http://localhost:3000/socket.io/socket.io.js | |
ProxyPass /socket.io/ ws://localhost:3000/socket.io/ | |
ProxyPassReverse /socket.io/ ws://localhost:3000/socket.io/ |
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
console.log($("#pass").val()); | |
ansmax = []; | |
answer = []; | |
for(j=0;data.qas.length>j;j++){ | |
ansmax[j]= data.qas[j].answers.length-1; | |
answer[j]=0; | |
} | |
outer: | |
for(;;){ |
NewerOlder