css keyframe 四月 03, 2017 @keyframes myfirst { frame {background: red;} to {background: yellow;} } @keyframes myfirst { 0% {background: red;} 25% {background: yellow;} 50% {background: blue;} 100% {background: green;} } <div style="animation: myfirst 5s;">asd</div> 阅读全文
One or more PGP signatures could not be verified 三月 24, 2017 $gpg --recv-keys D73GD37771GG(replace the key that you miss) 阅读全文
mysql foreign key 二月 16, 2017 alter table account add foreign key class(ID) references persons(id); 阅读全文
mysql primary key 二月 16, 2017 Alter table tb add primary key(id); Alter table tb change id id int(10) not null auto_increment=1; 阅读全文
Android 手动调用 返回键 十月 29, 2016 可用的方法是:onBackPressed(); 2. 如果想要按下返回键时附加执行一些代码,可以写在这里 1 2 3 4 5 6 7 8 @Override public boolean onKeyDown ( int keyCode, KeyEvent event ) { if ( keyCode == KeyEvent . KEYCODE_BACK && event. getRepeatCount ( ) == 0 ) { // Do something. return true ; } return super . onKeyDown ( keyCode, event ) ; } 阅读全文