- Windows 系统下,workbench.desktop.main.css 文件位置:
[用户目录]\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench
- Mac 系统下,workbench.desktop.main.css 文件位置:
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench
This file contains 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
/** | |
* 将源对象的属性并入到目标对象 | |
* @method mix | |
* @static | |
* @param {Object} des 目标对象 | |
* @param {Object} src 源对象 | |
* @param {boolean} override (Optional) 是否覆盖已有属性。如果为function则初为混合器,为src的每一个key执行 des[key] = override(des[key], src[key], key); | |
* @returns {Object} des | |
*/ | |
var mix = function(des, src, override) { |
This file contains 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
// 文件上传组件 | |
// 浏览器必须支持 XMLHttpRequest 2 | |
var fileUploader = function(fileElement, userOptions) { | |
var fileEl = $(fileElement); | |
var xhrObject = null; | |
var exports = {}; | |
var hasXhr2 = window.XMLHttpRequest && ('upload' in new XMLHttpRequest()); | |
var defaultOptions = { |
This file contains 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
FROM codeigniter/nginx-php-fpm:13 | |
# set timezone | |
RUN apk add --no-cache tzdata \ | |
&& mv /usr/share/zoneinfo/Asia/Shanghai /tmp/ \ | |
&& rm -rf /usr/share/zoneinfo/* \ | |
&& mkdir -p /usr/share/zoneinfo/Asia \ | |
&& mv /tmp/Shanghai /usr/share/zoneinfo/Asia/ \ | |
&& ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ | |
&& echo Asia/Shanghai > /etc/timezone \ |
This file contains 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 | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
/** | |
* Pagination Class | |
* | |
* @package Transformers | |
* @subpackage Libraries | |
* @category Pagination | |
* @author Hex |
This file contains 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
import axios from 'axios' | |
import qs from 'qs' | |
const axiosInstance = axios.create({ | |
transformRequest: [function(data) { | |
return qs.stringify(data); | |
}], | |
headers:{ | |
'Content-Type': 'application/x-www-form-urlencoded' | |
} |
This file contains 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
import Vue from 'vue' | |
import App from './App' | |
import axios from 'axios' | |
const plugins = { | |
install(Vue) { | |
Vue.prototype.$fetch = function(url, options) { | |
return axios(url, options) | |
.then(response => { | |
console.log(this) |
This file contains 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 parseQueryString(str) { | |
var strArr = String(str).replace(/^&/, '').replace(/&$/, '').split('&') | |
var sal = strArr.length | |
var i | |
var j | |
var ct | |
var p | |
var lastObj | |
var obj | |
var chr |
This file contains 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> | |
<!-- 请把这个文件放到 templates 目录下 --> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<title>Wechat</title> | |
</head> | |
<body> | |
{% if alive %} |
OlderNewer