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
| @mixin border-radius($radius){ | |
| -webkit-border-radius: $radius; | |
| -moz-border-radius: $radius; | |
| -ms-border-radius: $radius; | |
| border-radius: $radius; | |
| } | |
| @mixin border-radius-4-variables($radiusTL, $radiusTR, $radiusBR, $radiusBL){ | |
| -webkit-border-radius: $radiusTL $radiusTR $radiusBR $radiusBL; | |
| -moz-border-radius: $radiusTL $radiusTR $radiusBR $radiusBL; |
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
| var str= '\u6e2c\u8a66'; | |
| var msg = unescape(str.replace(/\\u/g, '%u')); | |
| // -> 測試 |
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
| https://www.yahoo.co.jp/ | |
| → Open in LINE browser | |
| https://www.yahoo.co.jp/?openExternalBrowser=1 | |
| → Open in default browser |
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
| iOS 使用 chrome 開啟 | |
| googlechrome://www.google.com | |
| Android 使用 chrome 開啟 | |
| googlechrome://navigate?url=www.example.com |
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
| /* | |
| Script: Color.js | |
| Class for creating and manipulating colors in JavaScript. Includes basic color manipulations and HSB <-> RGB <-> HEX Conversions. | |
| License: | |
| MIT-style license. | |
| */ | |
| function Color(params){ | |
| var ptype = $type(params); |
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
| Easy to use Maintenance page as a Cloudflare Worker. Once set up, you can enable it for unlimited pages in your CF account. Get rid of greedy subscriptions that charge you per domain. | |
| How to: | |
| 1. Go to Cloudflare Workers and create a new Worker (url is https://dash.cloudflare.com/<your-id>/workers/new) | |
| 2. paste the Code from above | |
| 3. Set an AUTH_KEY and AUTH_VALUE and the maintenancePageHtml (optionally) | |
| 4. deploy the worker | |
| 5. goto Cloudflare and choose a domain, click on the Workers section (url is https://dash.cloudflare.com/<your-id>/<domain>/workers) | |
| 6. click on "Add Route" and set the Route you want to enable the maintenance page for (typically <domain>/*) | |
| 7. choose your previously created worker from the dropdown |
OlderNewer