-
-
...P=`echo $i |awk -F= '{print $1}'`
NUM=`echo $i|awk -F= '{print $2}'`
if [ ${#NUM} -gt 1 ]; then
echo $IP
grep $IP /etc/hosts.deny > /dev/null
if [ $? -gt 0 ];then
echo "sshd:$IP:deny" >> /etc/hosts.deny
fi
fi
done
~
-
-
...; for blob in blobs: if blob[2]*blob[3] > max_size: max_blob=blob max_size = blob[2]*blob[3] &...
-
-
...nt();
display();
}
}
void account()
{
unsigned long a;
if (time!=0)
{
a=L*360000000/time;
}
speed=a;
}
void STR()
{
str0[0]='S';
str0[1]='p';
str0[2]='e';
str0[3]='e';
str0[4]='d';
str0[5]=' ';
str0[6]=(speed%100000)/10000+0x30;
str...
-
-
...s(N,size(LD,2));[c r]=find(LD(:,2:3)==cent);for i=1:length(c) if r(i)==2 LD(c(i),2:3)=[LD(c(i),3),LD(c(i),2)]; end endNLD=LD(c,:);LD(c,:)=[];t=find(k(:,1)==cent);k(t,2)=k(t,2)-length(c);j=length(c);i=1;while sum(k(:,2))>0 ...
-
-
...begin
if(rst) begin
clk_4s <= 1'b0;
&...
-
-
...断初始化 TIM3_Int_Init(15-1,2100-1); //定时器3初始化 while(1) { if(exit_flag==1) { seg_chag(); //键盘修改时间 } else { get_time(); //计时 seg_disp2();//数码管动态显示 } }}
-
-
...p; UAVXArm is free software: you can redistribute it and/or modify it under the terms of the GNU// General Public License as published by the Free Software Foundation, either version 3 of the// License, or (at your option) any later version. //&nb...
-
-
...
case 5:P1_0=0;P1_0=1;P0=0x20;P1_0=0;P0=seven_seg[5];break;
}
i++;
if(i>=6)i=0;
}
void main()
{
while(1)
{
display();
delay(50);
}
}
-
-
...ude "sys.h" #include "rs485.h" #include "delay.h"#ifdef EN_USART2_RX //如果使能了接收//接收缓存区 u8 RS485_RX_BUF[64]; //接收缓冲,最大64个字节.//接收到的数据长度u8 RS485_RX_CNT=0; void USA...
-
-
... timer0() interrupt 1 using 3 { TF0=0; TH0=0xb1; TL0=0xe0; if (n<10) { n++; } else { offset+=2; if (offset>1100) offset=0; n=0; } } efan 23:05:57 程序有两个地方不太明白 1. P0=*(p+offset+2*i); 为什么要乘以2,...