By admin, 12 三月, 2015

clearscreen
make "a 100
make "b 50
 
repeat 360[
  setxy (thing "a) * sin repcount  
    ((thing "b) * cos repcount) - (thing "b)
]

 

标签

By admin, 9 三月, 2015

生成秘钥对(如果已经有就不用再生成了):
a@A:~> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/a/.ssh/id_rsa):
Created directory '/home/a/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/a/.ssh/id_rsa.
Your public key has been saved in /home/a/.ssh/id_rsa.pub.
The key fingerprint is:
3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 a@A
 

标签

By admin, 1 三月, 2015

html { 
  background: url(images/bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

标签

By admin, 25 二月, 2015

SELECT * FROM
(
  SELECT *, MAX(field) AS max_field
  FROM mytable
  GROUP BY field_id
) t
ORDER BY max_field

其中,field,field_id应替换成具体的列名,mytable替换成具体的表名

标签