2013年6月21日 星期五
change the property of a css rule
It is interesting to change the CSS property of a rule not just an element.
By Totally Pwn CSS with Javascript, It is possible to do it by javascript.
The entry point is document.styleSheets.
For Firefox user, one can iterate the document.styleSheets[].cssRules[].selectorText to find the css selector. then add/modify/remove the rule to meet your requirement.
To add a rule, docuemnt.styleSheets[].addRule(ruleName, null, 0).
To remove a rule, document.styleSheets[].deleteRule(index);
For IE user, one can iterate the document.styleSheets[].rules[].
To add a rule, docuemnt.styleSheets[].insertRule(ruleName +'{ }', 0).
To remove a rule, document.styleSheets[].removeRule(index);
2011年11月24日 星期四
2011年7月28日 星期四
2011年2月9日 星期三
rx multi-queue issue survey
NAPI - ("New API") is a modification to the device driver packet processing framework, which is designed to improve the performance of high-speed networking.
Enabling Linux* Network Support of Hardware Multiqueue Devices
Linux Multiqueue Networking, David S. Miller, 2008
Linux Multiqueue Networking, David S. Miller, 2009
High Speed Network Traffic Analysis with Commodity Multi-core Systems
Linux multi-core scalability, 2009
[PATCH RFC] ethtool: add multiple queue support to {get,set}_ringparams
TNAPI (Threaded NAPI) for packet capturing
RE: Can I limit number of rx queues for igb (and other Intel drivers)?
Enabling Linux* Network Support of Hardware Multiqueue Devices
Linux Multiqueue Networking, David S. Miller, 2008
Linux Multiqueue Networking, David S. Miller, 2009
High Speed Network Traffic Analysis with Commodity Multi-core Systems
Linux multi-core scalability, 2009
[PATCH RFC] ethtool: add multiple queue support to {get,set}_ringparams
TNAPI (Threaded NAPI) for packet capturing
RE: Can I limit number of rx queues for igb (and other Intel drivers)?
2011年1月25日 星期二
訂閱:
文章 (Atom)