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
| /* The wrapper */ | |
| .b-block { | |
| position: relative; | |
| display: inline-block; | |
| overflow: hidden; | |
| width: 10em; | |
| height: 10em; | |
| vertical-align: middle; |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import cookielib | |
| import urllib | |
| import urllib2 | |
| import re | |
| url_login = 'http://f.10086.cn/im/login/inputpasssubmit1.action' | |
| url_logout = 'http://f.10086.cn//im/index/logoutsubmit.action?t=' |
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
| ReactDOM.render( | |
| <h1>Hello, world!</h1>, | |
| document.body | |
| ) |
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
| { | |
| "libs": [ | |
| "ecma5", | |
| "ecma6", | |
| "browser", | |
| "jquery", | |
| "underscore" | |
| ], | |
| "loadEagerly": [ | |
| "importantfile.js" |
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
| -- ~/.hammerspoon/init.lua | |
| ------------------------------------------------------------ | |
| -- 仅层叠:当前聚焦窗口 → 所在显示器 + 该窗口所在 Space | |
| -- 热键:Ctrl + Option + Command + C | |
| ------------------------------------------------------------ | |
| local hasSpaces = (hs.spaces ~= nil) | |
| -- 层叠参数(按需改) | |
| local CASCADE_CFG = { |
OlderNewer