获取管理员权限REG命令 By PeterPing 发表于 2017-01-13 12345678910111213Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\shell\runas]@="获取管理员权限""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\*\shell\runas\command]@="cmd.exe /c takeown /f \"%1\" & icacls \"%1\" /grant administrators:F""IsolatedCommand"="cmd.exe /c takeown /f \"%1\" & icacls \"%1\" /grant administrators:F"[HKEY_CLASSES_ROOT\Directory\shell\runas]@="获取管理员权限""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\Directory\shell\runas\command]@="cmd.exe /c takeown /f \"%1\" /r /d y & icacls \"%1\" /grant administrators:F /t""IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y & icacls \"%1\" /grant administrators:F /t"
CSS实现TAG By PeterPing 发表于 2017-01-13 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head> <title>标签</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta charset="utf-8"> <style type="text/css"> /*标签css*/ /*标签ul和li的实现*/ .tags { list-style-type:none; float:left; margin-left:10px; margin-bottom:3px; } /*连接a的实现,右侧的圆角实现,hover效果实现*/ .tags a{ display:block; text-decoration:none; font-size:10px; color:white; background-color:#0089e0; height:19px; line-height:19px; padding:0 10px 0 10px; position:relative; border-radius:0 5px 5px 0; } .tags a:hover{ background-color:#666; } /*左侧三角形的实现*/ .tags a:before{ content:" "; width:0px; height:0px; position:absolute; top:0; left:-19px; border:10px solid transparent; border-right-color:#0089e0; } .tags a:hover:before{ border-color:transparent #666 transparent transparent; } /*小圆点的实现*/ .tags a:after{ content:" "; width:4px; height:4px; background-color:#fff; border-radius:4px; box-shadow:0px 0px 0px 1px rgba(0,0,0,.3); position:absolute; top:8px; left:3px; } </style></head><body><li class="tags"> <a href="" >tag</a></li><li class="tags"> <a href="" >tag</a></li><li class="tags"> <a href="" >tag</a></li><li class="tags"> <a href="" >tag</a></li><li class="tags"> <a href="" >tag</a></li><li class="tags"> <a href="" >tag</a></li></body></html>