This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Defines a theme callback function per registered path. | |
| */ | |
| function MODULENAME_menu_alter(&$items) { | |
| $items['node/%node']['theme callback'] = 'MODULENAME_default_node_theme'; | |
| $items['node/%node/edit']['theme callback'] = 'MODULENAME_edit_node_theme'; | |
| $items['node/%node/edit']['theme arguments'] = array(1); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 说明 | |
| string getcwd ( void ) | |
| 取得当前工作目录。 | |
| 返回值 | |
| 成功则返回当前工作目录,失败返回 FALSE。 | |
| 在某些 Unix 的变种下,如果任何父目录没有设定可读或搜索模式,即使当前目录设定了, getcwd() 还是会返回 FALSE。有关模式与权限的更多信息见 chmod()。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Markup free clearing | |
| * Details: http://perishablepress.com/press/2009/12/06/new-clearfix-hack | |
| */ | |
| .clearfix:after { | |
| content: "."; | |
| display: block; | |
| height: 0; | |
| clear: both; | |
| visibility: hidden; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "bold_folder_labels": true, | |
| "caret_style": "wide", | |
| "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
| "default_line_ending": "unix", | |
| "draw_white_space": "all", | |
| "ensure_newline_at_eof_on_save": true, | |
| "fade_fold_buttons": false, | |
| "fallback_encoding": "UTF-8", | |
| "find_selected_text": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .gray { | |
| -webkit-filter: grayscale(100%); | |
| -moz-filter: grayscale(100%); | |
| -ms-filter: grayscale(100%); | |
| -o-filter: grayscale(100%); | |
| filter: grayscale(100%); | |
| filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); | |
| filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* new clearfix */ | |
| .clearfix:after { | |
| visibility: hidden; | |
| display: block; | |
| font-size: 0; | |
| content: " "; | |
| clear: both; | |
| height: 0; | |
| } | |
| * html .clearfix { zoom: 1; } /* IE6 */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 【最费脑力的14部电影】 | |
| 1、《盗梦空间》 | |
| 2、《记忆裂痕》 | |
| 3、《生死停留》 | |
| 4、《死亡幻觉》 | |
| 5、《禁闭岛》 | |
| 6、《穆赫兰道》 | |
| 7、《蝴蝶效应》 | |
| 8、《恐怖游轮》 | |
| 9、《伤城》 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Implements hook_custom_theme(). | |
| */ | |
| function mysite_custom_theme() { | |
| // An array of themes for each day of the week. | |
| // These themes have to be installed and enabled. | |
| $themes = array(); | |
| $themes[0] = 'garland'; | |
| $themes[1] = 'bartik'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ---------------------------------------------------------- | |
| // A short snippet for detecting versions of IE in JavaScript | |
| // without resorting to user-agent sniffing | |
| // ---------------------------------------------------------- | |
| // If you're not in IE (or IE version is less than 5) then: | |
| // ie === undefined | |
| // If you're in IE (>=5) then you can determine which version: | |
| // ie === 7; // IE7 | |
| // Thus, to detect IE: | |
| // if (ie) {} |
OlderNewer