Jekyll 中的配置和模板语法
配置
文件介绍
_config.yml
Jekyll 的全局配置文件。
比如网站的名字,网站的域名,网站的链接格式等等。
<template> | |
<div class="equip"> | |
<b-input v-model="searchEquip"/> | |
<b-checkbox-group> | |
<b-checkbox v-for="(kind,index) in kinds" :key="index" v-model="selectKinds" :value="kind.id" :title="kind.property">{{ kind.name }}</b-checkbox> | |
</b-checkbox-group> | |
<div v-if="equips"> | |
<b-card v-for="(equip, index) in equips.equip" :key="index" :hidden="!equip.show"> | |
<b-img-lazy v-bind="equipPicProps" :src="'https://wegame.gtimg.com/tgp_act/release/wegame/equips/images/'+equip.id+'.png'" :title="equip.property"></b-img-lazy> |
extension |
方法1: | |
# 1. 复制根目录,不需要安装任何东西(看到这个就是已经属于复制好了) | |
# 2. 打开powershell,转到(cd)到src目录, | |
# 3. 在src里面的目录运行 | |
..\envir\Scripts\python.exe -m http.server 8000 | |
# 4. 访问浏览器 http://127.0.0.1:8000 | |
# 静态文件的url是 名字.html | |
# 查找自己名字,选择即可 |
mutation CreateIssuePayload{ | |
addReaction(input:{subjectId:"MDU6SXNzdWU0NDI5OTAxODU=",content:HOORAY}){ | |
reaction{ | |
content | |
} | |
subject{ | |
id | |
} | |
} | |
} |
_config.yml
Jekyll 的全局配置文件。
比如网站的名字,网站的域名,网站的链接格式等等。
/// <summary> | |
/// 加密解密QQ消息包的工具类. | |
/// </summary> | |
public static class QQCrypter | |
{ | |
private static Random Rnd = new Random(); | |
private static void code(byte[] In, int inOffset, int inPos, byte[] Out, int outOffset, int outPos, byte[] key) | |
{ | |
if (outPos > 0) | |
{ |
Usage: grep [OPTION]... PATTERN [FILE]...
Search for PATTERN in each FILE.
Example: grep -i 'hello world' menu.h main.c
Pattern selection and interpretation:
-E, --extended-regexp PATTERN is an extended regular expression
-F, --fixed-strings PATTERN is a set of newline-separated strings
-G, --basic-regexp PATTERN is a basic regular expression (default)
-P, --perl-regexp PATTERN is a Perl regular expression
function sleep(ms){ | |
return new Promise((resolve)=>setTimeout(resolve,ms)); | |
} | |
async function test(){ | |
var temple=await sleep(1000); | |
console.log(1111) | |
return temple | |
} | |
test(); |