hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98 values | lang stringclasses 21 values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
126ed8e6b22b6d649d5e590a1876fa93abe00e61 | 439 | c | C | polish-spoj/FR_08_02/solution.c | kpagacz/spoj | 8bff809c6c5227a6e85e9b12f808dd921f24e587 | [
"MIT"
] | 1 | 2021-12-06T16:01:55.000Z | 2021-12-06T16:01:55.000Z | polish-spoj/FR_08_02/solution.c | kpagacz/comp-programming | 15482d762ede4d3b7f8ff45a193f6e6bcd85672a | [
"MIT"
] | null | null | null | polish-spoj/FR_08_02/solution.c | kpagacz/comp-programming | 15482d762ede4d3b7f8ff45a193f6e6bcd85672a | [
"MIT"
] | null | null | null | #include<stdio.h>
int main(void) {
int tests;
scanf("%i", &tests);
long stas_w, stas_l, wies_w, wies_l, grzes_w, grzes_l;
long long jas_w;
for (int i = 0; i < tests; i ++) {
scanf(" %li %li %li %li %li %li", &stas_w, &stas_l, &wies_w, &wies_l, &grzes_w, &grzes_l);
jas_w = 2 * stas_l + stas_w - (wies_w + grzes_w);
printf("%lli %lli\n", jas_w, stas_l + stas_w - jas_w);
}
return 0;
} | 25.823529 | 98 | 0.548975 |
2ae5d70c2c715620423917b883556deeb4fd0835 | 8,081 | sql | SQL | db/src/main/resources/org/kuali/kpme/kpme-db/db/rice/2.2.1/oracle/update_final_oracle.sql | cniesen/kpme | cf1b17d0b947619428e1677ecde5da71de4b36c0 | [
"ECL-2.0"
] | null | null | null | db/src/main/resources/org/kuali/kpme/kpme-db/db/rice/2.2.1/oracle/update_final_oracle.sql | cniesen/kpme | cf1b17d0b947619428e1677ecde5da71de4b36c0 | [
"ECL-2.0"
] | null | null | null | db/src/main/resources/org/kuali/kpme/kpme-db/db/rice/2.2.1/oracle/update_final_oracle.sql | cniesen/kpme | cf1b17d0b947619428e1677ecde5da71de4b36c0 | [
"ECL-2.0"
] | null | null | null | --
-- Copyright 2004-2014 The Kuali Foundation
--
-- Licensed under the Educational Community License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.opensource.org/licenses/ecl2.php
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- 2012-07-20.sql
--
--
-- KULRICE-7439: Assignment of "Add Message to Route Log" permission to the KR-SYS technical administrator is missing from bootstrap dataset
--
DELETE FROM KRIM_ROLE_PERM_T WHERE
ROLE_ID = (SELECT ROLE_ID FROM KRIM_ROLE_T WHERE ROLE_NM = 'Technical Administrator' AND NMSPC_CD = 'KR-SYS') AND
PERM_ID = (SELECT PERM_ID FROM KRIM_PERM_T WHERE NM = 'Add Message to Route Log' AND NMSPC_CD = 'KUALI')
/
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- 2012-08-29.sql
--
--
-- KULRICE-6676 - external message tables
--
-- ----------------------------------------------------------------------
-- krad_msg_t
-- ----------------------------------------------------------------------
CREATE TABLE KRAD_MSG_T
(
NMSPC_CD VARCHAR2(20) NOT NULL,
CMPNT_CD VARCHAR2(100) NOT NULL,
MSG_KEY VARCHAR2(100) NOT NULL,
LOC VARCHAR2(80) NOT NULL,
OBJ_ID VARCHAR2(36) NOT NULL,
VER_NBR DECIMAL(8) DEFAULT 1 NOT NULL,
MSG_DESC VARCHAR2(255),
TXT VARCHAR2(4000)
)
/
ALTER TABLE KRAD_MSG_T
ADD CONSTRAINT KRAD_MSG_TC1
PRIMARY KEY (NMSPC_CD,CMPNT_CD,MSG_KEY,LOC)
/
ALTER TABLE KRAD_MSG_T
ADD CONSTRAINT KRAD_MSG_TC2
UNIQUE (OBJ_ID)
/
-- note!! the 'loc' field in rice is currently set to 255 chars, but that exceeds the max length for primary
-- keys in mysql 5.1. Depending on what the rice team does about this, we may need to run the following statement
-- below
-- ALTER TABLE KRAD_MSG_T MODIFY LOC VARCHAR2(255)
-- ;
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- 2012-09-13.sql
--
--
-- KULRICE-6676 - adding system parameter for default locale
--
INSERT INTO KRCR_PARM_T VALUES ('KR-NS', 'All', 'DEFAULT_LOCALE_CODE', sys_guid(), 1, 'CONFG', 'en-US',
'The locale code that should be used within the application when otherwise not specified.', 'A', 'KUALI')
/
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- 2012-09-29.sql
--
--
-- KULRICE-8349 - guest user access
--
INSERT INTO KRIM_ENTITY_T (ENTITY_ID, OBJ_ID, VER_NBR, ACTV_IND, LAST_UPDT_DT)
VALUES ('KR1000', sys_guid(), 1, 'Y', sysdate)
/
INSERT INTO KRIM_ENTITY_ENT_TYP_T (ENT_TYP_CD, ENTITY_ID, OBJ_ID, VER_NBR, ACTV_IND, LAST_UPDT_DT)
VALUES ('PERSON', 'KR1000', sys_guid(), 1, 'Y', sysdate)
/
INSERT INTO KRIM_PRNCPL_T (PRNCPL_ID, OBJ_ID, VER_NBR, PRNCPL_NM, ENTITY_ID, PRNCPL_PSWD, ACTV_IND, LAST_UPDT_DT)
VALUES ('guest', sys_guid(), 1, 'guest', 'KR1000', '', 'Y', sysdate)
/
INSERT INTO KRIM_ROLE_T (ROLE_ID, OBJ_ID, VER_NBR, ROLE_NM, NMSPC_CD, DESC_TXT, KIM_TYP_ID, ACTV_IND, LAST_UPDT_DT)
VALUES ('KR1000', sys_guid(), 1, 'GuestRole', 'KUALI', 'This role is used for no login guest users.', '1', 'Y', sysdate)
/
INSERT INTO KRIM_ROLE_MBR_T (ROLE_MBR_ID, VER_NBR, OBJ_ID, ROLE_ID, MBR_ID, MBR_TYP_CD, ACTV_FRM_DT, ACTV_TO_DT, LAST_UPDT_DT)
VALUES ('KR1000', 1, sys_guid(), 'KR1000', 'guest', 'P', null, null, sysdate)
/
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- 2012-11-14.sql
--
--
-- KULRICE-8539: Apply SQL for new KRMS tables to the 2.2 master db
--
-- KULRICE-7367: Implement KRMS Type-Type Relations feature
-- KULRICE-7368: Implement KRMS Natural Language Translation feature
-- KULRICE-7369: Implement KRMS Reference Object Bindings feature
--
CREATE SEQUENCE KRMS_REF_OBJ_KRMS_OBJ_S INCREMENT BY 1 START WITH 10000 NOMAXVALUE NOCYCLE NOCACHE ORDER
/
CREATE SEQUENCE KRMS_TYP_RELN_S INCREMENT BY 1 START WITH 10000 NOMAXVALUE NOCYCLE NOCACHE ORDER
/
CREATE SEQUENCE KRMS_NL_USAGE_S INCREMENT BY 1 START WITH 10000 NOMAXVALUE NOCYCLE NOCACHE ORDER
/
CREATE SEQUENCE KRMS_NL_TMPL_S INCREMENT BY 1 START WITH 10000 NOMAXVALUE NOCYCLE NOCACHE ORDER
/
CREATE SEQUENCE KRMS_NL_TMPL_ATTR_S INCREMENT BY 1 START WITH 10000 NOMAXVALUE NOCYCLE NOCACHE ORDER
/
CREATE SEQUENCE KRMS_NL_USAGE_ATTR_S INCREMENT BY 1 START WITH 10000 NOMAXVALUE NOCYCLE NOCACHE ORDER
/
CREATE TABLE KRMS_NL_USAGE_T(
NL_USAGE_ID VARCHAR2(40) NOT NULL ,
NM VARCHAR2(255) NOT NULL,
NMSPC_CD VARCHAR2(40) NOT NULL,
DESC_TXT VARCHAR2(255) NULL,
ACTV VARCHAR2(1) DEFAULT 'Y' NOT NULL,
VER_NBR NUMBER(8) DEFAULT 0 NOT NULL,
PRIMARY KEY (NL_USAGE_ID),
CONSTRAINT KRMS_NL_USAGE_TC1 UNIQUE (NM, NMSPC_CD)
)
/
CREATE TABLE KRMS_NL_USAGE_ATTR_T (
NL_USAGE_ATTR_ID VARCHAR2(40) NOT NULL ,
NL_USAGE_ID VARCHAR2(40) NOT NULL ,
ATTR_DEFN_ID VARCHAR2(40) NOT NULL ,
ATTR_VAL VARCHAR2(400) NULL ,
VER_NBR NUMBER(8) DEFAULT 0 NOT NULL ,
PRIMARY KEY (NL_USAGE_ATTR_ID) ,
CONSTRAINT KRMS_NL_USAGE_ATTR_TC1 UNIQUE (NL_USAGE_ID, ATTR_DEFN_ID),
CONSTRAINT KRMS_NL_USAGE_ATTR_FK1
FOREIGN KEY (NL_USAGE_ID )
REFERENCES KRMS_NL_USAGE_T (NL_USAGE_ID ) ,
CONSTRAINT KRMS_NL_USAGE_ATTR_FK2
FOREIGN KEY (ATTR_DEFN_ID )
REFERENCES KRMS_ATTR_DEFN_T (ATTR_DEFN_ID )
)
/
CREATE TABLE KRMS_NL_TMPL_T (
NL_TMPL_ID VARCHAR2(40) NOT NULL,
LANG_CD VARCHAR2(2) NOT NULL,
NL_USAGE_ID VARCHAR2(40) NOT NULL,
TYP_ID VARCHAR2(40) NOT NULL,
TMPL VARCHAR2(4000) NOT NULL,
VER_NBR NUMBER(8) DEFAULT 0 NOT NULL,
CONSTRAINT KRMS_NL_TMPL_FK1 FOREIGN KEY (NL_USAGE_ID) REFERENCES KRMS_NL_USAGE_T (NL_USAGE_ID),
CONSTRAINT KRMS_TYP_T FOREIGN KEY (TYP_ID) REFERENCES KRMS_TYP_T (TYP_ID),
PRIMARY KEY (NL_TMPL_ID),
CONSTRAINT KRMS_NL_TMPL_TC1 UNIQUE (LANG_CD, NL_USAGE_ID, TYP_ID)
)
/
CREATE TABLE KRMS_TYP_RELN_T (
TYP_RELN_ID VARCHAR2(40) NOT NULL ,
FROM_TYP_ID VARCHAR2(40) NOT NULL ,
TO_TYP_ID VARCHAR2(40) NOT NULL ,
RELN_TYP VARCHAR2(40) NOT NULL ,
SEQ_NO NUMBER(5) NOT NULL,
VER_NBR NUMBER(8) DEFAULT '0' NOT NULL,
ACTV VARCHAR2(1) DEFAULT 'Y' NOT NULL,
PRIMARY KEY (TYP_RELN_ID) ,
CONSTRAINT KRMS_TYP_RELN_TC1 UNIQUE (FROM_TYP_ID, TO_TYP_ID, RELN_TYP) ,
CONSTRAINT KRMS_TYP_RELN_FK1 FOREIGN KEY (FROM_TYP_ID ) REFERENCES KRMS_TYP_T (TYP_ID ),
CONSTRAINT KRMS_TYP_RELN_FK2 FOREIGN KEY (TO_TYP_ID ) REFERENCES KRMS_TYP_T (TYP_ID )
)
/
CREATE TABLE KRMS_REF_OBJ_KRMS_OBJ_T(
REF_OBJ_KRMS_OBJ_ID VARCHAR2(40) NOT NULL,
COLLECTION_NM VARCHAR2(40) NULL,
KRMS_OBJ_ID VARCHAR2(40) NOT NULL,
KRMS_DSCR_TYP VARCHAR2(40) NOT NULL,
REF_OBJ_ID VARCHAR2(255) NOT NULL,
REF_DSCR_TYP VARCHAR2(255) NOT NULL,
NMSPC_CD VARCHAR2(40) NOT NULL,
ACTV VARCHAR2(1) DEFAULT 'Y' NOT NULL ,
VER_NBR NUMBER(8) DEFAULT 0 NOT NULL,
PRIMARY KEY (REF_OBJ_KRMS_OBJ_ID),
CONSTRAINT KRMS_REF_OBJ_KRMS_OBJ_TC1 UNIQUE (COLLECTION_NM, KRMS_OBJ_ID, KRMS_DSCR_TYP, REF_OBJ_ID, REF_DSCR_TYP, NMSPC_CD)
)
/
CREATE TABLE KRMS_NL_TMPL_ATTR_T (
NL_TMPL_ATTR_ID VARCHAR2(40) NOT NULL ,
NL_TMPL_ID VARCHAR2(40) NOT NULL ,
ATTR_DEFN_ID VARCHAR2(40) NOT NULL ,
ATTR_VAL VARCHAR2(400) NULL ,
VER_NBR NUMBER(8) DEFAULT 0 NOT NULL ,
PRIMARY KEY (NL_TMPL_ATTR_ID) ,
CONSTRAINT KRMS_NL_TMPL_ATTR_TC1 UNIQUE (NL_TMPL_ID, ATTR_DEFN_ID),
CONSTRAINT KRMS_NL_TMPL_ATTR_FK1
FOREIGN KEY (NL_TMPL_ID )
REFERENCES KRMS_NL_TMPL_T (NL_TMPL_ID ) ,
CONSTRAINT KRMS_NL_TMPL_ATTR_FK2
FOREIGN KEY (ATTR_DEFN_ID )
REFERENCES KRMS_ATTR_DEFN_T (ATTR_DEFN_ID )
)
/
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- 2012-11-28.sql
--
INSERT INTO KRCR_PARM_T VALUES ('KR-NS', 'All', 'OLTP_LOCKOUT_DEFAULT_MESSAGE', sys_guid(), 1, 'CONFG', 'The module you are attempting to access has been locked for maintenance.', 'Default message to display when a module is locked', 'A', 'KUALI')
/ | 32.716599 | 247 | 0.696943 |
bcb78d96b6d5cb52cd79b140e5839799e4ca4e9b | 10,339 | js | JavaScript | example/src/pages/DocSubMenu/index.js | hsiaofung/hf-u2 | 5a5bf04163d3bf12c8e835709b8155fb6b995d0b | [
"MIT"
] | null | null | null | example/src/pages/DocSubMenu/index.js | hsiaofung/hf-u2 | 5a5bf04163d3bf12c8e835709b8155fb6b995d0b | [
"MIT"
] | 7 | 2021-03-02T01:10:51.000Z | 2022-03-08T23:15:39.000Z | example/src/pages/DocSubMenu/index.js | hsiaofung/dawn-react-ui-lib | 5a5bf04163d3bf12c8e835709b8155fb6b995d0b | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import DocumentNavBar from "../../components/DocumentNavBar";
import MainContent from "../../components/MainContent";
import CodeSection from "../../components/CodeSection";
import ComponentSection from "../../components/ComponentSection";
import TableSection from "../../components/TableSection";
import Commit from "../../components/Commit";
// UI component
import { SubMenu } from "dawn-react-ui-lib";
class DocSubMenu extends Component {
constructor(props) {
super(props);
this.state = {
list: {}
};
}
componentDidMount() {
this.setState({
list: this.refs
});
}
render() {
const { list } = this.state;
const dataList = {
subitems: [
{
total: { text: "全部珠寶", link: "" },
image: {
url:
"http://cdn.chowsangsang.com/dfs/UAT/ivCssModelImages/18KR89975K-21---06-065-00060-ESHOP-1_700.jpg",
link: ""
},
list: [
{
headline: "最新上架",
subtitle: [
{ text: "新品", link: "" },
{ text: "編輯推薦", link: "" }
]
},
{
headline: "按配戴",
subtitle: [
{ text: "串飾", link: "" },
{ text: "戒指", link: "" },
{ text: "手鐲", link: "" },
{ text: "手鍊", link: "" },
{ text: "耳環", link: "" },
{ text: "頸鍊", link: "" },
{ text: "吊墜", link: "" },
{ text: "金片", link: "" },
{ text: "擺件", link: "" }
]
},
{
headline: "按金屬",
subtitle: [
{ text: "黃金", link: "" },
{ text: "18K金", link: "" },
{ text: "鉑金", link: "" },
{ text: "純銀", link: "" }
]
},
{
headline: "按寶石",
subtitle: [
{ text: "鑽石", link: "" },
{ text: "珍珠", link: "" },
{ text: "彩色寶石", link: "" }
]
},
{
headline: "按設計",
subtitle: [
{ text: "素鍊", link: "" },
{ text: "生肖", link: "" },
{ text: "對戒", link: "" },
{ text: "四葉草", link: "" },
{ text: "花", link: "" },
{ text: "大明咒", link: "" },
{ text: "心", link: "" },
{ text: "單耳環", link: "" }
]
},
{
headline: "專屬訂製",
subtitle: [
{ text: "關於專屬訂製", link: "" },
{ text: "promessa duet", link: "" },
{ text: "鑽戒訂製", link: "" },
{ text: "promessa enigma", link: "" }
]
}
]
}
]
};
const dataList2 = {
subitems: [
{
link: "",
image: "http://www.chowsangsang.com/en/img/header/gift.jpg",
text: "第一張圖"
},
{
link: "",
image: "http://www.chowsangsang.com/en/img/header/storelocator.jpg",
text: "第二張圖"
},
{
link: "",
image: "http://www.chowsangsang.com/en/img/header/cs.jpg",
text: "第三張圖"
},
{
link: "",
image: "http://www.chowsangsang.com/en/img/header/gift.jpg",
text: "第四張圖"
}
]
};
return (
<div>
<DocumentNavBar />
<MainContent titleList={list}>
<h1>SubMenu</h1>
<p>製作navbar的下拉式選單樣式,<Commit>注意:最大寬度 1200px。</Commit></p>
<h2 ref="title1">基本下拉式選單樣式</h2>
<p>
有清單列表以及最右邊放一張圖的樣式,最基本只要有 dataList 以及
subMenuKey 就可以形成基本樣式, 其他設定請參照下面參數設定主題。
<Commit>注意:type屬性必須要有</Commit>
</p>
<ComponentSection>
<SubMenu type="list" dataList={dataList} subMenuKey="subitems" />
</ComponentSection>
<CodeSection>
{`
const dataList = {
subitems: [
{
total: { text: "全部珠寶", link:"" },
image: {
url:"http://cdn.chowsangsang.com/dfs/UAT/ivCssModelImages/18KR89975K-21---06-065-00060-ESHOP-1_700.jpg",
link:""
},
list: [
{
headline: "最新上架",
subtitle: [
{ text: "新品", link:"" },
{ text: "編輯推薦", link:"" }
]
},
{
headline: "按配戴",
subtitle: [
{ text: "串飾", link:"" },
{ text: "戒指", link:"" },
{ text: "手鐲", link:"" },
{ text: "手鍊", link:"" },
{ text: "耳環", link:"" },
{ text: "頸鍊", link:"" },
{ text: "吊墜", link:"" },
{ text: "金片", link:"" },
{ text: "擺件", link:"" }
]
},
{
headline: "按金屬",
subtitle: [
{ text: "黃金", link:"" },
{ text: "18K金", link:"" },
{ text: "鉑金", link:"" },
{ text: "純銀", link:"" }
]
},
{
headline: "按寶石",
subtitle: [
{ text: "鑽石", link:"" },
{ text: "珍珠", link:"" },
{ text: "彩色寶石", link:"" }
]
},
{
headline: "按設計",
subtitle: [
{ text: "素鍊", link:"" },
{ text: "生肖", link:"" },
{ text: "對戒", link:"" },
{ text: "四葉草", link:"" },
{ text: "花", link:"" },
{ text: "大明咒", link:"" },
{ text: "心", link:"" },
{ text: "單耳環", link:"" }
]
},
{
headline: "專屬訂製",
subtitle: [
{ text: "關於專屬訂製", link:"" },
{ text: "promessa duet", link:"" },
{ text: "鑽戒訂製", link:"" },
{ text: "promessa enigma", link:"" }
]
}
]
}
]
};
<SubMenu type="list" dataList={dataList} subMenuKey="subitems" />
`}
</CodeSection>
<h2 ref="title2">純圖片下拉式選單</h2>
<p>都是以圖片和文字組成。</p>
<ComponentSection>
<SubMenu
type="image"
imgWidth="300px"
dataList={dataList2}
subMenuKey="subitems"
/>
</ComponentSection>
<CodeSection>
{`
const dataList = {
subitems: [
{
link: "",
image: "http://www.chowsangsang.com/en/img/header/gift.jpg",
text: "第一張圖"
},
{
link: "",
image: "http://www.chowsangsang.com/en/img/header/storelocator.jpg",
text: "第二張圖"
},
{
link: "",
image: "http://www.chowsangsang.com/en/img/header/cs.jpg",
text: "第三張圖"
},
{
link: "",
image: "http://www.chowsangsang.com/en/img/header/gift.jpg",
text: "第四張圖"
}
]
};
<SubMenu
type="image"
imgWidth="300px"
dataList={dataList}
subMenuKey="subitems"
/>
`}
</CodeSection>
<h2 ref="title3">參數設定</h2>
<TableSection>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
<th>Description</th>
</tr>
<tr>
<td>dataList(list)</td>
<td>Object</td>
<td>{`dataList:{
subitems:[{
total:{
text:"",
link:""
},
img:{
url:"",
link:""
},
list:[{
headline:"",
subtitle:[{text:"",link:""}]
}]
}]
}`}</td>
<td>subMenu(list樣式)的資料結構</td>
</tr>
<tr>
<td>dataList(image)</td>
<td>Object</td>
<td>{`dataList:{
subitems:[{link:"", image:"", text:""}]
}`}</td>
<td>subMenu(image樣式)的資料結構</td>
</tr>
<tr>
<td>totalSetup</td>
<td>Object</td>
<td>{`totalSetup:{
fontSize:"14px",
fontWeight:"0",
color:"#000"
}`}</td>
<td>改變總搜尋連結的樣式</td>
</tr>
<tr>
<td>listWidth</td>
<td>String</td>
<td>160px</td>
<td>改變清單寬度</td>
</tr>
<tr>
<td>headlineSetup</td>
<td>Object</td>
<td>{`headlineSetup:{
fontWeight:"700",
margin:"0 0 30px 0"
}`}</td>
<td>改變粗標題(大標題)的字體粗細以及margin</td>
</tr>
<tr>
<td>subtitleStep</td>
<td>Object</td>
<td>{`subtitleStep:{
margin:"10px 0 0 0",
fontSize:"14px",
fontWeight:"0",
color:"#000"
}`}</td>
<td>設定細項樣式</td>
</tr>
<tr>
<td>imgWidth</td>
<td>String</td>
<td>240px</td>
<td>依照圖片大小設定顯示寬度</td>
</tr>
<tr>
<td>background</td>
<td>String</td>
<td>#fff</td>
<td>改變subMenu背景顏色</td>
</tr>
<tr>
<td>subMenuKey</td>
<td>String</td>
<td>後端dataKey</td>
<td>搭配 NavBar 套件 代入 keyName 生成頁面</td>
</tr>
<tr>
<td>imageTextStep</td>
<td>Object</td>
<td>{`imageTextStep:{
fontSize:"14px",
fontWeight:"0",
color:"#000",
textAlign:"center"
}`}</td>
<td>只有圖片樣式的圖片敘述連結樣式設定</td>
</tr>
</TableSection>
</MainContent>
</div>
);
}
}
export default DocSubMenu;
| 27.718499 | 114 | 0.35574 |
23d7def4dbf9017b64743411f680fef20617175a | 753 | kt | Kotlin | src/main/kotlin/no/nav/medlemskap/domene/arbeidsforhold/Arbeidsavtale.kt | navikt/medlemskap-oppslag | c75b892560ef88048de5c73c95318448c4c2edd5 | [
"MIT"
] | null | null | null | src/main/kotlin/no/nav/medlemskap/domene/arbeidsforhold/Arbeidsavtale.kt | navikt/medlemskap-oppslag | c75b892560ef88048de5c73c95318448c4c2edd5 | [
"MIT"
] | 42 | 2020-01-20T09:19:23.000Z | 2022-03-09T13:44:25.000Z | src/main/kotlin/no/nav/medlemskap/domene/arbeidsforhold/Arbeidsavtale.kt | navikt/medlemskap-oppslag | c75b892560ef88048de5c73c95318448c4c2edd5 | [
"MIT"
] | null | null | null | package no.nav.medlemskap.domene.arbeidsforhold
import no.nav.medlemskap.domene.Periode
data class Arbeidsavtale(
var periode: Periode,
val gyldighetsperiode: Periode,
val yrkeskode: String,
val skipsregister: Skipsregister?,
val fartsomraade: Fartsomraade?,
val stillingsprosent: Double?,
val beregnetAntallTimerPrUke: Double?,
val skipstype: Skipstype?
) {
fun getStillingsprosent(): Double {
if (stillingsprosent == 0.0 && beregnetAntallTimerPrUke != null && beregnetAntallTimerPrUke > 0) {
val beregnetStillingsprosent = (beregnetAntallTimerPrUke / 37.5) * 100
return Math.round(beregnetStillingsprosent * 10.0) / 10.0
}
return stillingsprosent ?: 100.0
}
}
| 31.375 | 106 | 0.695883 |
5b1893c5b00963596b6e1ff0be435954a4bff355 | 2,028 | c | C | src/svc_inst.c | Serge78rus/winservice | 82a173da01720da35f74eead05662ff931728dc0 | [
"MIT"
] | null | null | null | src/svc_inst.c | Serge78rus/winservice | 82a173da01720da35f74eead05662ff931728dc0 | [
"MIT"
] | null | null | null | src/svc_inst.c | Serge78rus/winservice | 82a173da01720da35f74eead05662ff931728dc0 | [
"MIT"
] | null | null | null | /*
* svc_inst.c
*
* Created on: 12 дек. 2015 г.
* Author: serge78rus
*/
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
#include <windows.h>
#include "svc.h"
int ServiceInstall(TCHAR *path)
{
TRACE("ServiceInstall()\n")
printf("Installing service \"%s\" ...\n", SERVICE_NAME);
SC_HANDLE hSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_CREATE_SERVICE);
if(!hSCManager) {
TRACE("Error: OpenSCManager()\n")
fprintf(stderr, "Error: Can't open Service Control Manager");
return -1;
}
SC_HANDLE hService = CreateService(
hSCManager,
SERVICE_NAME,
DISPLAY_NAME,
SERVICE_ALL_ACCESS,
SERVICE_WIN32_OWN_PROCESS,
SERVICE_START_MODE,
SERVICE_ERROR_NORMAL,
path,
NULL, NULL, NULL, NULL, NULL
);
if(!hService) {
TRACE("Error: CreateService()\n")
int err = GetLastError();
switch(err) {
case ERROR_ACCESS_DENIED:
fprintf(stderr, "Error: ERROR_ACCESS_DENIED");
break;
case ERROR_CIRCULAR_DEPENDENCY:
fprintf(stderr, "Error: ERROR_CIRCULAR_DEPENDENCY");
break;
case ERROR_DUPLICATE_SERVICE_NAME:
fprintf(stderr, "Error: ERROR_DUPLICATE_SERVICE_NAME");
break;
case ERROR_INVALID_HANDLE:
fprintf(stderr, "Error: ERROR_INVALID_HANDLE");
break;
case ERROR_INVALID_NAME:
fprintf(stderr, "Error: ERROR_INVALID_NAME");
break;
case ERROR_INVALID_PARAMETER:
fprintf(stderr, "Error: ERROR_INVALID_PARAMETER");
break;
case ERROR_INVALID_SERVICE_ACCOUNT:
fprintf(stderr, "Error: ERROR_INVALID_SERVICE_ACCOUNT");
break;
case ERROR_SERVICE_EXISTS:
fprintf(stderr, "Error: ERROR_SERVICE_EXISTS");
break;
default:
fprintf(stderr, "Error: Undefined");
}
CloseServiceHandle(hSCManager);
return -1;
}
CloseServiceHandle(hService);
CloseServiceHandle(hSCManager);
printf("Service \"%s\" installed OK\n", SERVICE_NAME);
TRACE("~ServiceInstall()\n")
return 0;
}
| 24.433735 | 77 | 0.663708 |
cb0e541b06e28190386eb729128dd830bf5a4800 | 6,642 | go | Go | service/databasemigrationservice/api_op_ModifyReplicationInstance.go | vvelikodny/aws-sdk-go-v2 | 9503cfa08dd8766632c983f916d053fef919277d | [
"Apache-2.0"
] | null | null | null | service/databasemigrationservice/api_op_ModifyReplicationInstance.go | vvelikodny/aws-sdk-go-v2 | 9503cfa08dd8766632c983f916d053fef919277d | [
"Apache-2.0"
] | null | null | null | service/databasemigrationservice/api_op_ModifyReplicationInstance.go | vvelikodny/aws-sdk-go-v2 | 9503cfa08dd8766632c983f916d053fef919277d | [
"Apache-2.0"
] | null | null | null | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package databasemigrationservice
import (
"context"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/internal/awsutil"
)
type ModifyReplicationInstanceInput struct {
_ struct{} `type:"structure"`
// The amount of storage (in gigabytes) to be allocated for the replication
// instance.
AllocatedStorage *int64 `type:"integer"`
// Indicates that major version upgrades are allowed. Changing this parameter
// does not result in an outage, and the change is asynchronously applied as
// soon as possible.
//
// This parameter must be set to true when specifying a value for the EngineVersion
// parameter that is a different major version than the replication instance's
// current version.
AllowMajorVersionUpgrade *bool `type:"boolean"`
// Indicates whether the changes should be applied immediately or during the
// next maintenance window.
ApplyImmediately *bool `type:"boolean"`
// Indicates that minor version upgrades will be applied automatically to the
// replication instance during the maintenance window. Changing this parameter
// does not result in an outage except in the following case and the change
// is asynchronously applied as soon as possible. An outage will result if this
// parameter is set to true during the maintenance window, and a newer minor
// version is available, and AWS DMS has enabled auto patching for that engine
// version.
AutoMinorVersionUpgrade *bool `type:"boolean"`
// The engine version number of the replication instance.
EngineVersion *string `type:"string"`
// Specifies whether the replication instance is a Multi-AZ deployment. You
// cannot set the AvailabilityZone parameter if the Multi-AZ parameter is set
// to true.
MultiAZ *bool `type:"boolean"`
// The weekly time range (in UTC) during which system maintenance can occur,
// which might result in an outage. Changing this parameter does not result
// in an outage, except in the following situation, and the change is asynchronously
// applied as soon as possible. If moving this window to the current time, there
// must be at least 30 minutes between the current time and end of the window
// to ensure pending changes are applied.
//
// Default: Uses existing setting
//
// Format: ddd:hh24:mi-ddd:hh24:mi
//
// Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
//
// Constraints: Must be at least 30 minutes
PreferredMaintenanceWindow *string `type:"string"`
// The Amazon Resource Name (ARN) of the replication instance.
//
// ReplicationInstanceArn is a required field
ReplicationInstanceArn *string `type:"string" required:"true"`
// The compute and memory capacity of the replication instance.
//
// Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
// | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
ReplicationInstanceClass *string `type:"string"`
// The replication instance identifier. This parameter is stored as a lowercase
// string.
ReplicationInstanceIdentifier *string `type:"string"`
// Specifies the VPC security group to be used with the replication instance.
// The VPC security group must work with the VPC containing the replication
// instance.
VpcSecurityGroupIds []string `type:"list"`
}
// String returns the string representation
func (s ModifyReplicationInstanceInput) String() string {
return awsutil.Prettify(s)
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ModifyReplicationInstanceInput) Validate() error {
invalidParams := aws.ErrInvalidParams{Context: "ModifyReplicationInstanceInput"}
if s.ReplicationInstanceArn == nil {
invalidParams.Add(aws.NewErrParamRequired("ReplicationInstanceArn"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
type ModifyReplicationInstanceOutput struct {
_ struct{} `type:"structure"`
// The modified replication instance.
ReplicationInstance *ReplicationInstance `type:"structure"`
}
// String returns the string representation
func (s ModifyReplicationInstanceOutput) String() string {
return awsutil.Prettify(s)
}
const opModifyReplicationInstance = "ModifyReplicationInstance"
// ModifyReplicationInstanceRequest returns a request value for making API operation for
// AWS Database Migration Service.
//
// Modifies the replication instance to apply new settings. You can change one
// or more parameters by specifying these parameters and the new values in the
// request.
//
// Some settings are applied during the maintenance window.
//
// // Example sending a request using ModifyReplicationInstanceRequest.
// req := client.ModifyReplicationInstanceRequest(params)
// resp, err := req.Send(context.TODO())
// if err == nil {
// fmt.Println(resp)
// }
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance
func (c *Client) ModifyReplicationInstanceRequest(input *ModifyReplicationInstanceInput) ModifyReplicationInstanceRequest {
op := &aws.Operation{
Name: opModifyReplicationInstance,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &ModifyReplicationInstanceInput{}
}
req := c.newRequest(op, input, &ModifyReplicationInstanceOutput{})
return ModifyReplicationInstanceRequest{Request: req, Input: input, Copy: c.ModifyReplicationInstanceRequest}
}
// ModifyReplicationInstanceRequest is the request type for the
// ModifyReplicationInstance API operation.
type ModifyReplicationInstanceRequest struct {
*aws.Request
Input *ModifyReplicationInstanceInput
Copy func(*ModifyReplicationInstanceInput) ModifyReplicationInstanceRequest
}
// Send marshals and sends the ModifyReplicationInstance API request.
func (r ModifyReplicationInstanceRequest) Send(ctx context.Context) (*ModifyReplicationInstanceResponse, error) {
r.Request.SetContext(ctx)
err := r.Request.Send()
if err != nil {
return nil, err
}
resp := &ModifyReplicationInstanceResponse{
ModifyReplicationInstanceOutput: r.Request.Data.(*ModifyReplicationInstanceOutput),
response: &aws.Response{Request: r.Request},
}
return resp, nil
}
// ModifyReplicationInstanceResponse is the response type for the
// ModifyReplicationInstance API operation.
type ModifyReplicationInstanceResponse struct {
*ModifyReplicationInstanceOutput
response *aws.Response
}
// SDKResponseMetdata returns the response metadata for the
// ModifyReplicationInstance request.
func (r *ModifyReplicationInstanceResponse) SDKResponseMetdata() *aws.Response {
return r.response
}
| 35.329787 | 123 | 0.763475 |
3e9b4170fdab0c8e39578da9b56e93f5ea5690d1 | 1,758 | h | C | reference material/MPU 6050 documents/DMP/motion_driver-5.1.2/core/driver/msp430/USB_API/USB_MSC_API/UsbMscReq.h | RiyanshKarani01235/IMU-based-pen-mini-project-semester-6 | a476d5128835d85ae02c879357cf195006c012ee | [
"MIT"
] | null | null | null | reference material/MPU 6050 documents/DMP/motion_driver-5.1.2/core/driver/msp430/USB_API/USB_MSC_API/UsbMscReq.h | RiyanshKarani01235/IMU-based-pen-mini-project-semester-6 | a476d5128835d85ae02c879357cf195006c012ee | [
"MIT"
] | null | null | null | reference material/MPU 6050 documents/DMP/motion_driver-5.1.2/core/driver/msp430/USB_API/USB_MSC_API/UsbMscReq.h | RiyanshKarani01235/IMU-based-pen-mini-project-semester-6 | a476d5128835d85ae02c879357cf195006c012ee | [
"MIT"
] | null | null | null | //(c)2010 by Texas Instruments Incorporated, All Rights Reserved.
/*----------------------------------------------------------------------------+
| |
| Texas Instruments |
| |
| MSP430 USB-Example (MSC Driver) |
| |
+-----------------------------------------------------------------------------+
| Source: Usb_Msc_Req.h, File Version 1.0 |
| Description: This file contains function declarations of MSC class specific|
| Requests. |
| Author: MSP |
| |
| WHO WHEN WHAT |
| --- ---------- ------------------------------------------------ |
| MSP 01/02/2010 born |
+----------------------------------------------------------------------------*/
#ifndef _USB_MSC_REQ_H_
#define _USB_MSC_REQ_H_
#ifdef __cplusplus
extern "C"
{
#endif
/* MSC Class defined Request.Reset State-Machine and makes endpoints ready again*/
BYTE USBMSC_reset(VOID);
/* MSC Class defined Request.Tells the host the number of supported logical units*/
BYTE Get_MaxLUN(VOID);
#ifdef __cplusplus
}
#endif
#endif //_USB_MSC_REQ_H_
| 47.513514 | 84 | 0.291809 |
c6d19204df9cc250f3c56d8cdb5b83cb3733b9be | 321 | ru | Ruby | config.ru | bojidarStanoev/ShareVideo | af31eaaa789868d610d13c4f930f5e9989f000d5 | [
"MIT"
] | null | null | null | config.ru | bojidarStanoev/ShareVideo | af31eaaa789868d610d13c4f930f5e9989f000d5 | [
"MIT"
] | null | null | null | config.ru | bojidarStanoev/ShareVideo | af31eaaa789868d610d13c4f930f5e9989f000d5 | [
"MIT"
] | null | null | null | require './myapp'
require_relative 'bot'
# run Sinatra and facebook-messenger on /webhook
map("/webhook") do
run Sinatra::Application
run Facebook::Messenger::Server
end
configure do |config|
enable :logging, :dump_errors, :raise_errors
end
# run regular sinatra for chat extension
run Sinatra::Application
| 17.833333 | 49 | 0.753894 |
1cb2f5209fb1cfae09b64ce700ad082161167681 | 337 | sql | SQL | desafio7.sql | Kevin-Ol/project-mysql-vocabulary-booster | 91d7b233ed804a738bc979064993ebc58d08cc96 | [
"MIT"
] | null | null | null | desafio7.sql | Kevin-Ol/project-mysql-vocabulary-booster | 91d7b233ed804a738bc979064993ebc58d08cc96 | [
"MIT"
] | null | null | null | desafio7.sql | Kevin-Ol/project-mysql-vocabulary-booster | 91d7b233ed804a738bc979064993ebc58d08cc96 | [
"MIT"
] | null | null | null | SELECT
UCASE(CONCAT(e.FIRST_NAME, ' ', e.LAST_NAME)) AS 'Nome completo',
jh.START_DATE AS 'Data de início',
e.SALARY AS 'Salário'
FROM
hr.job_history AS jh
INNER JOIN
hr.employees AS e ON jh.EMPLOYEE_ID = e.EMPLOYEE_ID
WHERE
MONTH(jh.START_DATE) IN (1 , 2, 3)
ORDER BY `Nome completo`, `Data de início`;
| 28.083333 | 69 | 0.661721 |
5dfcac70f126ef97c97800a1e4fe7c22fe5d6050 | 2,759 | h | C | include/meta/graph/algorithms/centrality.h | Lolik111/meta | c7019401185cdfa15e1193aad821894c35a83e3f | [
"MIT"
] | 615 | 2015-01-31T17:14:03.000Z | 2022-03-27T03:03:02.000Z | include/meta/graph/algorithms/centrality.h | Lolik111/meta | c7019401185cdfa15e1193aad821894c35a83e3f | [
"MIT"
] | 167 | 2015-01-20T17:48:16.000Z | 2021-12-20T00:15:29.000Z | include/meta/graph/algorithms/centrality.h | Lolik111/meta | c7019401185cdfa15e1193aad821894c35a83e3f | [
"MIT"
] | 264 | 2015-01-30T00:08:01.000Z | 2022-03-02T17:19:11.000Z | /**
* @file centrality.h
* @author Sean Massung
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#ifndef META_GRAPH_ALGORITHMS_CENTRALITY_H_
#define META_GRAPH_ALGORITHMS_CENTRALITY_H_
#include <mutex>
#include <vector>
#include "meta/graph/undirected_graph.h"
#include "meta/graph/directed_graph.h"
#include "meta/stats/multinomial.h"
namespace meta
{
namespace graph
{
namespace algorithms
{
using centrality_result = std::vector<std::pair<node_id, double>>;
/**
* Find the degree centrality of each node in the graph, which is simply the
* number of adjacent links.
* @param g
* @return a collection of (id, centrality) pairs
*/
template <class Graph>
centrality_result degree_centrality(const Graph& g);
/**
* Find the PageRank centrality of each node in the graph via power iteration.
* @see http://ilpubs.stanford.edu:8090/422/1/1999-66.pdf
* @param g
* @param damp The dampening (smoothing) factor
* @param max_iters The maximum number of iterations to run the power iteration
* @param jump_dist A personalization vector that indicates the
* jumping probability for nodes in the graph. By default, this is empty
* which signifies a uniform distribution.
* @return a collection of (id, centrality) pairs
*/
template <class DirectedGraph>
centrality_result
page_rank_centrality(const DirectedGraph& g, double damp = 0.85,
const stats::multinomial<node_id>& jump_dist = {},
uint64_t max_iters = 100);
/**
* Find the betweenness centrality of each node in the graph using the algorithm
* from Ulrik Brandes, 2001. This function is parallelized as it takes some time
* to compute on large networks.
* @see http://www.inf.uni-konstanz.de/algo/publications/b-fabc-01.pdf
* @param g
* @return a collection of (id, centrality) pairs
*/
template <class Graph>
centrality_result betweenness_centrality(const Graph& g);
/**
* Finds the eigenvector centrality of each node (i.e. "prestige") using power
* iteration.
* @param g
* @param max_iters The maximum number of iterations to run the power iteration
* @return a collection of (id, centrality) pairs
*/
template <class Graph>
centrality_result eigenvector_centrality(const Graph& g,
uint64_t max_iters = 100);
/**
* Contains helper functions used by the centrality measures.
*/
namespace internal
{
/**
* Helper function for betweenness_centrality.
*/
template <class Graph>
void betweenness_step(const Graph& g, centrality_result& cb, node_id n,
std::mutex& calc_mut);
}
}
}
}
#include "meta/graph/algorithms/centrality.tcc"
#endif
| 29.351064 | 80 | 0.724175 |
718091b9c640c774d55973e83c527f4984056442 | 479 | ts | TypeScript | test/Iridium.ts | SierraSoftworks/Iridium | 2722be92bbd2a3bfb4896b382994ee5e67be9450 | [
"MIT"
] | 435 | 2015-01-04T20:42:05.000Z | 2022-03-15T13:52:47.000Z | test/Iridium.ts | SierraSoftworks/Iridium | 2722be92bbd2a3bfb4896b382994ee5e67be9450 | [
"MIT"
] | 121 | 2015-04-24T15:41:50.000Z | 2021-08-12T14:38:34.000Z | test/Iridium.ts | SierraSoftworks/Iridium | 2722be92bbd2a3bfb4896b382994ee5e67be9450 | [
"MIT"
] | 32 | 2015-07-03T13:59:03.000Z | 2022-03-05T16:59:32.000Z | import * as Iridium from "../iridium";
import * as chai from "chai";
describe("Iridium",() => {
it("should expose the Core",() => {
chai.expect(Iridium.Core).to.exist.and.be.a("function");
});
it("should expose the Model constructor", () => {
chai.expect(Iridium.Model).to.exist.and.be.a("function");
});
it("should expose the default Instance class",() => {
chai.expect(Iridium.Instance).to.exist.and.be.a("function");
});
}); | 29.9375 | 68 | 0.590814 |
dd9cd5235e37b293f1e54746528683870d31e459 | 1,860 | go | Go | app/main.go | info-matopush/matopush | d340c6021466e7161505ca4b7db680ca7e740bcb | [
"MIT"
] | null | null | null | app/main.go | info-matopush/matopush | d340c6021466e7161505ca4b7db680ca7e740bcb | [
"MIT"
] | null | null | null | app/main.go | info-matopush/matopush | d340c6021466e7161505ca4b7db680ca7e740bcb | [
"MIT"
] | null | null | null | package main
import (
"net/http"
"github.com/info-matopush/matopush/conf"
"github.com/info-matopush/matopush/cron"
"github.com/info-matopush/matopush/doc"
"github.com/info-matopush/matopush/pubsubhubbub"
"github.com/info-matopush/matopush/site"
"github.com/info-matopush/matopush/trace"
"github.com/info-matopush/matopush/utility"
"github.com/info-matopush/matopush/webpush"
"google.golang.org/appengine"
)
func main() {
// メインページ
http.HandleFunc("/", doc.IndexHandler)
http.HandleFunc("/index.html", doc.IndexHandler)
// 招待
http.HandleFunc("/invite", doc.InviteHandler)
// 登録・解除
http.HandleFunc("/api/regist", webpush.RegistHandler)
http.HandleFunc("/api/unregist", webpush.UnregistHandler)
// ユーザ設定
http.HandleFunc("/api/conf/site", conf.SiteHandler)
http.HandleFunc("/api/conf/list", conf.ListHandler)
http.HandleFunc("/api/conf/remove", conf.RemoveHandler)
// サービス補助
http.HandleFunc("/api/key", utility.KeyHandler)
http.HandleFunc("/api/list", site.ListHandler) // todo:不要になったカモ
http.HandleFunc("/api/test", webpush.TestHandler)
http.HandleFunc("/api/search", utility.SearchHandler)
http.HandleFunc("/api/subscriber", pubsubhubbub.SubscriberHandler)
http.HandleFunc("/api/log", trace.LogHandler)
http.HandleFunc("/api/tunnel", utility.TunnelHandler)
// cron起動
http.HandleFunc("/admin/api/cron", cron.SiteCruisingHandler)
http.HandleFunc("/admin/api/health", webpush.HealthHandler)
http.HandleFunc("/admin/api/cleanup", cron.CleanupHandler)
// taskqueue起動
http.HandleFunc("/admin/api/publish", webpush.SendNotificationHandler)
http.HandleFunc("/admin/api/request/subscribe", pubsubhubbub.RequestSubscribeHandler)
// メンテナンス
http.HandleFunc("/admin/api/mainte", MainteHandler)
http.HandleFunc("/admin/api/dummy", DummyHandler)
// sitemap.xml
http.HandleFunc("/sitemap.xml", doc.SitemapHandler)
appengine.Main()
}
| 35.769231 | 86 | 0.762366 |
f0312f441bef1f6035d6f27334f7fa23e90d690a | 588 | js | JavaScript | models/users.js | elektracodes/Express-API-Starter | 7b4b3084ddada301450ffa7f87cd05d0c51c0db3 | [
"MIT"
] | null | null | null | models/users.js | elektracodes/Express-API-Starter | 7b4b3084ddada301450ffa7f87cd05d0c51c0db3 | [
"MIT"
] | null | null | null | models/users.js | elektracodes/Express-API-Starter | 7b4b3084ddada301450ffa7f87cd05d0c51c0db3 | [
"MIT"
] | null | null | null | "user strict";
const { db_read } = require("../config/db");
// Users object constructor
const Users = data => {
this.id = data.id;
this.username = data.username;
this.email = data.email;
this.password = data.password;
this.created_at = new Date();
this.updated_at = new Date();
};
Users.findById = function createUser(userId, result) {
db_read.query("Select * from users where id = ?", userId, function(err, res) {
if (err) {
console.log("error: ", err);
result(err, null);
} else {
result(null, res[0]);
}
});
};
module.exports = Users;
| 21.777778 | 80 | 0.615646 |
2844fde23e1e83e8be137f5350f2d2d18186a6db | 4,866 | sql | SQL | dsi2019.sql | dsi135/DSI135-POS-BACKEND | 87b37b8d78821e6dcf26f8d47c4bb830933176aa | [
"MIT"
] | null | null | null | dsi2019.sql | dsi135/DSI135-POS-BACKEND | 87b37b8d78821e6dcf26f8d47c4bb830933176aa | [
"MIT"
] | null | null | null | dsi2019.sql | dsi135/DSI135-POS-BACKEND | 87b37b8d78821e6dcf26f8d47c4bb830933176aa | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: mysql-container
-- Generation Time: Jun 21, 2019 at 07:15 AM
-- Server version: 5.5.62
-- PHP Version: 7.2.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `dsi2019`
--
-- --------------------------------------------------------
--
-- Table structure for table `categoria`
--
CREATE TABLE `categoria` (
`id` int(11) NOT NULL,
`nombre` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `categoria`
--
INSERT INTO `categoria` (`id`, `nombre`) VALUES
(1, 'BEBIDAS CALIENTES'),
(2, 'BEBIDAS FRIAS'),
(5, 'PUPUSAS'),
(8, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `detalle_orden`
--
CREATE TABLE `detalle_orden` (
`id` int(11) NOT NULL,
`producto` int(11) NOT NULL,
`cantidad` int(11) DEFAULT NULL,
`precio` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `detalle_orden`
--
INSERT INTO `detalle_orden` (`id`, `producto`, `cantidad`, `precio`) VALUES
(1, 1, 2, 1),
(1, 6, 2, 2),
(1, 10, 1, 1.35);
-- --------------------------------------------------------
--
-- Table structure for table `orden`
--
CREATE TABLE `orden` (
`id` int(11) NOT NULL,
`fecha` date DEFAULT NULL,
`mesero` varchar(100) DEFAULT NULL,
`mesa` int(2) DEFAULT NULL,
`cliente` varchar(100) DEFAULT NULL,
`estado` tinyint(1) DEFAULT NULL,
`total` double DEFAULT NULL,
`observaciones` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `orden`
--
INSERT INTO `orden` (`id`, `fecha`, `mesero`, `mesa`, `cliente`, `estado`, `total`, `observaciones`) VALUES
(1, '2019-06-20', 'primero', 2, 'primer cliente', 1, 20, NULL),
(2, '2019-06-20', 'primero', 2, 'tercer cliente', 1, 20, NULL),
(3, '2019-06-20', 'primero', 2, 'tercer cliente', 0, 20, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `parametros`
--
CREATE TABLE `parametros` (
`id` int(11) NOT NULL DEFAULT '0',
`nombre` varchar(100) DEFAULT NULL,
`valor` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `producto`
--
CREATE TABLE `producto` (
`id` int(11) NOT NULL DEFAULT '0',
`nombre` varchar(100) DEFAULT NULL,
`precio` double DEFAULT NULL,
`categoria` int(11) DEFAULT NULL,
`preparado` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `producto`
--
INSERT INTO `producto` (`id`, `nombre`, `precio`, `categoria`, `preparado`) VALUES
(1, 'PEPSI', 0.5, 2, NULL),
(2, 'COCA COLA', 0.6, 2, NULL),
(3, 'SUPREMA', 1.5, 2, NULL),
(4, 'VODKA', 7, 2, NULL),
(5, 'PILSENER', 1, 2, NULL),
(6, 'CAFE', 1, 1, 1),
(7, 'CHOCOLATE', 1.6, 1, 1),
(8, 'TE CALIENTE', NULL, 1, 1),
(9, 'LICUADOS', 1.15, 2, 1),
(10, 'FROZEN', 1.35, 2, 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `categoria`
--
ALTER TABLE `categoria`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `detalle_orden`
--
ALTER TABLE `detalle_orden`
ADD PRIMARY KEY (`id`,`producto`),
ADD UNIQUE KEY `producto` (`producto`),
ADD KEY `id` (`id`) USING BTREE;
--
-- Indexes for table `orden`
--
ALTER TABLE `orden`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `parametros`
--
ALTER TABLE `parametros`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `producto`
--
ALTER TABLE `producto`
ADD PRIMARY KEY (`id`),
ADD KEY `categoria` (`categoria`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `categoria`
--
ALTER TABLE `categoria`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `orden`
--
ALTER TABLE `orden`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `detalle_orden`
--
ALTER TABLE `detalle_orden`
ADD CONSTRAINT `detalle_orden_ibfk_1` FOREIGN KEY (`id`) REFERENCES `orden` (`id`),
ADD CONSTRAINT `detalle_orden_ibfk_2` FOREIGN KEY (`producto`) REFERENCES `producto` (`id`);
--
-- Constraints for table `producto`
--
ALTER TABLE `producto`
ADD CONSTRAINT `producto_ibfk_1` FOREIGN KEY (`categoria`) REFERENCES `categoria` (`id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
| 23.171429 | 107 | 0.627209 |
b11e5238ef655031024322f3f0fa46bcd7399f60 | 315 | css | CSS | css/style.css | Merilyn-Moleta/NA-TRILHA-DO-APRENDIZADO | 07d9fd824349283dad45feb97b1b275258b73eee | [
"MIT"
] | 1 | 2021-11-10T22:27:58.000Z | 2021-11-10T22:27:58.000Z | css/style.css | Merilyn-Moleta/NA-TRILHA-DO-APRENDIZADO | 07d9fd824349283dad45feb97b1b275258b73eee | [
"MIT"
] | null | null | null | css/style.css | Merilyn-Moleta/NA-TRILHA-DO-APRENDIZADO | 07d9fd824349283dad45feb97b1b275258b73eee | [
"MIT"
] | null | null | null | body
{
background-color: rgb(189, 171, 145);
font-family: Georgia, 'Times New Roman', Times, serif;
}
h1{
background-color: burlywood;
color: rgb(189, 171, 145);
text-align: center;
font-size: 28px;
}
h2{
color: lightpink;
}
h3{
color: lightgoldenrodyellow;
}
ul{
color: darkred;
} | 13.125 | 58 | 0.628571 |
dd061784c999987678e5e2a2dd3c35bbebc5aa46 | 3,944 | go | Go | cache/cache_test.go | clambin/covid19 | 8bf88ac8aa947264f85600308ea7e7404a71a215 | [
"MIT"
] | null | null | null | cache/cache_test.go | clambin/covid19 | 8bf88ac8aa947264f85600308ea7e7404a71a215 | [
"MIT"
] | 86 | 2020-12-13T23:53:19.000Z | 2022-03-28T09:12:54.000Z | cache/cache_test.go | clambin/covid19 | 8bf88ac8aa947264f85600308ea7e7404a71a215 | [
"MIT"
] | null | null | null | package cache_test
import (
"fmt"
"github.com/clambin/covid19/cache"
"github.com/clambin/covid19/covid/store/mocks"
"github.com/clambin/covid19/models"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"testing"
"time"
)
var (
testData = []models.CountryEntry{
{
Timestamp: time.Date(2020, time.November, 1, 0, 0, 0, 0, time.UTC),
Code: "BE",
Name: "Belgium",
Confirmed: 1,
Recovered: 0,
Deaths: 0},
{
Timestamp: time.Date(2020, time.November, 2, 0, 0, 0, 0, time.UTC),
Code: "US",
Name: "United States",
Confirmed: 3,
Recovered: 0,
Deaths: 0},
{
Timestamp: time.Date(2020, time.November, 2, 0, 0, 0, 0, time.UTC),
Code: "BE",
Name: "Belgium",
Confirmed: 3,
Recovered: 1,
Deaths: 0},
{
Timestamp: time.Date(2020, time.November, 4, 0, 0, 0, 0, time.UTC),
Code: "US",
Name: "United States",
Confirmed: 10,
Recovered: 5,
Deaths: 1}}
totalCases = []cache.Entry{
{
Timestamp: time.Date(2020, time.November, 1, 0, 0, 0, 0, time.UTC),
Confirmed: 1,
Recovered: 0,
Deaths: 0,
Active: 1,
},
{
Timestamp: time.Date(2020, time.November, 2, 0, 0, 0, 0, time.UTC),
Confirmed: 6,
Recovered: 1,
Deaths: 0,
Active: 5,
},
{
Timestamp: time.Date(2020, time.November, 4, 0, 0, 0, 0, time.UTC),
Confirmed: 13,
Recovered: 6,
Deaths: 1,
Active: 6,
},
}
deltaCases = []cache.Entry{
{
Timestamp: time.Date(2020, time.November, 1, 0, 0, 0, 0, time.UTC),
Confirmed: 1,
Recovered: 0,
Deaths: 0,
Active: 1,
},
{
Timestamp: time.Date(2020, time.November, 2, 0, 0, 0, 0, time.UTC),
Confirmed: 5,
Recovered: 1,
Deaths: 0,
Active: 4,
},
{
Timestamp: time.Date(2020, time.November, 4, 0, 0, 0, 0, time.UTC),
Confirmed: 7,
Recovered: 5,
Deaths: 1,
Active: 1,
},
}
)
func TestCovidCache(t *testing.T) {
db := &mocks.CovidStore{}
c := &cache.Cache{DB: db, Retention: 20 * time.Minute}
// Set up expectations
db.On("GetAll").Return(testData, nil).Once()
response, err := c.GetTotals(time.Now())
require.NoError(t, err)
require.Len(t, response, 3)
for index, totalCase := range totalCases {
assert.Equal(t, totalCase.Timestamp, response[index].Timestamp)
assert.Equal(t, totalCase.Confirmed, response[index].Confirmed)
assert.Equal(t, totalCase.Recovered, response[index].Recovered)
assert.Equal(t, totalCase.Deaths, response[index].Deaths)
assert.Equal(t, totalCase.Active, response[index].Active)
}
response, err = c.GetDeltas(time.Now())
require.NoError(t, err)
require.Len(t, response, 3)
for index, deltaCase := range deltaCases {
assert.Equal(t, deltaCase.Timestamp, response[index].Timestamp)
assert.Equal(t, deltaCase.Confirmed, response[index].Confirmed)
assert.Equal(t, deltaCase.Recovered, response[index].Recovered)
assert.Equal(t, deltaCase.Deaths, response[index].Deaths)
assert.Equal(t, deltaCase.Active, response[index].Active)
}
response, err = c.GetTotals(time.Date(2020, time.November, 3, 0, 0, 0, 0, time.UTC))
require.NoError(t, err)
require.Len(t, response, 2)
for index, total := range response {
assert.Equal(t, totalCases[index].Timestamp, total.Timestamp)
assert.Equal(t, totalCases[index].Confirmed, total.Confirmed)
assert.Equal(t, totalCases[index].Recovered, total.Recovered)
assert.Equal(t, totalCases[index].Deaths, total.Deaths)
assert.Equal(t, totalCases[index].Active, total.Active)
}
mock.AssertExpectationsForObjects(t, db)
}
func TestCache_Errors(t *testing.T) {
db := &mocks.CovidStore{}
c := &cache.Cache{DB: db, Retention: 20 * time.Minute}
db.On("GetAll").Return(nil, fmt.Errorf("database error"))
_, err := c.GetTotals(time.Now())
require.Error(t, err)
_, err = c.GetDeltas(time.Now())
require.Error(t, err)
}
| 25.777778 | 85 | 0.644777 |
8b982151a2162e8b0f51a318223b1fb4c3085b60 | 2,356 | kt | Kotlin | uiview/src/main/java/com/angcyo/uiview/widget/TimeTextView.kt | angcyo/RLibrary | b4869afa5ca2522289942d438a99a160b1d60a40 | [
"Apache-2.0"
] | 8 | 2017-06-28T07:30:18.000Z | 2018-06-19T10:08:43.000Z | uiview/src/main/java/com/angcyo/uiview/widget/TimeTextView.kt | angcyo/RLibrary | b4869afa5ca2522289942d438a99a160b1d60a40 | [
"Apache-2.0"
] | null | null | null | uiview/src/main/java/com/angcyo/uiview/widget/TimeTextView.kt | angcyo/RLibrary | b4869afa5ca2522289942d438a99a160b1d60a40 | [
"Apache-2.0"
] | 10 | 2017-05-27T13:48:57.000Z | 2021-03-22T06:48:50.000Z | package com.angcyo.uiview.widget
import android.content.Context
import android.text.TextUtils
import android.util.AttributeSet
import com.angcyo.uiview.R
import com.angcyo.uiview.kotlin.nowTime
import com.angcyo.uiview.utils.RUtils
import java.text.SimpleDateFormat
import java.util.*
/**
* Copyright (C) 2016,深圳市红鸟网络科技股份有限公司 All rights reserved.
* 项目名称:
* 类的描述:用来显示时间的控件, 支持模板自定义
* 创建人员:Robi
* 创建时间:2018/01/10 14:30
* 修改人员:Robi
* 修改时间:2018/01/10 14:30
* 修改备注:
* Version: 1.0.0
*/
open class TimeTextView(context: Context, attributeSet: AttributeSet? = null) : RTextView(context, attributeSet) {
private val simpleFormat = SimpleDateFormat("yyyy-MM-dd HH:mm" /*ss:SSS*/, Locale.CHINA)
/**毫秒*/
var time = 0L
set(value) {
field = value
text = if (field <= 0) {
""
} else {
if (showShotTime) {
if (TextUtils.isEmpty(datePattern) && TextUtils.isEmpty(timePattern)) {
RUtils.getShotTimeString(field)
} else {
RUtils.getShotTimeString(datePattern, timePattern, field)
}
} else {
simpleFormat.format(Date(field))
}
}
}
/**缩短显示时间*/
var showShotTime = false
var datePattern = ""
var timePattern = ""
init {
val array = context.obtainStyledAttributes(attributeSet, R.styleable.TimeTextView)
val pattern = array.getString(R.styleable.TimeTextView_r_time_pattern)
datePattern = array.getString(R.styleable.TimeTextView_r_shot_date_pattern) ?: ""
timePattern = array.getString(R.styleable.TimeTextView_r_shot_time_pattern) ?: ""
val timeString = array.getString(R.styleable.TimeTextView_r_time)
showShotTime = array.getBoolean(R.styleable.TimeTextView_r_show_shot_time, showShotTime)
pattern?.let {
setPattern(it)
}
if (isInEditMode) {
time = nowTime()
}
timeString?.let {
time = timeString.toLong()
}
array.recycle()
}
/**重置模板样式*/
fun setPattern(pattern: String) {
simpleFormat.applyPattern(pattern)
time = time
}
} | 31 | 115 | 0.585739 |
56eec79ccce46a642b75eafb6bc44ef67d9846ba | 1,030 | ts | TypeScript | Lab17/src/app/add-contact/add-contact.component.ts | BesedinAlex/Student_WebLabs | 174670ba5a53c569ac208e66509a9108fbdc134d | [
"MIT"
] | null | null | null | Lab17/src/app/add-contact/add-contact.component.ts | BesedinAlex/Student_WebLabs | 174670ba5a53c569ac208e66509a9108fbdc134d | [
"MIT"
] | null | null | null | Lab17/src/app/add-contact/add-contact.component.ts | BesedinAlex/Student_WebLabs | 174670ba5a53c569ac208e66509a9108fbdc134d | [
"MIT"
] | null | null | null | import {Component} from '@angular/core';
import {FormControl, FormGroup, Validators} from '@angular/forms';
import {ContactsService} from '../services/contacts.service';
import {Router} from '@angular/router';
@Component({
selector: 'app-add-contact',
templateUrl: './add-contact.component.html',
styleUrls: ['./add-contact.component.css']
})
export class AddContactComponent {
form: FormGroup;
mask = [/\d/, ' ', '(', /[1-9]/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/];
constructor(
private router: Router,
private contacts: ContactsService
) {
this.form = new FormGroup({
firstName: new FormControl(null),
lastName: new FormControl(null),
phoneNumber: new FormControl(null, [Validators.required]),
favorite: new FormControl(false),
comment: new FormControl(null)
});
}
async addContact() {
await this.contacts.addContact(this.form.value);
if (this.contacts.lastActionIsDone) {
this.router.navigate(['/']);
}
}
}
| 27.837838 | 104 | 0.629126 |
5f4e98b3ef4b4cc89490b8ef41a03b83880f4f70 | 2,400 | ts | TypeScript | src/js/background.ts | renuo/github-pull-request-counter | 397845688ae89715f72db1bf3c719bb21948bc01 | [
"MIT"
] | 2 | 2021-08-16T06:58:49.000Z | 2022-03-09T11:12:42.000Z | src/js/background.ts | renuo/github-pull-request-counter | 397845688ae89715f72db1bf3c719bb21948bc01 | [
"MIT"
] | 3 | 2022-03-09T11:07:29.000Z | 2022-03-28T08:03:11.000Z | src/js/background.ts | renuo/github-pull-request-counter | 397845688ae89715f72db1bf3c719bb21948bc01 | [
"MIT"
] | 1 | 2021-09-28T09:50:24.000Z | 2021-09-28T09:50:24.000Z | import GithubApiWrapper from './services/github-api-wrapper';
import PullRequestStorageAccessor from './services/pull-request-storage-accessor';
import BadgeSetter from './services/badge-setter';
import SettingsStorageAccessor from './services/settings-storage-accessor';
import { noAccessTokenError, tooManyRequestsError } from './static/constants';
import { PullRequestRecord, PullRequest } from './static/types';
const pollingInterval = 1;
const ServiceWorker = () => {
const fetchAndStoreData = async () => {
let github;
const storage = PullRequestStorageAccessor();
try {
github = await GithubApiWrapper();
} catch (error) {
if (error === noAccessTokenError) {
storage.clearPullRequests();
BadgeSetter().clear();
return;
} else if (error === tooManyRequestsError) return;
throw error;
}
let recordEntries: PullRequest[][];
try {
recordEntries = await Promise.all([
github.getReviewRequested(),
github.getTeamReviewRequested(),
github.getNoReviewRequested(),
github.getAllReviewsDone(),
github.getMissingAssignee(),
github.getAllAssigned(),
]);
} catch (error) {
if (error === tooManyRequestsError) return;
throw error;
}
const record: PullRequestRecord = {
reviewRequested: recordEntries[0],
teamReviewRequested: recordEntries[1],
noReviewRequested: recordEntries[2],
allReviewsDone: recordEntries[3],
missingAssignee: recordEntries[4],
allAssigned: recordEntries[5],
};
const counter = await SettingsStorageAccessor().loadCounterConfig();
BadgeSetter().update(record, counter);
storage.storePullRequests(record);
};
const startPolling = async () => {
await fetchAndStoreData();
chrome.alarms.create('polling', { periodInMinutes: pollingInterval });
// TODO: I cound't get any test to run this code properly.
/* istanbul ignore next */
chrome.alarms.onAlarm.addListener((alarm) => {
/* istanbul ignore next */
if (alarm.name === 'polling') fetchAndStoreData();
});
};
return { fetchAndStoreData, startPolling };
};
// TODO: Running this code in tests will cause ERR_UNHANDLED_REJECTION.
/* istanbul ignore next */
if (process.env.JEST_WORKER_ID === undefined) ServiceWorker().startPolling();
export default ServiceWorker;
| 30.379747 | 82 | 0.677917 |
86a6d02d823d4b0940b77f2fb77352235a438100 | 871 | kt | Kotlin | app/src/main/java/com/project_christopher/projects/bibliotheca/Workers/TokenRefreshWorker.kt | Project-Christopher/bibliotheca-android | b5f05006b7f819d6d38aceb4500387627a321e27 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/project_christopher/projects/bibliotheca/Workers/TokenRefreshWorker.kt | Project-Christopher/bibliotheca-android | b5f05006b7f819d6d38aceb4500387627a321e27 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/project_christopher/projects/bibliotheca/Workers/TokenRefreshWorker.kt | Project-Christopher/bibliotheca-android | b5f05006b7f819d6d38aceb4500387627a321e27 | [
"Apache-2.0"
] | null | null | null | package com.project_christopher.projects.bibliotheca.Workers
import android.content.Context
import androidx.work.Worker
import androidx.work.WorkerParameters
import androidx.work.workDataOf
import com.project_christopher.projects.bibliotheca.Core.API
class TokenRefreshWorker(context: Context, workerParams: WorkerParameters) : Worker(context, workerParams) {
private val mContext: Context = context
override fun doWork(): Result {
val loaded = API.loadUser(mContext)
if (!loaded)
return Result.failure(workDataOf("user-not-found" to true))
val status = API.getRefreshToken(mContext)
if (status == 403 || status == 404)
return Result.failure(workDataOf("invalid-status" to status))
if (status == 500 || status == 503)
return Result.retry()
return Result.success()
}
} | 31.107143 | 108 | 0.701493 |
ee4afd5d9d74f8137ecdf8b0f70696aef8a8459c | 5,544 | lua | Lua | mods/deathmatch/resource-cache/http-client-files-no-client-cache/minimap/extend.lua | yourpalemir/ww3-altyapi | 81754e2c952e0c168ebf41d1bd9bdd9ffb325678 | [
"MIT"
] | null | null | null | mods/deathmatch/resource-cache/http-client-files-no-client-cache/minimap/extend.lua | yourpalemir/ww3-altyapi | 81754e2c952e0c168ebf41d1bd9bdd9ffb325678 | [
"MIT"
] | null | null | null | mods/deathmatch/resource-cache/http-client-files-no-client-cache/minimap/extend.lua | yourpalemir/ww3-altyapi | 81754e2c952e0c168ebf41d1bd9bdd9ffb325678 | [
"MIT"
] | null | null | null |
Extend = {
screen = Vector2(guiGetScreenSize()),
show = false,
size = {},
scale = {},
_define = function(self)
self = Extend;
self.size.wh = Vector2(self.screen.x - 50,self.screen.y - 50)
self.size.blip = 20
self.scale.map = 1
self.scale.arrow = 0.8
self.scale.distance = Vector2(2.05,0.5)
self.pos = Vector2(25,25)
self.key = 'F11'
self.x = 0
self.y = 0
self.texture = DxTexture("components/radar.png", "dxt5", true, "clamp", "3d")
self.size.texture = Vector2(self.texture:getSize())
return true
end,
_key = function(key,press)
self = Extend;
if key == self.key and press and localPlayer:getData('loggedin') == 1 then
self.show = not self.show
if not self.show then
removeEventHandler('onClientRender',root,self._render)
else
addEventHandler('onClientRender',root,self._render)
end
end
if key == 'mouse_wheel_up' and self.show then
if press then
if tonumber(self.scale.map) < 1.50 then
self.scale.map = self.scale.map + 0.025
if self.scale.arrow ~= 0.8 then
self.scale.arrow = self.scale.arrow - 0.025
end
end
end
end
if key == 'mouse_wheel_down' and self.show then
if press then
if tonumber(self.scale.map) > 0.50 then
self.scale.map = self.scale.map - 0.025
if self.scale.arrow < 1 then
self.scale.arrow = self.scale.arrow + 0.025
end
end
end
end
end,
_render = function()
self = Extend;
if localPlayer.dimension == 0 then
local sectionx = localPlayer.position.x / ( 6000 / self.size.texture.x ) + ( self.size.texture.y / 2 ) - ( self.size.wh.x / self.scale.map / 2 ) + 5
local sectiony = localPlayer.position.y / (-6000 / self.size.texture.y ) + (self.size.texture.y / 2) - (self.size.wh.y / self.scale.map / 2 ) + 5
local iunit = 3072 / 6000 * self.scale.map
dxDrawRectangle(self.pos.x, self.pos.y, self.size.wh.x, self.size.wh.y, tocolor(0, 0, 0, 255*0.7))
dxDrawImageSection(self.pos.x + 13 / 2 + 1, self.pos.y + 13 / 2, (self.size.wh.x - 13), (self.size.wh.y - 13), sectionx + self.x, sectiony + self.y, (self.size.wh.x - 13) / self.scale.map, (self.size.wh.y - 13) / self.scale.map, self.texture, 0, 0, 0, tocolor( 255, 255, 255, 255 ), false)
for i, v in ipairs(getElementsByType("blip")) do
if v:getData("blip:maxVisible") then
north = {}
if (self.pos.y + 13 / 2 + (self.size.wh.y - 13)/2 + (localPlayer.position.y - v.position.y) * iunit) <= self.pos.y + 13/2 then
north.y = self.pos.y + 13/2
elseif (self.pos.y + 13/2 + (self.size.wh.y - 13)/2 + (localPlayer.position.y - v.position.y) * iunit) >= self.pos.y + 13/2 + (self.size.wh.y - 13 - 20) then
north.y = self.pos.y + 13/2 + (self.size.wh.y - 13 - 20)
else
north.y = self.pos.y + 13/2 + (self.size.wh.y - 13)/2 + (localPlayer.position.y - v.position.y) * iunit - self.size.blip / 2
end
if ((self.pos.x + 13/2 + (self.size.wh.x - 13)/2 + (v.position.x - localPlayer.position.x) * iunit) <= self.pos.x + 13 / 2) then
north.x = self.pos.x + 13/2
elseif ((self.pos.x + 13/2 + (self.size.wh.x - 13)/2 + (v.position.x - localPlayer.position.x) * iunit) >= self.pos.x + 13 / 2 + (self.size.wh.x - 13 - 20)) then
north.x = self.pos.x + 13/2 + (self.size.wh.x - 13 - 20)
else
north.x = (self.pos.x + 13/2 + (self.size.wh.x - 13)/2 + (v.position.x - localPlayer.position.x) * iunit) - self.size.blip / 2
end
dxDrawImage(north.x, north.y, 16, 16, "components/blips/" .. v.icon .. ".png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
else
distance = {
min = {},
max = {},
}
distance.min.h = (self.pos.y + 13 / 2 + (self.size.wh.y - 13) / 2 + (localPlayer.position.y - v.position.y) * iunit) > self.pos.y + 13 / 2
distance.min.w = (self.pos.x + 13 / 2 + (self.size.wh.x - 13) / 2 + (v.position.x - localPlayer.position.x) * iunit) > self.pos.x + 13 / 2
distance.max.h = (self.pos.y + 13 / 2 + (self.size.wh.y - 13) / 2 + (localPlayer.position.y - v.position.y) * iunit) < self.pos.y + 13 / 2 + (self.size.wh.y - 13 - 20)
distance.max.w = (self.pos.x + 13 / 2 + (self.size.wh.x - 13) / 2 + (v.position.x - localPlayer.position.x) * iunit) < self.pos.x + 13 / 2 + (self.size.wh.x - 13 - 20)
if distance.min.h and distance.min.w and distance.max.h and distance.max.w then
dxDrawImage(self.pos.x + 13/2 + (self.size.wh.x - 13)/2 + (v.position.x - localPlayer.position.x) * iunit - v.size / 2, self.pos.y + 13/2 + (self.size.wh.y - 13)/2 + (localPlayer.position.y - v.position.y) * iunit - v.size/2, 20, 20, "components/blips/" .. v.icon .. ".png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
end
end
end
dxDrawImage(self.pos.x + self.size.wh.x / 2 + 2 * iunit - (10 / self.scale.arrow) + self.scale.arrow, self.pos.y + self.size.wh.y / 2 + 0 * iunit - (10.5 / self.scale.arrow) + self.scale.arrow, 20, 20, "components/arrow.png", 360 - localPlayer.rotation.z, 0, 0, tocolor(255 ,255 ,255 ,255), false)
end
end,
index = function(self)
toggleControl("radar", false)
if self:_define() then
addEventHandler('onClientKey',root,function(key,press) self._key(key,press) end)
north = Blip(733.1318359375, 3700.951171875, -200, 4, 2, 255, 255, 255, 255)
north:setOrdering(-2000)
north:setData("blip:maxVisible", true)
--Blip(1369.87927, -1365.45728, 13.56133, 44)
end
end,
}
addEventHandler ("onClientResourceStart", resourceRoot,function() Extend:index() end) | 38.5 | 329 | 0.607504 |
8e0556f5f8b4be355c20783371e039cd74db2e6a | 1,045 | sql | SQL | docker/mysql/sql_scripts/prod.sql | ahmeier/docker_pgloader | e701bdc5e0a1f1750624923bf4a1afc454171ea5 | [
"MIT"
] | null | null | null | docker/mysql/sql_scripts/prod.sql | ahmeier/docker_pgloader | e701bdc5e0a1f1750624923bf4a1afc454171ea5 | [
"MIT"
] | null | null | null | docker/mysql/sql_scripts/prod.sql | ahmeier/docker_pgloader | e701bdc5e0a1f1750624923bf4a1afc454171ea5 | [
"MIT"
] | null | null | null | -- Script to initialize schema with data
-- to be used with mysql
-- schema name should match xxx.sql (prod here)
-- # ************************************************************
-- # Dump of table example
-- # ------------------------------------------------------------
-- # use database that matches xxx.sql
USE prod;
-- # Insert the sql queries below to upload
-- the data into the mysql database
-- below are some test data to try out
DROP TABLE IF EXISTS `testTable`;
CREATE TABLE `testTable` (
`id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
`column1` varchar(255),
`column2` datetime,
`column3` int
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
LOCK TABLES `testTable` WRITE;
/*!40000 ALTER TABLE `testTable` DISABLE KEYS */;
INSERT INTO `testTable` (`column1`,`column2`,`column3`) VALUES
('test1', '2019-04-12', 34),
('test2', '2019-05-13', 45),
('test3', '2019-06-14', 56),
('test4', '2019-07-15', 67),
('test5', '2019-08-16', 78);
/*!40000 ALTER TABLE `testTable` ENABLE KEYS */;
UNLOCK TABLES; | 30.735294 | 65 | 0.600957 |
0a27d37f648921c4d84acfe135546c727617831e | 578 | ts | TypeScript | src/types/MessagesToBackground.ts | Garethp/RikaiRebuilt | 34b2d6739f76aa753f6d690a980912824c70d410 | [
"MIT"
] | 10 | 2018-09-13T03:17:30.000Z | 2021-08-24T23:26:43.000Z | src/types/MessagesToBackground.ts | Garethp/RikaiRebuilt | 34b2d6739f76aa753f6d690a980912824c70d410 | [
"MIT"
] | 15 | 2018-06-17T12:43:36.000Z | 2020-07-31T00:10:28.000Z | src/types/MessagesToBackground.ts | Garethp/RikaiRebuilt | 34b2d6739f76aa753f6d690a980912824c70d410 | [
"MIT"
] | null | null | null | type WordSearchMessage = {
type: "wordSearch";
content: string;
}
type GetEpwingDefinition = {
type: "getEpwingDefinition";
content: string;
}
type GetPitch = {
type: "getPitch";
content: {
expression: string;
reading: string;
}
}
type GetFrequency = {
type: "getFrequency"
content: {
inExpression: string;
inReading: string;
useHighlightedWord: boolean;
highlightedWord: string;
}
}
export type MessagesToBackground = WordSearchMessage | GetEpwingDefinition | GetPitch | GetFrequency;
| 19.266667 | 101 | 0.641869 |
20eda38876609e1425b9b837ed8ed45e2880184f | 1,797 | css | CSS | js/toolkit.css | acorg/acmacs-draw | b570149453724929d3468d6814475014291d2c97 | [
"MIT"
] | null | null | null | js/toolkit.css | acorg/acmacs-draw | b570149453724929d3468d6814475014291d2c97 | [
"MIT"
] | null | null | null | js/toolkit.css | acorg/acmacs-draw | b570149453724929d3468d6814475014291d2c97 | [
"MIT"
] | null | null | null | .adt-shadow {
box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0, 0, 0, .12), 0 2px 4px rgba(0, 0, 0, .24);
}
.ADT_Popup1 {
position: absolute;
left: 0;
top: 0;
background: white;
z-index: 10;
max-width: 40em;
}
.ADT_Popup1 .adt-x-window-title {
display: grid;
grid-template-columns: 1em auto 1em;
background-color: #EEE;
}
.ADT_Popup1.adt-error-popup .adt-x-window-title {
background-color: #FEE;
color: magenta;
}
.ADT_Popup1 .adt-x-title {
grid-column-start: 2;
grid-column-end: 3;
font-weight: bold;
text-align: center;
cursor: move;
}
.ADT_Popup1 .adt-x-window-title:hover {
background-color: #EEF;
}
.ADT_Popup1 .adt-x-close {
cursor: pointer;
text-align: center;
}
.ADT_Popup1 .adt-x-close:hover {
color: red;
}
.ADT_Popup1 .adt-x-close.adt-x-left {
grid-column-start: 1;
grid-column-end: 2;
}
.ADT_Popup1 .adt-x-close.adt-x-right {
grid-column-start: 3;
grid-column-end: 4;
}
.ADT_Popup1 .adt-x-content {
white-space: nowrap;
overflow: auto;
width: 100%;
max-height: 40em;;
}
/* ---------------------------------------------------------------------- */
pre.json-highlight {
padding: 0.5em;
margin: 0;
}
pre.json-highlight .json-syntax-key {
color: blue;
}
pre.json-highlight .json-syntax-string {
color: darkcyan;
}
pre.json-highlight .json-syntax-number {
color: darkorange;
}
pre.json-highlight .json-syntax-boolean {
color: brown;
}
pre.json-highlight .json-syntax-null {
color: magenta;
}
pre.json-highlight .json-syntax-object-id {
color: green;
}
/* ---------------------------------------------------------------------- */
/* Local Variables: */
/* eval: (if (fboundp 'eu-rename-buffer) (eu-rename-buffer)) */
/* End: */
| 18.336735 | 91 | 0.573734 |
f0730fe6794bb60447a6e7f8e2d6de7cd6fc45d8 | 1,220 | py | Python | Chapter 3-Regression/2.py | FatiniNadhirah5/Datacamp-Machine-Learning-with-Apache-Spark-2019 | a0ef5f34c5a0aea222359a5085386f6a21611e7e | [
"FSFAP"
] | 8 | 2020-05-02T20:24:38.000Z | 2021-04-30T21:44:22.000Z | Chapter 3-Regression/2.py | FatiniNadhirah5/Machine-Learning-with-Apache-Spark | a0ef5f34c5a0aea222359a5085386f6a21611e7e | [
"FSFAP"
] | null | null | null | Chapter 3-Regression/2.py | FatiniNadhirah5/Machine-Learning-with-Apache-Spark | a0ef5f34c5a0aea222359a5085386f6a21611e7e | [
"FSFAP"
] | 9 | 2020-05-17T17:44:37.000Z | 2022-03-20T12:58:42.000Z | # Flight duration model: Just distance
# In this exercise you'll build a regression model to predict flight duration (the duration column).
# For the moment you'll keep the model simple, including only the distance of the flight (the km column) as a predictor.
# The data are in flights. The first few records are displayed in the terminal. These data have also been split into training and testing sets and are available as flights_train and flights_test.
# Instructions
# 100 XP
# Create a linear regression object. Specify the name of the label column. Fit it to the training data.
# Make predictions on the testing data.
# Create a regression evaluator object and use it to evaluate RMSE on the testing data.
from pyspark.ml.regression import LinearRegression
from pyspark.ml.evaluation import RegressionEvaluator
# Create a regression object and train on training data
regression = LinearRegression(labelCol='duration').fit(flights_train)
# Create predictions for the testing data and take a look at the predictions
predictions = regression.transform(flights_test)
predictions.select('duration', 'prediction').show(5, False)
# Calculate the RMSE
RegressionEvaluator(labelCol='duration').evaluate(predictions) | 48.8 | 195 | 0.80082 |
0dffc9a871e44476ed0df5991bbe4f8206a3c00e | 100 | sql | SQL | INDEX/PKEY_CTBIOL_RELATIONS.sql | MCZbase/DDL | 2537cdbcc6037c263c605562994ff82505f33dc7 | [
"Apache-2.0"
] | 2 | 2020-06-24T21:23:27.000Z | 2020-07-27T21:31:40.000Z | INDEX/PKEY_CTBIOL_RELATIONS.sql | MCZbase/DDL | 2537cdbcc6037c263c605562994ff82505f33dc7 | [
"Apache-2.0"
] | null | null | null | INDEX/PKEY_CTBIOL_RELATIONS.sql | MCZbase/DDL | 2537cdbcc6037c263c605562994ff82505f33dc7 | [
"Apache-2.0"
] | null | null | null |
CREATE UNIQUE INDEX "PKEY_CTBIOL_RELATIONS" ON "CTBIOL_RELATIONS" ("BIOL_INDIV_RELATIONSHIP")
| 33.333333 | 96 | 0.79 |
fb85a7bc1f374dc61e499609e0b15c33345c8686 | 538 | h | C | Code/libraries/BT/BT.h | Yndal/SwapBot | bd72c4d2c11730dee3144e9839ee7875d86116b8 | [
"MIT"
] | null | null | null | Code/libraries/BT/BT.h | Yndal/SwapBot | bd72c4d2c11730dee3144e9839ee7875d86116b8 | [
"MIT"
] | null | null | null | Code/libraries/BT/BT.h | Yndal/SwapBot | bd72c4d2c11730dee3144e9839ee7875d86116b8 | [
"MIT"
] | null | null | null | #ifndef BT_h
#define BT_h
#include "Arduino.h"
#define BT_BAUD 9600
#define bt Serial2
#define BT_END_CHAR ';'
#define BT_BUFFER 32
#define REQUEST_IR_ON 'a'
#define REQUEST_IR_OFF 'b'
class BT {
enum Request{
IR_ON,
IR_OFF,
}
bool checkForIncomingMsg();
Request getMessage();
bool tryConnectTo(char mac[12]);
void test(int *);
private:
char msgBuffer[BT_BUFFER];
int8_t msgBufferCounter;
bool initialiazed = false;
bool hasNewRequest;
Request lastRequest;
void initialize();
};
| 12.511628 | 34 | 0.684015 |
821426ba2216dca4ef3765c8b9929f66e050f1fe | 4,930 | swift | Swift | QuakeX/QuakeX/Screens/EmergencyContact/EmergencyContactVC.swift | FurkanHanciSecond/QuakeX | c3ae1ddef128e5d50f5c80e0f595bc8987108436 | [
"MIT"
] | null | null | null | QuakeX/QuakeX/Screens/EmergencyContact/EmergencyContactVC.swift | FurkanHanciSecond/QuakeX | c3ae1ddef128e5d50f5c80e0f595bc8987108436 | [
"MIT"
] | null | null | null | QuakeX/QuakeX/Screens/EmergencyContact/EmergencyContactVC.swift | FurkanHanciSecond/QuakeX | c3ae1ddef128e5d50f5c80e0f595bc8987108436 | [
"MIT"
] | null | null | null | //
// EmergencyPeopleVC.swift
// QuakeX
//
// Created by Furkan Hanci on 2/13/22.
//
import UIKit
class EmergencyContactVC: UIViewController {
private lazy var emergencyTableView : UITableView = {
let table = UITableView()
return table
}()
private var contacts : [EmergencyContact]?
private let context = (UIApplication.shared.delegate as! AppDelegate).persistentContainer.viewContext
override func viewDidLoad() {
super.viewDidLoad()
setup()
refreshTableView()
}
private func setup() {
configureView()
setupNavigationBar()
configureTableView()
fetchContacts()
}
private func setupNavigationBar() {
let addButton = UIBarButtonItem(image: UIImage(systemName: "plus.circle.fill"), style: .done, target: self, action: #selector(handlePlusButton(_:)))
navigationItem.rightBarButtonItem = addButton
}
@objc private func handlePlusButton(_ sender: UIButton) {
present(AddNewContactVC(), animated: true, completion: nil)
//navigationController?.pushViewController(AddNewContactVC(), animated: true)
}
private func configureView() {
view.backgroundColor = .systemBackground
self.title = Constants.Text.Bar.emergencyContacts
}
private func setTableViewDelegate() {
emergencyTableView.delegate = self
}
private func setTableViewDataSource() {
emergencyTableView.dataSource = self
}
private func configureTableView() {
setTableViewDelegate()
setTableViewDataSource()
view.addSubview(emergencyTableView)
emergencyTableView.pinToEdges(of: view)
emergencyTableView.removeExcessCells()
emergencyTableView.separatorStyle = .none
emergencyTableView.register(EmergencyTableViewCell.self, forCellReuseIdentifier: Constants.emergencyCellID)
}
private func refreshTableView() {
self.emergencyTableView.refreshControl = UIRefreshControl()
if let refreshControl = emergencyTableView.refreshControl {
refreshControl.tintColor = .gray
refreshControl.addTarget(self, action: #selector(self.refresh(_:)), for: .valueChanged)
}
}
@objc private func refresh(_ sender : UIRefreshControl) {
self.emergencyTableView.refreshControl?.beginRefreshing()
self.emergencyTableView.refreshControl?.endRefreshing()
self.emergencyTableView.reloadData()
self.fetchContacts()
}
private func fetchContacts() {
do {
self.contacts = try context.fetch(EmergencyContact.fetchRequest())
DispatchQueue.main.async {
self.emergencyTableView.reloadData()
}
} catch {
AlertManager.showAlert(message: QuakeError.coreDataError.rawValue, viewController: self)
}
}
}
extension EmergencyContactVC : UITableViewDelegate {
func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {
let action = UIContextualAction(style: .destructive, title: "Delete Contact") { action, view, handler in
let eventRemove = self.contacts?[indexPath.row]
self.context.delete(eventRemove ?? eventRemove.unsafelyUnwrapped)
do {
try self.context.save()
} catch {
AlertManager.showAlert(title: Constants.Text.Error.oops, message: QuakeError.dataError.rawValue, alertAction: nil, viewController: self)
}
self.fetchContacts()
}
return UISwipeActionsConfiguration(actions: [action])
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
let contacts = self.contacts?[indexPath.row]
guard let contactNumber = contacts?.number else { return }
guard let number = URL(string: "tel://" + contactNumber) else { return }
UIApplication.shared.open(number)
}
}
extension EmergencyContactVC : UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return contacts?.count ?? 0
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = emergencyTableView.dequeueReusableCell(withIdentifier: Constants.emergencyCellID, for: indexPath) as! EmergencyTableViewCell
let emergencyContacts = self.contacts?[indexPath.row]
cell.setCell(data: emergencyContacts)
return cell
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 100
}
}
| 32.649007 | 156 | 0.651927 |
cb794390352303cc3d0f03696fe7e010cb067377 | 60,833 | sql | SQL | backend/de.metas.material/cockpit/src/main/sql/postgresql/system/75-material-cockpit/5518170_sys_gh5108-app_ui_fixes.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.material/cockpit/src/main/sql/postgresql/system/75-material-cockpit/5518170_sys_gh5108-app_ui_fixes.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.material/cockpit/src/main/sql/postgresql/system/75-material-cockpit/5518170_sys_gh5108-app_ui_fixes.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z | -- 2019-04-04T06:01:50.953
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Description='Hinweis: möglicher Weise sind die betreffenden Felder im Auftragsfenster Deiner metasfresh-Instanz ausgeblendet, selbst wenn das Feature aktiviert ist.',Updated=TO_TIMESTAMP('2019-04-04 06:01:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576549 AND AD_Language='de_CH'
;
-- 2019-04-04T06:01:50.956
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576549,'de_CH')
;
-- 2019-04-04T06:01:56.261
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Description='Hinweis: möglicher Weise sind die betreffenden Felder im Auftragsfenster Deiner metasfresh-Instanz ausgeblendet, selbst wenn das Feature aktiviert ist.',Updated=TO_TIMESTAMP('2019-04-04 06:01:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576549 AND AD_Language='de_DE'
;
-- 2019-04-04T06:01:56.262
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576549,'de_DE')
;
-- 2019-04-04T06:01:56.272
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_ad_element_on_ad_element_trl_update(576549,'de_DE')
;
-- 2019-04-04T06:01:56.273
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET ColumnName=NULL, Name='Einstellungen zur verfügbaren Menge für den Verkauf', Description='Hinweis: möglicher Weise sind die betreffenden Felder im Auftragsfenster Deiner metasfresh-Instanz ausgeblendet, selbst wenn das Feature aktiviert ist.', Help=NULL WHERE AD_Element_ID=576549
;
-- 2019-04-04T06:01:56.274
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Process_Para SET ColumnName=NULL, Name='Einstellungen zur verfügbaren Menge für den Verkauf', Description='Hinweis: möglicher Weise sind die betreffenden Felder im Auftragsfenster Deiner metasfresh-Instanz ausgeblendet, selbst wenn das Feature aktiviert ist.', Help=NULL WHERE AD_Element_ID=576549 AND IsCentrallyMaintained='Y'
;
-- 2019-04-04T06:01:56.275
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET Name='Einstellungen zur verfügbaren Menge für den Verkauf', Description='Hinweis: möglicher Weise sind die betreffenden Felder im Auftragsfenster Deiner metasfresh-Instanz ausgeblendet, selbst wenn das Feature aktiviert ist.', Help=NULL WHERE (AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=576549) AND AD_Name_ID IS NULL ) OR (AD_Name_ID = 576549)
;
-- 2019-04-04T06:01:56.284
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Tab SET Name='Einstellungen zur verfügbaren Menge für den Verkauf', Description='Hinweis: möglicher Weise sind die betreffenden Felder im Auftragsfenster Deiner metasfresh-Instanz ausgeblendet, selbst wenn das Feature aktiviert ist.', Help=NULL, CommitWarning = NULL WHERE AD_Element_ID = 576549
;
-- 2019-04-04T06:01:56.286
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_WINDOW SET Name='Einstellungen zur verfügbaren Menge für den Verkauf', Description='Hinweis: möglicher Weise sind die betreffenden Felder im Auftragsfenster Deiner metasfresh-Instanz ausgeblendet, selbst wenn das Feature aktiviert ist.', Help=NULL WHERE AD_Element_ID = 576549
;
-- 2019-04-04T06:01:56.287
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Menu SET Name = 'Einstellungen zur verfügbaren Menge für den Verkauf', Description = 'Hinweis: möglicher Weise sind die betreffenden Felder im Auftragsfenster Deiner metasfresh-Instanz ausgeblendet, selbst wenn das Feature aktiviert ist.', WEBUI_NameBrowse = NULL, WEBUI_NameNew = NULL, WEBUI_NameNewBreadcrumb = NULL WHERE AD_Element_ID = 576549
;
-- 2019-04-04T06:03:08.153
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Description='Note: the corresponsing fields in your metasfresh instance might currently not be displayed although this feature is activated.',Updated=TO_TIMESTAMP('2019-04-04 06:03:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576549 AND AD_Language='en_US'
;
-- 2019-04-04T06:03:08.155
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576549,'en_US')
;
-- 2019-04-04T06:07:21.082
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Name='kurzfr. Verfügb.', PrintName='kurzfr. Verfügb.',Updated=TO_TIMESTAMP('2019-04-04 06:07:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576523 AND AD_Language='de_CH'
;
-- 2019-04-04T06:07:21.091
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576523,'de_CH')
;
-- 2019-04-04T06:07:48.150
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Name='Nicht kurzfr. Verfügbar', PrintName='Nicht kurzfr. Verfügbar',Updated=TO_TIMESTAMP('2019-04-04 06:07:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576523 AND AD_Language='de_CH'
;
-- 2019-04-04T06:07:48.151
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576523,'de_CH')
;
-- 2019-04-04T06:07:56.520
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Name='Nicht kurzfr. Verfügbar', PrintName='Nicht kurzfr. Verfügbar',Updated=TO_TIMESTAMP('2019-04-04 06:07:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576523 AND AD_Language='de_DE'
;
-- 2019-04-04T06:07:56.521
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576523,'de_DE')
;
-- 2019-04-04T06:07:56.531
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_ad_element_on_ad_element_trl_update(576523,'de_DE')
;
-- 2019-04-04T06:07:56.533
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET ColumnName='InsufficientQtyAvailableForSalesColor_ID', Name='Nicht kurzfr. Verfügbar', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL WHERE AD_Element_ID=576523
;
-- 2019-04-04T06:07:56.534
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Process_Para SET ColumnName='InsufficientQtyAvailableForSalesColor_ID', Name='Nicht kurzfr. Verfügbar', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL, AD_Element_ID=576523 WHERE UPPER(ColumnName)='INSUFFICIENTQTYAVAILABLEFORSALESCOLOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
-- 2019-04-04T06:07:56.535
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Process_Para SET ColumnName='InsufficientQtyAvailableForSalesColor_ID', Name='Nicht kurzfr. Verfügbar', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL WHERE AD_Element_ID=576523 AND IsCentrallyMaintained='Y'
;
-- 2019-04-04T06:07:56.536
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET Name='Nicht kurzfr. Verfügbar', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL WHERE (AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=576523) AND AD_Name_ID IS NULL ) OR (AD_Name_ID = 576523)
;
-- 2019-04-04T06:07:56.546
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_PrintFormatItem pi SET PrintName='Nicht kurzfr. Verfügbar', Name='Nicht kurzfr. Verfügbar' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=576523)
;
-- 2019-04-04T06:07:56.548
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Tab SET Name='Nicht kurzfr. Verfügbar', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL, CommitWarning = NULL WHERE AD_Element_ID = 576523
;
-- 2019-04-04T06:07:56.550
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_WINDOW SET Name='Nicht kurzfr. Verfügbar', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL WHERE AD_Element_ID = 576523
;
-- 2019-04-04T06:07:56.551
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Menu SET Name = 'Nicht kurzfr. Verfügbar', Description = 'Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', WEBUI_NameBrowse = NULL, WEBUI_NameNew = NULL, WEBUI_NameNewBreadcrumb = NULL WHERE AD_Element_ID = 576523
;
-- 2019-04-04T06:08:07.177
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Name='Not avail. on short term', PrintName='Not avail. on short term',Updated=TO_TIMESTAMP('2019-04-04 06:08:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576523 AND AD_Language='en_US'
;
-- 2019-04-04T06:08:07.178
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576523,'en_US')
;
-- 2019-04-04T06:15:27.557
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element SET ColumnName='InsufficientQtyAvailableForSalesColor_ID_Short',Updated=TO_TIMESTAMP('2019-04-04 06:15:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576523
;
-- 2019-04-04T06:15:27.561
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET ColumnName='InsufficientQtyAvailableForSalesColor_ID_Short', Name='Nicht kurzfr. Verfügbar', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL WHERE AD_Element_ID=576523
;
-- 2019-04-04T06:15:27.562
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Process_Para SET ColumnName='InsufficientQtyAvailableForSalesColor_ID_Short', Name='Nicht kurzfr. Verfügbar', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL, AD_Element_ID=576523 WHERE UPPER(ColumnName)='INSUFFICIENTQTYAVAILABLEFORSALESCOLOR_ID_SHORT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
-- 2019-04-04T06:15:27.563
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Process_Para SET ColumnName='InsufficientQtyAvailableForSalesColor_ID_Short', Name='Nicht kurzfr. Verfügbar', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL WHERE AD_Element_ID=576523 AND IsCentrallyMaintained='Y'
;
-- 2019-04-04T06:16:18.214
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,576557,0,'InsufficientQtyAvailableForSalesColor_ID',TO_TIMESTAMP('2019-04-04 06:16:18','YYYY-MM-DD HH24:MI:SS'),100,'Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.','de.metas.material.cockpit','Y','Farbe für kurzfr. Verfügbarkeitsproblem','Farbe für kurzfr. Verfügbarkeitsproblem',TO_TIMESTAMP('2019-04-04 06:16:18','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:16:18.215
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, CommitWarning,Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName,WEBUI_NameBrowse,WEBUI_NameNew,WEBUI_NameNewBreadcrumb, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_Element_ID, t.CommitWarning,t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName,t.WEBUI_NameBrowse,t.WEBUI_NameNew,t.WEBUI_NameNewBreadcrumb, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' OR l.IsBaseLanguage='Y') AND t.AD_Element_ID=576557 AND NOT EXISTS (SELECT 1 FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- 2019-04-04T06:16:28.424
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET IsTranslated='Y',Updated=TO_TIMESTAMP('2019-04-04 06:16:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576557 AND AD_Language='de_CH'
;
-- 2019-04-04T06:16:28.426
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576557,'de_CH')
;
-- 2019-04-04T06:16:30.702
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET IsTranslated='Y',Updated=TO_TIMESTAMP('2019-04-04 06:16:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576557 AND AD_Language='de_DE'
;
-- 2019-04-04T06:16:30.703
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576557,'de_DE')
;
-- 2019-04-04T06:16:30.709
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_ad_element_on_ad_element_trl_update(576557,'de_DE')
;
-- 2019-04-04T06:17:11.450
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Description='Color to use when flagging sale order lines where the current stock minus foreseeable shipments is not sufficient to fulfill the ordered quantity.', IsTranslated='Y', Name='Color for short-term availability problem', PrintName='Color for short-term availability problem',Updated=TO_TIMESTAMP('2019-04-04 06:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576557 AND AD_Language='en_US'
;
-- 2019-04-04T06:17:11.451
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576557,'en_US')
;
-- 2019-04-04T06:18:43.873
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET AD_Element_ID=576557, AD_Reference_ID=18, AD_Reference_Value_ID=540974, ColumnName='InsufficientQtyAvailableForSalesColor_ID', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', EntityType='de.metas.material.cockpit', Help=NULL, Name='Farbe für kurzfr. Verfügbarkeitsproblem',Updated=TO_TIMESTAMP('2019-04-04 06:18:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=567583
;
-- 2019-04-04T06:18:43.875
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET Name='Farbe für kurzfr. Verfügbarkeitsproblem', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL WHERE AD_Column_ID=567583
;
-- 2019-04-04T06:19:32.476
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element_Link (AD_Client_ID,AD_Element_ID,AD_Element_Link_ID,AD_Field_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,576557,628428,578421,0,143,TO_TIMESTAMP('2019-04-04 06:19:32','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2019-04-04 06:19:32','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:19:48.564
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET AD_Name_ID=576523, Name='Nicht kurzfr. Verfügbar',Updated=TO_TIMESTAMP('2019-04-04 06:19:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=578421
;
-- 2019-04-04T06:19:48.573
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Element_Link WHERE AD_Element_Link_ID=628428
;
-- 2019-04-04T06:19:48.707
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element_Link (AD_Client_ID,AD_Element_ID,AD_Element_Link_ID,AD_Field_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,576523,628429,578421,0,143,TO_TIMESTAMP('2019-04-04 06:19:48','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2019-04-04 06:19:48','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:19:48.709
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_FieldTranslation_From_AD_Name_Element(576523)
;
-- 2019-04-04T06:20:00.401
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET IsDisplayed='Y', IsDisplayedGrid='Y',Updated=TO_TIMESTAMP('2019-04-04 06:20:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=578421
;
-- 2019-04-04T06:20:16.678
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET IsDisplayed='N', IsDisplayedGrid='N',Updated=TO_TIMESTAMP('2019-04-04 06:20:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=578421
;
-- 2019-04-04T06:20:21.798
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2019-04-04 06:20:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=578421
;
-- 2019-04-04T06:25:54.646
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Section (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_UI_Section_ID,Created,CreatedBy,IsActive,SeqNo,Updated,UpdatedBy,Value) VALUES (0,0,541694,541252,TO_TIMESTAMP('2019-04-04 06:25:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',10,TO_TIMESTAMP('2019-04-04 06:25:54','YYYY-MM-DD HH24:MI:SS'),100,'main')
;
-- 2019-04-04T06:25:54.648
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Section_Trl (AD_Language,AD_UI_Section_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language, t.AD_UI_Section_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_UI_Section t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N') AND t.AD_UI_Section_ID=541252 AND NOT EXISTS (SELECT 1 FROM AD_UI_Section_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_UI_Section_ID=t.AD_UI_Section_ID)
;
-- 2019-04-04T06:25:54.758
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Column (AD_Client_ID,AD_Org_ID,AD_UI_Column_ID,AD_UI_Section_ID,Created,CreatedBy,IsActive,SeqNo,Updated,UpdatedBy) VALUES (0,0,541601,541252,TO_TIMESTAMP('2019-04-04 06:25:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',10,TO_TIMESTAMP('2019-04-04 06:25:54','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:25:54.846
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Column (AD_Client_ID,AD_Org_ID,AD_UI_Column_ID,AD_UI_Section_ID,Created,CreatedBy,IsActive,SeqNo,Updated,UpdatedBy) VALUES (0,0,541602,541252,TO_TIMESTAMP('2019-04-04 06:25:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',20,TO_TIMESTAMP('2019-04-04 06:25:54','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:25:54.959
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_ElementGroup (AD_Client_ID,AD_Org_ID,AD_UI_Column_ID,AD_UI_ElementGroup_ID,Created,CreatedBy,IsActive,Name,SeqNo,UIStyle,Updated,UpdatedBy) VALUES (0,0,541601,542425,TO_TIMESTAMP('2019-04-04 06:25:54','YYYY-MM-DD HH24:MI:SS'),100,'Y','default',10,'primary',TO_TIMESTAMP('2019-04-04 06:25:54','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:25:55.075
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,Created,CreatedBy,Description,Help,IsActive,IsAdvancedField,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,578355,0,541694,542425,558196,TO_TIMESTAMP('2019-04-04 06:25:54','YYYY-MM-DD HH24:MI:SS'),100,'Mandant für diese Installation.','Ein Mandant ist eine Firma oder eine juristische Person. Sie können keine Daten über Mandanten hinweg verwenden. .','Y','N','Y','Y','N','Mandant',10,10,0,TO_TIMESTAMP('2019-04-04 06:25:54','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:25:55.180
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,Created,CreatedBy,Description,Help,IsActive,IsAdvancedField,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,578356,0,541694,542425,558197,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Organisatorische Einheit des Mandanten','Eine Organisation ist ein Bereich ihres Mandanten - z.B. Laden oder Abteilung. Sie können Daten über Organisationen hinweg gemeinsam verwenden.','Y','N','Y','Y','N','Sektion',20,20,0,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:25:55.282
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,Created,CreatedBy,Description,Help,IsActive,IsAdvancedField,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,578357,0,541694,542425,558198,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Der Eintrag ist im System aktiv','Es gibt zwei Möglichkeiten, einen Datensatz nicht mehr verfügbar zu machen: einer ist, ihn zu löschen; der andere, ihn zu deaktivieren. Ein deaktivierter Eintrag ist nicht mehr für eine Auswahl verfügbar, aber verfügbar für die Verwendung in Berichten. Es gibt zwei Gründe, Datensätze zu deaktivieren und nicht zu löschen: (1) Das System braucht den Datensatz für Revisionszwecke. (2) Der Datensatz wird von anderen Datensätzen referenziert. Z.B. können Sie keinen Geschäftspartner löschen, wenn es Rechnungen für diesen Geschäftspartner gibt. Sie deaktivieren den Geschäftspartner und verhindern, dass dieser Eintrag in zukünftigen Vorgängen verwendet wird.','Y','N','Y','Y','N','Aktiv',30,30,0,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:25:55.373
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,Created,CreatedBy,Description,IsActive,IsAdvancedField,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,578359,0,541694,542425,558199,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.','Y','N','Y','Y','N','Nicht kurzfr. Verfügbar',40,40,0,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:25:55.478
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,Created,CreatedBy,Description,Help,IsActive,IsAdvancedField,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,578360,0,541694,542425,558200,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Interval ab Bereitstellungsdatum des aktuellen Auftrags, innerhalb dessen geplante Lieferungen berücktsichtigt werden sollen. Sollte abhängig vom üblichen Zulaufinterval gesetzt werden.','Geplante Lieferungen sind offene Lieferdispo-Positionen mit einem Bereitstellungsdatum das nicht zu weit in der Zukunft liegt und daher noch relevant ist.
Beispiel: wenn es üblicherweise drei Tage dauert, bis fehlende Lagerbestände ausgeglichen sind, sollte der Wert auf 72 gesetzt werden.','Y','N','Y','Y','N','Vorausschauinterval zu gepl. Lieferungen (Std)',50,50,0,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:25:55.570
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,Created,CreatedBy,Description,IsActive,IsAdvancedField,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,578361,0,541694,542425,558201,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Interval bis zum Bereitstellungsdatum der aktuellen Auftrags, innerhalb dessen andere noch nicht fertig gestellte Auftragspositionen berücksichtigt werden sollen. Sollte abhängig von der üblichen Auftragsbearbeitungsdauer gesetzt werden.','Y','N','Y','Y','N','Rückschauinterval Auftragspositionen in Bearb. (Std)',60,60,0,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:25:55.671
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,Created,CreatedBy,IsActive,IsAdvancedField,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,578362,0,541694,542425,558202,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','Y','Y','N','Beschreibung',70,70,0,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:25:55.785
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,Created,CreatedBy,IsActive,IsAdvancedField,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,578418,0,541694,542425,558203,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','Y','Y','N','Feature aktivtiert',80,80,0,TO_TIMESTAMP('2019-04-04 06:25:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:26:25.293
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_ElementGroup (AD_Client_ID,AD_Org_ID,AD_UI_Column_ID,AD_UI_ElementGroup_ID,Created,CreatedBy,IsActive,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,541602,542426,TO_TIMESTAMP('2019-04-04 06:26:25','YYYY-MM-DD HH24:MI:SS'),100,'Y','org',20,TO_TIMESTAMP('2019-04-04 06:26:25','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:26:34.354
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_ElementGroup (AD_Client_ID,AD_Org_ID,AD_UI_Column_ID,AD_UI_ElementGroup_ID,Created,CreatedBy,IsActive,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,541602,542427,TO_TIMESTAMP('2019-04-04 06:26:34','YYYY-MM-DD HH24:MI:SS'),100,'Y','info',10,TO_TIMESTAMP('2019-04-04 06:26:34','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:27:24.772
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,IsMultiLine,MultiLine_LinesCount,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy,WidgetSize) VALUES (0,578355,0,541694,542427,558204,'F',TO_TIMESTAMP('2019-04-04 06:27:24','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','N','Y','N','N','N',0,'AD_Client_ID',20,0,0,TO_TIMESTAMP('2019-04-04 06:27:24','YYYY-MM-DD HH24:MI:SS'),100,'S')
;
-- 2019-04-04T06:27:53.882
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,IsMultiLine,MultiLine_LinesCount,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy,WidgetSize) VALUES (0,578356,0,541694,542427,558205,'F',TO_TIMESTAMP('2019-04-04 06:27:53','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','N','Y','N','N','N',0,'AD_Org_ID',10,0,0,TO_TIMESTAMP('2019-04-04 06:27:53','YYYY-MM-DD HH24:MI:SS'),100,'S')
;
-- 2019-04-04T06:28:49.085
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_UI_Element WHERE AD_UI_Element_ID=558205
;
-- 2019-04-04T06:28:49.094
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_UI_Element WHERE AD_UI_Element_ID=558204
;
-- 2019-04-04T06:28:49.100
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_UI_ElementGroup WHERE AD_UI_ElementGroup_ID=542427
;
-- 2019-04-04T06:29:14.074
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_UI_Element WHERE AD_UI_Element_ID=558196
;
-- 2019-04-04T06:29:17.443
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_UI_Element WHERE AD_UI_Element_ID=558197
;
-- 2019-04-04T06:30:10.156
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET SeqNo=10,Updated=TO_TIMESTAMP('2019-04-04 06:30:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558203
;
-- 2019-04-04T06:30:12.947
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_UI_Element WHERE AD_UI_Element_ID=558198
;
-- 2019-04-04T06:30:31.484
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET SeqNo=20,Updated=TO_TIMESTAMP('2019-04-04 06:30:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558201
;
-- 2019-04-04T06:30:43.107
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET SeqNo=30,Updated=TO_TIMESTAMP('2019-04-04 06:30:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558200
;
-- 2019-04-04T06:30:48.173
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET SeqNo=50,Updated=TO_TIMESTAMP('2019-04-04 06:30:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558202
;
-- 2019-04-04T06:31:47.270
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_ElementGroup (AD_Client_ID,AD_Org_ID,AD_UI_Column_ID,AD_UI_ElementGroup_ID,Created,CreatedBy,IsActive,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,541602,542428,TO_TIMESTAMP('2019-04-04 06:31:47','YYYY-MM-DD HH24:MI:SS'),100,'Y','info',10,TO_TIMESTAMP('2019-04-04 06:31:47','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:32:34.482
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,IsMultiLine,MultiLine_LinesCount,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy,WidgetSize) VALUES (0,578357,0,541694,542428,558206,'F',TO_TIMESTAMP('2019-04-04 06:32:34','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','N','Y','N','N','N',0,'IsActive',10,0,0,TO_TIMESTAMP('2019-04-04 06:32:34','YYYY-MM-DD HH24:MI:SS'),100,'S')
;
-- 2019-04-04T06:34:24.255
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET AD_Element_ID=576557, AD_Reference_ID=18, ColumnName='InsufficientQtyAvailableForSalesColor_ID', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL, Name='Farbe für kurzfr. Verfügbarkeitsproblem',Updated=TO_TIMESTAMP('2019-04-04 06:34:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=567615
;
-- 2019-04-04T06:34:24.257
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Field SET Name='Farbe für kurzfr. Verfügbarkeitsproblem', Description='Farbe, mit der Auftragszeilen markiert werden, wenn der derzeitige Lagerbestand abzüglich absehbarer Lieferungen nicht ausreicht, um die jeweilige Auftragsposition zu bedienen.', Help=NULL WHERE AD_Column_ID=567615
;
-- 2019-04-04T06:34:35.055
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO t_alter_column values('md_availableforsales_config','InsufficientQtyAvailableForSalesColor_ID','NUMERIC(10)',null,null)
;
-- 2019-04-04T06:45:26.218
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,IsMultiLine,MultiLine_LinesCount,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,578356,0,541694,542426,558207,'F',TO_TIMESTAMP('2019-04-04 06:45:26','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','N','Y','N','N','N',0,'AD_Org_ID',10,0,0,TO_TIMESTAMP('2019-04-04 06:45:26','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:45:39.370
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_Element (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,AD_UI_ElementGroup_ID,AD_UI_Element_ID,AD_UI_ElementType,Created,CreatedBy,IsActive,IsAdvancedField,IsAllowFiltering,IsDisplayed,IsDisplayedGrid,IsDisplayed_SideList,IsMultiLine,MultiLine_LinesCount,Name,SeqNo,SeqNoGrid,SeqNo_SideList,Updated,UpdatedBy) VALUES (0,578355,0,541694,542426,558208,'F',TO_TIMESTAMP('2019-04-04 06:45:39','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','N','Y','N','N','N',0,'AD_Client_ID',20,0,0,TO_TIMESTAMP('2019-04-04 06:45:39','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:47:46.896
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='N', SeqNoGrid=0,Updated=TO_TIMESTAMP('2019-04-04 06:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558202
;
-- 2019-04-04T06:47:46.900
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=10,Updated=TO_TIMESTAMP('2019-04-04 06:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558207
;
-- 2019-04-04T06:47:46.904
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=20,Updated=TO_TIMESTAMP('2019-04-04 06:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558203
;
-- 2019-04-04T06:47:46.907
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=30,Updated=TO_TIMESTAMP('2019-04-04 06:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558200
;
-- 2019-04-04T06:47:46.910
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=40,Updated=TO_TIMESTAMP('2019-04-04 06:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558201
;
-- 2019-04-04T06:47:46.913
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=50,Updated=TO_TIMESTAMP('2019-04-04 06:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558199
;
-- 2019-04-04T06:50:24.612
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Name='Color for short-term availability problem.',Updated=TO_TIMESTAMP('2019-04-04 06:50:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576557 AND AD_Language='en_US'
;
-- 2019-04-04T06:50:24.616
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576557,'en_US')
;
-- 2019-04-04T06:50:28.267
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Element_Trl SET Name='Color for short-term availability problem',Updated=TO_TIMESTAMP('2019-04-04 06:50:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=576557 AND AD_Language='en_US'
;
-- 2019-04-04T06:50:28.268
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_TRL_Tables_On_AD_Element_TRL_Update(576557,'en_US')
;
-- 2019-04-04T06:53:00.177
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=70,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558191
;
-- 2019-04-04T06:53:00.181
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=80,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558190
;
-- 2019-04-04T06:53:00.184
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=90,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000221
;
-- 2019-04-04T06:53:00.187
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=100,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000037
;
-- 2019-04-04T06:53:00.191
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=110,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000038
;
-- 2019-04-04T06:53:00.194
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=120,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000040
;
-- 2019-04-04T06:53:00.198
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=130,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000041
;
-- 2019-04-04T06:53:00.215
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=140,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000042
;
-- 2019-04-04T06:53:00.220
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=150,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000043
;
-- 2019-04-04T06:53:00.231
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=160,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000044
;
-- 2019-04-04T06:53:00.240
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=170,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000045
;
-- 2019-04-04T06:53:00.244
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=180,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552431
;
-- 2019-04-04T06:53:00.246
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=190,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552430
;
-- 2019-04-04T06:53:00.251
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=200,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000046
;
-- 2019-04-04T06:53:00.256
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=210,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000047
;
-- 2019-04-04T06:53:00.261
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=220,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549097
;
-- 2019-04-04T06:53:00.266
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=230,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000039
;
-- 2019-04-04T06:53:00.273
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=240,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549127
;
-- 2019-04-04T06:53:00.277
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=250,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549126
;
-- 2019-04-04T06:53:00.281
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=260,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549129
;
-- 2019-04-04T06:53:00.284
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=270,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549130
;
-- 2019-04-04T06:53:00.287
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=280,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=547355
;
-- 2019-04-04T06:53:00.290
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=290,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549128
;
-- 2019-04-04T06:53:00.293
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=300,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=550143
;
-- 2019-04-04T06:53:00.295
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=310,Updated=TO_TIMESTAMP('2019-04-04 06:53:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552486
;
-- 2019-04-04T06:53:56.234
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='N', SeqNoGrid=0,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558190
;
-- 2019-04-04T06:53:56.237
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=70,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000221
;
-- 2019-04-04T06:53:56.240
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=80,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000037
;
-- 2019-04-04T06:53:56.243
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=90,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558191
;
-- 2019-04-04T06:53:56.248
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=100,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000038
;
-- 2019-04-04T06:53:56.265
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=110,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000040
;
-- 2019-04-04T06:53:56.267
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=120,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000041
;
-- 2019-04-04T06:53:56.270
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=130,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000042
;
-- 2019-04-04T06:53:56.273
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=140,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000043
;
-- 2019-04-04T06:53:56.275
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=150,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000044
;
-- 2019-04-04T06:53:56.278
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=160,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000045
;
-- 2019-04-04T06:53:56.281
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=170,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552431
;
-- 2019-04-04T06:53:56.283
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=180,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552430
;
-- 2019-04-04T06:53:56.285
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=190,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000046
;
-- 2019-04-04T06:53:56.289
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=200,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000047
;
-- 2019-04-04T06:53:56.291
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=210,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549097
;
-- 2019-04-04T06:53:56.293
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=220,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000039
;
-- 2019-04-04T06:53:56.296
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=230,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549127
;
-- 2019-04-04T06:53:56.298
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=240,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549126
;
-- 2019-04-04T06:53:56.309
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=250,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549129
;
-- 2019-04-04T06:53:56.312
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=260,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549130
;
-- 2019-04-04T06:53:56.315
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=270,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=547355
;
-- 2019-04-04T06:53:56.318
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=280,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549128
;
-- 2019-04-04T06:53:56.321
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=290,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=550143
;
-- 2019-04-04T06:53:56.326
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=300,Updated=TO_TIMESTAMP('2019-04-04 06:53:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552486
;
-- 2019-04-04T06:54:50.323
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_UI_ElementField (AD_Client_ID,AD_Field_ID,AD_Org_ID,AD_UI_ElementField_ID,AD_UI_Element_ID,Created,CreatedBy,IsActive,SeqNo,Type,Updated,UpdatedBy) VALUES (0,578421,0,540327,558191,TO_TIMESTAMP('2019-04-04 06:54:50','YYYY-MM-DD HH24:MI:SS'),100,'Y',10,'widget',TO_TIMESTAMP('2019-04-04 06:54:50','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2019-04-04T06:54:58.164
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsActive='N',Updated=TO_TIMESTAMP('2019-04-04 06:54:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558190
;
-- 2019-04-04T06:56:36.369
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsActive='Y',Updated=TO_TIMESTAMP('2019-04-04 06:56:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558190
;
-- 2019-04-04T06:57:02.009
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=20,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558190
;
-- 2019-04-04T06:57:02.012
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=30,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000033
;
-- 2019-04-04T06:57:02.015
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=40,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000034
;
-- 2019-04-04T06:57:02.018
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=50,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000035
;
-- 2019-04-04T06:57:02.021
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=60,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000036
;
-- 2019-04-04T06:57:02.024
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=70,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552222
;
-- 2019-04-04T06:57:02.026
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=80,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000221
;
-- 2019-04-04T06:57:02.029
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=90,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000037
;
-- 2019-04-04T06:57:02.032
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=100,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=558191
;
-- 2019-04-04T06:57:02.035
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=110,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000038
;
-- 2019-04-04T06:57:02.038
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=120,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000040
;
-- 2019-04-04T06:57:02.041
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=130,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000041
;
-- 2019-04-04T06:57:02.043
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=140,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000042
;
-- 2019-04-04T06:57:02.046
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=150,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000043
;
-- 2019-04-04T06:57:02.048
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=160,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000044
;
-- 2019-04-04T06:57:02.050
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=170,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000045
;
-- 2019-04-04T06:57:02.053
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=180,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552431
;
-- 2019-04-04T06:57:02.055
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=190,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552430
;
-- 2019-04-04T06:57:02.058
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=200,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000046
;
-- 2019-04-04T06:57:02.060
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=210,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000047
;
-- 2019-04-04T06:57:02.062
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=220,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549097
;
-- 2019-04-04T06:57:02.064
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=230,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=1000039
;
-- 2019-04-04T06:57:02.067
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=240,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549127
;
-- 2019-04-04T06:57:02.069
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=250,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549126
;
-- 2019-04-04T06:57:02.072
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=260,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549129
;
-- 2019-04-04T06:57:02.074
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=270,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549130
;
-- 2019-04-04T06:57:02.077
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=280,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=547355
;
-- 2019-04-04T06:57:02.079
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=290,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=549128
;
-- 2019-04-04T06:57:02.082
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=300,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=550143
;
-- 2019-04-04T06:57:02.084
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_UI_Element SET IsDisplayedGrid='Y', SeqNoGrid=310,Updated=TO_TIMESTAMP('2019-04-04 06:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_UI_Element_ID=552486
;
-- 2019-04-04T06:58:56.304
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET AD_Reference_ID=27,Updated=TO_TIMESTAMP('2019-04-04 06:58:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=567583
;
--
-- makes no sense to copy those two new values in C_OrderLine
--
-- 2019-04-04T07:19:31.787
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET IsCalculated='Y',Updated=TO_TIMESTAMP('2019-04-04 07:19:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=567583
;
-- 2019-04-04T07:19:34.727
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET IsCalculated='Y',Updated=TO_TIMESTAMP('2019-04-04 07:19:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=567584
;
| 66.051031 | 1,174 | 0.797002 |
dfed76259ffbc89d8cf19650160126c2966cc752 | 1,788 | tsx | TypeScript | webui/src/component/etc/DarkModeSwitch.tsx | Jaeyo/personal-archive | 8690d662605f13d070d3f052722017eb56c18a61 | [
"MIT"
] | 35 | 2021-02-05T17:16:49.000Z | 2021-08-19T03:02:20.000Z | webui/src/component/etc/DarkModeSwitch.tsx | Jaeyo/personal-archive | 8690d662605f13d070d3f052722017eb56c18a61 | [
"MIT"
] | 15 | 2021-02-09T16:06:56.000Z | 2021-08-22T04:21:48.000Z | webui/src/component/etc/DarkModeSwitch.tsx | Jaeyo/personal-archive | 8690d662605f13d070d3f052722017eb56c18a61 | [
"MIT"
] | 8 | 2021-02-08T05:16:23.000Z | 2021-08-18T09:02:57.000Z | import React, { FC, useEffect } from "react"
import { disable as disableDarkMode, enable as enableDarkMode, setFetchMethod } from "darkreader"
import { useLocalStorage, useSubscribe } from "../../common/Hooks"
import Toggle from "react-toggle"
import { Moon } from "@kiwicom/orbit-components/icons"
import styled from "styled-components"
import { IoSunny } from "react-icons/all"
import { ToggleDarkMode } from "../../common/EventBus"
const DarkModeSwitch: FC = () => {
const [isEnabled, setEnabled] = useDarkMode()
useSubscribe(ToggleDarkMode, () => setEnabled(!isEnabled))
return (
<Wrapper>
<Toggle
id="dark-mode-switch"
defaultChecked={isEnabled}
onChange={() => setEnabled(!isEnabled)}
icons={{
checked: <Moon size="small" />,
unchecked: <IoSunny />,
}}
/>
</Wrapper>
)
}
const useDarkMode = (): [
boolean,
(isEnabled: boolean) => void,
] => {
const [darkMode, setDarkMode] = useLocalStorage('theme.dark_mode', '0')
const isEnabled = darkMode === '1'
const setEnabled = (isEnabled: boolean) => setDarkMode(isEnabled ? '1' : '0')
useEffect(() => {
setFetchMethod(window.fetch)
}, [])
useEffect(() => {
setTimeout(() => {
if (isEnabled) {
enableDarkMode({
scrollbarColor: '#222',
})
} else {
disableDarkMode()
}
}, 200)
}, [isEnabled])
return [isEnabled, setEnabled]
}
const Wrapper = styled.div`
padding-top: 4px;
margin-left: 4px;
.react-toggle-track-check {
margin-top: 4px;
margin-bottom: 0;
color: #f0c545;
}
.react-toggle-track-x {
margin-top: 4px;
margin-bottom: 0;
right: 14px;
// color: #eee;
color: #f0c545;
}
`
export default DarkModeSwitch
| 22.632911 | 97 | 0.607383 |
dc797a90b2e3f6e540520142bff945a141fd04cb | 17,723 | kt | Kotlin | app/src/main/java/org/stepik/android/view/step_quiz_review/ui/delegate/StepQuizReviewDelegate.kt | StepicOrg/stepik-android | 284a21837f6cef89590adffaad71323ea256cdb4 | [
"Apache-2.0"
] | 132 | 2016-09-21T17:13:09.000Z | 2022-03-08T06:05:26.000Z | app/src/main/java/org/stepik/android/view/step_quiz_review/ui/delegate/StepQuizReviewDelegate.kt | StepicOrg/stepik-android | 284a21837f6cef89590adffaad71323ea256cdb4 | [
"Apache-2.0"
] | 41 | 2016-09-20T04:50:53.000Z | 2022-03-08T07:13:31.000Z | app/src/main/java/org/stepik/android/view/step_quiz_review/ui/delegate/StepQuizReviewDelegate.kt | StepicOrg/stepik-android | 284a21837f6cef89590adffaad71323ea256cdb4 | [
"Apache-2.0"
] | 51 | 2016-09-21T17:13:11.000Z | 2022-02-11T16:52:02.000Z | package org.stepik.android.view.step_quiz_review.ui.delegate
import android.view.View
import android.view.ViewGroup
import androidx.annotation.PluralsRes
import androidx.annotation.StringRes
import androidx.core.view.isVisible
import kotlinx.android.extensions.LayoutContainer
import kotlinx.android.synthetic.main.error_no_connection_with_button_small.view.*
import kotlinx.android.synthetic.main.fragment_step_quiz_review_peer.*
import kotlinx.android.synthetic.main.layout_step_quiz_review_footer.*
import kotlinx.android.synthetic.main.layout_step_quiz_review_header.*
import org.stepic.droid.R
import org.stepik.android.model.ReviewStrategyType
import org.stepik.android.model.Submission
import org.stepik.android.presentation.step_quiz.StepQuizFeature
import org.stepik.android.presentation.step_quiz_review.StepQuizReviewFeature
import org.stepik.android.view.progress.ui.mapper.ProgressTextMapper
import org.stepik.android.view.step_quiz.mapper.StepQuizFeedbackMapper
import org.stepik.android.view.step_quiz.ui.delegate.StepQuizDelegate
import org.stepik.android.view.step_quiz.ui.delegate.StepQuizFeedbackBlocksDelegate
import org.stepik.android.view.step_quiz_review.ui.widget.ReviewStatusView
import org.stepik.android.view.ui.delegate.ViewStateDelegate
import ru.nobird.android.core.model.safeCast
class StepQuizReviewDelegate(
override val containerView: View,
private val instructionType: ReviewStrategyType,
private val actionListener: ActionListener,
private val blockName: String?,
private val quizView: View,
private val quizDelegate: StepQuizDelegate,
private val quizFeedbackBlocksDelegate: StepQuizFeedbackBlocksDelegate
) : LayoutContainer {
private val stepQuizFeedbackMapper = StepQuizFeedbackMapper()
private val resources = containerView.resources
private val step1viewStateDelegate = ViewStateDelegate<StepQuizReviewFeature.State>()
.apply {
addState<StepQuizReviewFeature.State.SubmissionNotMade>(
reviewStep1DividerBottom, reviewStep1Container, reviewStep1Discounting,
reviewStep1ActionButton, reviewStep1ActionRetry
)
}
private val step1QuizViewStateDelegate = ViewStateDelegate<StepQuizFeature.State>()
.apply {
addState<StepQuizFeature.State.Loading>(stepQuizProgress)
addState<StepQuizFeature.State.AttemptLoading>(stepQuizProgress)
addState<StepQuizFeature.State.AttemptLoaded>(reviewStep1Discounting, reviewStep1QuizContainer, reviewStep1ActionButton, reviewStep1ActionRetry)
addState<StepQuizFeature.State.NetworkError>(stepQuizNetworkError)
}
private val step2viewStateDelegate = ViewStateDelegate<StepQuizReviewFeature.State>()
.apply {
addState<StepQuizReviewFeature.State.SubmissionNotSelected>(
reviewStep2DividerBottom, reviewStep2Container, reviewStep2Loading,
reviewStep2CreateSession, reviewStep2SelectSubmission, reviewStep2Retry
)
addState<StepQuizReviewFeature.State.SubmissionSelected>(reviewStep2DividerBottom, reviewStep2Container)
addState<StepQuizReviewFeature.State.Completed>(reviewStep2DividerBottom, reviewStep2Container)
}
init {
stepQuizNetworkError.tryAgain.setOnClickListener { actionListener.onQuizTryAgainClicked() }
reviewStep2SelectSubmission.setOnClickListener { actionListener.onSelectDifferentSubmissionClicked() }
reviewStep2CreateSession.setOnClickListener { actionListener.onCreateSessionClicked() }
reviewStep2Retry.setOnClickListener { actionListener.onSolveAgainClicked() }
if (instructionType == ReviewStrategyType.PEER) {
reviewStep3Container.setOnClickListener { actionListener.onStartReviewClicked() }
}
}
fun render(state: StepQuizReviewFeature.State) {
if (state is StepQuizReviewFeature.State.WithQuizState) {
quizFeedbackBlocksDelegate.setState(stepQuizFeedbackMapper.mapToStepQuizFeedbackState(blockName, state.quizState))
}
renderStep1(state)
renderStep2(state)
if (instructionType == ReviewStrategyType.PEER) {
renderStep3(state)
renderStep4(state)
}
renderStep5(state)
}
private fun renderStep1(state: StepQuizReviewFeature.State) {
step1viewStateDelegate.switchState(state)
when (state) {
is StepQuizReviewFeature.State.SubmissionNotMade -> {
val submissionStatus = state.quizState.safeCast<StepQuizFeature.State.AttemptLoaded>()
?.submissionState
?.safeCast<StepQuizFeature.SubmissionState.Loaded>()
?.submission
?.status
reviewStep1Status.status =
if (submissionStatus == Submission.Status.WRONG) {
ReviewStatusView.Status.ERROR
} else {
ReviewStatusView.Status.IN_PROGRESS
}
stepQuizDescription.isEnabled = true
step1QuizViewStateDelegate.switchState(state.quizState)
if (state.quizState is StepQuizFeature.State.AttemptLoaded) {
quizDelegate.setState(state.quizState)
}
setQuizViewParent(quizView, reviewStep1QuizContainer)
setQuizViewParent(quizFeedbackView, reviewStep1QuizContainer)
}
else -> {
stepQuizDescription.isEnabled = false
reviewStep1Status.status = ReviewStatusView.Status.COMPLETED
}
}
}
private fun renderStep2(state: StepQuizReviewFeature.State) {
step2viewStateDelegate.switchState(state)
when (state) {
is StepQuizReviewFeature.State.SubmissionNotMade -> {
reviewStep2Title.setText(R.string.step_quiz_review_send_pending)
setStepStatus(reviewStep2Title, reviewStep2Link, reviewStep2Status, ReviewStatusView.Status.PENDING)
}
is StepQuizReviewFeature.State.SubmissionNotSelected -> {
reviewStep2Title.setText(R.string.step_quiz_review_send_in_progress)
setStepStatus(reviewStep2Title, reviewStep2Link, reviewStep2Status, ReviewStatusView.Status.IN_PROGRESS)
quizDelegate.setState(state.quizState)
reviewStep2Loading.isVisible = state.isSessionCreationInProgress
reviewStep2CreateSession.isVisible = !state.isSessionCreationInProgress
reviewStep2SelectSubmission.isVisible = !state.isSessionCreationInProgress
reviewStep2Retry.isVisible = !state.isSessionCreationInProgress
setQuizViewParent(quizView, reviewStep2Container)
setQuizViewParent(quizFeedbackView, reviewStep2Container)
}
else -> {
reviewStep2Title.setText(R.string.step_quiz_review_send_completed)
setStepStatus(reviewStep2Title, reviewStep2Link, reviewStep2Status, ReviewStatusView.Status.COMPLETED)
state.safeCast<StepQuizReviewFeature.State.WithQuizState>()
?.quizState
?.safeCast<StepQuizFeature.State.AttemptLoaded>()
?.let(quizDelegate::setState)
setQuizViewParent(quizView, reviewStep2Container)
setQuizViewParent(quizFeedbackView, reviewStep2Container)
quizFeedbackView.isVisible = false
}
}
}
private fun setQuizViewParent(view: View, parent: ViewGroup) {
val currentParentViewGroup = view.parent.safeCast<ViewGroup>()
if (currentParentViewGroup == parent) return
currentParentViewGroup?.removeView(view)
parent.addView(view)
}
private fun renderStep3(state: StepQuizReviewFeature.State) {
val reviewCount = state.safeCast<StepQuizReviewFeature.State.WithInstruction>()?.instruction?.minReviews ?: 0
when (state) {
is StepQuizReviewFeature.State.SubmissionNotMade,
is StepQuizReviewFeature.State.SubmissionNotSelected -> {
reviewStep3Title.setText(R.string.step_quiz_review_given_pending_zero)
setStepStatus(reviewStep3Title, reviewStep3Link, reviewStep3Status, ReviewStatusView.Status.PENDING)
reviewStep3Container.isVisible = false
reviewStep3Loading.isVisible = false
}
is StepQuizReviewFeature.State.SubmissionSelected -> {
val givenReviewCount = state.session.givenReviews.size
val remainingReviewCount = reviewCount - givenReviewCount
val text =
buildString {
if (remainingReviewCount > 0) {
@PluralsRes
val pluralRes =
if (givenReviewCount > 0) {
R.plurals.step_quiz_review_given_in_progress
} else {
R.plurals.step_quiz_review_given_pending
}
append(resources.getQuantityString(pluralRes, remainingReviewCount, remainingReviewCount))
}
if (givenReviewCount > 0) {
if (isNotEmpty()) {
append(" ")
}
append(resources.getQuantityString(R.plurals.step_quiz_review_given_completed, givenReviewCount, givenReviewCount))
}
}
reviewStep3Title.text = text
reviewStep3Container.isVisible = remainingReviewCount > 0 && !state.isReviewCreationInProgress
if (reviewStep3Container.isVisible) {
reviewStep3Container.isEnabled = remainingReviewCount <= 0 || state.session.isReviewAvailable
reviewStep3Container.setText(if (reviewStep3Container.isEnabled) R.string.step_quiz_review_given_start_review else R.string.step_quiz_review_given_no_review)
}
reviewStep3Loading.isVisible = state.isReviewCreationInProgress
setStepStatus(reviewStep3Title, reviewStep3Link, reviewStep3Status, ReviewStatusView.Status.IN_PROGRESS)
}
is StepQuizReviewFeature.State.Completed -> {
val givenReviewCount = state.session.givenReviews.size
reviewStep3Title.text = resources.getQuantityString(R.plurals.step_quiz_review_given_completed, givenReviewCount, givenReviewCount)
reviewStep3Container.isVisible = false
reviewStep3Loading.isVisible = false
setStepStatus(reviewStep3Title, reviewStep3Link, reviewStep3Status, ReviewStatusView.Status.COMPLETED)
}
}
}
private fun renderStep4(state: StepQuizReviewFeature.State) {
val reviewCount = state.safeCast<StepQuizReviewFeature.State.WithInstruction>()?.instruction?.minReviews ?: 0
when (state) {
is StepQuizReviewFeature.State.SubmissionNotMade,
is StepQuizReviewFeature.State.SubmissionNotSelected -> {
reviewStep4Title.setText(R.string.step_quiz_review_taken_pending_zero)
setStepStatus(reviewStep4Title, reviewStep4Link, reviewStep4Status, ReviewStatusView.Status.PENDING)
reviewStep4Container.isVisible = false
reviewStep4Hint.isVisible = false
}
is StepQuizReviewFeature.State.SubmissionSelected -> {
val takenReviewCount = state.session.takenReviews.size
val remainingReviewCount = reviewCount - takenReviewCount
val text =
buildString {
if (remainingReviewCount > 0) {
@PluralsRes
val pluralRes =
if (takenReviewCount > 0) {
R.plurals.step_quiz_review_taken_in_progress
} else {
R.plurals.step_quiz_review_taken_pending
}
append(resources.getQuantityString(pluralRes, remainingReviewCount, remainingReviewCount))
}
if (takenReviewCount > 0) {
if (isNotEmpty()) {
append(" ")
}
append(resources.getQuantityString(R.plurals.step_quiz_review_taken_completed, takenReviewCount, takenReviewCount))
}
}
val status =
if (remainingReviewCount > 0) {
ReviewStatusView.Status.IN_PROGRESS
} else {
ReviewStatusView.Status.COMPLETED
}
reviewStep4Title.text = text
setStepStatus(reviewStep4Title, reviewStep4Link, reviewStep4Status, status)
reviewStep4Container.isVisible = takenReviewCount > 0
reviewStep4Container.setOnClickListener { actionListener.onTakenReviewClicked(state.session.id) }
reviewStep4Hint.isVisible = takenReviewCount == 0
}
is StepQuizReviewFeature.State.Completed -> {
val takenReviewCount = state.session.takenReviews.size
reviewStep4Title.text = resources.getQuantityString(R.plurals.step_quiz_review_taken_completed, takenReviewCount, takenReviewCount)
setStepStatus(reviewStep4Title, reviewStep4Link, reviewStep4Status, ReviewStatusView.Status.COMPLETED)
reviewStep4Container.isVisible = takenReviewCount > 0
reviewStep4Container.setOnClickListener { actionListener.onTakenReviewClicked(state.session.id) }
reviewStep4Hint.isVisible = false
}
}
}
private fun renderStep5(state: StepQuizReviewFeature.State) {
reviewStep5Status.position =
when (instructionType) {
ReviewStrategyType.PEER -> 5
ReviewStrategyType.INSTRUCTOR -> 3
}
when (state) {
is StepQuizReviewFeature.State.Completed -> {
val receivedPoints = state.progress?.score?.toFloatOrNull() ?: 0f
reviewStep5Title.text = ProgressTextMapper
.mapProgressToText(
containerView.context,
receivedPoints,
state.progress?.cost ?: 0,
R.string.step_quiz_review_peer_completed,
R.string.step_quiz_review_peer_completed,
R.plurals.points
)
when (instructionType) {
ReviewStrategyType.PEER ->
reviewStep5Container.isVisible = false
ReviewStrategyType.INSTRUCTOR -> {
reviewStep5Container.setOnClickListener { actionListener.onTakenReviewClicked(state.session.id) }
reviewStep5Container.isVisible = true
}
}
setStepStatus(reviewStep5Title, reviewStep5Link, reviewStep5Status, ReviewStatusView.Status.IN_PROGRESS)
reviewStep5Status.status = ReviewStatusView.Status.COMPLETED
reviewStep5Hint.isVisible = false
}
else -> {
val cost = state.safeCast<StepQuizReviewFeature.State.WithProgress>()?.progress?.cost ?: 0L
@StringRes
val stringRes =
when (instructionType) {
ReviewStrategyType.PEER ->
R.string.step_quiz_review_peer_pending
ReviewStrategyType.INSTRUCTOR ->
R.string.step_quiz_review_instructor_pending
}
reviewStep5Title.text = resources.getString(stringRes, resources.getQuantityString(R.plurals.points, cost.toInt(), cost))
reviewStep5Container.isVisible = false
val status =
if (state is StepQuizReviewFeature.State.SubmissionSelected && instructionType == ReviewStrategyType.INSTRUCTOR) {
ReviewStatusView.Status.IN_PROGRESS
} else {
ReviewStatusView.Status.PENDING
}
reviewStep5Hint.isVisible = instructionType == ReviewStrategyType.INSTRUCTOR && status == ReviewStatusView.Status.IN_PROGRESS
setStepStatus(reviewStep5Title, reviewStep5Link, reviewStep5Status, status)
}
}
}
private fun setStepStatus(titleView: View, linkView: View, statusView: ReviewStatusView, status: ReviewStatusView.Status) {
titleView.isEnabled = status == ReviewStatusView.Status.IN_PROGRESS
linkView.isEnabled = status.ordinal >= ReviewStatusView.Status.IN_PROGRESS.ordinal
statusView.status = status
}
interface ActionListener {
fun onSelectDifferentSubmissionClicked()
fun onCreateSessionClicked()
fun onSolveAgainClicked()
fun onQuizTryAgainClicked()
fun onStartReviewClicked()
fun onTakenReviewClicked(sessionId: Long)
}
} | 47.642473 | 177 | 0.638323 |
bee2ad9a57506a828a3cdb074996f6e3b7b6d992 | 70,673 | html | HTML | formasaurus/data/html/ingliando.net-0.html | MasterScott/Formasaurus | d7d916237a6d2ca4c80c4c8ae5d66999c8beebed | [
"MIT"
] | 132 | 2015-04-18T01:53:52.000Z | 2022-03-31T08:33:26.000Z | formasaurus/data/html/ingliando.net-0.html | Eglet27/Formasaurus | d7d916237a6d2ca4c80c4c8ae5d66999c8beebed | [
"MIT"
] | 26 | 2015-07-08T20:09:26.000Z | 2022-03-03T16:50:08.000Z | formasaurus/data/html/ingliando.net-0.html | Eglet27/Formasaurus | d7d916237a6d2ca4c80c4c8ae5d66999c8beebed | [
"MIT"
] | 63 | 2015-02-17T08:41:00.000Z | 2022-03-31T08:58:18.000Z | <!DOCTYPE html>
<!--[if IE 7]>
<html id="ie7" lang="it">
<![endif]-->
<!--[if (!IE 7)]><!-->
<html lang="it">
<!--<![endif]-->
<head>
<meta charset="UTF-8" />
<title>Contact | Ingliando</title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="http://ingliando.net/xmlrpc.php" />
<meta name="google-site-verification" content="DkTM4SR08zLcCKeJRYshF0REXePhco38YDAxp8YuSBU" />
<script src='https://r-login.wordpress.com/remote-login.php?action=js&host=ingliando.net&id=28003120&t=1454331640&back=http%3A%2F%2Fingliando.net%2Fhome-2%2Fcontact-2%2F' type="text/javascript"></script>
<script type="text/javascript">
/* <![CDATA[ */
if ( 'function' === typeof WPRemoteLogin ) {
document.cookie = "wordpress_test_cookie=test; path=/";
if ( document.cookie.match( /(;|^)\s*wordpress_test_cookie\=/ ) ) {
WPRemoteLogin();
}
}
/* ]]> */
</script>
<link rel="alternate" type="application/rss+xml" title="Ingliando » Feed" href="http://ingliando.net/feed/" />
<link rel="alternate" type="application/rss+xml" title="Ingliando » Feed dei commenti" href="http://ingliando.net/comments/feed/" />
<script type="text/javascript">
/* <![CDATA[ */
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function () {
oldonload();
func();
}
}
}
/* ]]> */
</script>
<link rel='stylesheet' id='all-css-0' href='https://s2.wp.com/_static/??-eJyNkdFqwzAMRX9onhgrKXsY+xbHURylsmVsmdC/n9OwrSUj24vQFecgGcOSjJOoGBVCNYmrp1igBGK8piwzOn1Mz66UJ/hdY7pggRk1WXcxt7TDexb/I4j3OEhVMwqzLLDQ4PFwh5OMbR6S1ZUIOJBFxtCwIy2k7sta26kduL/tjl9So03fp4ylmFYD1WB0aov23jaGVHtwkziBolfGvzEnLLnAgKOtrP+1KLoNNbcjj16BQWba6oYRRFFqZPlujnyPYlicVZL4EMzIlvKRmnH96dZ6aNRdXKWP8P5yOr11r+fufJo/AWgs8sU=' type='text/css' media='all' />
<link rel='stylesheet' id='print-css-1' href='https://s1.wp.com/wp-content/mu-plugins/global-print/global-print.css?m=1444132114g' type='text/css' media='print' />
<link rel='stylesheet' id='all-css-2' href='https://s2.wp.com/_static/??-eJx9jEsOwjAMRC+EMZUilS4QZwmNcYzyU+yq12+RYMVnNU+aeYNrg7kWo2KYF2hpYSmKrarBPXnpqNF3KfzO46x6wO8WU6Eue/EDP1yLlEkxOuRUbz79O18lMJniPnkxcJcAvgRIovZ0r/kyODeNp3E4T48NEuFRhQ==' type='text/css' media='all' />
<script type='text/javascript'>
/* <![CDATA[ */
var LoggedOutFollow = {"invalid_email":"La tua sottoscrizione non ha avuto successo, prova nuovamente con un indirizzo email valido."};
/* ]]> */
</script>
<script type='text/javascript' src='https://s0.wp.com/_static/??-eJyFzs0KwjAMAOAXsiub8+BBfJb9ZCW1bWqTrujTW0EP4lAIJCRfQnSJCsPk8gysbY1rhnR7pcbyTv8CyqNJg0DjMbzxREEgyNN6GtGBygxpMLVXDy204SKxeGCuaGP6+RKGFaH8ZRYkDtNFJWC8f10dHRkVXTYYWNfawExZ1ELOUdEFZwNSd87+1Pb9vuvaY3uwD0gZb60='></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://ingliando.wordpress.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://s1.wp.com/wp-includes/wlwmanifest.xml" />
<meta name="generator" content="WordPress.com" />
<link rel="canonical" href="http://ingliando.net/home-2/contact-2/" />
<link rel='shortlink' href='http://wp.me/P1TuTe-rm' />
<link rel="alternate" type="application/json+oembed" href="https://public-api.wordpress.com/oembed/1.0/?format=json&url=http%3A%2F%2Fingliando.net%2Fhome-2%2Fcontact-2%2F&for=wpcom-auto-discovery" /><link rel="alternate" type="application/xml+oembed" href="https://public-api.wordpress.com/oembed/1.0/?format=xml&url=http%3A%2F%2Fingliando.net%2Fhome-2%2Fcontact-2%2F&for=wpcom-auto-discovery" />
<!-- Jetpack Open Graph Tags -->
<meta property="og:type" content="article" />
<meta property="og:title" content="Contact" />
<meta property="og:url" content="http://ingliando.net/home-2/contact-2/" />
<meta property="og:description" content="Visita l'articolo per saperne di più." />
<meta property="article:published_time" content="2014-02-18T10:12:26+00:00" />
<meta property="article:modified_time" content="2014-05-30T08:14:57+00:00" />
<meta property="og:site_name" content="Ingliando" />
<meta property="og:image" content="http://1.gravatar.com/blavatar/966e4deb13f1d4d133c5941248514395?s=200&ts=1454331640" />
<meta property="og:image:width" content="200" />
<meta property="og:image:height" content="200" />
<meta property="og:locale" content="it_IT" />
<meta name="twitter:site" content="@Ingliando" />
<meta name="twitter:image" content="http://1.gravatar.com/blavatar/966e4deb13f1d4d133c5941248514395?s=240" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:creator" content="@Ingliando" />
<meta name="twitter:description" content="Bericht van @Ingliando." />
<meta property="article:publisher" content="https://www.facebook.com/WordPresscom" />
<link rel="shortcut icon" type="image/x-icon" href="http://0.gravatar.com/blavatar/031fe3e8e91a9e7c3f1e415003fe0737?s=16" sizes="16x16" />
<link rel="icon" type="image/x-icon" href="http://0.gravatar.com/blavatar/031fe3e8e91a9e7c3f1e415003fe0737?s=16" sizes="16x16" />
<link rel="apple-touch-icon-precomposed" href="http://1.gravatar.com/blavatar/966e4deb13f1d4d133c5941248514395?s=114" />
<link rel='openid.server' href='http://ingliando.wordpress.com/?openidserver=1' />
<link rel='openid.delegate' href='http://ingliando.wordpress.com/' />
<link rel="search" type="application/opensearchdescription+xml" href="http://ingliando.net/osd.xml" title="Ingliando" />
<link rel="search" type="application/opensearchdescription+xml" href="https://s1.wp.com/opensearch.xml" title="WordPress.com" />
<style type="text/css">
.recentcomments a {
display: inline !important;
padding: 0 !important;
margin: 0 !important;
}
table.recentcommentsavatartop img.avatar, table.recentcommentsavatarend img.avatar {
border: 0px;
margin: 0;
}
table.recentcommentsavatartop a, table.recentcommentsavatarend a {
border: 0px !important;
background-color: transparent !important;
}
td.recentcommentsavatarend, td.recentcommentsavatartop {
padding: 0px 0px 1px 0px;
margin: 0px;
}
td.recentcommentstextend {
border: none !important;
padding: 0px 0px 2px 10px;
}
.rtl td.recentcommentstextend {
padding: 0px 10px 2px 0px;
}
td.recentcommentstexttop {
border: none;
padding: 0px 0px 0px 10px;
}
.rtl td.recentcommentstexttop {
padding: 0px 10px 0px 0px;
}
</style>
<meta name="application-name" content="Ingliando" /><meta name="msapplication-window" content="width=device-width;height=device-height" /><meta name="msapplication-tooltip" content="English practice for Italians" /><meta name="msapplication-task" content="name=Iscriviti;action-uri=http://ingliando.net/feed/;icon-uri=http://0.gravatar.com/blavatar/031fe3e8e91a9e7c3f1e415003fe0737?s=16" /><meta name="msapplication-task" content="name=Registrati per un blog gratis;action-uri=http://wordpress.com/signup/;icon-uri=http://s2.wp.com/i/favicon.ico" /><meta name="msapplication-task" content="name=Supporto WordPress.com;action-uri=http://support.wordpress.com/;icon-uri=http://s2.wp.com/i/favicon.ico" /><meta name="msapplication-task" content="name=I Forum di WordPress.com;action-uri=http://forums.wordpress.com/;icon-uri=http://s2.wp.com/i/favicon.ico" /><meta name="title" content="Contact | Ingliando su WordPress.com" />
<meta name="description" content="English practice for Italians (per Tony Lawson)" />
<style type="text/css" id="syntaxhighlighteranchor"></style>
</head>
<body class="page page-id-1696 page-child parent-pageid-814 page-template-default mp6 customizer-styles-applied color-default highlander-enabled highlander-light">
<div id="page">
<div id="header" class="clear-fix">
<div id="logo">
<h3 id="site-title">
<span>
<a href="http://ingliando.net/" title="Ingliando" rel="home">Ingliando</a>
</span>
</h3>
<div class="description">English practice for Italians</div>
</div><!-- #logo -->
<div id="nav">
<ul id="menu-main-menu" class="menu"><li id="menu-item-816" class="menu-item menu-item-type-post_type menu-item-object-page current-page-ancestor current-menu-ancestor current-menu-parent current-page-parent current_page_parent current_page_ancestor menu-item-has-children menu-item-816"><a href="http://ingliando.net/">Home</a>
<ul class="sub-menu">
<li id="menu-item-275" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-275"><a href="http://ingliando.net/home-2/about/">About</a></li>
<li id="menu-item-6845" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6845"><a href="http://ingliando.net/testimonianze/">Testimonianze</a></li>
<li id="menu-item-6252" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6252"><a href="http://ingliando.net/home-2/guestbook/">Guestbook</a></li>
<li id="menu-item-6941" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6941"><a href="http://ingliando.net/chatroom/">Chatroom</a></li>
<li id="menu-item-1697" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-1696 current_page_item menu-item-1697"><a href="http://ingliando.net/home-2/contact-2/">Contact</a></li>
<li id="menu-item-5941" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5941"><a href="http://ingliando.net/home-2/creative-commons/">Creative Commons</a></li>
<li id="menu-item-7306" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-7306"><a href="http://ingliando.net/home-2/disclaimer/">Disclaimer</a></li>
</ul>
</li>
<li id="menu-item-819" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-819"><a href="http://ingliando.net/blog/">Blog</a>
<ul class="sub-menu">
<li id="menu-item-2478" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-2478"><a href="http://ingliando.net/blog">All levels</a></li>
<li id="menu-item-2474" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-2474"><a href="http://ingliando.net/tag/elementary/">Elementary (A1-A2)</a></li>
<li id="menu-item-2476" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-2476"><a href="http://ingliando.net/tag/intermediate/">Intermediate (A2-B1)</a></li>
<li id="menu-item-2477" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-2477"><a href="http://ingliando.net/tag/advanced/">Advanced (B2-C1)</a></li>
</ul>
</li>
<li id="menu-item-2459" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-2459"><a href="http://ingliando.net/language/">Language</a>
<ul class="sub-menu">
<li id="menu-item-276" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-276"><a href="http://ingliando.net/language/grammar-notes/">Grammar Notes</a></li>
<li id="menu-item-3826" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3826"><a href="http://ingliando.net/language/uso-dei-tempi-dei-verbi/">Uso dei tempi dei verbi</a></li>
<li id="menu-item-3775" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3775"><a href="http://ingliando.net/language/verbs/">Verbs</a></li>
<li id="menu-item-2607" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-2607"><a href="http://ingliando.net/language/phrasal-verbs/">Phrasal Verbs</a>
<ul class="sub-menu">
<li id="menu-item-4886" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-4886"><a href="http://ingliando.net/2014/05/30/an-introduction-to-phrasal-verbs/">Introduction</a></li>
<li id="menu-item-2608" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2608"><a href="http://ingliando.net/language/phrasal-verbs/common-phrasal-verbs/">Common phrasal verbs</a></li>
</ul>
</li>
<li id="menu-item-3881" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3881"><a href="http://ingliando.net/language/false-friends/">False Friends</a></li>
<li id="menu-item-2195" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2195"><a href="http://ingliando.net/language/proverbs/">Proverbs</a></li>
<li id="menu-item-3510" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-3510"><a href="http://ingliando.net/category/idioms/">Idioms</a></li>
<li id="menu-item-2483" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2483"><a href="http://ingliando.net/language/stories/">Stories</a></li>
<li id="menu-item-4750" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4750"><a href="http://ingliando.net/language/alfs-alphabet/">Alf’s Alphabet</a></li>
</ul>
</li>
<li id="menu-item-1853" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1853"><a href="http://ingliando.net/pronunciation/">Pronunciation</a></li>
<li id="menu-item-3733" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3733"><a href="http://ingliando.net/vocabulary/">Vocabulary</a></li>
<li id="menu-item-274" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-274"><a href="http://ingliando.net/audio/">Audio</a>
<ul class="sub-menu">
<li id="menu-item-5902" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5902"><a href="http://ingliando.net/audio/pronunciation/">Pronunciation</a></li>
<li id="menu-item-5903" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5903"><a href="http://ingliando.net/audio/vocabulary/">Vocabulary</a></li>
<li id="menu-item-5926" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5926"><a href="http://ingliando.net/audio/dictation/">Dictation</a></li>
<li id="menu-item-5906" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5906"><a href="http://ingliando.net/audio/words/">Words</a></li>
<li id="menu-item-5905" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5905"><a href="http://ingliando.net/audio/guardian/">Guardian</a></li>
<li id="menu-item-5908" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5908"><a href="http://ingliando.net/audio/articles/">Articles</a></li>
<li id="menu-item-5904" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5904"><a href="http://ingliando.net/audio/bryson/">Bryson</a></li>
<li id="menu-item-5907" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5907"><a href="http://ingliando.net/audio/verses/">Verses</a></li>
<li id="menu-item-5909" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5909"><a href="http://ingliando.net/audio/alfs-alphabet/">Alf’s Alphabet</a></li>
<li id="menu-item-8228" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8228"><a href="http://ingliando.net/audio/daily-translation-elementary/">Daily Translation (elem)</a></li>
<li id="menu-item-7721" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-7721"><a href="http://ingliando.net/audio/daily-translation-intermediate/">Daily Translation (int)</a></li>
</ul>
</li>
<li id="menu-item-5813" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5813"><a href="http://ingliando.net/palestra-2/">Palestra</a>
<ul class="sub-menu">
<li id="menu-item-7376" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-7376"><a href="http://ingliando.net/palestra-2/daily-translation-elem/">Daily Translation (elementary)</a></li>
<li id="menu-item-6562" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6562"><a href="http://ingliando.net/palestra-2/daily-translation-int/">Daily Translation (intermediate)</a></li>
<li id="menu-item-5815" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5815"><a href="http://ingliando.net/category/dictation/">Dictation</a></li>
<li id="menu-item-7410" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-7410"><a href="http://ingliando.net/exercises/">Exercises</a></li>
<li id="menu-item-5817" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5817"><a href="http://ingliando.net/category/fill-the-gaps/">Fill the Gaps</a></li>
<li id="menu-item-5818" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5818"><a href="http://ingliando.net/category/master-translator/">Master Translator</a></li>
<li id="menu-item-5819" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5819"><a href="http://ingliando.net/category/multiple-choice-2/">Multiple Choice</a></li>
<li id="menu-item-5820" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5820"><a href="http://ingliando.net/category/true-or-false/">True or False</a></li>
</ul>
</li>
</ul> </div><!-- #nav -->
</div><!-- #header -->
<div id="main">
<a href="http://ingliando.net/feed/rss/" id="rss-link">RSS</a>
<div id="main-top">
<div id="main-bot" class="clear-fix">
<div id="content"> <div class="post">
<h1 class="post-title">Contact</h1>
<div class="entry">
<div id='contact-form-1696'>
<form action='http://ingliando.net/home-2/contact-2/#contact-form-1696' method='post' class='contact-form commentsblock'>
<div>
<label for='g1696-name' class='grunion-field-label name'>Name<span>(necessario)</span></label>
<input type='text' name='g1696-name' id='g1696-name' value='' class='name' required aria-required='true'/>
</div>
<div>
<label for='g1696-email' class='grunion-field-label email'>Email<span>(necessario)</span></label>
<input type='email' name='g1696-email' id='g1696-email' value='' class='email' required aria-required='true'/>
</div>
<div>
<label for='g1696-website' class='grunion-field-label url'>Website</label>
<input type='text' name='g1696-website' id='g1696-website' value='' class='url' />
</div>
<div>
<label for='contact-form-comment-g1696-comment' class='grunion-field-label textarea'>Comment<span>(necessario)</span></label>
<textarea name='g1696-comment' id='contact-form-comment-g1696-comment' rows='20' required aria-required='true'></textarea>
</div>
<p class='contact-submit'>
<input type='submit' value='Invia »' class='pushbutton-wide'/>
<input type='hidden' name='contact-form-id' value='1696' />
<input type='hidden' name='action' value='grunion-contact-form' />
</p>
</form>
</div>
<div id="jp-post-flair" class="sharedaddy sd-like-enabled sd-sharing-enabled"><div class="sharedaddy sd-sharing-enabled"><div class="robots-nocontent sd-block sd-social sd-social-official sd-sharing"><h3 class="sd-title">Condividi:</h3><div class="sd-content"><ul><li class="share-facebook"><div class="fb-share-button" data-href="http://ingliando.net/home-2/contact-2/" data-layout="button_count"></div></li><li class="share-twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-url="http://wp.me/P1TuTe-rm" data-text="Contact" data-via="Ingliando" data-related="wordpressdotcom">Tweet</a></li><li class="share-linkedin"><div class="linkedin_button"><script type="in/share" data-url="http://ingliando.net/home-2/contact-2/" data-counter="right"></script></div></li><li class="share-google-plus-1"><div class="googleplus1_button"><div class="g-plus" data-action="share" data-size="medium" data-annotation="bubble" data-href="http://ingliando.net/home-2/contact-2/"></div></div></li><li class="share-email"><a rel="nofollow" data-shared="" class="share-email sd-button" href="http://ingliando.net/home-2/contact-2/?share=email" target="_blank" title="Click to email"><span>E-mail</span></a></li><li class="share-print"><a rel="nofollow" data-shared="" class="share-print sd-button" href="http://ingliando.net/home-2/contact-2/#print" target="_blank" title="Clicca per stampare"><span>Stampa</span></a></li><li class="share-end"></li></ul></div></div></div></div> <div class="cl"> </div>
</div>
</div>
<div id="comments">
<p class="nocomments">I commenti sono chiusi.</p>
</div><!-- #comments -->
</div><!-- END Content -->
<div id="sidebar">
<ul class="xoxo">
<li id="text-12" class="widget widget_text"> <div class="textwidget"><p style="text-align:center;">
<a href="https://www.facebook.com/ingliando/"><img src="https://ingliando.files.wordpress.com/2015/04/facebook.png" title="Facebook" /></a> <a href="https://www.instagram.com/ingliando/"><img src="https://ingliando.files.wordpress.com/2015/12/instagram1.png" title="Instagram" /></a> <a href="https://twitter.com/ingliando/"><img src="https://ingliando.files.wordpress.com/2015/04/twitter.png" title="Twitter" /></a></div>
</li><li id="image-4" class="widget widget_image"><h4 class="widgettitle">Hello and welcome</h4><div style="overflow:hidden;"><div style="width: 260px" class="wp-caption aligncenter"><img src="http://ingliando.files.wordpress.com/2014/10/ingliando250.png?w=250&h=250" alt="Ingliando" width="250" height="250" /><p class="wp-caption-text">"English practice for Italians"</p></div></div>
</li><li id="blog_subscription-3" class="widget widget_blog_subscription"><h4 class="widgettitle"><label for="subscribe-field">Join the Club</label></h4>
<form action="https://subscribe.wordpress.com" method="post" accept-charset="utf-8" id="subscribe-blog">
<p>Inserisci la tua email per avere notizie in tempo reale. No spam.</p>
<p>Segui assieme ad altri 1.360 follower</p>
<p><input type="text" name="email" style="width: 95%; padding: 1px 2px" placeholder="Inserisci il tuo indirizzo e-mail" value="" id="subscribe-field"/></p>
<p>
<input type="hidden" name="action" value="subscribe"/>
<input type="hidden" name="blog_id" value="28003120"/>
<input type="hidden" name="source" value="http://ingliando.net/home-2/contact-2/"/>
<input type="hidden" name="sub-type" value="widget"/>
<input type="hidden" name="redirect_fragment" value="blog_subscription-3" />
<input type="hidden" id="_wpnonce" name="_wpnonce" value="771bc1be0b" /> <input type="submit" value="Iscrivimi!" />
</p>
</form>
</li><li id="search-3" class="widget widget_search"><h4 class="widgettitle">Search Ingliando</h4><form action="http://ingliando.net/" id="searchform" method="get">
<label for="s" class="screen-reader-text">Cerca</label>
<div class="field-place">
<input type="text" class="field" id="s" name="s" value=""/>
<input type="submit" class="button" value="Search" id="searchsubmit"/>
</div>
</form></li><li id="nav_menu-3" class="widget widget_nav_menu"><h4 class="widgettitle">Language levels</h4><div class="menu-language-levels-container"><ul id="menu-language-levels" class="menu"><li id="menu-item-2457" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-2457"><a href="http://ingliando.net/diary">All levels</a></li>
<li id="menu-item-357" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-357"><a href="http://ingliando.net/tag/elementary/">Elementary (A1-A2)</a></li>
<li id="menu-item-358" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-358"><a href="http://ingliando.net/tag/intermediate/">Intermediate (A2-B1)</a></li>
<li id="menu-item-392" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-392"><a href="http://ingliando.net/tag/advanced/">Advanced (B2-C1)</a></li>
</ul></div></li><li id="categories-3" class="widget widget_categories"><h4 class="widgettitle">Categorie</h4> <ul>
<li class="cat-item cat-item-44601244"><a href="http://ingliando.net/category/adjectives-2/" >Adjectives</a>
</li>
<li class="cat-item cat-item-176657"><a href="http://ingliando.net/category/adverbs/" >Adverbs</a>
</li>
<li class="cat-item cat-item-7929"><a href="http://ingliando.net/category/blackboard/" >Blackboard</a>
</li>
<li class="cat-item cat-item-452045"><a href="http://ingliando.net/category/dictation/" >Dictation</a>
</li>
<li class="cat-item cat-item-18744"><a href="http://ingliando.net/category/exercises/" >Exercises</a>
</li>
<li class="cat-item cat-item-48882772"><a href="http://ingliando.net/category/fill-the-gaps/" >Fill the Gaps</a>
</li>
<li class="cat-item cat-item-9925"><a href="http://ingliando.net/category/functions/" >Functions</a>
</li>
<li class="cat-item cat-item-13434"><a href="http://ingliando.net/category/grammar/" >Grammar</a>
</li>
<li class="cat-item cat-item-35"><a href="http://ingliando.net/category/humour/" >Humour</a>
</li>
<li class="cat-item cat-item-15325"><a href="http://ingliando.net/category/idioms/" >Idioms</a>
</li>
<li class="cat-item cat-item-4832806"><a href="http://ingliando.net/category/interrogative/" >Interrogative</a>
</li>
<li class="cat-item cat-item-8705177"><a href="http://ingliando.net/category/lifes-reflections/" >Life's Reflections</a>
</li>
<li class="cat-item cat-item-11121"><a href="http://ingliando.net/category/listening/" >Listening</a>
</li>
<li class="cat-item cat-item-212742664"><a href="http://ingliando.net/category/master-translator/" >Master Translator</a>
</li>
<li class="cat-item cat-item-42388018"><a href="http://ingliando.net/category/modal-verbs-2/" >Modal verbs</a>
</li>
<li class="cat-item cat-item-81070350"><a href="http://ingliando.net/category/multiple-choice-2/" >Multiple Choice</a>
</li>
<li class="cat-item cat-item-75292"><a href="http://ingliando.net/category/news-2/" >News</a>
</li>
<li class="cat-item cat-item-81479"><a href="http://ingliando.net/category/nouns/" >Nouns</a>
</li>
<li class="cat-item cat-item-410667"><a href="http://ingliando.net/category/palestra/" >Palestra</a>
</li>
<li class="cat-item cat-item-42388457"><a href="http://ingliando.net/category/prepositions-2/" >Prepositions</a>
</li>
<li class="cat-item cat-item-165415"><a href="http://ingliando.net/category/pronouns/" >Pronouns</a>
</li>
<li class="cat-item cat-item-66269"><a href="http://ingliando.net/category/pronunciation/" >Pronunciation</a>
</li>
<li class="cat-item cat-item-339166886"><a href="http://ingliando.net/category/punny-books/" >Punny Books</a>
</li>
<li class="cat-item cat-item-25975172"><a href="http://ingliando.net/category/read-and-listen/" >Read and Listen</a>
</li>
<li class="cat-item cat-item-1473"><a href="http://ingliando.net/category/reading/" >Reading</a>
</li>
<li class="cat-item cat-item-128503824"><a href="http://ingliando.net/category/sentence-construction-2/" >Sentence construction</a>
</li>
<li class="cat-item cat-item-4463"><a href="http://ingliando.net/category/songs/" >Songs</a>
</li>
<li class="cat-item cat-item-871942"><a href="http://ingliando.net/category/true-or-false/" >True or False</a>
</li>
<li class="cat-item cat-item-210075056"><a href="http://ingliando.net/category/twitstop-2/" >Twitstop</a>
</li>
<li class="cat-item cat-item-34829114"><a href="http://ingliando.net/category/useful-idioms/" >Useful Idioms</a>
</li>
<li class="cat-item cat-item-19704"><a href="http://ingliando.net/category/verbs/" >Verbs</a>
</li>
<li class="cat-item cat-item-412"><a href="http://ingliando.net/category/video/" >Video</a>
</li>
<li class="cat-item cat-item-10174"><a href="http://ingliando.net/category/vocabulary/" >Vocabulary</a>
</li>
<li class="cat-item cat-item-22505575"><a href="http://ingliando.net/category/words-in-action/" >Words-in-action</a>
</li>
</ul>
</li><li id="image-15" class="widget widget_image"><h4 class="widgettitle">Chatroom</h4><div style="overflow:hidden;"><div style="width: 196px" class="wp-caption aligncenter"><a href="http://ingliando.net/chat/"><img src="http://ingliando.files.wordpress.com/2015/10/chat.jpg?w=186&h=106" width="186" height="106" /></a><p class="wp-caption-text">Discussion & Feedback</p></div></div>
</li><li id="nav_menu-6" class="widget widget_nav_menu"><h4 class="widgettitle">Palestra</h4><div class="menu-palestra-container"><ul id="menu-palestra" class="menu"><li id="menu-item-7554" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-7554"><a href="http://ingliando.net/palestra-2/daily-translation-elem/">Daily Translation (elementary)</a></li>
<li id="menu-item-6561" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6561"><a href="http://ingliando.net/palestra-2/daily-translation-int/">Daily Translation (intermediate)</a></li>
<li id="menu-item-5803" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5803"><a href="http://ingliando.net/category/dictation/">Dictation</a></li>
<li id="menu-item-5804" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5804"><a href="http://ingliando.net/category/exercises/">Exercises</a></li>
<li id="menu-item-5805" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5805"><a href="http://ingliando.net/category/fill-the-gaps/">Fill the Gaps</a></li>
<li id="menu-item-5806" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5806"><a href="http://ingliando.net/category/master-translator/">Master Translator</a></li>
<li id="menu-item-5807" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5807"><a href="http://ingliando.net/category/multiple-choice-2/">Multiple Choice</a></li>
<li id="menu-item-5808" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-5808"><a href="http://ingliando.net/category/true-or-false/">True or False</a></li>
</ul></div></li><li id="image-6" class="widget widget_image"><h4 class="widgettitle">Test Your Level</h4><div style="overflow:hidden;"><div style="width: 264px" class="wp-caption aligncenter"><a href="http://www.ilh.com/it/test/autovalutazione-test-inglese/"><img src="http://ingliando.files.wordpress.com/2014/10/grammar-test.png?w=254&h=229" alt="image" title="Test Your Level" width="254" height="229" /></a><p class="wp-caption-text">Prova online di 50 domande per individuare il proprio livello in base alle "conoscenza grammaticali"</p></div></div>
</li><li id="nav_menu-5" class="widget widget_nav_menu"><h4 class="widgettitle">Audio Albums</h4><div class="menu-audio-albums-container"><ul id="menu-audio-albums" class="menu"><li id="menu-item-371" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-371"><a title="Una guida fondamentale alla pronuncia inglese – FREE download!" href="http://ingliando.net/audio/pronunciation/">Pronunciation</a></li>
<li id="menu-item-372" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-372"><a title="La pronuncia di tanti vocaboli basilari della lingua inglese – FREE download!" href="http://ingliando.net/audio/vocabulary/">Vocabulary</a></li>
<li id="menu-item-2196" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-2196"><a title="Piccoli dettati di allenamento – FREE download!" href="http://ingliando.net/audio/dictation/">Dictation</a></li>
<li id="menu-item-1549" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1549"><a title="Parole interessanti, a volte insolite, ma di facile utilizzo – FREE download!" href="http://ingliando.net/audio/words/">Words</a></li>
<li id="menu-item-1548" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1548"><a title="Articoli dal giornale “The Guardian” (Onestopenglish.com) – FREE download!" href="http://ingliando.net/audio/guardian/">Guardian</a></li>
<li id="menu-item-1619" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1619"><a title="Articoli vari di ogni genere – FREE download!" href="http://ingliando.net/audio/articles/">Articles</a></li>
<li id="menu-item-373" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-373"><a title="Alcune letture dal libro di Bill Bryson “Notes from a Small Island” – FREE download!" href="http://ingliando.net/audio/bryson/">Bryson</a></li>
<li id="menu-item-1550" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1550"><a title="Poesie e testi di canzoni – FREE download!" href="http://ingliando.net/audio/verses/">Verses</a></li>
<li id="menu-item-4742" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-4742"><a title="Un gioco enigmatico alla ricerca di vocaboli – FREE download!" href="http://ingliando.net/audio/alfs-alphabet/">Alf’s Alphabet</a></li>
<li id="menu-item-8227" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-8227"><a title="Esercitazione di intonazione e di accento – FREE download" href="http://ingliando.net/audio/daily-translation-elementary/">Daily Translation (elem)</a></li>
<li id="menu-item-7720" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-7720"><a title="Esercitazione di intonazione e di accento – FREE download" href="http://ingliando.net/audio/daily-translation-intermediate/">Daily Translation (int)</a></li>
</ul></div></li><li id="image-11" class="widget widget_image"><h4 class="widgettitle">Council of Europe</h4><div style="overflow:hidden;"><div style="width: 180px" class="wp-caption aligncenter"><a href="http://wp.me/P1TuTe-Nv"><img src="http://ingliando.files.wordpress.com/2014/10/coe-186-white5.jpg?w=170&h=118" alt="image" title="Council of Europe" width="170" height="118" /></a><p class="wp-caption-text">Scheda di riconoscimento per individuare il proprio livello in base alle "competenze comunicative"</p></div></div>
</li><li id="wp_tag_cloud-2" class="widget wp_widget_tag_cloud"><h4 class="widgettitle">Tags</h4><div style="overflow:hidden"><a href='http://ingliando.net/tag/about/' class='tag-link-256' title='2 argomenti' style='font-size: 8pt;'>about</a>
<a href='http://ingliando.net/tag/adjectives/' class='tag-link-76389' title='9 argomenti' style='font-size: 12.112994350282pt;'>adjectives</a>
<a href='http://ingliando.net/tag/advanced/' class='tag-link-63898' title='90 argomenti' style='font-size: 19.706214689266pt;'>advanced</a>
<a href='http://ingliando.net/tag/adverbs-2/' class='tag-link-37946267' title='5 argomenti' style='font-size: 10.372881355932pt;'>adverbs</a>
<a href='http://ingliando.net/tag/agree/' class='tag-link-446776' title='2 argomenti' style='font-size: 8pt;'>agree</a>
<a href='http://ingliando.net/tag/already/' class='tag-link-344884' title='2 argomenti' style='font-size: 8pt;'>already</a>
<a href='http://ingliando.net/tag/articolo-determinativo/' class='tag-link-6822055' title='2 argomenti' style='font-size: 8pt;'>articolo determinativo</a>
<a href='http://ingliando.net/tag/at/' class='tag-link-33937' title='2 argomenti' style='font-size: 8pt;'>at</a>
<a href='http://ingliando.net/tag/conditional/' class='tag-link-215590' title='3 argomenti' style='font-size: 8.9491525423729pt;'>conditional</a>
<a href='http://ingliando.net/tag/corsi-di-inglese/' class='tag-link-6830001' title='9 argomenti' style='font-size: 12.112994350282pt;'>corsi di inglese</a>
<a href='http://ingliando.net/tag/corsi-gratuiti-di-inglese/' class='tag-link-335904654' title='8 argomenti' style='font-size: 11.717514124294pt;'>corsi gratuiti di inglese</a>
<a href='http://ingliando.net/tag/dictation-2/' class='tag-link-76402536' title='4 argomenti' style='font-size: 9.7401129943503pt;'>dictation</a>
<a href='http://ingliando.net/tag/do/' class='tag-link-17211' title='3 argomenti' style='font-size: 8.9491525423729pt;'>do</a>
<a href='http://ingliando.net/tag/elementary/' class='tag-link-4022' title='93 argomenti' style='font-size: 19.785310734463pt;'>elementary</a>
<a href='http://ingliando.net/tag/enjoy/' class='tag-link-60634' title='2 argomenti' style='font-size: 8pt;'>enjoy</a>
<a href='http://ingliando.net/tag/ever/' class='tag-link-81243' title='4 argomenti' style='font-size: 9.7401129943503pt;'>ever</a>
<a href='http://ingliando.net/tag/frequency-adverbs/' class='tag-link-20944041' title='4 argomenti' style='font-size: 9.7401129943503pt;'>frequency adverbs</a>
<a href='http://ingliando.net/tag/fun/' class='tag-link-272' title='8 argomenti' style='font-size: 11.717514124294pt;'>fun</a>
<a href='http://ingliando.net/tag/funny/' class='tag-link-684' title='6 argomenti' style='font-size: 10.926553672316pt;'>funny</a>
<a href='http://ingliando.net/tag/future/' class='tag-link-2850' title='3 argomenti' style='font-size: 8.9491525423729pt;'>future</a>
<a href='http://ingliando.net/tag/gerund/' class='tag-link-2302492' title='5 argomenti' style='font-size: 10.372881355932pt;'>gerund</a>
<a href='http://ingliando.net/tag/gerundio/' class='tag-link-1958605' title='3 argomenti' style='font-size: 8.9491525423729pt;'>gerundio</a>
<a href='http://ingliando.net/tag/get/' class='tag-link-289454' title='2 argomenti' style='font-size: 8pt;'>get</a>
<a href='http://ingliando.net/tag/going-to/' class='tag-link-1410215' title='3 argomenti' style='font-size: 8.9491525423729pt;'>going to</a>
<a href='http://ingliando.net/tag/guardian/' class='tag-link-25718' title='3 argomenti' style='font-size: 8.9491525423729pt;'>guardian</a>
<a href='http://ingliando.net/tag/have/' class='tag-link-79232' title='3 argomenti' style='font-size: 8.9491525423729pt;'>have</a>
<a href='http://ingliando.net/tag/home/' class='tag-link-400' title='3 argomenti' style='font-size: 8.9491525423729pt;'>home</a>
<a href='http://ingliando.net/tag/house/' class='tag-link-4795' title='2 argomenti' style='font-size: 8pt;'>house</a>
<a href='http://ingliando.net/tag/humour/' class='tag-link-35' title='4 argomenti' style='font-size: 9.7401129943503pt;'>Humour</a>
<a href='http://ingliando.net/tag/idioms-2/' class='tag-link-36526610' title='5 argomenti' style='font-size: 10.372881355932pt;'>idioms</a>
<a href='http://ingliando.net/tag/if/' class='tag-link-54874' title='3 argomenti' style='font-size: 8.9491525423729pt;'>if</a>
<a href='http://ingliando.net/tag/in/' class='tag-link-14447' title='3 argomenti' style='font-size: 8.9491525423729pt;'>in</a>
<a href='http://ingliando.net/tag/infinitive/' class='tag-link-2326879' title='3 argomenti' style='font-size: 8.9491525423729pt;'>infinitive</a>
<a href='http://ingliando.net/tag/inglese/' class='tag-link-174613' title='6 argomenti' style='font-size: 10.926553672316pt;'>inglese</a>
<a href='http://ingliando.net/tag/inglese-gratis/' class='tag-link-5186181' title='8 argomenti' style='font-size: 11.717514124294pt;'>inglese gratis</a>
<a href='http://ingliando.net/tag/intermediate/' class='tag-link-63897' title='175 argomenti' style='font-size: 22pt;'>intermediate</a>
<a href='http://ingliando.net/tag/interrogative-2/' class='tag-link-198002779' title='6 argomenti' style='font-size: 10.926553672316pt;'>interrogative</a>
<a href='http://ingliando.net/tag/lezioni-di-inglese/' class='tag-link-1539110' title='8 argomenti' style='font-size: 11.717514124294pt;'>lezioni di inglese</a>
<a href='http://ingliando.net/tag/listening-2/' class='tag-link-889601' title='14 argomenti' style='font-size: 13.536723163842pt;'>listening</a>
<a href='http://ingliando.net/tag/many/' class='tag-link-198049' title='4 argomenti' style='font-size: 9.7401129943503pt;'>many</a>
<a href='http://ingliando.net/tag/much/' class='tag-link-363040' title='4 argomenti' style='font-size: 9.7401129943503pt;'>much</a>
<a href='http://ingliando.net/tag/never/' class='tag-link-205181' title='3 argomenti' style='font-size: 8.9491525423729pt;'>never</a>
<a href='http://ingliando.net/tag/nobody/' class='tag-link-709964' title='2 argomenti' style='font-size: 8pt;'>nobody</a>
<a href='http://ingliando.net/tag/object-pronouns/' class='tag-link-1419659' title='2 argomenti' style='font-size: 8pt;'>object pronouns</a>
<a href='http://ingliando.net/tag/onestopenglish/' class='tag-link-26728730' title='3 argomenti' style='font-size: 8.9491525423729pt;'>onestopenglish</a>
<a href='http://ingliando.net/tag/passive/' class='tag-link-235288' title='3 argomenti' style='font-size: 8.9491525423729pt;'>passive</a>
<a href='http://ingliando.net/tag/past-simple/' class='tag-link-1867217' title='3 argomenti' style='font-size: 8.9491525423729pt;'>past simple</a>
<a href='http://ingliando.net/tag/prepositions/' class='tag-link-167671' title='8 argomenti' style='font-size: 11.717514124294pt;'>prepositions</a>
<a href='http://ingliando.net/tag/present-perfect/' class='tag-link-1301738' title='3 argomenti' style='font-size: 8.9491525423729pt;'>present perfect</a>
<a href='http://ingliando.net/tag/pronuncia/' class='tag-link-518853' title='2 argomenti' style='font-size: 8pt;'>pronuncia</a>
<a href='http://ingliando.net/tag/pronunciation-2/' class='tag-link-37910842' title='8 argomenti' style='font-size: 11.717514124294pt;'>pronunciation</a>
<a href='http://ingliando.net/tag/pun/' class='tag-link-95840' title='17 argomenti' style='font-size: 14.169491525424pt;'>pun</a>
<a href='http://ingliando.net/tag/questions/' class='tag-link-562' title='4 argomenti' style='font-size: 9.7401129943503pt;'>questions</a>
<a href='http://ingliando.net/tag/reading-2/' class='tag-link-50164' title='6 argomenti' style='font-size: 10.926553672316pt;'>reading</a>
<a href='http://ingliando.net/tag/reading-practice/' class='tag-link-1145109' title='2 argomenti' style='font-size: 8pt;'>reading practice</a>
<a href='http://ingliando.net/tag/really/' class='tag-link-19346' title='3 argomenti' style='font-size: 8.9491525423729pt;'>really</a>
<a href='http://ingliando.net/tag/sentence-construction/' class='tag-link-3037254' title='7 argomenti' style='font-size: 11.322033898305pt;'>sentence construction</a>
<a href='http://ingliando.net/tag/so/' class='tag-link-108282' title='3 argomenti' style='font-size: 8.9491525423729pt;'>so</a>
<a href='http://ingliando.net/tag/still/' class='tag-link-6109' title='2 argomenti' style='font-size: 8pt;'>still</a>
<a href='http://ingliando.net/tag/subjunctive/' class='tag-link-1580317' title='2 argomenti' style='font-size: 8pt;'>subjunctive</a>
<a href='http://ingliando.net/tag/such/' class='tag-link-831547' title='2 argomenti' style='font-size: 8pt;'>such</a>
<a href='http://ingliando.net/tag/take/' class='tag-link-608934' title='3 argomenti' style='font-size: 8.9491525423729pt;'>take</a>
<a href='http://ingliando.net/tag/the/' class='tag-link-95522' title='2 argomenti' style='font-size: 8pt;'>the</a>
<a href='http://ingliando.net/tag/time/' class='tag-link-5087' title='3 argomenti' style='font-size: 8.9491525423729pt;'>time</a>
<a href='http://ingliando.net/tag/to/' class='tag-link-298244' title='6 argomenti' style='font-size: 10.926553672316pt;'>to</a>
<a href='http://ingliando.net/tag/twitstop/' class='tag-link-201800419' title='8 argomenti' style='font-size: 11.717514124294pt;'>twitstop</a>
<a href='http://ingliando.net/tag/verbs-2/' class='tag-link-37076514' title='16 argomenti' style='font-size: 13.932203389831pt;'>verbs</a>
<a href='http://ingliando.net/tag/very/' class='tag-link-70523' title='3 argomenti' style='font-size: 8.9491525423729pt;'>very</a>
<a href='http://ingliando.net/tag/video-2/' class='tag-link-125540' title='5 argomenti' style='font-size: 10.372881355932pt;'>video</a>
<a href='http://ingliando.net/tag/vocabulary-2/' class='tag-link-20935853' title='10 argomenti' style='font-size: 12.429378531073pt;'>vocabulary</a>
<a href='http://ingliando.net/tag/wait/' class='tag-link-448096' title='4 argomenti' style='font-size: 9.7401129943503pt;'>wait</a>
<a href='http://ingliando.net/tag/want/' class='tag-link-65331' title='2 argomenti' style='font-size: 8pt;'>want</a>
<a href='http://ingliando.net/tag/words-in-action-3/' class='tag-link-199896826' title='6 argomenti' style='font-size: 10.926553672316pt;'>words-in-action</a>
<a href='http://ingliando.net/tag/would-like/' class='tag-link-4682943' title='2 argomenti' style='font-size: 8pt;'>would like</a>
<a href='http://ingliando.net/tag/yet/' class='tag-link-664288' title='2 argomenti' style='font-size: 8pt;'>yet</a></div></li><li id="image-16" class="widget widget_image"><h4 class="widgettitle">Telegram App</h4><div style="overflow:hidden;"><div style="width: 196px" class="wp-caption aligncenter"><a href="https://telegram.me/ingliando_channel"><img src="http://ingliando.files.wordpress.com/2015/10/telegramwidget.png?w=186&h=56" title="Clicca per sapere di più..." width="186" height="56" /></a><p class="wp-caption-text">Rimani sempre aggiornato con Telegram Messenger "Ingliando Channel"</p></div></div>
</li><li id="top-posts-3" class="widget widget_top-posts"><h4 class="widgettitle">What’s hot</h4><ul> <li>
<a href="http://ingliando.net/2015/04/03/past-simple-or-present-perfect-an-introduction/" class="bump-view" data-bump-view="tp">
Past simple or present perfect: an introduction </a>
</li>
<li>
<a href="http://ingliando.net/palestra-2/daily-translation-int/" class="bump-view" data-bump-view="tp">
Daily Translation (intermediate) </a>
</li>
<li>
<a href="http://ingliando.net/pronunciation/la-pronuncia-dell-alfabeto-inglese/" class="bump-view" data-bump-view="tp">
La pronuncia dell'alfabeto inglese </a>
</li>
<li>
<a href="http://ingliando.net/2011/10/01/il-piccolo-get-un-verbo-tuttofare/" class="bump-view" data-bump-view="tp">
Il piccolo "get" ~ un verbo tuttofare </a>
</li>
<li>
<a href="http://ingliando.net/" class="bump-view" data-bump-view="tp">
Home </a>
</li>
<li>
<a href="http://ingliando.net/2014/02/21/english-is-so-difficult-its-such-a-complicated-language/" class="bump-view" data-bump-view="tp">
English is so difficult: it's such a complicated language! </a>
</li>
<li>
<a href="http://ingliando.net/2015/02/27/see-look-watch-a-visual-dilemma/" class="bump-view" data-bump-view="tp">
See, look, watch ~ a visual dilemma </a>
</li>
<li>
<a href="http://ingliando.net/language/uso-dei-tempi-dei-verbi/for-since-da-sin-da-da-quando/" class="bump-view" data-bump-view="tp">
For / Since ~ "da, sin da, da quando" </a>
</li>
<li>
<a href="http://ingliando.net/vocabulary/" class="bump-view" data-bump-view="tp">
Vocabulary </a>
</li>
<li>
<a href="http://ingliando.net/2015/03/26/100-useful-english-verbs/" class="bump-view" data-bump-view="tp">
100 useful English verbs </a>
</li>
</ul></li><li id="image-12" class="widget widget_image"><h4 class="widgettitle">Alf’s Alphabet</h4><div style="overflow:hidden;"><div style="width: 196px" class="wp-caption aligncenter"><a href="http://ingliando.net/language/alfs-alphabet/"><img src="http://ingliando.files.wordpress.com/2014/12/aa-cover-widget.jpg?w=186&h=257" alt="Alf's Alphabet" width="186" height="257" /></a><p class="wp-caption-text">Un gioco enigmatico alla ricerca di vocaboli</p></div></div>
</li><li id="linkcat-9490" class="widget widget_links"><h4 class="widgettitle">Website Guide</h4>
<ul class='xoxo blogroll'>
<li><a href="http://www.abaenglish.com/it" title="Video/audio clips at all levels (free section) – registration required" target="_blank">ABA English</a></li>
<li><a href="http://www.bbc.co.uk/worldservice/learningenglish/" title="Portale della BBC per studenti di inglese" target="_blank">BBC</a></li>
<li><a href="http://www.youtube.com/user/bbclearningenglish" title="Il canale Youtube della BBC" target="_blank">BBC Video</a></li>
<li><a href="http://learnenglish.britishcouncil.org/en/" title="Ottimo sito per approfondire lo studio in modo autonomo" target="_blank">British Council ~ Adulti</a></li>
<li><a href="http://learnenglishkids.britishcouncil.org/en/" title="Ottimo sito per bambini che vogliono conoscere meglio l’inglese" target="_blank">British Council ~ Bambini</a></li>
<li><a href="http://learnenglishteens.britishcouncil.org/" title="Ottimo sito per giovani che vogliono conoscere meglio l’inglese" target="_blank">British Council ~ Teens</a></li>
<li><a href="http://www.cambridgeenglish.org/it/exams-and-qualifications/preliminary/" title="Sito ufficiale dell’Università di Cambridge" target="_blank">Cambridge Exams</a></li>
<li><a href="http://www.conversationexchange.com/index.php?lg=it" title="Scambi linguistici online – gratis!" target="_blank">Conversation Exchange</a></li>
<li><a href="http://oald8.oxfordlearnersdictionaries.com/" title="Definizioni in inglese con pronuncia (UK & USA) e appunti grammaticali" target="_blank">Dictionary ~ monolingual</a></li>
<li><a href="http://www.wordreference.com/enit/" title="Ottimo vocabolario online con diverse combinazioni di lingue e forum" target="_blank">Dictionary ~ multilingual</a></li>
<li><a href="https://elt.oup.com/student/englishfile/?cc=it&selLanguage=it#" title="Esercizi interattivi a tutti i livelli" target="_blank">English File</a></li>
<li><a href="http://www.eslnotes.com" title="Summaries and glossaries of popular films" target="_blank">ESL Notes</a></li>
<li><a href="http://www.esolcourses.com/" title="Esercizi di ogni tipo ad ogni livello" target="_blank">Esol</a></li>
<li><a href="http://www.learnenglish.de/" title="Dettati ai livelli elementare ed intermedio" target="_blank">LEO – Dictation Practice</a></li>
<li><a href="http://ororo.tv/en" title="Free TV-shows and films in direct streaming with subtitles in English " target="_blank">Ororo</a></li>
<li><a href="http://www.teachingenglish.org.uk/article/phonemic-chart" title="Utilissima scheda interattiva per riconoscere i suoni inglesi in base al simbolo fonetico" target="_blank">Phonemic Chart</a></li>
<li><a href="http://www.merriam-webster.com/game/index.htm" title="Mettiti alla prova (e impara)!" target="_blank">Quizzes & Games</a></li>
<li><a href="http://www.ilh.com/it/test/autovalutazione-test-inglese/" title="Veloce test online per accertare in modo orientativo il proprio livello di conoscenza della lingua inglese" target="_blank">Test your level</a></li>
<li><a href="http://www.thelocal.it/" title="Italy’s news in English" target="_blank">The Local</a></li>
<li><a href="https://www.vocabulary.com" title="Free online vocabulary test ~ build your knowledge daily!" target="_blank">Vocabulary Quiz</a></li>
</ul>
</li>
<li id="facebook-likebox-4" class="widget widget_facebook_likebox"><h4 class="widgettitle"><a href="https://www.facebook.com/ingliando">Facebook</a></h4> <div id="fb-root"></div>
<div class="fb-page" data-href="https://www.facebook.com/ingliando" data-width="192" data-height="450" data-hide-cover="false" data-show-facepile="true" data-show-posts="false">
<div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/ingliando"><a href="https://www.facebook.com/ingliando">Facebook</a></blockquote></div>
</div>
<script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = '//connect.facebook.net/it_IT/sdk.js#xfbml=1&appId=249643311490&version=v2.3'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
</li><li id="linkcat-295623274" class="widget widget_links"><h4 class="widgettitle">Video Guide</h4>
<ul class='xoxo blogroll'>
<li><a href="https://www.youtube.com/user/MinooAngloLink" target="_blank">Anglo-Link</a></li>
<li><a href="https://www.youtube.com/user/bbclearningenglish" target="_blank">BBC Learning English</a></li>
<li><a href="https://www.youtube.com/channel/UCSHhm94gQifhWmO5LhQk2XQ" target="_blank">Crown Academy of English</a></li>
<li><a href="https://www.youtube.com/channel/UCVFsY1OSfFVSEGvP4V3R9sQ" target="_blank">English Fluency</a></li>
<li><a href="https://www.youtube.com/user/Eidioms" target="_blank">English Idioms</a></li>
<li><a href="https://www.youtube.com/user/BritishCouncilLE" target="_blank">Learn English (Brit. Council)</a></li>
<li><a href="https://www.youtube.com/channel/UC10pJ5AQ7e7nadBOtINDX6Q" target="_blank">Learn English Conversation</a></li>
<li><a href="https://www.youtube.com/channel/UCsIwBfFIeaT6sj9irRD151A" title="Audiovisual stories for learning English" target="_blank">Learn English through story</a></li>
<li><a href="https://www.youtube.com/user/LinkEngPark" target="_blank">LinkEngPark BBC</a></li>
<li><a href="https://www.youtube.com/channel/UC8pPDhxSn1nee70LRKJ0p3g" target="_blank">Misterduncan</a></li>
</ul>
</li>
<li id="twitter_timeline-2" class="widget widget_twitter_timeline"><h4 class="widgettitle">Twitter News</h4><a class="twitter-timeline" data-widget-id="396412565602844672" data-theme="dark" data-link-color="#ffcc66" data-border-color="#ffcc66" data-tweet-limit="3" width="186" height="580" lang="IT">I miei Cinguettii</a></li><li id="rss-2" class="widget widget_rss"><h4 class="widgettitle"><a class="rsswidget" href="http://feeds.feedburner.com/thelocal/czVm" title="Abbonati a questo contenuto"><img style="background: orange; color: white; border: none;" width="14" height="14" src="http://s.wordpress.com/wp-includes/images/rss.png?m=1354137473g" alt="RSS" /></a> <a class="rsswidget" href="http://www.thelocal.it/" title="Italy's news in English">Italy in English</a></h4><ul><li><a class='rsswidget' href='http://www.thelocal.it/20160201/italy-lost-four-billion-euros-to-corruption-in-just-10-months-last-year' title=''>Italy's public sector corruption reaches all-time high</a> <span class="rss-date">febbraio 1, 2016</span><div class='rssSummary'>The sky-high figure, confirmed by Italy's financial police, is a record for a ten month period and shows that in spite of public promises to crack down on corruption, the problem remains rife. </div></li><li><a class='rsswidget' href='http://www.thelocal.it/20160201/ten-things-to-do-in-italy-in-february' title=''>Ten things to do in Italy in February</a> <span class="rss-date">febbraio 1, 2016</span><div class='rssSummary'>Just because it’s the shortest month, it doesn’t mean February isn’t packed with events for the adventurous traveller — especially with carnival season in full swing.</div></li><li><a class='rsswidget' href='http://www.thelocal.it/20160201/flight-of-the-angel-kicks-off-venice-carnival' title=''>'Flight of the angel' kicks off Venice Carnival</a> <span class="rss-date">febbraio 1, 2016</span><div class='rssSummary'>Tens of thousands of revellers, many dressed in masks and period costume, packed into St Mark's Square for the "flight of the angel" on Sunday which marks the traditional opening of the Carnival of Venice.</div></li></ul></li><li id="image-5" class="widget widget_image"><h4 class="widgettitle">Catania University</h4><div style="overflow:hidden;"><div style="width: 170px" class="wp-caption aligncenter"><a href="http://www.fscpo.unict.it"><img src="http://ingliando.files.wordpress.com/2013/11/dsps.png?w=160&h=160" alt="Logo" title="Dipartimento di Scienze Politiche e Sociali dell'Università di Catania" width="160" height="160" /></a><p class="wp-caption-text">Dipartimento di Scienze Politiche e Sociali dell'Università di Catania</p></div></div>
</li><li id="image-13" class="widget widget_image"><h4 class="widgettitle">Catania Students</h4><div style="overflow:hidden;"><div style="width: 196px" class="wp-caption aligncenter"><a href="http://catania.liveuniversity.it/"><img src="http://ingliando.files.wordpress.com/2015/02/liveunict.jpg?w=186&h=39" alt="LiveUniCT" width="186" height="39" /></a><p class="wp-caption-text">What's happened recently. What's happening now. What's happening next.</p></div></div>
</li><li id="text-13" class="widget widget_text"><h4 class="widgettitle">Biography</h4> <div class="textwidget"><p style="text-align:center;">
<img src="https://ingliando.files.wordpress.com/2015/09/wp186-2.png" alt="" width="160" height="160" title="Facebook" /></p>
<p style="text-align:justify;">• Born and raised in Kuala Lumpur, Malaysia. </br>• Educated at Wycliffe College in Gloucestershire, England.</br>• Living in the foothills of Mount Etna since 1982.</br>• Teaching English at Catania University since 1987.</br>• Helping Italian students of English at Ingliando since 2011.</p>
<p> </p>
<p style="text-align:center;"><a href="https://www.facebook.com/apblawson/"><img class="alignnone" style="border:0 solid #000000;" title="Facebook" src="https://ingliando.files.wordpress.com/2015/04/facebook.png" alt="" width="54" height="56" /></a> <a href="https://www.google.com/+TonyLawson/"><img class="alignnone" style="border:0 solid #000000;" title="Facebook" src="https://ingliando.files.wordpress.com/2015/04/google.png" alt="" width="54" height="56" /></a> <a href="https://www.linkedin.com/in/apblawson/"><img class="alignnone" style="border:0 solid #000000;" title="Linked In" src="https://ingliando.files.wordpress.com/2015/04/linkedin.png" alt="" width="54" height="56" /></a></p>
</div>
</li><li id="image-14" class="widget widget_image"><h4 class="widgettitle">Guestbook</h4><div style="overflow:hidden;"><div style="width: 196px" class="wp-caption aligncenter"><a href="http://ingliando.net/home-2/guestbook/"><img src="http://ingliando.files.wordpress.com/2015/05/guestbookxs.jpg?w=186&h=131" width="186" height="131" /></a><p class="wp-caption-text">Sono sempre graditi i vostri commenti e suggerimenti</p></div></div>
</li><li id="text-10" class="widget widget_text"><h4 class="widgettitle">Fair Share</h4> <div class="textwidget"><p style="text-align:justify;">Il contenuto di questo sito può essere condiviso liberamente seguendo tre semplici regole: indicare l’autore originale e/o il sito di provenienza, con un link dove possibile; non utilizzare il contenuto per scopi di lucro; non modificare l’opera originale.</p>
<p> </p>
<p style="text-align:center;"><a href="http://ingliando.net/home-2/creative-commons/"><img class="aligncenter" style="margin-top:0;margin-bottom:0;border:0;" title="Il contenuto di questo sito è soggetto ad una licenza Creative Commons e può essere condiviso liberamente seguendo tre semplici regole: indicare l’autore originale e/o il sito di provenienza, con un link dove possibile; non utilizzare il contenuto per scopi di lucro; non pubblicare nuove versioni derivate dall’opera originale." src="https://ingliando.files.wordpress.com/2015/04/cc-apbl.png" alt="Creative Commons ~ some rights reserved" width="88" height="44" /></a></p></div>
</li><li id="blog-stats-2" class="widget widget_blog-stats"><h4 class="widgettitle">Blog Stats</h4> <ul>
<li>205,557 visits</li>
</ul>
</li><li id="text-11" class="widget widget_text"><h4 class="widgettitle">Thanks for visiting</h4> <div class="textwidget"><p> </p>
<img class="aligncenter" style="margin-top:0;margin-bottom:0;border:0;" src="https://ingliando.files.wordpress.com/2015/02/10.png" alt="Thanks for visiting" /> </p>
<a href="http://ingliando.net/home-2/creative-commons/"><img class="aligncenter" style="margin-top:0;margin-bottom:0;border:0;" title="Il contenuto di questo sito è soggetto ad una licenza Creative Commons e può essere condiviso liberamente seguendo tre semplici regole: indicare l’autore originale e/o il sito di provenienza, con un link dove possibile; non utilizzare il contenuto per scopi di lucro; non pubblicare nuove versioni derivate dall’opera originale." src="https://ingliando.files.wordpress.com/2015/02/ingliandotag.png" alt="Creative Commons ~ some rights reserved" width="160" height="32" /></a></div>
</li> </ul>
</div><!-- END Sidebar -->
<div class="cl"> </div> </div><!-- #main-bot -->
</div><!-- #main-top -->
</div><!-- #main -->
<div id="footer">
<p><a href="https://it.wordpress.com/?ref=footer_blog">Blog su WordPress.com.</a>
<a href="https://wordpress.com/themes/choco/" title="Scopri di più sul tema">Il tema Choco</a>.</p>
<p class="rss"><a href="http://ingliando.net/feed/rss/">Articoli (RSS)</a> e <a href="http://ingliando.net/comments/feed/">Commenti (RSS)</a></p>
</div><!-- #footer -->
</div><!-- #page -->
<!-- wpcom_wp_footer -->
<script type="text/javascript">
!function(d,s,id){
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;js.src=p+"://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js,fjs);
}
}(document,"script","twitter-wjs");
</script>
<script type='text/javascript' src='//0.gravatar.com/js/gprofiles.js?ver=201605y'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var WPGroHo = {"my_hash":""};
/* ]]> */
</script>
<script type='text/javascript' src='https://s2.wp.com/wp-content/mu-plugins/gravatar-hovercards/wpgroho.js?m=1380573781g'></script>
<script>
//initialize and attach hovercards to all gravatars
jQuery( document ).ready( function( $ ) {
if (typeof Gravatar === "undefined"){
return;
}
if ( typeof Gravatar.init !== "function" ) {
return;
}
Gravatar.profile_cb = function( hash, id ) {
WPGroHo.syncProfileData( hash, id );
};
Gravatar.my_hash = WPGroHo.my_hash;
Gravatar.init( 'body', '#wp-admin-bar-my-account' );
});
</script>
<div style="display:none">
</div>
<div id="bit" class="loggedout-follow-normal">
<a class="bsub" href="javascript:void(0)"><span id='bsub-text'>Iscriviti</span></a>
<div id="bitsubscribe">
<h3><label for="loggedout-follow-field">Segui “Ingliando”</label></h3>
<form action="https://subscribe.wordpress.com" method="post" accept-charset="utf-8" id="loggedout-follow">
<p>Ricevi al tuo indirizzo email tutti i nuovi post del sito.</p>
<p id="loggedout-follow-error" style="display: none;"></p>
<p class="bit-follow-count">Segui assieme ad altri 1.360 follower</p>
<p><input type="email" name="email" placeholder="Inserisci il tuo indirizzo e-mail" id="loggedout-follow-field"/></p>
<input type="hidden" name="action" value="subscribe"/>
<input type="hidden" name="blog_id" value="28003120"/>
<input type="hidden" name="source" value="http://ingliando.net/home-2/contact-2/"/>
<input type="hidden" name="sub-type" value="loggedout-follow"/>
<input type="hidden" id="_wpnonce" name="_wpnonce" value="771bc1be0b" /><input type="hidden" name="_wp_http_referer" value="/home-2/contact-2/" />
<p id='bsub-subscribe-button'><input type="submit" value="Registrami" /></p>
</form>
<div id='bsub-credit'><a href="https://it.wordpress.com/?ref=lof">Crea un sito Web con WordPress.com</a></div>
</div><!-- #bitsubscribe -->
</div><!-- #bit -->
<script type="text/javascript">
window.WPCOM_sharing_counts = {"http:\/\/ingliando.net\/home-2\/contact-2\/":1696};
</script>
<script type="text/javascript">
var windowOpen;
jQuery(document).on( 'ready post-load', function(){
jQuery( 'a.share-facebook' ).on( 'click', function() {
if ( 'undefined' !== typeof windowOpen ){ // If there's another sharing window open, close it.
windowOpen.close();
}
windowOpen = window.open( jQuery(this).attr( 'href' ), 'wpcomfacebook', 'menubar=1,resizable=1,width=600,height=400' );
return false;
});
});
</script>
<div id="fb-root"></div>
<script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = '//connect.facebook.net/it_IT/sdk.js#xfbml=1&appId=249643311490&version=v2.3'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
<script>
jQuery( document.body ).on( 'post-load', function() {
if ( 'undefined' !== typeof FB ) {
FB.XFBML.parse();
}
} );
</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<script type="text/javascript">
jQuery( document ).ready( function() {
jQuery.getScript( '//platform.linkedin.com/in.js?async=true', function success() {
IN.init();
});
});
jQuery( document.body ).on( 'post-load', function() {
if ( typeof IN != 'undefined' )
IN.parse();
});
</script> <script>
function renderGooglePlus1() {
if ( 'undefined' === typeof gapi ) {
return;
}
jQuery( '.g-plus' ).each(function() {
var $button = jQuery( this );
if ( ! $button.data( 'gplus-rendered' ) ) {
gapi.plusone.render( this, {
href: $button.attr( 'data-href' ),
size: $button.attr( 'data-size' ),
annotation: $button.attr( 'data-annotation' )
});
$button.data( 'gplus-rendered', true );
}
});
}
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
po.innerHTML = '{"parsetags": "explicit"}';
po.onload = renderGooglePlus1;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
jQuery( document.body ).on( 'post-load', renderGooglePlus1 );
</script>
<div id="sharing_email" style="display: none;">
<form action="/home-2/contact-2/" method="post">
<label for="target_email">Invia a indirizzo e-mail</label>
<input type="email" name="target_email" id="target_email" value="" />
<label for="source_name">Il tuo nome</label>
<input type="text" name="source_name" id="source_name" value="" />
<label for="source_email">Il tuo indirizzo e-mail</label>
<input type="email" name="source_email" id="source_email" value="" />
<input type="text" id="jetpack-source_f_name" name="source_f_name" class="input" value="" size="25" autocomplete="off" />
<script> document.getElementById('jetpack-source_f_name').value = ''; </script>
<div class="recaptcha" id="sharing_recaptcha"></div><input type="hidden" name="recaptcha_public_key" id="recaptcha_public_key" value="6LcYW8MSAAAAADBAuEH9yaPcF7lWh11Iq62ZKtoo" />
<img style="float: right; display: none" class="loading" src="http://s2.wp.com/wp-content/mu-plugins/post-flair/sharing/images/loading.gif?m=1315610318g" alt="loading" width="16" height="16" />
<input type="submit" value="Invia e-mail" class="sharing_send" />
<a rel="nofollow" href="#cancel" class="sharing_cancel">Annulla</a>
<div class="errors errors-1" style="display: none;">
L'articolo non è stato pubblicato, controlla gli indirizzi e-mail! </div>
<div class="errors errors-2" style="display: none;">
Verifica dell'e-mail non riuscita. Riprova. </div>
<div class="errors errors-3" style="display: none;">
Ci dispiace, il tuo blog non consente di condividere articoli tramite e-mail. </div>
</form>
</div>
<link rel='stylesheet' id='all-css-0' href='https://s1.wp.com/_static/??/wp-content/mu-plugins/grunion-contact-form/css/grunion.css,/wp-content/mu-plugins/widgets/facebook-likebox/style.css?m=1443822690j' type='text/css' media='all' />
<script type='text/javascript'>
/* <![CDATA[ */
var JetpackEmojiSettings = {"base_url":"http:\/\/s0.wp.com\/wp-content\/mu-plugins\/emoji\/twemoji\/"};
/* ]]> */
</script>
<script type='text/javascript'>
/* <![CDATA[ */
var sharing_js_options = {"lang":"en","counts":"1"};
/* ]]> */
</script>
<script type='text/javascript' src='https://s0.wp.com/_static/??-eJzTLy/QTc7PK0nNK9HPKtZPSS3LTE4tqNDLKtbRR5LKLdUtyClNz8wr1k/Nzc/K1C8pR6EJqs9KLSlITM7WJU41IVUF+cUlumk5iZlF+sUZiUWZeekwGqjJPtfW0MTUyNzQwsTAMgsAbs5TLQ=='></script>
<script type="text/javascript">
// <![CDATA[
(function() {
try{
if ( window.external &&'msIsSiteMode' in window.external) {
if (window.external.msIsSiteMode()) {
var jl = document.createElement('script');
jl.type='text/javascript';
jl.async=true;
jl.src='/wp-content/plugins/ie-sitemode/custom-jumplist.php';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(jl, s);
}
}
}catch(e){}
})();
// ]]>
</script><script src="//stats.wp.com/w.js?51" type="text/javascript" async defer></script>
<script type="text/javascript">
_tkq = window._tkq || [];
_stq = window._stq || [];
_tkq.push(['storeContext', {'blog_id':'28003120','blog_tz':'1','user_lang':'it','blog_lang':'it','user_id':'0'}]);
_stq.push(['view', {'blog':'28003120','v':'wpcom','tz':'1','user_id':'0','post':'1696','subd':'ingliando'}]);
_stq.push(['extra', {'crypt':'UE40eW5QN0p8M2Y/RE1LVmwrVi5vQS5fVFtfdHBbPyw1VXIrU3hWLHhmcmw0bWUwNiVnR3N1V2dDZTM4MGFxVndRQl1HNkJtOEQ0dVBbbk9jP2g4T29lWFFNc3J8RHomfHJ5b3NMN3xUTGUtZ1BFUGJJUlJiQS0lWlM9fkNkM0JUWm0mR1YzV3YwOE5FbDV8Z2Eyd0IvbCs9fmlzanc4eVIzLk5RNC9Tdm1PLjBkPVU0bTE2ekZZcy1ERWE/SFhPQm5Ydl8tMzhBOE0zLC9wPWlxen5xLk9zNHN0Wms0eEdncUNmdSZrQ2tXaHhvTUVScWlzb0FWanx3YVErcF9CX1NbbWd4dXYtT0haRkhic25CejRMRGxIOVR6RDZZQiYtUFs4MWVsc3RHdH5CWDdFOUNBOXBHMlU3Sks1SUN0Q3N2akVRVEEyej1GLTYzdERjS2ZvYTg='}]);
_stq.push([ 'clickTrackerInit', '28003120', '1696' ]);
</script>
<noscript><img src="http://pixel.wp.com/b.gif?v=noscript" style="height:0px;width:0px;overflow:hidden" alt="" /></noscript>
<script>
if ( 'object' === typeof wpcom_mobile_user_agent_info ) {
wpcom_mobile_user_agent_info.init();
var mobileStatsQueryString = "";
if( false !== wpcom_mobile_user_agent_info.matchedPlatformName )
mobileStatsQueryString += "&x_" + 'mobile_platforms' + '=' + wpcom_mobile_user_agent_info.matchedPlatformName;
if( false !== wpcom_mobile_user_agent_info.matchedUserAgentName )
mobileStatsQueryString += "&x_" + 'mobile_devices' + '=' + wpcom_mobile_user_agent_info.matchedUserAgentName;
if( wpcom_mobile_user_agent_info.isIPad() )
mobileStatsQueryString += "&x_" + 'ipad_views' + '=' + 'views';
if( "" != mobileStatsQueryString ) {
new Image().src = document.location.protocol + '//pixel.wp.com/g.gif?v=wpcom-no-pv' + mobileStatsQueryString + '&baba=' + Math.random();
}
}
</script> </body>
</html> | 88.34125 | 2,706 | 0.712648 |
c46cf09864fd0ba33f0dfac6b5437623e3ad4359 | 169 | lua | Lua | init.lua | HimbeerserverDE/multiserver_api | 9cbfe42ab47ca52e14b186503391cd385b793964 | [
"MIT"
] | 3 | 2021-01-24T18:47:57.000Z | 2021-05-05T13:19:22.000Z | init.lua | HimbeerserverDE/multiserver_api | 9cbfe42ab47ca52e14b186503391cd385b793964 | [
"MIT"
] | 1 | 2021-02-19T15:35:39.000Z | 2021-02-19T19:29:44.000Z | init.lua | HimbeerserverDE/multiserver_api | 9cbfe42ab47ca52e14b186503391cd385b793964 | [
"MIT"
] | 1 | 2021-02-19T15:36:38.000Z | 2021-02-19T15:36:38.000Z | multiserver = {}
local mp = minetest.get_modpath(minetest.get_current_modname())
dofile(mp .. "/typeconv.lua")
dofile(mp .. "/rpc.lua")
dofile(mp .. "/functions.lua")
| 21.125 | 63 | 0.692308 |
9cde7d3e514c21e5a808ae3948826b4d014e5083 | 208 | sql | SQL | Capgemini/weak_cusror.sql | tushargoyal02/CapgeminiSQL | 64d675f3d8186e2f194b006a8416104011aea652 | [
"Apache-2.0"
] | 1 | 2021-05-17T13:24:46.000Z | 2021-05-17T13:24:46.000Z | Capgemini/weak_cusror.sql | tushargoyal02/CapgeminiSQL | 64d675f3d8186e2f194b006a8416104011aea652 | [
"Apache-2.0"
] | null | null | null | Capgemini/weak_cusror.sql | tushargoyal02/CapgeminiSQL | 64d675f3d8186e2f194b006a8416104011aea652 | [
"Apache-2.0"
] | null | null | null | PL/SQL procedure successfully completed.
Steven
Steven
PL/SQL procedure successfully completed.
Mutiple Steven
Steven
PL/SQL procedure successfully completed.
Mutiple Out: Steven
Steven
| 13 | 41 | 0.759615 |
0cec2629fe533e5bb5c0db5b72087fd8a6d713cd | 145 | sql | SQL | sql-hackerrank-solutions/aggregation/weather_observation-_20.sql | karthickram286/leetcode-solutions | 62fa592d388735deb298a57fdde4d484c5109414 | [
"MIT"
] | null | null | null | sql-hackerrank-solutions/aggregation/weather_observation-_20.sql | karthickram286/leetcode-solutions | 62fa592d388735deb298a57fdde4d484c5109414 | [
"MIT"
] | null | null | null | sql-hackerrank-solutions/aggregation/weather_observation-_20.sql | karthickram286/leetcode-solutions | 62fa592d388735deb298a57fdde4d484c5109414 | [
"MIT"
] | null | null | null | /*
Enter your query here.
*/
-- select COUNT(*) from STATION order by id;
SELECT ROUND(LAT_N, 4)
FROM STATION
ORDER BY LAT_N
limit 1 offset 249;
| 16.111111 | 44 | 0.717241 |
be58679d93115d039e41cced870e8c8a938cf3e2 | 2,092 | sql | SQL | sql/_07_misc/_02_prameter_bind/cases/select_clause2.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_07_misc/_02_prameter_bind/cases/select_clause2.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_07_misc/_02_prameter_bind/cases/select_clause2.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | --bind parameter in select clause (complex)
create class xoo ( a int);
insert into xoo values(1);
$int, $100, $int , $1
select ?||1 from xoo where ? = a;
$int, $100, $int , $1
select ? + 1 from xoo where ? = a;
$int, $100, $int , $200, $int , $1
select (?) || (?) from xoo where ? = a;
$int, $100, $int ,$1
select count (*) from (select ? + sysdate from xoo where ? = a) as t;
$int ,$1
select count (*) from (select 100 + sysdate from xoo where ? = a) as t;
$char, $100, $char , $1
select ?||1 from xoo where ? = a;
$char, $100, $char , $1
select ? + 1 from xoo where ? = a;
$char, $100, $char , $200, $char , $1
select (?) || (?) from xoo where ? = a;
$char, $100, $char , $1
select to_number(?) from xoo where ? = a;
$char, $100, $char , $1
select to_char(?) from xoo where ? = a;
$double, $100, $double , $1
select to_char(?) from xoo where ? = a;
$double, $100, $double , $1
select cast(? as string) from xoo where ? = a;
$double, $100, $double , $1
select cast(? as int) from xoo where ? = a;
$double, $100, $double , $1
select cast(? as double) from xoo where ? = a;
$int, $1, $int , $100, $int, $1
select decode(a,?,?,120) from xoo where ? = a;
$int, $1, $char , $100, $int, $1
select decode(a,?,?,120) from xoo where ? = a;
$varchar, $1, $char , $100, $int, $1
select decode(a,?,?,120) from xoo where ? = a;
$varchar, $1, $char , $100, $int, $0, $int, $1
select case when a = ? then ? else ? end from xoo where ? = a;
$varchar, $1, $int , $100, $int, $1
select (select ? from db_root) * ? * a from xoo where ?=a;
$int, $1, $int , $100, $int, $1
select (select ? from db_root) * ? * a from xoo where ?=a;
$int, $200, $int , $100, $int, $1
select (select ? from db_root) + (select ? from xoo where a = 1) from xoo
where ?=a;
$int, $200, $char , $100, $int, $1
select (select ? from db_root) + (select ? from xoo where a = 1) from xoo
where ?=a;
$int, $200, $char , $100, $int, $1
select (select ? from db_root) + (select date'2010-01-01' + ? from xoo where a = 1) from xoo
where ?=a;
$numeric, $100, $int , $200, $int , $1
select ? + ? from xoo where ? = a;
drop xoo;
| 33.206349 | 94 | 0.578872 |
91fffcc672236164a0e9f5f8377d138db3643d8b | 577,925 | sql | SQL | iris_blog.sql | songjiangfeng/iris-blog | 189d03570c26e6836a7cc9f8ba46a97fdae259c3 | [
"BSD-3-Clause"
] | null | null | null | iris_blog.sql | songjiangfeng/iris-blog | 189d03570c26e6836a7cc9f8ba46a97fdae259c3 | [
"BSD-3-Clause"
] | null | null | null | iris_blog.sql | songjiangfeng/iris-blog | 189d03570c26e6836a7cc9f8ba46a97fdae259c3 | [
"BSD-3-Clause"
] | null | null | null | -- MySQL dump 10.18 Distrib 10.3.27-MariaDB, for Linux (x86_64)
--
-- Host: localhost Database: iris_blog
-- ------------------------------------------------------
-- Server version 10.3.27-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `goadmin_menu`
--
DROP TABLE IF EXISTS `goadmin_menu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_menu` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(11) unsigned NOT NULL DEFAULT 0,
`type` tinyint(4) unsigned NOT NULL DEFAULT 0,
`order` int(11) unsigned NOT NULL DEFAULT 0,
`title` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`icon` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`uri` varchar(3000) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`header` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`plugin_name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`uuid` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_menu`
--
LOCK TABLES `goadmin_menu` WRITE;
/*!40000 ALTER TABLE `goadmin_menu` DISABLE KEYS */;
INSERT INTO `goadmin_menu` VALUES (1,0,1,2,'权限管理','fa-tasks','','','',NULL,'2019-09-09 16:00:00','2021-09-15 12:06:11'),(2,1,1,2,'Users','fa-users','/info/manager',NULL,'',NULL,'2019-09-09 16:00:00','2019-09-09 16:00:00'),(3,1,1,3,'Roles','fa-user','/info/roles',NULL,'',NULL,'2019-09-09 16:00:00','2019-09-09 16:00:00'),(4,1,1,4,'Permission','fa-ban','/info/permission',NULL,'',NULL,'2019-09-09 16:00:00','2019-09-09 16:00:00'),(5,1,1,5,'Menu','fa-bars','/menu',NULL,'',NULL,'2019-09-09 16:00:00','2019-09-09 16:00:00'),(6,1,1,6,'Operation log','fa-history','/info/op',NULL,'',NULL,'2019-09-09 16:00:00','2019-09-09 16:00:00'),(7,0,1,1,'Dashboard','fa-bar-chart','/application/info','','',NULL,'2019-09-09 16:00:00','2021-09-13 11:37:03'),(8,0,0,9,'文章管理','fa-tasks','','','',NULL,'2021-09-12 13:53:57','2021-09-15 12:05:11'),(9,8,0,10,'发布','fa-edit','/info/posts/new?__page=1&__pageSize=10&__sort=id&__sort_type=desc','','',NULL,'2021-09-12 13:55:53','2021-09-12 14:15:18'),(10,8,0,9,'列表','fa-list-ul','/info/posts','','',NULL,'2021-09-12 13:59:56','2021-09-12 14:15:50'),(11,0,0,11,'标签管理','fa-tasks','','','',NULL,'2021-09-15 11:52:23','2021-09-15 12:05:17'),(12,11,0,12,'添加','fa-edit','/info/tags/new?__page=1&__pageSize=10&__sort=id&__sort_type=desc','','',NULL,'2021-09-15 11:55:16','2021-09-15 11:55:39'),(13,11,0,11,'列表','fa-list-ul','/info/tags','','',NULL,'2021-09-15 11:56:47','2021-09-15 12:04:33'),(14,0,0,7,'页面管理','fa-tasks','/info/pages','','',NULL,'2021-09-15 11:59:53','2021-09-15 12:05:05'),(15,14,0,8,'创建','fa-edit','/info/pages/new?__page=1&__pageSize=10&__sort=id&__sort_type=desc','','',NULL,'2021-09-15 12:00:57','2021-09-15 12:03:59'),(16,14,0,7,'列表','fa-list-ul','/info/pages','','',NULL,'2021-09-15 12:02:09','2021-09-15 12:04:38'),(17,0,0,13,'网站导航','fa-tasks','','','',NULL,'2021-09-15 12:23:51','2021-09-15 12:25:36'),(18,17,0,13,'列表','fa-list-ul','/info/menus','','',NULL,'2021-09-15 12:24:40','2021-09-15 12:25:16'),(19,17,0,18,'创建','fa-edit','/info/menus/new?__page=1&__pageSize=10&__sort=id&__sort_type=desc','','',NULL,'2021-09-15 12:26:19','2021-09-15 12:26:19'),(20,0,0,18,'文件管理','fa-file','/fm/def/list','','',NULL,'2021-09-18 11:46:23','2021-09-18 11:46:48');
/*!40000 ALTER TABLE `goadmin_menu` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `goadmin_operation_log`
--
DROP TABLE IF EXISTS `goadmin_operation_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_operation_log` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) unsigned NOT NULL,
`path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`method` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
`ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL,
`input` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`),
KEY `admin_operation_log_user_id_index` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1576 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_operation_log`
--
LOCK TABLES `goadmin_operation_log` WRITE;
/*!40000 ALTER TABLE `goadmin_operation_log` DISABLE KEYS */;
INSERT INTO `goadmin_operation_log` VALUES (1,1,'/admin','GET','::1','','2021-09-11 10:11:44','2021-09-11 10:11:44'),(2,1,'/admin','GET','::1','','2021-09-11 10:11:46','2021-09-11 10:11:46'),(3,1,'/admin/info/manager','GET','::1','','2021-09-11 10:11:47','2021-09-11 10:11:47'),(4,1,'/admin/info/roles','GET','::1','','2021-09-11 10:11:48','2021-09-11 10:11:48'),(5,1,'/admin/info/permission','GET','::1','','2021-09-11 10:11:48','2021-09-11 10:11:48'),(6,1,'/admin/menu','GET','::1','','2021-09-11 10:11:49','2021-09-11 10:11:49'),(7,1,'/admin/info/op','GET','::1','','2021-09-11 10:11:49','2021-09-11 10:11:49'),(8,1,'/admin/info/roles','GET','::1','','2021-09-11 10:11:50','2021-09-11 10:11:50'),(9,1,'/admin','GET','::1','','2021-09-11 10:11:51','2021-09-11 10:11:51'),(10,1,'/admin','GET','::1','','2021-09-11 10:14:23','2021-09-11 10:14:23'),(11,1,'/admin','GET','::1','','2021-09-11 10:28:43','2021-09-11 10:28:43'),(12,1,'/admin/info/manager','GET','::1','','2021-09-11 10:28:45','2021-09-11 10:28:45'),(13,1,'/admin/info/roles','GET','::1','','2021-09-11 10:28:46','2021-09-11 10:28:46'),(14,1,'/admin','GET','::1','','2021-09-11 10:28:48','2021-09-11 10:28:48'),(15,1,'/admin/info/users','GET','::1','','2021-09-11 10:32:28','2021-09-11 10:32:28'),(16,1,'/admin/info/users','GET','::1','','2021-09-11 10:32:28','2021-09-11 10:32:28'),(17,1,'/admin/info/permission','GET','::1','','2021-09-11 10:32:30','2021-09-11 10:32:30'),(18,1,'/admin/info/roles','GET','::1','','2021-09-11 10:32:31','2021-09-11 10:32:31'),(19,1,'/admin/info/manager','GET','::1','','2021-09-11 10:32:32','2021-09-11 10:32:32'),(20,1,'/admin','GET','::1','','2021-09-11 10:32:32','2021-09-11 10:32:32'),(21,1,'/admin','GET','::1','','2021-09-11 10:32:33','2021-09-11 10:32:33'),(22,1,'/admin/info/roles','GET','::1','','2021-09-11 10:32:34','2021-09-11 10:32:34'),(23,1,'/admin/info/roles','GET','::1','','2021-09-11 10:32:35','2021-09-11 10:32:35'),(24,1,'/admin/info/permission','GET','::1','','2021-09-11 10:32:35','2021-09-11 10:32:35'),(25,1,'/admin/menu','GET','::1','','2021-09-11 10:32:36','2021-09-11 10:32:36'),(26,1,'/admin/info/op','GET','::1','','2021-09-11 10:32:37','2021-09-11 10:32:37'),(27,1,'/admin/info/manager','GET','::1','','2021-09-11 10:32:37','2021-09-11 10:32:37'),(28,1,'/admin','GET','::1','','2021-09-11 10:32:38','2021-09-11 10:32:38'),(29,1,'/admin/info/permission','GET','::1','','2021-09-11 10:32:39','2021-09-11 10:32:39'),(30,1,'/admin','GET','::1','','2021-09-11 10:32:40','2021-09-11 10:32:40'),(31,1,'/admin/info/op','GET','::1','','2021-09-11 10:32:41','2021-09-11 10:32:41'),(32,1,'/admin/info/permission','GET','::1','','2021-09-11 10:32:44','2021-09-11 10:32:44'),(33,1,'/admin/info/permission','GET','::1','','2021-09-11 10:34:45','2021-09-11 10:34:45'),(34,1,'/admin','GET','::1','','2021-09-11 10:34:46','2021-09-11 10:34:46'),(35,1,'/admin/info/roles','GET','::1','','2021-09-11 10:34:48','2021-09-11 10:34:48'),(36,1,'/admin/info/manager','GET','::1','','2021-09-11 10:34:48','2021-09-11 10:34:48'),(37,1,'/admin/info/manager','GET','::1','','2021-09-11 10:34:50','2021-09-11 10:34:50'),(38,1,'/admin/info/roles','GET','::1','','2021-09-11 10:34:54','2021-09-11 10:34:54'),(39,1,'/admin/info/manager','GET','::1','','2021-09-11 10:34:55','2021-09-11 10:34:55'),(40,1,'/admin/info/manager/new','GET','::1','','2021-09-11 10:35:14','2021-09-11 10:35:14'),(41,1,'/admin/new/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"fb357c20-922a-4f37-9055-d3c3fa556bea\"],\"avatar__delete_flag\":[\"0\"],\"name\":[\"sam\"],\"password\":[\"sam\"],\"password_again\":[\"sam\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:35:43','2021-09-11 10:35:43'),(42,1,'/admin/info/roles','GET','::1','','2021-09-11 10:35:54','2021-09-11 10:35:54'),(43,1,'/admin/info/manager','GET','::1','','2021-09-11 10:35:55','2021-09-11 10:35:55'),(44,1,'/admin/info/roles','GET','::1','','2021-09-11 10:35:56','2021-09-11 10:35:56'),(45,1,'/admin/info/roles','GET','::1','','2021-09-11 10:36:39','2021-09-11 10:36:39'),(46,1,'/admin/info/manager','GET','::1','','2021-09-11 10:36:40','2021-09-11 10:36:40'),(47,1,'/admin/info/manager/new','GET','::1','','2021-09-11 10:36:42','2021-09-11 10:36:42'),(48,1,'/admin/new/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"e59e86ec-8444-4b41-951a-345ec1138407\"],\"avatar__delete_flag\":[\"0\"],\"name\":[\"sam\"],\"password\":[\"sam\"],\"password_again\":[\"sam\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:36:57','2021-09-11 10:36:57'),(49,1,'/admin/info/manager','GET','::1','','2021-09-11 10:37:02','2021-09-11 10:37:02'),(50,1,'/admin/info/roles','GET','::1','','2021-09-11 10:37:03','2021-09-11 10:37:03'),(51,1,'/admin/info/manager','GET','::1','','2021-09-11 10:37:04','2021-09-11 10:37:04'),(52,1,'/admin/info/roles','GET','::1','','2021-09-11 10:37:06','2021-09-11 10:37:06'),(53,1,'/admin/info/permission','GET','::1','','2021-09-11 10:37:06','2021-09-11 10:37:06'),(54,1,'/admin/info/roles','GET','::1','','2021-09-11 10:37:07','2021-09-11 10:37:07'),(55,1,'/admin/info/manager','GET','::1','','2021-09-11 10:37:07','2021-09-11 10:37:07'),(56,1,'/admin/info/manager/new','GET','::1','','2021-09-11 10:37:08','2021-09-11 10:37:08'),(57,1,'/admin/new/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"45a72533-e5b2-4e22-bb22-dc40ac3e17ba\"],\"avatar\":[\"\"],\"avatar__delete_flag\":[\"0\"],\"name\":[\"sam\"],\"password\":[\"sam\"],\"password_again\":[\"sam\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:37:21','2021-09-11 10:37:21'),(58,1,'/admin/info/manager','GET','::1','','2021-09-11 10:37:22','2021-09-11 10:37:22'),(59,1,'/admin/info/manager/edit','GET','::1','','2021-09-11 10:37:33','2021-09-11 10:37:33'),(60,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"0b4edf2b-2f7e-47e8-9eb5-5fec4f358b33\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:37:40','2021-09-11 10:37:40'),(61,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"9f271480-1a86-42db-9f17-f5ce8118dfa3\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:38:31','2021-09-11 10:38:31'),(62,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"dc479eac-0b09-478e-9f2a-58569956270d\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:39:55','2021-09-11 10:39:55'),(63,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"96ff3cd4-b391-495e-9b48-f5e7511eff39\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:40:53','2021-09-11 10:40:53'),(64,1,'/admin/info/manager/edit','GET','::1','','2021-09-11 10:43:45','2021-09-11 10:43:45'),(65,1,'/admin/info/manager','GET','::1','','2021-09-11 10:43:48','2021-09-11 10:43:48'),(66,1,'/admin/info/roles','GET','::1','','2021-09-11 10:43:49','2021-09-11 10:43:49'),(67,1,'/admin/info/manager','GET','::1','','2021-09-11 10:43:51','2021-09-11 10:43:51'),(68,1,'/admin/info/manager/edit','GET','::1','','2021-09-11 10:43:54','2021-09-11 10:43:54'),(69,1,'/admin/info/manager','GET','::1','','2021-09-11 10:44:37','2021-09-11 10:44:37'),(70,1,'/admin/info/roles','GET','::1','','2021-09-11 10:44:39','2021-09-11 10:44:39'),(71,1,'/admin/menu','GET','::1','','2021-09-11 10:44:42','2021-09-11 10:44:42'),(72,1,'/admin/info/op','GET','::1','','2021-09-11 10:44:43','2021-09-11 10:44:43'),(73,1,'/admin/menu','GET','::1','','2021-09-11 10:44:45','2021-09-11 10:44:45'),(74,1,'/admin/info/permission','GET','::1','','2021-09-11 10:44:46','2021-09-11 10:44:46'),(75,1,'/admin/info/roles','GET','::1','','2021-09-11 10:44:47','2021-09-11 10:44:47'),(76,1,'/admin/info/manager','GET','::1','','2021-09-11 10:45:09','2021-09-11 10:45:09'),(77,1,'/admin/info/manager/edit','GET','::1','','2021-09-11 10:45:11','2021-09-11 10:45:11'),(78,1,'/admin/info/manager/edit','GET','::1','','2021-09-11 10:45:42','2021-09-11 10:45:42'),(79,1,'/admin','GET','::1','','2021-09-11 10:45:46','2021-09-11 10:45:46'),(80,1,'/admin/info/manager','GET','::1','','2021-09-11 10:45:48','2021-09-11 10:45:48'),(81,1,'/admin/info/manager/edit','GET','::1','','2021-09-11 10:45:50','2021-09-11 10:45:50'),(82,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"4ae4b908-67f4-43dd-86fb-646319566fc5\"],\"avatar__delete_flag\":[\"1\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:46:57','2021-09-11 10:46:57'),(83,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"5b76960d-a7ee-4d1c-b124-16654e5b0602\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:47:05','2021-09-11 10:47:05'),(84,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"e6c10a86-ac7d-46dd-bc9c-403501901b02\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:48:33','2021-09-11 10:48:33'),(85,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"ab3ce855-8f95-4590-b4de-ad39ff9064a4\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:48:34','2021-09-11 10:48:34'),(86,1,'/admin/info/manager/edit','GET','::1','','2021-09-11 10:48:37','2021-09-11 10:48:37'),(87,1,'/admin/info/manager/edit','GET','::1','','2021-09-11 10:48:40','2021-09-11 10:48:40'),(88,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"63cec573-ae9c-4749-97f2-b5c787fd0259\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:48:45','2021-09-11 10:48:45'),(89,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"e238623d-a575-42c3-871e-578b40376a15\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-11 10:48:48','2021-09-11 10:48:48'),(90,1,'/admin/info/permission','GET','::1','','2021-09-11 10:48:53','2021-09-11 10:48:53'),(91,1,'/admin/info/roles','GET','::1','','2021-09-11 10:48:53','2021-09-11 10:48:53'),(92,1,'/admin/info/roles/detail','GET','::1','','2021-09-11 10:48:55','2021-09-11 10:48:55'),(93,1,'/admin/info/roles','GET','::1','','2021-09-11 10:48:57','2021-09-11 10:48:57'),(94,1,'/admin/info/manager','GET','::1','','2021-09-11 10:48:57','2021-09-11 10:48:57'),(95,1,'/admin/info/manager/edit','GET','::1','','2021-09-11 10:49:03','2021-09-11 10:49:03'),(96,1,'/admin/info/manager/edit','GET','::1','','2021-09-11 11:08:06','2021-09-11 11:08:06'),(97,1,'/admin','GET','::1','','2021-09-11 11:08:08','2021-09-11 11:08:08'),(98,1,'/admin','GET','::1','','2021-09-11 11:08:30','2021-09-11 11:08:30'),(99,1,'/admin','GET','::1','','2021-09-11 11:08:32','2021-09-11 11:08:32'),(100,1,'/admin','GET','::1','','2021-09-11 11:09:08','2021-09-11 11:09:08'),(101,1,'/admin','GET','::1','','2021-09-11 11:09:09','2021-09-11 11:09:09'),(102,1,'/admin','GET','::1','','2021-09-11 11:09:15','2021-09-11 11:09:15'),(103,1,'/admin','GET','::1','','2021-09-11 11:09:15','2021-09-11 11:09:15'),(104,1,'/admin','GET','::1','','2021-09-11 11:09:15','2021-09-11 11:09:15'),(105,1,'/admin','GET','::1','','2021-09-11 11:09:15','2021-09-11 11:09:15'),(106,1,'/admin/logout','GET','::1','','2021-09-11 11:09:41','2021-09-11 11:09:41'),(107,1,'/admin','GET','::1','','2021-09-11 11:10:39','2021-09-11 11:10:39'),(108,1,'/admin','GET','::1','','2021-09-11 11:10:40','2021-09-11 11:10:40'),(109,1,'/admin','GET','::1','','2021-09-11 11:11:27','2021-09-11 11:11:27'),(110,1,'/admin','GET','::1','','2021-09-11 11:11:32','2021-09-11 11:11:32'),(111,1,'/admin','GET','::1','','2021-09-11 11:11:32','2021-09-11 11:11:32'),(112,1,'/admin','GET','::1','','2021-09-11 11:11:32','2021-09-11 11:11:32'),(113,1,'/admin','GET','::1','','2021-09-11 11:12:21','2021-09-11 11:12:21'),(114,1,'/admin','GET','::1','','2021-09-11 11:30:21','2021-09-11 11:30:21'),(115,1,'/admin/info/authors','GET','::1','','2021-09-11 12:15:51','2021-09-11 12:15:51'),(116,1,'/admin/info/authors','GET','::1','','2021-09-11 12:15:52','2021-09-11 12:15:52'),(117,1,'/admin/info/manager','GET','::1','','2021-09-11 12:15:54','2021-09-11 12:15:54'),(118,1,'/admin/info/roles','GET','::1','','2021-09-11 12:15:54','2021-09-11 12:15:54'),(119,1,'/admin/info/roles','GET','::1','','2021-09-11 12:16:06','2021-09-11 12:16:06'),(120,1,'/admin/info/permission','GET','::1','','2021-09-11 12:16:07','2021-09-11 12:16:07'),(121,1,'/admin/info/roles','GET','::1','','2021-09-11 12:16:07','2021-09-11 12:16:07'),(122,1,'/admin/info/roles','GET','::1','','2021-09-11 12:25:01','2021-09-11 12:25:01'),(123,1,'/admin/info/roles','GET','::1','','2021-09-11 12:25:02','2021-09-11 12:25:02'),(124,1,'/admin','GET','::1','','2021-09-11 12:25:07','2021-09-11 12:25:07'),(125,1,'/admin','GET','::1','','2021-09-11 12:25:08','2021-09-11 12:25:08'),(126,1,'/admin/info/roles','GET','::1','','2021-09-11 12:25:15','2021-09-11 12:25:15'),(127,1,'/admin/info/permission','GET','::1','','2021-09-11 12:25:16','2021-09-11 12:25:16'),(128,1,'/admin/menu','GET','::1','','2021-09-11 12:25:16','2021-09-11 12:25:16'),(129,1,'/admin/info/op','GET','::1','','2021-09-11 12:25:17','2021-09-11 12:25:17'),(130,1,'/admin','GET','::1','','2021-09-11 14:26:44','2021-09-11 14:26:44'),(131,1,'/admin/info/roles','GET','::1','','2021-09-11 14:26:46','2021-09-11 14:26:46'),(132,1,'/admin/info/roles','GET','::1','','2021-09-11 14:26:46','2021-09-11 14:26:46'),(133,1,'/admin/info/manager','GET','::1','','2021-09-11 14:26:47','2021-09-11 14:26:47'),(134,1,'/admin','GET','::1','','2021-09-11 14:26:47','2021-09-11 14:26:47'),(135,1,'/admin','GET','::1','','2021-09-12 13:21:57','2021-09-12 13:21:57'),(136,1,'/admin/info/roles','GET','::1','','2021-09-12 13:22:00','2021-09-12 13:22:00'),(137,1,'/admin/info/roles','GET','::1','','2021-09-12 13:22:00','2021-09-12 13:22:00'),(138,1,'/admin/info/permission','GET','::1','','2021-09-12 13:22:01','2021-09-12 13:22:01'),(139,1,'/admin/menu','GET','::1','','2021-09-12 13:22:01','2021-09-12 13:22:01'),(140,1,'/admin/info/op','GET','::1','','2021-09-12 13:22:02','2021-09-12 13:22:02'),(141,1,'/admin','GET','::1','','2021-09-12 13:22:03','2021-09-12 13:22:03'),(142,1,'/admin/info/roles','GET','::1','','2021-09-12 13:22:05','2021-09-12 13:22:05'),(143,1,'/admin/info/roles/detail','GET','::1','','2021-09-12 13:22:10','2021-09-12 13:22:10'),(144,1,'/admin','GET','::1','','2021-09-12 13:22:16','2021-09-12 13:22:16'),(145,1,'/admin/info/manager','GET','::1','','2021-09-12 13:22:17','2021-09-12 13:22:17'),(146,1,'/admin/menu','GET','::1','','2021-09-12 13:22:23','2021-09-12 13:22:23'),(147,1,'/admin/info/op','GET','::1','','2021-09-12 13:22:24','2021-09-12 13:22:24'),(148,1,'/admin/info/op','GET','::1','','2021-09-12 13:22:28','2021-09-12 13:22:28'),(149,1,'/admin/info/op','GET','::1','','2021-09-12 13:22:30','2021-09-12 13:22:30'),(150,1,'/admin/info/op','GET','::1','','2021-09-12 13:22:32','2021-09-12 13:22:32'),(151,1,'/admin/info/op','GET','::1','','2021-09-12 13:22:33','2021-09-12 13:22:33'),(152,1,'/admin/info/op','GET','::1','','2021-09-12 13:22:34','2021-09-12 13:22:34'),(153,1,'/admin/info/op','GET','::1','','2021-09-12 13:22:35','2021-09-12 13:22:35'),(154,1,'/admin/info/op','GET','::1','','2021-09-12 13:22:35','2021-09-12 13:22:35'),(155,1,'/admin/info/op','GET','::1','','2021-09-12 13:22:36','2021-09-12 13:22:36'),(156,1,'/admin','GET','::1','','2021-09-12 13:24:30','2021-09-12 13:24:30'),(157,1,'/admin/info/manager','GET','::1','','2021-09-12 13:24:39','2021-09-12 13:24:39'),(158,1,'/admin/info/site/edit','GET','::1','','2021-09-12 13:24:40','2021-09-12 13:24:40'),(159,1,'/admin/info/roles','GET','::1','','2021-09-12 13:25:35','2021-09-12 13:25:35'),(160,1,'/admin/info/permission','GET','::1','','2021-09-12 13:25:36','2021-09-12 13:25:36'),(161,1,'/admin/info/permission','GET','::1','','2021-09-12 13:25:37','2021-09-12 13:25:37'),(162,1,'/admin/menu','GET','::1','','2021-09-12 13:25:37','2021-09-12 13:25:37'),(163,1,'/admin/info/op','GET','::1','','2021-09-12 13:25:38','2021-09-12 13:25:38'),(164,1,'/admin/info/manager','GET','::1','','2021-09-12 13:25:40','2021-09-12 13:25:40'),(165,1,'/admin/info/site/edit','GET','::1','','2021-09-12 13:25:41','2021-09-12 13:25:41'),(166,1,'/admin/info/site/edit','GET','::1','','2021-09-12 13:25:41','2021-09-12 13:25:41'),(167,1,'/admin/info/roles','GET','::1','','2021-09-12 13:25:42','2021-09-12 13:25:42'),(168,1,'/admin/info/permission','GET','::1','','2021-09-12 13:25:42','2021-09-12 13:25:42'),(169,1,'/admin/info/permission','GET','::1','','2021-09-12 13:25:43','2021-09-12 13:25:43'),(170,1,'/admin/info/permission','GET','::1','','2021-09-12 13:25:43','2021-09-12 13:25:43'),(171,1,'/admin/menu','GET','::1','','2021-09-12 13:25:44','2021-09-12 13:25:44'),(172,1,'/admin/info/roles','GET','::1','','2021-09-12 13:25:45','2021-09-12 13:25:45'),(173,1,'/admin/info/op','GET','::1','','2021-09-12 13:25:46','2021-09-12 13:25:46'),(174,1,'/admin/info/generate','GET','::1','','2021-09-12 13:28:33','2021-09-12 13:28:33'),(175,1,'/admin/info/generate/new','GET','::1','','2021-09-12 13:28:33','2021-09-12 13:28:33'),(176,1,'/admin','GET','::1','','2021-09-12 13:28:44','2021-09-12 13:28:44'),(177,1,'/admin/application/info','GET','::1','','2021-09-12 13:28:54','2021-09-12 13:28:54'),(178,1,'/admin/info/generate/new','GET','::1','','2021-09-12 13:28:59','2021-09-12 13:28:59'),(179,1,'/admin/operation/_tool_choose_conn','POST','::1','','2021-09-12 13:29:25','2021-09-12 13:29:25'),(180,1,'/admin/operation/_tool_choose_table','POST','::1','','2021-09-12 13:29:28','2021-09-12 13:29:28'),(181,1,'/admin/new/generate','POST','::1','{\"__checkbox__hide_back_button\":[\"on\"],\"__checkbox__hide_continue_edit_check_box\":[\"on\"],\"__checkbox__hide_continue_new_check_box\":[\"on\"],\"__checkbox__hide_delete_button\":[\"on\"],\"__checkbox__hide_detail_button\":[\"on\"],\"__checkbox__hide_edit_button\":[\"on\"],\"__checkbox__hide_export_button\":[\"on\"],\"__checkbox__hide_filter_area\":[\"on\"],\"__checkbox__hide_filter_button\":[\"on\"],\"__checkbox__hide_new_button\":[\"on\"],\"__checkbox__hide_pagination\":[\"on\"],\"__checkbox__hide_query_info\":[\"on\"],\"__checkbox__hide_reset_button\":[\"on\"],\"__checkbox__hide_row_selector\":[\"on\"],\"__go_admin_previous_\":[\"http://localhost:8080/admin/application/info\"],\"__go_admin_t_\":[\"b2cae6e1-9ac1-4020-a9c3-2d8e1e929718\"],\"conn\":[\"default\"],\"field_canadd\":[\"n\",\"n\",\"n\"],\"field_canedit\":[\"n\",\"n\",\"n\"],\"field_db_type\":[\"Bigint\",\"Varchar\",\"Longtext\"],\"field_db_type_form\":[\"Bigint\",\"Varchar\",\"Longtext\"],\"field_filterable\":[\"n\",\"n\",\"n\"],\"field_form_type_form\":[\"Default\",\"Text\",\"RichText\"],\"field_head\":[\"Id\",\"Title\",\"Content\"],\"field_head_form\":[\"Id\",\"Title\",\"Content\"],\"field_name\":[\"id\",\"title\",\"content\"],\"field_name_form\":[\"id\",\"title\",\"content\"],\"field_sortable\":[\"n\",\"n\",\"n\"],\"filter_form_layout\":[\"LayoutDefault\"],\"hide_back_button\":[\"n\"],\"hide_continue_edit_check_box\":[\"n\"],\"hide_continue_new_check_box\":[\"n\"],\"hide_delete_button\":[\"n\"],\"hide_detail_button\":[\"n\"],\"hide_edit_button\":[\"n\"],\"hide_export_button\":[\"n\"],\"hide_filter_area\":[\"n\"],\"hide_filter_button\":[\"n\"],\"hide_new_button\":[\"n\"],\"hide_pagination\":[\"n\"],\"hide_query_info\":[\"n\"],\"hide_reset_button\":[\"n\"],\"hide_row_selector\":[\"n\"],\"package\":[\"tables\"],\"path\":[\"/Users/songjiangfeng/work/iris-go/learn-iris/tables\"],\"pk\":[\"id\"],\"table\":[\"iris_posts\"]}','2021-09-12 13:32:54','2021-09-12 13:32:54'),(182,1,'/admin/application/info','GET','::1','','2021-09-12 13:33:04','2021-09-12 13:33:04'),(183,1,'/admin/info/generate/new','GET','::1','','2021-09-12 13:33:39','2021-09-12 13:33:39'),(184,1,'/admin/application/info','GET','::1','','2021-09-12 13:33:43','2021-09-12 13:33:43'),(185,1,'/admin/info/generate/new','GET','::1','','2021-09-12 13:33:43','2021-09-12 13:33:43'),(186,1,'/admin/menu','GET','::1','','2021-09-12 13:38:08','2021-09-12 13:38:08'),(187,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 13:38:26','2021-09-12 13:38:26'),(188,1,'/admin/info/manager','GET','::1','','2021-09-12 13:38:28','2021-09-12 13:38:28'),(189,1,'/admin/info/posts','GET','::1','','2021-09-12 13:42:28','2021-09-12 13:42:28'),(190,1,'/admin/menu','GET','::1','','2021-09-12 13:42:35','2021-09-12 13:42:35'),(191,1,'/admin/application/info','GET','::1','','2021-09-12 13:42:42','2021-09-12 13:42:42'),(192,1,'/admin/info/users','GET','::1','','2021-09-12 13:43:25','2021-09-12 13:43:25'),(193,1,'/admin/info/authors','GET','::1','','2021-09-12 13:43:41','2021-09-12 13:43:41'),(194,1,'/admin/info/posts','GET','::1','','2021-09-12 13:43:45','2021-09-12 13:43:45'),(195,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 13:44:15','2021-09-12 13:44:15'),(196,1,'/admin/info/posts','GET','::1','','2021-09-12 13:44:22','2021-09-12 13:44:22'),(197,1,'/admin/info/posts','GET','::1','','2021-09-12 13:44:49','2021-09-12 13:44:49'),(198,1,'/admin/info/posts','GET','::1','','2021-09-12 13:44:52','2021-09-12 13:44:52'),(199,1,'/admin/info/posts','GET','::1','','2021-09-12 13:44:53','2021-09-12 13:44:53'),(200,1,'/admin/info/posts','GET','::1','','2021-09-12 13:44:54','2021-09-12 13:44:54'),(201,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 13:45:05','2021-09-12 13:45:05'),(202,1,'/admin/info/posts','GET','::1','','2021-09-12 13:45:07','2021-09-12 13:45:07'),(203,1,'/admin/info/users','GET','::1','','2021-09-12 13:45:59','2021-09-12 13:45:59'),(204,1,'/admin/info/authors','GET','::1','','2021-09-12 13:46:06','2021-09-12 13:46:06'),(205,1,'/admin/info/profile','GET','::1','','2021-09-12 13:46:13','2021-09-12 13:46:13'),(206,1,'/admin','GET','::1','','2021-09-12 13:46:28','2021-09-12 13:46:28'),(207,1,'/admin/info/roles','GET','::1','','2021-09-12 13:46:31','2021-09-12 13:46:31'),(208,1,'/admin/info/op','GET','::1','','2021-09-12 13:46:31','2021-09-12 13:46:31'),(209,1,'/admin/menu','GET','::1','','2021-09-12 13:46:33','2021-09-12 13:46:33'),(210,1,'/admin/info/manager','GET','::1','','2021-09-12 13:46:34','2021-09-12 13:46:34'),(211,1,'/admin/info/roles','GET','::1','','2021-09-12 13:46:36','2021-09-12 13:46:36'),(212,1,'/admin/menu','GET','::1','','2021-09-12 13:46:37','2021-09-12 13:46:37'),(213,1,'/admin/info/op','GET','::1','','2021-09-12 13:46:39','2021-09-12 13:46:39'),(214,1,'/admin/info/manager','GET','::1','','2021-09-12 13:46:39','2021-09-12 13:46:39'),(215,1,'/admin/menu','GET','::1','','2021-09-12 13:46:40','2021-09-12 13:46:40'),(216,1,'/admin/menu','GET','::1','','2021-09-12 13:46:43','2021-09-12 13:46:43'),(217,1,'/admin','GET','::1','','2021-09-12 13:46:47','2021-09-12 13:46:47'),(218,1,'/admin/application/info','GET','::1','','2021-09-12 13:46:50','2021-09-12 13:46:50'),(219,1,'/admin/info/posts','GET','::1','','2021-09-12 13:46:54','2021-09-12 13:46:54'),(220,1,'/admin/info/posts','GET','::1','','2021-09-12 13:47:08','2021-09-12 13:47:08'),(221,1,'/admin/info/posts','GET','::1','','2021-09-12 13:47:11','2021-09-12 13:47:11'),(222,1,'/admin/info/posts','GET','::1','','2021-09-12 13:48:27','2021-09-12 13:48:27'),(223,1,'/admin','GET','::1','','2021-09-12 13:49:47','2021-09-12 13:49:47'),(224,1,'/admin/menu','GET','::1','','2021-09-12 13:49:51','2021-09-12 13:49:51'),(225,1,'/admin/menu','GET','::1','','2021-09-12 13:52:21','2021-09-12 13:52:21'),(226,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"94f67c94-fe94-4f42-8e8e-8e17067497d2\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"文章\"],\"uri\":[\"/admin/info/posts\"]}','2021-09-12 13:53:57','2021-09-12 13:53:57'),(227,1,'/admin/menu','GET','::1','','2021-09-12 13:53:59','2021-09-12 13:53:59'),(228,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 13:54:10','2021-09-12 13:54:10'),(229,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"149e3b4f-fcf3-44d0-89cd-15d37e8ff9b2\"],\"created_at\":[\"2021-09-12 21:53:57\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"id\":[\"8\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"文章\"],\"updated_at\":[\"2021-09-12 21:53:57\"],\"uri\":[\"/info/posts\"]}','2021-09-12 13:54:15','2021-09-12 13:54:15'),(230,1,'/admin/menu','GET','::1','','2021-09-12 13:54:16','2021-09-12 13:54:16'),(231,1,'/admin/info/posts','GET','::1','','2021-09-12 13:54:17','2021-09-12 13:54:17'),(232,1,'/admin/info/posts','GET','::1','','2021-09-12 13:54:19','2021-09-12 13:54:19'),(233,1,'/admin/info/posts','GET','::1','','2021-09-12 13:54:20','2021-09-12 13:54:20'),(234,1,'/admin/info/posts','GET','::1','','2021-09-12 13:54:21','2021-09-12 13:54:21'),(235,1,'/admin/info/posts','GET','::1','','2021-09-12 13:54:23','2021-09-12 13:54:23'),(236,1,'/admin/info/posts','GET','::1','','2021-09-12 13:54:26','2021-09-12 13:54:26'),(237,1,'/admin/info/posts','GET','::1','','2021-09-12 13:54:31','2021-09-12 13:54:31'),(238,1,'/admin/info/posts/new','GET','::1','','2021-09-12 13:54:59','2021-09-12 13:54:59'),(239,1,'/admin','GET','::1','','2021-09-12 13:55:09','2021-09-12 13:55:09'),(240,1,'/admin','GET','::1','','2021-09-12 13:55:12','2021-09-12 13:55:12'),(241,1,'/admin','GET','::1','','2021-09-12 13:55:12','2021-09-12 13:55:12'),(242,1,'/admin','GET','::1','','2021-09-12 13:55:14','2021-09-12 13:55:14'),(243,1,'/admin/menu','GET','::1','','2021-09-12 13:55:16','2021-09-12 13:55:16'),(244,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"c314aa53-0160-49e0-8063-98e7f2bbde46\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"parent_id\":[\"8\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"发布\"],\"uri\":[\"/info/posts/new?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"]}','2021-09-12 13:55:53','2021-09-12 13:55:53'),(245,1,'/admin/info/posts','GET','::1','','2021-09-12 13:55:56','2021-09-12 13:55:56'),(246,1,'/admin/info/posts','GET','::1','','2021-09-12 13:55:58','2021-09-12 13:55:58'),(247,1,'/admin/info/posts','GET','::1','','2021-09-12 13:56:00','2021-09-12 13:56:00'),(248,1,'/admin/info/posts','GET','::1','','2021-09-12 13:56:01','2021-09-12 13:56:01'),(249,1,'/admin/menu','GET','::1','','2021-09-12 13:56:03','2021-09-12 13:56:03'),(250,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 13:56:15','2021-09-12 13:56:15'),(251,1,'/admin/info/posts/new','GET','::1','','2021-09-12 13:56:34','2021-09-12 13:56:34'),(252,1,'/admin/info/posts/new','GET','::1','','2021-09-12 13:56:40','2021-09-12 13:56:40'),(253,1,'/admin/info/posts','GET','::1','','2021-09-12 13:56:51','2021-09-12 13:56:51'),(254,1,'/admin/info/posts/new','GET','::1','','2021-09-12 13:56:53','2021-09-12 13:56:53'),(255,1,'/admin/menu','GET','::1','','2021-09-12 13:56:56','2021-09-12 13:56:56'),(256,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 13:57:17','2021-09-12 13:57:17'),(257,1,'/admin/menu','GET','::1','','2021-09-12 13:57:23','2021-09-12 13:57:23'),(258,1,'/admin/menu','GET','::1','','2021-09-12 13:58:39','2021-09-12 13:58:39'),(259,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 13:58:48','2021-09-12 13:58:48'),(260,1,'/admin/info/posts/new','GET','::1','','2021-09-12 13:58:57','2021-09-12 13:58:57'),(261,1,'/admin/menu','GET','::1','','2021-09-12 13:59:02','2021-09-12 13:59:02'),(262,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 13:59:07','2021-09-12 13:59:07'),(263,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"2852d026-05e5-4b87-9f51-100e43d018b1\"],\"created_at\":[\"2021-09-12 21:53:57\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"id\":[\"8\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"文章\"],\"updated_at\":[\"2021-09-12 21:54:15\"],\"uri\":[\"\"]}','2021-09-12 13:59:11','2021-09-12 13:59:11'),(264,1,'/admin/menu','GET','::1','','2021-09-12 13:59:14','2021-09-12 13:59:14'),(265,1,'/admin/info/posts/new','GET','::1','','2021-09-12 13:59:17','2021-09-12 13:59:17'),(266,1,'/admin/menu','GET','::1','','2021-09-12 13:59:20','2021-09-12 13:59:20'),(267,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"1d329915-96dd-496a-82b6-14e95841afa9\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"parent_id\":[\"8\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"文章列表\"],\"uri\":[\"/info/posts\"]}','2021-09-12 13:59:56','2021-09-12 13:59:56'),(268,1,'/admin/menu','GET','::1','','2021-09-12 13:59:58','2021-09-12 13:59:58'),(269,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:00:00','2021-09-12 14:00:00'),(270,1,'/admin/info/posts','GET','::1','','2021-09-12 14:00:01','2021-09-12 14:00:01'),(271,1,'/admin/menu','GET','::1','','2021-09-12 14:00:04','2021-09-12 14:00:04'),(272,1,'/admin/menu','GET','::1','','2021-09-12 14:00:12','2021-09-12 14:00:12'),(273,1,'/admin/menu/order','POST','::1','','2021-09-12 14:00:19','2021-09-12 14:00:19'),(274,1,'/admin/menu','GET','::1','','2021-09-12 14:00:19','2021-09-12 14:00:19'),(275,1,'/admin/menu','GET','::1','','2021-09-12 14:00:21','2021-09-12 14:00:21'),(276,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 14:00:37','2021-09-12 14:00:37'),(277,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"df30705d-0e4c-401b-8d62-c54e22932068\"],\"created_at\":[\"2021-09-12 21:59:56\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"id\":[\"10\"],\"parent_id\":[\"8\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"列表\"],\"updated_at\":[\"2021-09-12 21:59:56\"],\"uri\":[\"/info/posts\"]}','2021-09-12 14:00:41','2021-09-12 14:00:41'),(278,1,'/admin/menu','GET','::1','','2021-09-12 14:00:42','2021-09-12 14:00:42'),(279,1,'/admin/info/posts','GET','::1','','2021-09-12 14:00:44','2021-09-12 14:00:44'),(280,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:00:45','2021-09-12 14:00:45'),(281,1,'/admin/info/posts','GET','::1','','2021-09-12 14:00:48','2021-09-12 14:00:48'),(282,1,'/admin/info/posts','GET','::1','','2021-09-12 14:01:05','2021-09-12 14:01:05'),(283,1,'/admin/info/posts','GET','::1','','2021-09-12 14:01:06','2021-09-12 14:01:06'),(284,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:01:08','2021-09-12 14:01:08'),(285,1,'/admin/info/manager','GET','::1','','2021-09-12 14:01:17','2021-09-12 14:01:17'),(286,1,'/admin/info/manager/new','GET','::1','','2021-09-12 14:01:19','2021-09-12 14:01:19'),(287,1,'/admin/info/manager','GET','::1','','2021-09-12 14:01:21','2021-09-12 14:01:21'),(288,1,'/admin/info/posts','GET','::1','','2021-09-12 14:01:22','2021-09-12 14:01:22'),(289,1,'/admin/info/posts','GET','::1','','2021-09-12 14:01:23','2021-09-12 14:01:23'),(290,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:01:25','2021-09-12 14:01:25'),(291,1,'/admin/new/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"b5e732f2-d601-4d1c-a6ee-80ba4fab140e\"],\"content\":[\"\\u003cp\\u003etest\\u003c/p\\u003e\"],\"id\":[\"\"],\"title\":[\"test\"]}','2021-09-12 14:01:36','2021-09-12 14:01:36'),(292,1,'/admin/info/posts','GET','::1','','2021-09-12 14:01:38','2021-09-12 14:01:38'),(293,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:01:40','2021-09-12 14:01:40'),(294,1,'/admin/info/posts','GET','::1','','2021-09-12 14:01:41','2021-09-12 14:01:41'),(295,1,'/admin/info/posts/detail','GET','::1','','2021-09-12 14:01:50','2021-09-12 14:01:50'),(296,1,'/admin/info/posts/detail','GET','::1','','2021-09-12 14:02:23','2021-09-12 14:02:23'),(297,1,'/admin/info/posts','GET','::1','','2021-09-12 14:02:25','2021-09-12 14:02:25'),(298,1,'/admin/info/posts','GET','::1','','2021-09-12 14:06:59','2021-09-12 14:06:59'),(299,1,'/admin/info/posts','GET','::1','','2021-09-12 14:07:20','2021-09-12 14:07:20'),(300,1,'/admin/info/posts','GET','::1','','2021-09-12 14:08:03','2021-09-12 14:08:03'),(301,1,'/admin/info/posts','GET','::1','','2021-09-12 14:08:03','2021-09-12 14:08:03'),(302,1,'/admin/info/posts','GET','::1','','2021-09-12 14:08:03','2021-09-12 14:08:03'),(303,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:08:08','2021-09-12 14:08:08'),(304,1,'/admin/info/posts','GET','::1','','2021-09-12 14:08:10','2021-09-12 14:08:10'),(305,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:08:11','2021-09-12 14:08:11'),(306,1,'/admin/info/posts','GET','::1','','2021-09-12 14:08:12','2021-09-12 14:08:12'),(307,1,'/admin/info/posts','GET','::1','','2021-09-12 14:08:33','2021-09-12 14:08:33'),(308,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:08:41','2021-09-12 14:08:41'),(309,1,'/admin/info/posts','GET','::1','','2021-09-12 14:08:44','2021-09-12 14:08:44'),(310,1,'/admin/info/posts','GET','::1','','2021-09-12 14:09:33','2021-09-12 14:09:33'),(311,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:09:34','2021-09-12 14:09:34'),(312,1,'/admin/info/posts','GET','::1','','2021-09-12 14:09:35','2021-09-12 14:09:35'),(313,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:09:35','2021-09-12 14:09:35'),(314,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:09:57','2021-09-12 14:09:57'),(315,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:11:35','2021-09-12 14:11:35'),(316,1,'/admin/info/roles','GET','::1','','2021-09-12 14:11:39','2021-09-12 14:11:39'),(317,1,'/admin/info/permission','GET','::1','','2021-09-12 14:11:40','2021-09-12 14:11:40'),(318,1,'/admin/info/op','GET','::1','','2021-09-12 14:11:41','2021-09-12 14:11:41'),(319,1,'/admin/info/posts','GET','::1','','2021-09-12 14:11:42','2021-09-12 14:11:42'),(320,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:11:43','2021-09-12 14:11:43'),(321,1,'/admin/info/posts','GET','::1','','2021-09-12 14:11:44','2021-09-12 14:11:44'),(322,1,'/admin/info/manager','GET','::1','','2021-09-12 14:11:46','2021-09-12 14:11:46'),(323,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:11:50','2021-09-12 14:11:50'),(324,1,'/admin/info/posts','GET','::1','','2021-09-12 14:11:51','2021-09-12 14:11:51'),(325,1,'/admin/info/posts','GET','::1','','2021-09-12 14:12:34','2021-09-12 14:12:34'),(326,1,'/admin/info/posts','GET','::1','','2021-09-12 14:12:37','2021-09-12 14:12:37'),(327,1,'/admin/info/posts','GET','::1','','2021-09-12 14:12:37','2021-09-12 14:12:37'),(328,1,'/admin/info/posts','GET','::1','','2021-09-12 14:12:39','2021-09-12 14:12:39'),(329,1,'/admin/info/posts','GET','::1','','2021-09-12 14:13:09','2021-09-12 14:13:09'),(330,1,'/admin/info/posts','GET','::1','','2021-09-12 14:13:19','2021-09-12 14:13:19'),(331,1,'/admin/info/posts','GET','::1','','2021-09-12 14:13:26','2021-09-12 14:13:26'),(332,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:13:30','2021-09-12 14:13:30'),(333,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:13:32','2021-09-12 14:13:32'),(334,1,'/admin/info/posts','GET','::1','','2021-09-12 14:13:34','2021-09-12 14:13:34'),(335,1,'/admin/info/posts/detail','GET','::1','','2021-09-12 14:13:36','2021-09-12 14:13:36'),(336,1,'/admin/delete/posts','POST','::1','','2021-09-12 14:13:39','2021-09-12 14:13:39'),(337,1,'/admin/info/posts','GET','::1','','2021-09-12 14:13:39','2021-09-12 14:13:39'),(338,1,'/admin/info/posts','GET','::1','','2021-09-12 14:13:41','2021-09-12 14:13:41'),(339,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:13:41','2021-09-12 14:13:41'),(340,1,'/admin/info/posts','GET','::1','','2021-09-12 14:13:42','2021-09-12 14:13:42'),(341,1,'/admin/info/posts','GET','::1','','2021-09-12 14:13:51','2021-09-12 14:13:51'),(342,1,'/admin/menu','GET','::1','','2021-09-12 14:13:57','2021-09-12 14:13:57'),(343,1,'/admin/info/manager','GET','::1','','2021-09-12 14:14:02','2021-09-12 14:14:02'),(344,1,'/admin/info/manager/edit','GET','::1','','2021-09-12 14:14:06','2021-09-12 14:14:06'),(345,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:14:17','2021-09-12 14:14:17'),(346,1,'/admin/menu','GET','::1','','2021-09-12 14:14:20','2021-09-12 14:14:20'),(347,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 14:14:24','2021-09-12 14:14:24'),(348,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"306a9bc2-ae2e-432f-95f5-a0caa62e2f35\"],\"created_at\":[\"2021-09-12 21:59:56\"],\"header\":[\"\"],\"icon\":[\"fa-edit\"],\"id\":[\"10\"],\"parent_id\":[\"8\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"列表\"],\"updated_at\":[\"2021-09-12 22:00:41\"],\"uri\":[\"/info/posts\"]}','2021-09-12 14:14:53','2021-09-12 14:14:53'),(349,1,'/admin/menu','GET','::1','','2021-09-12 14:14:55','2021-09-12 14:14:55'),(350,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 14:15:12','2021-09-12 14:15:12'),(351,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"8bb090b6-8ee1-4c80-9c4c-8178840c8d8c\"],\"created_at\":[\"2021-09-12 21:55:53\"],\"header\":[\"\"],\"icon\":[\"fa-edit\"],\"id\":[\"9\"],\"parent_id\":[\"8\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"发布\"],\"updated_at\":[\"2021-09-12 21:55:53\"],\"uri\":[\"/info/posts/new?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"]}','2021-09-12 14:15:18','2021-09-12 14:15:18'),(352,1,'/admin/menu','GET','::1','','2021-09-12 14:15:19','2021-09-12 14:15:19'),(353,1,'/admin/info/posts','GET','::1','','2021-09-12 14:15:22','2021-09-12 14:15:22'),(354,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:15:23','2021-09-12 14:15:23'),(355,1,'/admin/info/posts','GET','::1','','2021-09-12 14:15:24','2021-09-12 14:15:24'),(356,1,'/admin/menu','GET','::1','','2021-09-12 14:15:29','2021-09-12 14:15:29'),(357,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 14:15:36','2021-09-12 14:15:36'),(358,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"fe3c1079-7f85-4742-8731-61f388e40ddd\"],\"created_at\":[\"2021-09-12 21:59:56\"],\"header\":[\"\"],\"icon\":[\"fa-list-ul\"],\"id\":[\"10\"],\"parent_id\":[\"8\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"列表\"],\"updated_at\":[\"2021-09-12 22:14:53\"],\"uri\":[\"/info/posts\"]}','2021-09-12 14:15:50','2021-09-12 14:15:50'),(359,1,'/admin/menu','GET','::1','','2021-09-12 14:15:52','2021-09-12 14:15:52'),(360,1,'/admin/info/posts','GET','::1','','2021-09-12 14:15:55','2021-09-12 14:15:55'),(361,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:15:57','2021-09-12 14:15:57'),(362,1,'/admin/info/posts','GET','::1','','2021-09-12 14:15:58','2021-09-12 14:15:58'),(363,1,'/admin/info/manager','GET','::1','','2021-09-12 14:16:02','2021-09-12 14:16:02'),(364,1,'/admin','GET','::1','','2021-09-12 14:16:04','2021-09-12 14:16:04'),(365,1,'/admin/info/posts','GET','::1','','2021-09-12 14:16:07','2021-09-12 14:16:07'),(366,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:16:08','2021-09-12 14:16:08'),(367,1,'/admin','GET','::1','','2021-09-12 14:16:09','2021-09-12 14:16:09'),(368,1,'/admin','GET','::1','','2021-09-12 14:16:22','2021-09-12 14:16:22'),(369,1,'/admin','GET','::1','','2021-09-12 14:16:25','2021-09-12 14:16:25'),(370,1,'/admin','GET','::1','','2021-09-12 14:16:25','2021-09-12 14:16:25'),(371,1,'/admin/info/permission','GET','::1','','2021-09-12 14:16:26','2021-09-12 14:16:26'),(372,1,'/admin/info/manager','GET','::1','','2021-09-12 14:16:29','2021-09-12 14:16:29'),(373,1,'/admin/menu','GET','::1','','2021-09-12 14:16:30','2021-09-12 14:16:30'),(374,1,'/admin','GET','::1','','2021-09-12 14:16:36','2021-09-12 14:16:36'),(375,1,'/admin/info/roles','GET','::1','','2021-09-12 14:16:53','2021-09-12 14:16:53'),(376,1,'/admin/info/permission','GET','::1','','2021-09-12 14:16:54','2021-09-12 14:16:54'),(377,1,'/admin/menu','GET','::1','','2021-09-12 14:16:54','2021-09-12 14:16:54'),(378,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 14:17:02','2021-09-12 14:17:02'),(379,1,'/admin/menu','GET','::1','','2021-09-12 14:17:11','2021-09-12 14:17:11'),(380,1,'/admin/info/site/edit','GET','::1','','2021-09-12 14:17:20','2021-09-12 14:17:20'),(381,1,'/admin/info/roles','GET','::1','','2021-09-12 14:17:23','2021-09-12 14:17:23'),(382,1,'/admin','GET','::1','','2021-09-12 14:17:24','2021-09-12 14:17:24'),(383,1,'/admin/info/op','GET','::1','','2021-09-12 14:17:25','2021-09-12 14:17:25'),(384,1,'/admin','GET','::1','','2021-09-12 14:17:28','2021-09-12 14:17:28'),(385,1,'/admin','GET','::1','','2021-09-12 14:17:31','2021-09-12 14:17:31'),(386,1,'/admin','GET','::1','','2021-09-12 14:17:34','2021-09-12 14:17:34'),(387,1,'/admin','GET','::1','','2021-09-12 14:17:35','2021-09-12 14:17:35'),(388,1,'/admin/info/manager','GET','::1','','2021-09-12 14:17:38','2021-09-12 14:17:38'),(389,1,'/admin/info/roles','GET','::1','','2021-09-12 14:17:39','2021-09-12 14:17:39'),(390,1,'/admin/info/permission','GET','::1','','2021-09-12 14:17:39','2021-09-12 14:17:39'),(391,1,'/admin/menu','GET','::1','','2021-09-12 14:17:40','2021-09-12 14:17:40'),(392,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:17:41','2021-09-12 14:17:41'),(393,1,'/admin','GET','::1','','2021-09-12 14:17:42','2021-09-12 14:17:42'),(394,1,'/admin','GET','::1','','2021-09-12 14:17:46','2021-09-12 14:17:46'),(395,1,'/admin','GET','::1','','2021-09-12 14:17:47','2021-09-12 14:17:47'),(396,1,'/admin','GET','::1','','2021-09-12 14:17:48','2021-09-12 14:17:48'),(397,1,'/admin','GET','::1','','2021-09-12 14:17:48','2021-09-12 14:17:48'),(398,1,'/admin','GET','::1','','2021-09-12 14:17:50','2021-09-12 14:17:50'),(399,1,'/admin','GET','::1','','2021-09-12 14:17:57','2021-09-12 14:17:57'),(400,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:18:01','2021-09-12 14:18:01'),(401,1,'/admin/info/posts','GET','::1','','2021-09-12 14:18:02','2021-09-12 14:18:02'),(402,1,'/admin/info/posts/detail','GET','::1','','2021-09-12 14:18:05','2021-09-12 14:18:05'),(403,1,'/admin/info/posts','GET','::1','','2021-09-12 14:18:07','2021-09-12 14:18:07'),(404,1,'/admin','GET','::1','','2021-09-12 14:18:21','2021-09-12 14:18:21'),(405,1,'/admin','GET','::1','','2021-09-12 14:19:32','2021-09-12 14:19:32'),(406,1,'/admin/menu','GET','::1','','2021-09-12 14:19:35','2021-09-12 14:19:35'),(407,1,'/admin/menu/edit/show','GET','::1','','2021-09-12 14:19:38','2021-09-12 14:19:38'),(408,1,'/admin/menu','GET','::1','','2021-09-12 14:19:41','2021-09-12 14:19:41'),(409,1,'/admin','GET','::1','','2021-09-12 14:19:51','2021-09-12 14:19:51'),(410,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:20:07','2021-09-12 14:20:07'),(411,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:20:08','2021-09-12 14:20:08'),(412,1,'/admin/info/posts','GET','::1','','2021-09-12 14:20:09','2021-09-12 14:20:09'),(413,1,'/admin','GET','::1','','2021-09-12 14:34:41','2021-09-12 14:34:41'),(414,1,'/admin/info/posts','GET','::1','','2021-09-12 14:34:43','2021-09-12 14:34:43'),(415,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:34:46','2021-09-12 14:34:46'),(416,1,'/admin/info/manager','GET','::1','','2021-09-12 14:34:50','2021-09-12 14:34:50'),(417,1,'/admin/info/manager/edit','GET','::1','','2021-09-12 14:34:53','2021-09-12 14:34:53'),(418,1,'/admin/menu','GET','::1','','2021-09-12 14:35:13','2021-09-12 14:35:13'),(419,1,'/admin/info/op','GET','::1','','2021-09-12 14:35:13','2021-09-12 14:35:13'),(420,1,'/admin/info/roles','GET','::1','','2021-09-12 14:35:22','2021-09-12 14:35:22'),(421,1,'/admin/info/roles/edit','GET','::1','','2021-09-12 14:35:24','2021-09-12 14:35:24'),(422,1,'/admin/info/posts','GET','::1','','2021-09-12 14:37:02','2021-09-12 14:37:02'),(423,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:37:04','2021-09-12 14:37:04'),(424,1,'/admin/info/posts','GET','::1','','2021-09-12 14:37:08','2021-09-12 14:37:08'),(425,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:37:10','2021-09-12 14:37:10'),(426,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"ab2c73ca-bb01-4bc5-9ef9-959b1f5963e9\"],\"content\":[\"\\r\\nVarnish Cache是Web应用程序加速器,也称为缓存HTTP反向代理。您可以将其安装在任何使用HTTP的服务器之前,并将其配置为缓存内容。Varnish Cache确实非常快。根据您的体系结构,通常可以将交付速度提高300到1000倍。\\r\\nCentOs 安装\\r\\nyum install varnish\\r\\nVarnish 配置\\r\\n###############################################################################################\\r\\n### The perfect Varnish 4.x+ configuration for Joomla, WordPress \\u0026 other CMS based websites ###\\r\\n###############################################################################################\\r\\n######################\\r\\n#\\r\\n# UPDATED on July 7th, 2020\\r\\n#\\r\\n# Configuration Notes:\\r\\n# 1. Default dynamic content caching respects your backend\'s cache-control HTTP header.\\r\\n# If however you need to enforce a different cache-control TTL,\\r\\n# do a search for \\\"180\\\" and replace with the new value in seconds.\\r\\n# Stale cache is served for up to 24 hours.\\r\\n# 2. Make sure you update the \\\"backend default { ... }\\\" section with the correct IP and port\\r\\n#\\r\\n######################\\r\\n# Varnish Reference:\\r\\n# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/\\r\\n# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.\\r\\n# Marker to tell the VCL compiler that this VCL has been adapted to the new 4.0 format\\r\\nvcl 4.0;\\r\\n# Imports\\r\\nimport std;\\r\\n# Default backend definition. Set this to point to your content server.\\r\\nbackend default {\\r\\n.host = \\\"127.0.0.1\\\"; # UPDATE this only if the web server is not on the same machine\\r\\n.port = \\\"8080\\\"; # UPDATE 8080 with your web server\'s (internal) port\\r\\n}\\r\\nsub vcl_recv {\\r\\n/*\\r\\n# Blocks\\r\\nif (req.http.user-agent ~ \\\"^$\\\" \\u0026\\u0026 req.http.referer ~ \\\"^$\\\") {\\r\\nreturn (synth(204, \\\"No content\\\"));\\r\\n}\\r\\nif (req.http.user-agent ~ \\\"(ahrefs|bingbot|domaincrawler|dotbot|mj12bot|semrush)\\\") {\\r\\nreturn (synth(204, \\\"Bot blocked\\\"));\\r\\n}\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nreturn (pass);\\r\\n}\\r\\n*/\\r\\n# LetsEncrypt Certbot passthrough\\r\\nif (req.url ~ \\\"^/.well-known/acme-challenge/\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# Forward client\'s IP to the backend\\r\\nif (req.restarts == 0) {\\r\\nif (req.http.X-Real-IP) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Real-IP;\\r\\n} else if (req.http.X-Forwarded-For) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \\\", \\\" + client.ip;\\r\\n} else {\\r\\nset req.http.X-Forwarded-For = client.ip;\\r\\n}\\r\\n}\\r\\n# httpoxy\\r\\nunset req.http.proxy;\\r\\n# Non-RFC2616 or CONNECT which is weird.\\r\\nif (\\r\\nreq.method != \\\"GET\\\" \\u0026\\u0026\\r\\nreq.method != \\\"HEAD\\\" \\u0026\\u0026\\r\\nreq.method != \\\"PUT\\\" \\u0026\\u0026\\r\\nreq.method != \\\"POST\\\" \\u0026\\u0026\\r\\nreq.method != \\\"TRACE\\\" \\u0026\\u0026\\r\\nreq.method != \\\"OPTIONS\\\" \\u0026\\u0026\\r\\nreq.method != \\\"DELETE\\\"\\r\\n) {\\r\\nreturn (pipe);\\r\\n}\\r\\n# We only deal with GET and HEAD by default\\r\\nif (req.method != \\\"GET\\\" \\u0026\\u0026 req.method != \\\"HEAD\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# === URL manipulation ===\\r\\n# First remove the Google Analytics added parameters, useless for our backend\\r\\nif (req.url ~ \\\"(?|\\u0026)(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=\\\") {\\r\\nset req.url = regsuball(req.url, \\\"\\u0026(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"\\\");\\r\\nset req.url = regsuball(req.url, \\\"?(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?\\u0026\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip hash, server doesn\'t need it.\\r\\nif (req.url ~ \\\"#\\\") {\\r\\nset req.url = regsub(req.url, \\\"#.*$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip a trailing ? if it exists\\r\\n#if (req.url ~ \\\"?$\\\") {\\r\\n# set req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n#}\\r\\n# === Generic cookie manipulation ===\\r\\n# Remove the \\\"has_js\\\" cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"has_js=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove any Google Analytics based cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__utm.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_ga=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_gat=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmctr=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmcmd.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmccn.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove DoubleClick offensive cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__gads=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the Quant Capital cookies (added by some plugin, all __qca)\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__qc.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the AddThis cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__atuv.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-time-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-time-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp test cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wordpress_test_cookie=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove a \\\";\\\" prefix in the cookie if present\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"^;s*\\\", \\\"\\\");\\r\\n# Are there cookies left with only spaces or that are empty?\\r\\nif (req.http.cookie ~ \\\"^s*$\\\") {\\r\\nunset req.http.cookie;\\r\\n}\\r\\n# Check for the custom \\\"X-Logged-In\\\" header (used by K2 and other apps) to identify\\r\\n# if the visitor is a guest, then unset any cookie (including session cookies) provided\\r\\n# it\'s not a POST request.\\r\\nif(req.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 req.method != \\\"POST\\\") {\\r\\nunset req.http.Cookie;\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nreq.http.Authorization ||\\r\\nreq.http.Authenticate ||\\r\\nreq.http.X-Logged-In == \\\"True\\\" ||\\r\\nreq.http.Cookie ~ \\\"userID\\\" ||\\r\\nreq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nreq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nreq.url ~ \\\"^/addons\\\" ||\\r\\nreq.url ~ \\\"^/administrator\\\" ||\\r\\nreq.url ~ \\\"^/cart\\\" ||\\r\\nreq.url ~ \\\"^/checkout\\\" ||\\r\\nreq.url ~ \\\"^/component/banners\\\" ||\\r\\nreq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nreq.url ~ \\\"^/component/users\\\" ||\\r\\nreq.url ~ \\\"^/connect\\\" ||\\r\\nreq.url ~ \\\"^/contact\\\" ||\\r\\nreq.url ~ \\\"^/login\\\" ||\\r\\nreq.url ~ \\\"^/logout\\\" ||\\r\\nreq.url ~ \\\"^/lost-password\\\" ||\\r\\nreq.url ~ \\\"^/my-account\\\" ||\\r\\nreq.url ~ \\\"^/register\\\" ||\\r\\nreq.url ~ \\\"^/signin\\\" ||\\r\\nreq.url ~ \\\"^/signup\\\" ||\\r\\nreq.url ~ \\\"^/wc-api\\\" ||\\r\\nreq.url ~ \\\"^/wp-admin\\\" ||\\r\\nreq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nreq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nreq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(req.http.X-Requested-With == \\\"XMLHttpRequest\\\" || req.url ~ \\\"nocache\\\") {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# === STATIC FILES ===\\r\\n# Properly handle different encoding types\\r\\nif (req.http.Accept-Encoding) {\\r\\nif (req.url ~ \\\".(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf)$\\\") {\\r\\n# No point in compressing these\\r\\nunset req.http.Accept-Encoding;\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"gzip\\\") {\\r\\nset req.http.Accept-Encoding = \\\"gzip\\\";\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"deflate\\\") {\\r\\nset req.http.Accept-Encoding = \\\"deflate\\\";\\r\\n} else {\\r\\n# unknown algorithm (aka crappy browser)\\r\\nunset req.http.Accept-Encoding;\\r\\n}\\r\\n}\\r\\n# Remove all cookies for static files \\u0026 deliver directly\\r\\nif (req.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset req.http.Cookie;\\r\\nreturn (hash);\\r\\n}\\r\\nreturn (hash);\\r\\n}\\r\\nsub vcl_backend_response {\\r\\n/*\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nbereq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nbereq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n*/\\r\\n# Don\'t cache 50x responses\\r\\nif (\\r\\nberesp.status == 500 ||\\r\\nberesp.status == 502 ||\\r\\nberesp.status == 503 ||\\r\\nberesp.status == 504\\r\\n) {\\r\\nreturn (abandon);\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nbereq.url ~ \\\"^/addons\\\" ||\\r\\nbereq.url ~ \\\"^/administrator\\\" ||\\r\\nbereq.url ~ \\\"^/cart\\\" ||\\r\\nbereq.url ~ \\\"^/checkout\\\" ||\\r\\nbereq.url ~ \\\"^/component/banners\\\" ||\\r\\nbereq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nbereq.url ~ \\\"^/component/users\\\" ||\\r\\nbereq.url ~ \\\"^/connect\\\" ||\\r\\nbereq.url ~ \\\"^/contact\\\" ||\\r\\nbereq.url ~ \\\"^/login\\\" ||\\r\\nbereq.url ~ \\\"^/logout\\\" ||\\r\\nbereq.url ~ \\\"^/lost-password\\\" ||\\r\\nbereq.url ~ \\\"^/my-account\\\" ||\\r\\nbereq.url ~ \\\"^/register\\\" ||\\r\\nbereq.url ~ \\\"^/signin\\\" ||\\r\\nbereq.url ~ \\\"^/signup\\\" ||\\r\\nbereq.url ~ \\\"^/wc-api\\\" ||\\r\\nbereq.url ~ \\\"^/wp-admin\\\" ||\\r\\nbereq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nbereq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nbereq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nbereq.http.Authorization ||\\r\\nbereq.http.Authenticate ||\\r\\nbereq.http.X-Logged-In == \\\"True\\\" ||\\r\\nbereq.http.Cookie ~ \\\"userID\\\" ||\\r\\nbereq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nbereq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(beresp.http.X-Requested-With == \\\"XMLHttpRequest\\\" || bereq.url ~ \\\"nocache\\\") {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache backend response to posted requests\\r\\nif (bereq.method == \\\"POST\\\") {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Ok, we\'re cool \\u0026 ready to cache things\\r\\n# so let\'s clean up some headers and cookies\\r\\n# to maximize caching.\\r\\n# Check for the custom \\\"X-Logged-In\\\" header to identify if the visitor is a guest,\\r\\n# then unset any cookie (including session cookies) provided it\'s not a POST request.\\r\\nif(beresp.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 bereq.method != \\\"POST\\\") {\\r\\nunset beresp.http.Set-Cookie;\\r\\n}\\r\\n# Unset the \\\"pragma\\\" header (suggested)\\r\\nunset beresp.http.Pragma;\\r\\n# Unset the \\\"vary\\\" header (suggested)\\r\\nunset beresp.http.Vary;\\r\\n# Unset the \\\"etag\\\" header (optional)\\r\\n#unset beresp.http.etag;\\r\\n# Allow stale content, in case the backend goes down\\r\\nset beresp.grace = 24h;\\r\\n# Enforce your own cache TTL (optional)\\r\\n#set beresp.ttl = 180s;\\r\\n# Modify \\\"expires\\\" header - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires (optional)\\r\\n#set beresp.http.Expires = \\\"\\\" + (now + beresp.ttl);\\r\\n# If your backend server does not set the right caching headers for static assets,\\r\\n# you can set them below (uncomment first and change 604800 - which 1 week - to whatever you\\r\\n# want (in seconds)\\r\\n#if (bereq.url ~ \\\".(ico|jpg|jpeg|gif|png|bmp|webp|tiff|svg|svgz|pdf|mp3|flac|ogg|mid|midi|wav|mp4|webm|mkv|ogv|wmv|eot|otf|woff|ttf|rss|atom|zip|7z|tgz|gz|rar|bz2|tar|exe|doc|docx|xls|xlsx|ppt|pptx|rtf|odt|ods|odp)(?[a-zA-Z0-9=]+)$\\\") {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=604800\\\";\\r\\n#}\\r\\nif (bereq.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset beresp.http.set-cookie;\\r\\nset beresp.do_stream = true;\\r\\n}\\r\\n# We have content to cache, but it\'s got no-cache or other Cache-Control values sent\\r\\n# So let\'s reset it to our main caching time (180s as used in this example configuration)\\r\\n# The additional parameters specified (stale-while-revalidate \\u0026 stale-if-error) are used\\r\\n# by modern browsers to better control caching. Set these to twice \\u0026 four times your main\\r\\n# cache time respectively.\\r\\n# This final setting will normalize cache-control headers for CMSs like Joomla\\r\\n# which set max-age=0 even when the CMS\' cache is enabled.\\r\\nif (beresp.http.Cache-Control !~ \\\"max-age\\\" || beresp.http.Cache-Control ~ \\\"max-age=0\\\") {\\r\\nset beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n}\\r\\n# Optionally set a larger TTL for pages with less than 180s of cache TTL\\r\\n#if (beresp.ttl \\u003c 180s) {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n#}\\r\\nreturn (deliver);\\r\\n}\\r\\nsub vcl_deliver {\\r\\n/*\\r\\n# Send a special header for excluded domains only\\r\\n# The if statement can be identical to the ones in the vcl_recv() and vcl_fetch() functions above\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset resp.http.X-Domain-Status = \\\"EXCLUDED\\\";\\r\\n}\\r\\n# Enforce redirect to HTTPS for specified domains only\\r\\nif (\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\" \\u0026\\u0026\\r\\nreq.http.X-Forwarded-Proto !~ \\\"(?i)https\\\"\\r\\n) {\\r\\nset resp.http.Location = \\\"https://\\\" + req.http.host + req.url;\\r\\nset resp.status = 302;\\r\\n}\\r\\n*/\\r\\n# Send special headers that indicate the cache status of each web page\\r\\nif (obj.hits \\u003e 0) {\\r\\nset resp.http.X-Cache = \\\"HIT\\\";\\r\\nset resp.http.X-Cache-Hits = obj.hits;\\r\\n} else {\\r\\nset resp.http.X-Cache = \\\"MISS\\\";\\r\\n}\\r\\nreturn (deliver);\\r\\n}\\r\\nNginx Host 配置\\r\\nserver {\\r\\nlisten 80;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nrewrite ^/(.*) https://www.phpman.cc/$1 permanent;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 8080;\\r\\nindex index.html index.htm index.php default.html default.htm default.php;\\r\\nroot /home/wwwroot/www.phpman.cc/wordpress;\\r\\ninclude rewrite/wordpress.conf;\\r\\n#error_page 404 /404.html;\\r\\n# Deny access to PHP files in specific directory\\r\\n#location ~ /(wp-content|uploads|wp-includes|images)/.*.php$ { deny all; }\\r\\ninclude enable-php-pathinfo.conf;\\r\\nlocation ~ .*.(gif|jpg|jpeg|png|bmp|swf)$\\r\\n{\\r\\nexpires 30d;\\r\\n}\\r\\nlocation ~ .*.(js|css)?$\\r\\n{\\r\\nexpires 12h;\\r\\n}\\r\\nlocation ~ /.well-known {\\r\\nallow all;\\r\\n}\\r\\nlocation ~ /.\\r\\n{\\r\\ndeny all;\\r\\n}\\r\\naccess_log /home/wwwlogs/y.log;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 443 ssl http2;\\r\\n#listen [::]:443 ssl http2;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nssl_certificate /root/ssl/4082867_phpman.cc.pem;\\r\\nssl_certificate_key /root/ssl/4082867_phpman.cc.key;\\r\\nssl_session_timeout 5m;\\r\\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\\r\\nssl_prefer_server_ciphers on;\\r\\nssl_ciphers \\\"TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5\\\";\\r\\nssl_session_cache builtin:1000 shared:SSL:10m;\\r\\n# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048\\r\\nssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;\\r\\nlocation / {\\r\\nproxy_pass http://127.0.0.1:6081;\\r\\nproxy_set_header X-Real-IP $remote_addr;\\r\\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\\r\\nproxy_set_header X-Forwarded-Proto https;\\r\\nproxy_set_header X-Forwarded-Port 443;\\r\\nproxy_set_header Host $host;\\r\\n}\\r\\n}\\r\\nWordPress wp-config.php配置\\r\\n/* SSL Settings */\\r\\ndefine(\'FORCE_SSL_ADMIN\', true);\\r\\n/* Turn HTTPS \'on\' if HTTP_X_FORWARDED_PROTO matches \'https\' */\\r\\nif (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) {\\r\\n$_SERVER[\'HTTPS\'] = \'on\';\\r\\n}\\r\\n重启Nginx 和 Varnish 服务\\r\\nservice nginx reload\\r\\nservice varnish reload\\r\\n总结\\r\\nWeb URL请求路径:\\r\\nNginx:80——\\u003eNginx:443 ——\\u003e Varnish:6081 ——\\u003e Nginx:8080\\r\\n验证Varnish是否生效\\r\\ncurl -I https://www.phpman.cc\\r\\n返回结果\\r\\nHTTP/1.1 200 OK\\r\\nServer: nginx\\r\\nDate: Tue, 13 Apr 2021 06:41:21 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nConnection: keep-alive\\r\\nVary: Accept-Encoding\\r\\nVary: Accept-Encoding\\r\\nX-Powered-By: PHP/7.4.15\\r\\nLink: \\u003chttps://www.phpman.cc/wp-json/\\u003e; rel=\\\"https://api.w.org/\\\"\\r\\nX-Varnish: 360465\\r\\nAge: 0\\r\\nVia: 1.1 varnish-v4\\r\\n\"],\"id\":[\"16\"],\"title\":[\"Varnish 加速你的WordPress\"]}','2021-09-12 14:37:11','2021-09-12 14:37:11'),(427,1,'/admin/info/posts','GET','::1','','2021-09-12 14:39:11','2021-09-12 14:39:11'),(428,1,'/admin/info/posts','GET','::1','','2021-09-12 14:40:51','2021-09-12 14:40:51'),(429,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:40:56','2021-09-12 14:40:56'),(430,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:41:20','2021-09-12 14:41:20'),(431,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:41:24','2021-09-12 14:41:24'),(432,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:41:49','2021-09-12 14:41:49'),(433,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:41:55','2021-09-12 14:41:55'),(434,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:43:34','2021-09-12 14:43:34'),(435,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:43:43','2021-09-12 14:43:43'),(436,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:43:46','2021-09-12 14:43:46'),(437,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:43:47','2021-09-12 14:43:47'),(438,1,'/admin/info/posts','GET','::1','','2021-09-12 14:43:51','2021-09-12 14:43:51'),(439,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:43:52','2021-09-12 14:43:52'),(440,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"8e83f84d-dbfa-41ac-af71-521f71511d80\"],\"content\":[\"\\r\\nVarnish Cache是Web应用程序加速器,也称为缓存HTTP反向代理。您可以将其安装在任何使用HTTP的服务器之前,并将其配置为缓存内容。Varnish Cache确实非常快。根据您的体系结构,通常可以将交付速度提高300到1000倍。\\r\\nCentOs 安装\\r\\nyum install varnish\\r\\nVarnish 配置\\r\\n###############################################################################################\\r\\n### The perfect Varnish 4.x+ configuration for Joomla, WordPress \\u0026 other CMS based websites ###\\r\\n###############################################################################################\\r\\n######################\\r\\n#\\r\\n# UPDATED on July 7th, 2020\\r\\n#\\r\\n# Configuration Notes:\\r\\n# 1. Default dynamic content caching respects your backend\'s cache-control HTTP header.\\r\\n# If however you need to enforce a different cache-control TTL,\\r\\n# do a search for \\\"180\\\" and replace with the new value in seconds.\\r\\n# Stale cache is served for up to 24 hours.\\r\\n# 2. Make sure you update the \\\"backend default { ... }\\\" section with the correct IP and port\\r\\n#\\r\\n######################\\r\\n# Varnish Reference:\\r\\n# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/\\r\\n# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.\\r\\n# Marker to tell the VCL compiler that this VCL has been adapted to the new 4.0 format\\r\\nvcl 4.0;\\r\\n# Imports\\r\\nimport std;\\r\\n# Default backend definition. Set this to point to your content server.\\r\\nbackend default {\\r\\n.host = \\\"127.0.0.1\\\"; # UPDATE this only if the web server is not on the same machine\\r\\n.port = \\\"8080\\\"; # UPDATE 8080 with your web server\'s (internal) port\\r\\n}\\r\\nsub vcl_recv {\\r\\n/*\\r\\n# Blocks\\r\\nif (req.http.user-agent ~ \\\"^$\\\" \\u0026\\u0026 req.http.referer ~ \\\"^$\\\") {\\r\\nreturn (synth(204, \\\"No content\\\"));\\r\\n}\\r\\nif (req.http.user-agent ~ \\\"(ahrefs|bingbot|domaincrawler|dotbot|mj12bot|semrush)\\\") {\\r\\nreturn (synth(204, \\\"Bot blocked\\\"));\\r\\n}\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nreturn (pass);\\r\\n}\\r\\n*/\\r\\n# LetsEncrypt Certbot passthrough\\r\\nif (req.url ~ \\\"^/.well-known/acme-challenge/\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# Forward client\'s IP to the backend\\r\\nif (req.restarts == 0) {\\r\\nif (req.http.X-Real-IP) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Real-IP;\\r\\n} else if (req.http.X-Forwarded-For) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \\\", \\\" + client.ip;\\r\\n} else {\\r\\nset req.http.X-Forwarded-For = client.ip;\\r\\n}\\r\\n}\\r\\n# httpoxy\\r\\nunset req.http.proxy;\\r\\n# Non-RFC2616 or CONNECT which is weird.\\r\\nif (\\r\\nreq.method != \\\"GET\\\" \\u0026\\u0026\\r\\nreq.method != \\\"HEAD\\\" \\u0026\\u0026\\r\\nreq.method != \\\"PUT\\\" \\u0026\\u0026\\r\\nreq.method != \\\"POST\\\" \\u0026\\u0026\\r\\nreq.method != \\\"TRACE\\\" \\u0026\\u0026\\r\\nreq.method != \\\"OPTIONS\\\" \\u0026\\u0026\\r\\nreq.method != \\\"DELETE\\\"\\r\\n) {\\r\\nreturn (pipe);\\r\\n}\\r\\n# We only deal with GET and HEAD by default\\r\\nif (req.method != \\\"GET\\\" \\u0026\\u0026 req.method != \\\"HEAD\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# === URL manipulation ===\\r\\n# First remove the Google Analytics added parameters, useless for our backend\\r\\nif (req.url ~ \\\"(?|\\u0026)(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=\\\") {\\r\\nset req.url = regsuball(req.url, \\\"\\u0026(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"\\\");\\r\\nset req.url = regsuball(req.url, \\\"?(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?\\u0026\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip hash, server doesn\'t need it.\\r\\nif (req.url ~ \\\"#\\\") {\\r\\nset req.url = regsub(req.url, \\\"#.*$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip a trailing ? if it exists\\r\\n#if (req.url ~ \\\"?$\\\") {\\r\\n# set req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n#}\\r\\n# === Generic cookie manipulation ===\\r\\n# Remove the \\\"has_js\\\" cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"has_js=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove any Google Analytics based cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__utm.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_ga=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_gat=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmctr=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmcmd.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmccn.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove DoubleClick offensive cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__gads=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the Quant Capital cookies (added by some plugin, all __qca)\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__qc.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the AddThis cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__atuv.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-time-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-time-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp test cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wordpress_test_cookie=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove a \\\";\\\" prefix in the cookie if present\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"^;s*\\\", \\\"\\\");\\r\\n# Are there cookies left with only spaces or that are empty?\\r\\nif (req.http.cookie ~ \\\"^s*$\\\") {\\r\\nunset req.http.cookie;\\r\\n}\\r\\n# Check for the custom \\\"X-Logged-In\\\" header (used by K2 and other apps) to identify\\r\\n# if the visitor is a guest, then unset any cookie (including session cookies) provided\\r\\n# it\'s not a POST request.\\r\\nif(req.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 req.method != \\\"POST\\\") {\\r\\nunset req.http.Cookie;\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nreq.http.Authorization ||\\r\\nreq.http.Authenticate ||\\r\\nreq.http.X-Logged-In == \\\"True\\\" ||\\r\\nreq.http.Cookie ~ \\\"userID\\\" ||\\r\\nreq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nreq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nreq.url ~ \\\"^/addons\\\" ||\\r\\nreq.url ~ \\\"^/administrator\\\" ||\\r\\nreq.url ~ \\\"^/cart\\\" ||\\r\\nreq.url ~ \\\"^/checkout\\\" ||\\r\\nreq.url ~ \\\"^/component/banners\\\" ||\\r\\nreq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nreq.url ~ \\\"^/component/users\\\" ||\\r\\nreq.url ~ \\\"^/connect\\\" ||\\r\\nreq.url ~ \\\"^/contact\\\" ||\\r\\nreq.url ~ \\\"^/login\\\" ||\\r\\nreq.url ~ \\\"^/logout\\\" ||\\r\\nreq.url ~ \\\"^/lost-password\\\" ||\\r\\nreq.url ~ \\\"^/my-account\\\" ||\\r\\nreq.url ~ \\\"^/register\\\" ||\\r\\nreq.url ~ \\\"^/signin\\\" ||\\r\\nreq.url ~ \\\"^/signup\\\" ||\\r\\nreq.url ~ \\\"^/wc-api\\\" ||\\r\\nreq.url ~ \\\"^/wp-admin\\\" ||\\r\\nreq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nreq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nreq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(req.http.X-Requested-With == \\\"XMLHttpRequest\\\" || req.url ~ \\\"nocache\\\") {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# === STATIC FILES ===\\r\\n# Properly handle different encoding types\\r\\nif (req.http.Accept-Encoding) {\\r\\nif (req.url ~ \\\".(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf)$\\\") {\\r\\n# No point in compressing these\\r\\nunset req.http.Accept-Encoding;\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"gzip\\\") {\\r\\nset req.http.Accept-Encoding = \\\"gzip\\\";\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"deflate\\\") {\\r\\nset req.http.Accept-Encoding = \\\"deflate\\\";\\r\\n} else {\\r\\n# unknown algorithm (aka crappy browser)\\r\\nunset req.http.Accept-Encoding;\\r\\n}\\r\\n}\\r\\n# Remove all cookies for static files \\u0026 deliver directly\\r\\nif (req.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset req.http.Cookie;\\r\\nreturn (hash);\\r\\n}\\r\\nreturn (hash);\\r\\n}\\r\\nsub vcl_backend_response {\\r\\n/*\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nbereq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nbereq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n*/\\r\\n# Don\'t cache 50x responses\\r\\nif (\\r\\nberesp.status == 500 ||\\r\\nberesp.status == 502 ||\\r\\nberesp.status == 503 ||\\r\\nberesp.status == 504\\r\\n) {\\r\\nreturn (abandon);\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nbereq.url ~ \\\"^/addons\\\" ||\\r\\nbereq.url ~ \\\"^/administrator\\\" ||\\r\\nbereq.url ~ \\\"^/cart\\\" ||\\r\\nbereq.url ~ \\\"^/checkout\\\" ||\\r\\nbereq.url ~ \\\"^/component/banners\\\" ||\\r\\nbereq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nbereq.url ~ \\\"^/component/users\\\" ||\\r\\nbereq.url ~ \\\"^/connect\\\" ||\\r\\nbereq.url ~ \\\"^/contact\\\" ||\\r\\nbereq.url ~ \\\"^/login\\\" ||\\r\\nbereq.url ~ \\\"^/logout\\\" ||\\r\\nbereq.url ~ \\\"^/lost-password\\\" ||\\r\\nbereq.url ~ \\\"^/my-account\\\" ||\\r\\nbereq.url ~ \\\"^/register\\\" ||\\r\\nbereq.url ~ \\\"^/signin\\\" ||\\r\\nbereq.url ~ \\\"^/signup\\\" ||\\r\\nbereq.url ~ \\\"^/wc-api\\\" ||\\r\\nbereq.url ~ \\\"^/wp-admin\\\" ||\\r\\nbereq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nbereq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nbereq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nbereq.http.Authorization ||\\r\\nbereq.http.Authenticate ||\\r\\nbereq.http.X-Logged-In == \\\"True\\\" ||\\r\\nbereq.http.Cookie ~ \\\"userID\\\" ||\\r\\nbereq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nbereq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(beresp.http.X-Requested-With == \\\"XMLHttpRequest\\\" || bereq.url ~ \\\"nocache\\\") {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache backend response to posted requests\\r\\nif (bereq.method == \\\"POST\\\") {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Ok, we\'re cool \\u0026 ready to cache things\\r\\n# so let\'s clean up some headers and cookies\\r\\n# to maximize caching.\\r\\n# Check for the custom \\\"X-Logged-In\\\" header to identify if the visitor is a guest,\\r\\n# then unset any cookie (including session cookies) provided it\'s not a POST request.\\r\\nif(beresp.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 bereq.method != \\\"POST\\\") {\\r\\nunset beresp.http.Set-Cookie;\\r\\n}\\r\\n# Unset the \\\"pragma\\\" header (suggested)\\r\\nunset beresp.http.Pragma;\\r\\n# Unset the \\\"vary\\\" header (suggested)\\r\\nunset beresp.http.Vary;\\r\\n# Unset the \\\"etag\\\" header (optional)\\r\\n#unset beresp.http.etag;\\r\\n# Allow stale content, in case the backend goes down\\r\\nset beresp.grace = 24h;\\r\\n# Enforce your own cache TTL (optional)\\r\\n#set beresp.ttl = 180s;\\r\\n# Modify \\\"expires\\\" header - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires (optional)\\r\\n#set beresp.http.Expires = \\\"\\\" + (now + beresp.ttl);\\r\\n# If your backend server does not set the right caching headers for static assets,\\r\\n# you can set them below (uncomment first and change 604800 - which 1 week - to whatever you\\r\\n# want (in seconds)\\r\\n#if (bereq.url ~ \\\".(ico|jpg|jpeg|gif|png|bmp|webp|tiff|svg|svgz|pdf|mp3|flac|ogg|mid|midi|wav|mp4|webm|mkv|ogv|wmv|eot|otf|woff|ttf|rss|atom|zip|7z|tgz|gz|rar|bz2|tar|exe|doc|docx|xls|xlsx|ppt|pptx|rtf|odt|ods|odp)(?[a-zA-Z0-9=]+)$\\\") {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=604800\\\";\\r\\n#}\\r\\nif (bereq.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset beresp.http.set-cookie;\\r\\nset beresp.do_stream = true;\\r\\n}\\r\\n# We have content to cache, but it\'s got no-cache or other Cache-Control values sent\\r\\n# So let\'s reset it to our main caching time (180s as used in this example configuration)\\r\\n# The additional parameters specified (stale-while-revalidate \\u0026 stale-if-error) are used\\r\\n# by modern browsers to better control caching. Set these to twice \\u0026 four times your main\\r\\n# cache time respectively.\\r\\n# This final setting will normalize cache-control headers for CMSs like Joomla\\r\\n# which set max-age=0 even when the CMS\' cache is enabled.\\r\\nif (beresp.http.Cache-Control !~ \\\"max-age\\\" || beresp.http.Cache-Control ~ \\\"max-age=0\\\") {\\r\\nset beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n}\\r\\n# Optionally set a larger TTL for pages with less than 180s of cache TTL\\r\\n#if (beresp.ttl \\u003c 180s) {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n#}\\r\\nreturn (deliver);\\r\\n}\\r\\nsub vcl_deliver {\\r\\n/*\\r\\n# Send a special header for excluded domains only\\r\\n# The if statement can be identical to the ones in the vcl_recv() and vcl_fetch() functions above\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset resp.http.X-Domain-Status = \\\"EXCLUDED\\\";\\r\\n}\\r\\n# Enforce redirect to HTTPS for specified domains only\\r\\nif (\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\" \\u0026\\u0026\\r\\nreq.http.X-Forwarded-Proto !~ \\\"(?i)https\\\"\\r\\n) {\\r\\nset resp.http.Location = \\\"https://\\\" + req.http.host + req.url;\\r\\nset resp.status = 302;\\r\\n}\\r\\n*/\\r\\n# Send special headers that indicate the cache status of each web page\\r\\nif (obj.hits \\u003e 0) {\\r\\nset resp.http.X-Cache = \\\"HIT\\\";\\r\\nset resp.http.X-Cache-Hits = obj.hits;\\r\\n} else {\\r\\nset resp.http.X-Cache = \\\"MISS\\\";\\r\\n}\\r\\nreturn (deliver);\\r\\n}\\r\\nNginx Host 配置\\r\\nserver {\\r\\nlisten 80;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nrewrite ^/(.*) https://www.phpman.cc/$1 permanent;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 8080;\\r\\nindex index.html index.htm index.php default.html default.htm default.php;\\r\\nroot /home/wwwroot/www.phpman.cc/wordpress;\\r\\ninclude rewrite/wordpress.conf;\\r\\n#error_page 404 /404.html;\\r\\n# Deny access to PHP files in specific directory\\r\\n#location ~ /(wp-content|uploads|wp-includes|images)/.*.php$ { deny all; }\\r\\ninclude enable-php-pathinfo.conf;\\r\\nlocation ~ .*.(gif|jpg|jpeg|png|bmp|swf)$\\r\\n{\\r\\nexpires 30d;\\r\\n}\\r\\nlocation ~ .*.(js|css)?$\\r\\n{\\r\\nexpires 12h;\\r\\n}\\r\\nlocation ~ /.well-known {\\r\\nallow all;\\r\\n}\\r\\nlocation ~ /.\\r\\n{\\r\\ndeny all;\\r\\n}\\r\\naccess_log /home/wwwlogs/y.log;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 443 ssl http2;\\r\\n#listen [::]:443 ssl http2;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nssl_certificate /root/ssl/4082867_phpman.cc.pem;\\r\\nssl_certificate_key /root/ssl/4082867_phpman.cc.key;\\r\\nssl_session_timeout 5m;\\r\\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\\r\\nssl_prefer_server_ciphers on;\\r\\nssl_ciphers \\\"TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5\\\";\\r\\nssl_session_cache builtin:1000 shared:SSL:10m;\\r\\n# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048\\r\\nssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;\\r\\nlocation / {\\r\\nproxy_pass http://127.0.0.1:6081;\\r\\nproxy_set_header X-Real-IP $remote_addr;\\r\\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\\r\\nproxy_set_header X-Forwarded-Proto https;\\r\\nproxy_set_header X-Forwarded-Port 443;\\r\\nproxy_set_header Host $host;\\r\\n}\\r\\n}\\r\\nWordPress wp-config.php配置\\r\\n/* SSL Settings */\\r\\ndefine(\'FORCE_SSL_ADMIN\', true);\\r\\n/* Turn HTTPS \'on\' if HTTP_X_FORWARDED_PROTO matches \'https\' */\\r\\nif (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) {\\r\\n$_SERVER[\'HTTPS\'] = \'on\';\\r\\n}\\r\\n重启Nginx 和 Varnish 服务\\r\\nservice nginx reload\\r\\nservice varnish reload\\r\\n总结\\r\\nWeb URL请求路径:\\r\\nNginx:80——\\u003eNginx:443 ——\\u003e Varnish:6081 ——\\u003e Nginx:8080\\r\\n验证Varnish是否生效\\r\\ncurl -I https://www.phpman.cc\\r\\n返回结果\\r\\nHTTP/1.1 200 OK\\r\\nServer: nginx\\r\\nDate: Tue, 13 Apr 2021 06:41:21 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nConnection: keep-alive\\r\\nVary: Accept-Encoding\\r\\nVary: Accept-Encoding\\r\\nX-Powered-By: PHP/7.4.15\\r\\nLink: ; rel=\\\"https://api.w.org/\\\"\\r\\nX-Varnish: 360465\\r\\nAge: 0\\r\\nVia: 1.1 varnish-v4\\r\\n\"],\"id\":[\"16\"],\"title\":[\"Varnish 加速你的WordPress\"],\"updated_at\":[\"\"]}','2021-09-12 14:43:57','2021-09-12 14:43:57'),(441,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"8c91a1fd-2b1a-4c86-89bc-2e01c73e8db4\"],\"content\":[\"\\r\\nVarnish Cache是Web应用程序加速器,也称为缓存HTTP反向代理。您可以将其安装在任何使用HTTP的服务器之前,并将其配置为缓存内容。Varnish Cache确实非常快。根据您的体系结构,通常可以将交付速度提高300到1000倍。\\r\\nCentOs 安装\\r\\nyum install varnish\\r\\nVarnish 配置\\r\\n###############################################################################################\\r\\n### The perfect Varnish 4.x+ configuration for Joomla, WordPress \\u0026 other CMS based websites ###\\r\\n###############################################################################################\\r\\n######################\\r\\n#\\r\\n# UPDATED on July 7th, 2020\\r\\n#\\r\\n# Configuration Notes:\\r\\n# 1. Default dynamic content caching respects your backend\'s cache-control HTTP header.\\r\\n# If however you need to enforce a different cache-control TTL,\\r\\n# do a search for \\\"180\\\" and replace with the new value in seconds.\\r\\n# Stale cache is served for up to 24 hours.\\r\\n# 2. Make sure you update the \\\"backend default { ... }\\\" section with the correct IP and port\\r\\n#\\r\\n######################\\r\\n# Varnish Reference:\\r\\n# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/\\r\\n# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.\\r\\n# Marker to tell the VCL compiler that this VCL has been adapted to the new 4.0 format\\r\\nvcl 4.0;\\r\\n# Imports\\r\\nimport std;\\r\\n# Default backend definition. Set this to point to your content server.\\r\\nbackend default {\\r\\n.host = \\\"127.0.0.1\\\"; # UPDATE this only if the web server is not on the same machine\\r\\n.port = \\\"8080\\\"; # UPDATE 8080 with your web server\'s (internal) port\\r\\n}\\r\\nsub vcl_recv {\\r\\n/*\\r\\n# Blocks\\r\\nif (req.http.user-agent ~ \\\"^$\\\" \\u0026\\u0026 req.http.referer ~ \\\"^$\\\") {\\r\\nreturn (synth(204, \\\"No content\\\"));\\r\\n}\\r\\nif (req.http.user-agent ~ \\\"(ahrefs|bingbot|domaincrawler|dotbot|mj12bot|semrush)\\\") {\\r\\nreturn (synth(204, \\\"Bot blocked\\\"));\\r\\n}\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nreturn (pass);\\r\\n}\\r\\n*/\\r\\n# LetsEncrypt Certbot passthrough\\r\\nif (req.url ~ \\\"^/.well-known/acme-challenge/\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# Forward client\'s IP to the backend\\r\\nif (req.restarts == 0) {\\r\\nif (req.http.X-Real-IP) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Real-IP;\\r\\n} else if (req.http.X-Forwarded-For) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \\\", \\\" + client.ip;\\r\\n} else {\\r\\nset req.http.X-Forwarded-For = client.ip;\\r\\n}\\r\\n}\\r\\n# httpoxy\\r\\nunset req.http.proxy;\\r\\n# Non-RFC2616 or CONNECT which is weird.\\r\\nif (\\r\\nreq.method != \\\"GET\\\" \\u0026\\u0026\\r\\nreq.method != \\\"HEAD\\\" \\u0026\\u0026\\r\\nreq.method != \\\"PUT\\\" \\u0026\\u0026\\r\\nreq.method != \\\"POST\\\" \\u0026\\u0026\\r\\nreq.method != \\\"TRACE\\\" \\u0026\\u0026\\r\\nreq.method != \\\"OPTIONS\\\" \\u0026\\u0026\\r\\nreq.method != \\\"DELETE\\\"\\r\\n) {\\r\\nreturn (pipe);\\r\\n}\\r\\n# We only deal with GET and HEAD by default\\r\\nif (req.method != \\\"GET\\\" \\u0026\\u0026 req.method != \\\"HEAD\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# === URL manipulation ===\\r\\n# First remove the Google Analytics added parameters, useless for our backend\\r\\nif (req.url ~ \\\"(?|\\u0026)(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=\\\") {\\r\\nset req.url = regsuball(req.url, \\\"\\u0026(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"\\\");\\r\\nset req.url = regsuball(req.url, \\\"?(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?\\u0026\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip hash, server doesn\'t need it.\\r\\nif (req.url ~ \\\"#\\\") {\\r\\nset req.url = regsub(req.url, \\\"#.*$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip a trailing ? if it exists\\r\\n#if (req.url ~ \\\"?$\\\") {\\r\\n# set req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n#}\\r\\n# === Generic cookie manipulation ===\\r\\n# Remove the \\\"has_js\\\" cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"has_js=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove any Google Analytics based cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__utm.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_ga=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_gat=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmctr=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmcmd.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmccn.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove DoubleClick offensive cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__gads=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the Quant Capital cookies (added by some plugin, all __qca)\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__qc.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the AddThis cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__atuv.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-time-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-time-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp test cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wordpress_test_cookie=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove a \\\";\\\" prefix in the cookie if present\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"^;s*\\\", \\\"\\\");\\r\\n# Are there cookies left with only spaces or that are empty?\\r\\nif (req.http.cookie ~ \\\"^s*$\\\") {\\r\\nunset req.http.cookie;\\r\\n}\\r\\n# Check for the custom \\\"X-Logged-In\\\" header (used by K2 and other apps) to identify\\r\\n# if the visitor is a guest, then unset any cookie (including session cookies) provided\\r\\n# it\'s not a POST request.\\r\\nif(req.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 req.method != \\\"POST\\\") {\\r\\nunset req.http.Cookie;\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nreq.http.Authorization ||\\r\\nreq.http.Authenticate ||\\r\\nreq.http.X-Logged-In == \\\"True\\\" ||\\r\\nreq.http.Cookie ~ \\\"userID\\\" ||\\r\\nreq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nreq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nreq.url ~ \\\"^/addons\\\" ||\\r\\nreq.url ~ \\\"^/administrator\\\" ||\\r\\nreq.url ~ \\\"^/cart\\\" ||\\r\\nreq.url ~ \\\"^/checkout\\\" ||\\r\\nreq.url ~ \\\"^/component/banners\\\" ||\\r\\nreq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nreq.url ~ \\\"^/component/users\\\" ||\\r\\nreq.url ~ \\\"^/connect\\\" ||\\r\\nreq.url ~ \\\"^/contact\\\" ||\\r\\nreq.url ~ \\\"^/login\\\" ||\\r\\nreq.url ~ \\\"^/logout\\\" ||\\r\\nreq.url ~ \\\"^/lost-password\\\" ||\\r\\nreq.url ~ \\\"^/my-account\\\" ||\\r\\nreq.url ~ \\\"^/register\\\" ||\\r\\nreq.url ~ \\\"^/signin\\\" ||\\r\\nreq.url ~ \\\"^/signup\\\" ||\\r\\nreq.url ~ \\\"^/wc-api\\\" ||\\r\\nreq.url ~ \\\"^/wp-admin\\\" ||\\r\\nreq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nreq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nreq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(req.http.X-Requested-With == \\\"XMLHttpRequest\\\" || req.url ~ \\\"nocache\\\") {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# === STATIC FILES ===\\r\\n# Properly handle different encoding types\\r\\nif (req.http.Accept-Encoding) {\\r\\nif (req.url ~ \\\".(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf)$\\\") {\\r\\n# No point in compressing these\\r\\nunset req.http.Accept-Encoding;\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"gzip\\\") {\\r\\nset req.http.Accept-Encoding = \\\"gzip\\\";\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"deflate\\\") {\\r\\nset req.http.Accept-Encoding = \\\"deflate\\\";\\r\\n} else {\\r\\n# unknown algorithm (aka crappy browser)\\r\\nunset req.http.Accept-Encoding;\\r\\n}\\r\\n}\\r\\n# Remove all cookies for static files \\u0026 deliver directly\\r\\nif (req.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset req.http.Cookie;\\r\\nreturn (hash);\\r\\n}\\r\\nreturn (hash);\\r\\n}\\r\\nsub vcl_backend_response {\\r\\n/*\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nbereq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nbereq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n*/\\r\\n# Don\'t cache 50x responses\\r\\nif (\\r\\nberesp.status == 500 ||\\r\\nberesp.status == 502 ||\\r\\nberesp.status == 503 ||\\r\\nberesp.status == 504\\r\\n) {\\r\\nreturn (abandon);\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nbereq.url ~ \\\"^/addons\\\" ||\\r\\nbereq.url ~ \\\"^/administrator\\\" ||\\r\\nbereq.url ~ \\\"^/cart\\\" ||\\r\\nbereq.url ~ \\\"^/checkout\\\" ||\\r\\nbereq.url ~ \\\"^/component/banners\\\" ||\\r\\nbereq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nbereq.url ~ \\\"^/component/users\\\" ||\\r\\nbereq.url ~ \\\"^/connect\\\" ||\\r\\nbereq.url ~ \\\"^/contact\\\" ||\\r\\nbereq.url ~ \\\"^/login\\\" ||\\r\\nbereq.url ~ \\\"^/logout\\\" ||\\r\\nbereq.url ~ \\\"^/lost-password\\\" ||\\r\\nbereq.url ~ \\\"^/my-account\\\" ||\\r\\nbereq.url ~ \\\"^/register\\\" ||\\r\\nbereq.url ~ \\\"^/signin\\\" ||\\r\\nbereq.url ~ \\\"^/signup\\\" ||\\r\\nbereq.url ~ \\\"^/wc-api\\\" ||\\r\\nbereq.url ~ \\\"^/wp-admin\\\" ||\\r\\nbereq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nbereq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nbereq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nbereq.http.Authorization ||\\r\\nbereq.http.Authenticate ||\\r\\nbereq.http.X-Logged-In == \\\"True\\\" ||\\r\\nbereq.http.Cookie ~ \\\"userID\\\" ||\\r\\nbereq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nbereq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(beresp.http.X-Requested-With == \\\"XMLHttpRequest\\\" || bereq.url ~ \\\"nocache\\\") {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache backend response to posted requests\\r\\nif (bereq.method == \\\"POST\\\") {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Ok, we\'re cool \\u0026 ready to cache things\\r\\n# so let\'s clean up some headers and cookies\\r\\n# to maximize caching.\\r\\n# Check for the custom \\\"X-Logged-In\\\" header to identify if the visitor is a guest,\\r\\n# then unset any cookie (including session cookies) provided it\'s not a POST request.\\r\\nif(beresp.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 bereq.method != \\\"POST\\\") {\\r\\nunset beresp.http.Set-Cookie;\\r\\n}\\r\\n# Unset the \\\"pragma\\\" header (suggested)\\r\\nunset beresp.http.Pragma;\\r\\n# Unset the \\\"vary\\\" header (suggested)\\r\\nunset beresp.http.Vary;\\r\\n# Unset the \\\"etag\\\" header (optional)\\r\\n#unset beresp.http.etag;\\r\\n# Allow stale content, in case the backend goes down\\r\\nset beresp.grace = 24h;\\r\\n# Enforce your own cache TTL (optional)\\r\\n#set beresp.ttl = 180s;\\r\\n# Modify \\\"expires\\\" header - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires (optional)\\r\\n#set beresp.http.Expires = \\\"\\\" + (now + beresp.ttl);\\r\\n# If your backend server does not set the right caching headers for static assets,\\r\\n# you can set them below (uncomment first and change 604800 - which 1 week - to whatever you\\r\\n# want (in seconds)\\r\\n#if (bereq.url ~ \\\".(ico|jpg|jpeg|gif|png|bmp|webp|tiff|svg|svgz|pdf|mp3|flac|ogg|mid|midi|wav|mp4|webm|mkv|ogv|wmv|eot|otf|woff|ttf|rss|atom|zip|7z|tgz|gz|rar|bz2|tar|exe|doc|docx|xls|xlsx|ppt|pptx|rtf|odt|ods|odp)(?[a-zA-Z0-9=]+)$\\\") {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=604800\\\";\\r\\n#}\\r\\nif (bereq.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset beresp.http.set-cookie;\\r\\nset beresp.do_stream = true;\\r\\n}\\r\\n# We have content to cache, but it\'s got no-cache or other Cache-Control values sent\\r\\n# So let\'s reset it to our main caching time (180s as used in this example configuration)\\r\\n# The additional parameters specified (stale-while-revalidate \\u0026 stale-if-error) are used\\r\\n# by modern browsers to better control caching. Set these to twice \\u0026 four times your main\\r\\n# cache time respectively.\\r\\n# This final setting will normalize cache-control headers for CMSs like Joomla\\r\\n# which set max-age=0 even when the CMS\' cache is enabled.\\r\\nif (beresp.http.Cache-Control !~ \\\"max-age\\\" || beresp.http.Cache-Control ~ \\\"max-age=0\\\") {\\r\\nset beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n}\\r\\n# Optionally set a larger TTL for pages with less than 180s of cache TTL\\r\\n#if (beresp.ttl \\u003c 180s) {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n#}\\r\\nreturn (deliver);\\r\\n}\\r\\nsub vcl_deliver {\\r\\n/*\\r\\n# Send a special header for excluded domains only\\r\\n# The if statement can be identical to the ones in the vcl_recv() and vcl_fetch() functions above\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset resp.http.X-Domain-Status = \\\"EXCLUDED\\\";\\r\\n}\\r\\n# Enforce redirect to HTTPS for specified domains only\\r\\nif (\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\" \\u0026\\u0026\\r\\nreq.http.X-Forwarded-Proto !~ \\\"(?i)https\\\"\\r\\n) {\\r\\nset resp.http.Location = \\\"https://\\\" + req.http.host + req.url;\\r\\nset resp.status = 302;\\r\\n}\\r\\n*/\\r\\n# Send special headers that indicate the cache status of each web page\\r\\nif (obj.hits \\u003e 0) {\\r\\nset resp.http.X-Cache = \\\"HIT\\\";\\r\\nset resp.http.X-Cache-Hits = obj.hits;\\r\\n} else {\\r\\nset resp.http.X-Cache = \\\"MISS\\\";\\r\\n}\\r\\nreturn (deliver);\\r\\n}\\r\\nNginx Host 配置\\r\\nserver {\\r\\nlisten 80;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nrewrite ^/(.*) https://www.phpman.cc/$1 permanent;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 8080;\\r\\nindex index.html index.htm index.php default.html default.htm default.php;\\r\\nroot /home/wwwroot/www.phpman.cc/wordpress;\\r\\ninclude rewrite/wordpress.conf;\\r\\n#error_page 404 /404.html;\\r\\n# Deny access to PHP files in specific directory\\r\\n#location ~ /(wp-content|uploads|wp-includes|images)/.*.php$ { deny all; }\\r\\ninclude enable-php-pathinfo.conf;\\r\\nlocation ~ .*.(gif|jpg|jpeg|png|bmp|swf)$\\r\\n{\\r\\nexpires 30d;\\r\\n}\\r\\nlocation ~ .*.(js|css)?$\\r\\n{\\r\\nexpires 12h;\\r\\n}\\r\\nlocation ~ /.well-known {\\r\\nallow all;\\r\\n}\\r\\nlocation ~ /.\\r\\n{\\r\\ndeny all;\\r\\n}\\r\\naccess_log /home/wwwlogs/y.log;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 443 ssl http2;\\r\\n#listen [::]:443 ssl http2;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nssl_certificate /root/ssl/4082867_phpman.cc.pem;\\r\\nssl_certificate_key /root/ssl/4082867_phpman.cc.key;\\r\\nssl_session_timeout 5m;\\r\\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\\r\\nssl_prefer_server_ciphers on;\\r\\nssl_ciphers \\\"TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5\\\";\\r\\nssl_session_cache builtin:1000 shared:SSL:10m;\\r\\n# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048\\r\\nssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;\\r\\nlocation / {\\r\\nproxy_pass http://127.0.0.1:6081;\\r\\nproxy_set_header X-Real-IP $remote_addr;\\r\\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\\r\\nproxy_set_header X-Forwarded-Proto https;\\r\\nproxy_set_header X-Forwarded-Port 443;\\r\\nproxy_set_header Host $host;\\r\\n}\\r\\n}\\r\\nWordPress wp-config.php配置\\r\\n/* SSL Settings */\\r\\ndefine(\'FORCE_SSL_ADMIN\', true);\\r\\n/* Turn HTTPS \'on\' if HTTP_X_FORWARDED_PROTO matches \'https\' */\\r\\nif (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) {\\r\\n$_SERVER[\'HTTPS\'] = \'on\';\\r\\n}\\r\\n重启Nginx 和 Varnish 服务\\r\\nservice nginx reload\\r\\nservice varnish reload\\r\\n总结\\r\\nWeb URL请求路径:\\r\\nNginx:80——\\u003eNginx:443 ——\\u003e Varnish:6081 ——\\u003e Nginx:8080\\r\\n验证Varnish是否生效\\r\\ncurl -I https://www.phpman.cc\\r\\n返回结果\\r\\nHTTP/1.1 200 OK\\r\\nServer: nginx\\r\\nDate: Tue, 13 Apr 2021 06:41:21 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nConnection: keep-alive\\r\\nVary: Accept-Encoding\\r\\nVary: Accept-Encoding\\r\\nX-Powered-By: PHP/7.4.15\\r\\nLink: ; rel=\\\"https://api.w.org/\\\"\\r\\nX-Varnish: 360465\\r\\nAge: 0\\r\\nVia: 1.1 varnish-v4\\r\\n\"],\"id\":[\"16\"],\"title\":[\"Varnish 加速你的WordPress\"],\"updated_at\":[\"2021-09-12 00:00:00\"]}','2021-09-12 14:44:29','2021-09-12 14:44:29'),(442,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:44:31','2021-09-12 14:44:31'),(443,1,'/admin/application/info','GET','::1','','2021-09-12 14:45:24','2021-09-12 14:45:24'),(444,1,'/admin/info/generate/new','GET','::1','','2021-09-12 14:45:25','2021-09-12 14:45:25'),(445,1,'/admin/operation/_tool_choose_conn','POST','::1','','2021-09-12 14:45:27','2021-09-12 14:45:27'),(446,1,'/admin/operation/_tool_choose_table','POST','::1','','2021-09-12 14:45:29','2021-09-12 14:45:29'),(447,1,'/admin/new/generate','POST','::1','{\"__checkbox__hide_back_button\":[\"on\"],\"__checkbox__hide_continue_edit_check_box\":[\"on\"],\"__checkbox__hide_continue_new_check_box\":[\"on\"],\"__checkbox__hide_delete_button\":[\"on\"],\"__checkbox__hide_detail_button\":[\"on\"],\"__checkbox__hide_edit_button\":[\"on\"],\"__checkbox__hide_export_button\":[\"on\"],\"__checkbox__hide_filter_area\":[\"on\"],\"__checkbox__hide_filter_button\":[\"on\"],\"__checkbox__hide_new_button\":[\"on\"],\"__checkbox__hide_pagination\":[\"on\"],\"__checkbox__hide_query_info\":[\"on\"],\"__checkbox__hide_reset_button\":[\"on\"],\"__checkbox__hide_row_selector\":[\"on\"],\"__go_admin_previous_\":[\"http://localhost:8080/admin/application/info\"],\"__go_admin_t_\":[\"ac96bc81-75e6-46ea-adc6-0ad008b96b97\"],\"conn\":[\"default\"],\"field_canadd\":[\"n\",\"n\",\"n\",\"n\",\"n\"],\"field_canedit\":[\"n\",\"n\",\"n\",\"n\",\"n\"],\"field_db_type\":[\"Bigint\",\"Varchar\",\"Longtext\",\"Timestamp\",\"Timestamp\"],\"field_db_type_form\":[\"Bigint\",\"Varchar\",\"Longtext\",\"Timestamp\",\"Timestamp\"],\"field_filterable\":[\"n\",\"n\",\"n\",\"n\",\"n\"],\"field_form_type_form\":[\"Default\",\"Text\",\"RichText\",\"Datetime\",\"Datetime\"],\"field_head\":[\"Id\",\"Title\",\"Content\",\"Created_at\",\"Updated_at\"],\"field_head_form\":[\"Id\",\"Title\",\"Content\",\"Created_at\",\"Updated_at\"],\"field_name\":[\"id\",\"title\",\"content\",\"created_at\",\"updated_at\"],\"field_name_form\":[\"id\",\"title\",\"content\",\"created_at\",\"updated_at\"],\"field_sortable\":[\"n\",\"n\",\"n\",\"n\",\"n\"],\"filter_form_layout\":[\"LayoutDefault\"],\"hide_back_button\":[\"n\"],\"hide_continue_edit_check_box\":[\"n\"],\"hide_continue_new_check_box\":[\"n\"],\"hide_delete_button\":[\"n\"],\"hide_detail_button\":[\"n\"],\"hide_edit_button\":[\"n\"],\"hide_export_button\":[\"n\"],\"hide_filter_area\":[\"n\"],\"hide_filter_button\":[\"n\"],\"hide_new_button\":[\"n\"],\"hide_pagination\":[\"n\"],\"hide_query_info\":[\"n\"],\"hide_reset_button\":[\"n\"],\"hide_row_selector\":[\"n\"],\"package\":[\"tables\"],\"path\":[\"/Users/songjiangfeng/work/iris-go/learn-iris/tables\"],\"pk\":[\"id\"],\"table\":[\"iris_posts\"]}','2021-09-12 14:45:34','2021-09-12 14:45:34'),(448,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:45:42','2021-09-12 14:45:42'),(449,1,'/admin/info/generate/new','GET','::1','','2021-09-12 14:45:44','2021-09-12 14:45:44'),(450,1,'/admin/operation/_tool_choose_conn','POST','::1','','2021-09-12 14:45:56','2021-09-12 14:45:56'),(451,1,'/admin/operation/_tool_choose_table','POST','::1','','2021-09-12 14:45:59','2021-09-12 14:45:59'),(452,1,'/admin/new/generate','POST','::1','{\"__checkbox__hide_back_button\":[\"on\"],\"__checkbox__hide_continue_edit_check_box\":[\"on\"],\"__checkbox__hide_continue_new_check_box\":[\"on\"],\"__checkbox__hide_delete_button\":[\"on\"],\"__checkbox__hide_detail_button\":[\"on\"],\"__checkbox__hide_edit_button\":[\"on\"],\"__checkbox__hide_export_button\":[\"on\"],\"__checkbox__hide_filter_area\":[\"on\"],\"__checkbox__hide_filter_button\":[\"on\"],\"__checkbox__hide_new_button\":[\"on\"],\"__checkbox__hide_pagination\":[\"on\"],\"__checkbox__hide_query_info\":[\"on\"],\"__checkbox__hide_reset_button\":[\"on\"],\"__checkbox__hide_row_selector\":[\"on\"],\"__go_admin_previous_\":[\"http://localhost:8080/admin/application/info\"],\"__go_admin_t_\":[\"d8ff87e8-be23-4984-8828-5d235ad34e09\"],\"conn\":[\"default\"],\"field_canadd\":[\"n\",\"n\",\"n\",\"n\"],\"field_canedit\":[\"n\",\"n\",\"n\",\"n\"],\"field_db_type\":[\"Bigint\",\"Varchar\",\"Timestamp\"],\"field_db_type_form\":[\"Varchar\",\"Longtext\",\"Timestamp\",\"Timestamp\"],\"field_filterable\":[\"n\",\"n\",\"n\"],\"field_form_type_form\":[\"Text\",\"RichText\",\"Datetime\",\"Datetime\"],\"field_head\":[\"Id\",\"Title\",\"Created_at\"],\"field_head_form\":[\"Title\",\"Content\",\"Created_at\",\"Updated_at\"],\"field_name\":[\"id\",\"title\",\"created_at\"],\"field_name_form\":[\"title\",\"content\",\"created_at\",\"updated_at\"],\"field_sortable\":[\"n\",\"n\",\"n\"],\"filter_form_layout\":[\"LayoutDefault\"],\"hide_back_button\":[\"n\"],\"hide_continue_edit_check_box\":[\"n\"],\"hide_continue_new_check_box\":[\"n\"],\"hide_delete_button\":[\"n\"],\"hide_detail_button\":[\"n\"],\"hide_edit_button\":[\"n\"],\"hide_export_button\":[\"n\"],\"hide_filter_area\":[\"n\"],\"hide_filter_button\":[\"n\"],\"hide_new_button\":[\"n\"],\"hide_pagination\":[\"n\"],\"hide_query_info\":[\"n\"],\"hide_reset_button\":[\"n\"],\"hide_row_selector\":[\"n\"],\"package\":[\"tables\"],\"path\":[\"/Users/songjiangfeng/work/iris-go/learn-iris/tables\"],\"pk\":[\"id\"],\"table\":[\"iris_posts\"]}','2021-09-12 14:47:18','2021-09-12 14:47:18'),(453,1,'/admin/info/generate/new','GET','::1','','2021-09-12 14:47:38','2021-09-12 14:47:38'),(454,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:47:40','2021-09-12 14:47:40'),(455,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:47:48','2021-09-12 14:47:48'),(456,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:47:54','2021-09-12 14:47:54'),(457,1,'/admin/info/posts','GET','::1','','2021-09-12 14:47:55','2021-09-12 14:47:55'),(458,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:47:58','2021-09-12 14:47:58'),(459,1,'/admin/info/posts','GET','::1','','2021-09-12 14:48:01','2021-09-12 14:48:01'),(460,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:48:03','2021-09-12 14:48:03'),(461,1,'/admin/info/posts','GET','::1','','2021-09-12 14:48:07','2021-09-12 14:48:07'),(462,1,'/admin/info/posts','GET','::1','','2021-09-12 14:48:44','2021-09-12 14:48:44'),(463,1,'/admin/info/posts','GET','::1','','2021-09-12 14:49:08','2021-09-12 14:49:08'),(464,1,'/admin/info/posts','GET','::1','','2021-09-12 14:49:35','2021-09-12 14:49:35'),(465,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:49:37','2021-09-12 14:49:37'),(466,1,'/admin/info/posts','GET','::1','','2021-09-12 14:49:41','2021-09-12 14:49:41'),(467,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:49:45','2021-09-12 14:49:45'),(468,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"885f0db1-23bd-4c36-8f93-142a36ee1914\"],\"content\":[\"\\r\\n如果你想要构建自己的博客,通过网络分享自己想法或者创意,但是却不知道如何去做?\\r\\n那么今天我将分享自己是如何快速构建博客,并且去分享自己的一些经验和想法通过网络去传播,希望能帮助到你。\\r\\n简单的来讲你需要三样东西,第一个是一个自己的域名,第二个是一个云服务器,第三个是一个博客平台。\\r\\n域名和云服务器并不是免费的,你需要找到域名服务商去注册,云服务器需要找到合适的云服务器商去购买。博客平台WordPress是一个开源免费的平台,你不需要任何费用。\\r\\n接下来我将推荐一家相对比较便宜的云服务器提供商 Vultr\\r\\n这家服务商是的服务器是遍布全球的,你可以根据自己的需求来选择合适的云服务器。通过下面的优惠链接去注册并且购买服务器 https://www.vultr.com/?ref=7202739,这样我也可以获取一部分的奖励。\\r\\n希望这边文章能帮你快速构建自己博客平台。\\r\\n\"],\"created_at\":[\"2021-09-12 22:33:24\"],\"id\":[\"15\"],\"title\":[\"如何构建自己的博客\"],\"updated_at\":[\"\"]}','2021-09-12 14:49:53','2021-09-12 14:49:53'),(469,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:50:43','2021-09-12 14:50:43'),(470,1,'/admin/info/posts','GET','::1','','2021-09-12 14:50:45','2021-09-12 14:50:45'),(471,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:50:46','2021-09-12 14:50:46'),(472,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:51:14','2021-09-12 14:51:14'),(473,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:51:30','2021-09-12 14:51:30'),(474,1,'/admin/info/roles','GET','::1','','2021-09-12 14:51:34','2021-09-12 14:51:34'),(475,1,'/admin/info/posts','GET','::1','','2021-09-12 14:51:36','2021-09-12 14:51:36'),(476,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:51:38','2021-09-12 14:51:38'),(477,1,'/admin/info/posts','GET','::1','','2021-09-12 14:51:39','2021-09-12 14:51:39'),(478,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:51:40','2021-09-12 14:51:40'),(479,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:51:41','2021-09-12 14:51:41'),(480,1,'/admin/info/posts','GET','::1','','2021-09-12 14:51:41','2021-09-12 14:51:41'),(481,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:51:43','2021-09-12 14:51:43'),(482,1,'/admin/new/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"273271e7-99f8-4fc5-a1ee-c7979d107a25\"],\"content\":[\"\\u003cp\\u003etest\\u003c/p\\u003e\"],\"title\":[\"test\"]}','2021-09-12 14:51:47','2021-09-12 14:51:47'),(483,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:51:54','2021-09-12 14:51:54'),(484,1,'/admin/info/posts','GET','::1','','2021-09-12 14:51:56','2021-09-12 14:51:56'),(485,1,'/admin/info/posts','GET','::1','','2021-09-12 14:52:25','2021-09-12 14:52:25'),(486,1,'/admin/info/posts','GET','::1','','2021-09-12 14:52:25','2021-09-12 14:52:25'),(487,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:52:28','2021-09-12 14:52:28'),(488,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"952b12a2-3759-4b92-a5ab-4739a6cb384c\"],\"content\":[\"test\"],\"id\":[\"18\"],\"title\":[\"test\"]}','2021-09-12 14:52:30','2021-09-12 14:52:30'),(489,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:52:39','2021-09-12 14:52:39'),(490,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"d76e215f-b3ad-4148-8c4f-39917a050eeb\"],\"content\":[\"\\r\\nVarnish Cache是Web应用程序加速器,也称为缓存HTTP反向代理。您可以将其安装在任何使用HTTP的服务器之前,并将其配置为缓存内容。Varnish Cache确实非常快。根据您的体系结构,通常可以将交付速度提高300到1000倍。\\r\\nCentOs 安装\\r\\nyum install varnish\\r\\nVarnish 配置\\r\\n###############################################################################################\\r\\n### The perfect Varnish 4.x+ configuration for Joomla, WordPress \\u0026 other CMS based websites ###\\r\\n###############################################################################################\\r\\n######################\\r\\n#\\r\\n# UPDATED on July 7th, 2020\\r\\n#\\r\\n# Configuration Notes:\\r\\n# 1. Default dynamic content caching respects your backend\'s cache-control HTTP header.\\r\\n# If however you need to enforce a different cache-control TTL,\\r\\n# do a search for \\\"180\\\" and replace with the new value in seconds.\\r\\n# Stale cache is served for up to 24 hours.\\r\\n# 2. Make sure you update the \\\"backend default { ... }\\\" section with the correct IP and port\\r\\n#\\r\\n######################\\r\\n# Varnish Reference:\\r\\n# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/\\r\\n# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.\\r\\n# Marker to tell the VCL compiler that this VCL has been adapted to the new 4.0 format\\r\\nvcl 4.0;\\r\\n# Imports\\r\\nimport std;\\r\\n# Default backend definition. Set this to point to your content server.\\r\\nbackend default {\\r\\n.host = \\\"127.0.0.1\\\"; # UPDATE this only if the web server is not on the same machine\\r\\n.port = \\\"8080\\\"; # UPDATE 8080 with your web server\'s (internal) port\\r\\n}\\r\\nsub vcl_recv {\\r\\n/*\\r\\n# Blocks\\r\\nif (req.http.user-agent ~ \\\"^$\\\" \\u0026\\u0026 req.http.referer ~ \\\"^$\\\") {\\r\\nreturn (synth(204, \\\"No content\\\"));\\r\\n}\\r\\nif (req.http.user-agent ~ \\\"(ahrefs|bingbot|domaincrawler|dotbot|mj12bot|semrush)\\\") {\\r\\nreturn (synth(204, \\\"Bot blocked\\\"));\\r\\n}\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nreturn (pass);\\r\\n}\\r\\n*/\\r\\n# LetsEncrypt Certbot passthrough\\r\\nif (req.url ~ \\\"^/.well-known/acme-challenge/\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# Forward client\'s IP to the backend\\r\\nif (req.restarts == 0) {\\r\\nif (req.http.X-Real-IP) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Real-IP;\\r\\n} else if (req.http.X-Forwarded-For) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \\\", \\\" + client.ip;\\r\\n} else {\\r\\nset req.http.X-Forwarded-For = client.ip;\\r\\n}\\r\\n}\\r\\n# httpoxy\\r\\nunset req.http.proxy;\\r\\n# Non-RFC2616 or CONNECT which is weird.\\r\\nif (\\r\\nreq.method != \\\"GET\\\" \\u0026\\u0026\\r\\nreq.method != \\\"HEAD\\\" \\u0026\\u0026\\r\\nreq.method != \\\"PUT\\\" \\u0026\\u0026\\r\\nreq.method != \\\"POST\\\" \\u0026\\u0026\\r\\nreq.method != \\\"TRACE\\\" \\u0026\\u0026\\r\\nreq.method != \\\"OPTIONS\\\" \\u0026\\u0026\\r\\nreq.method != \\\"DELETE\\\"\\r\\n) {\\r\\nreturn (pipe);\\r\\n}\\r\\n# We only deal with GET and HEAD by default\\r\\nif (req.method != \\\"GET\\\" \\u0026\\u0026 req.method != \\\"HEAD\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# === URL manipulation ===\\r\\n# First remove the Google Analytics added parameters, useless for our backend\\r\\nif (req.url ~ \\\"(?|\\u0026)(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=\\\") {\\r\\nset req.url = regsuball(req.url, \\\"\\u0026(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"\\\");\\r\\nset req.url = regsuball(req.url, \\\"?(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?\\u0026\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip hash, server doesn\'t need it.\\r\\nif (req.url ~ \\\"#\\\") {\\r\\nset req.url = regsub(req.url, \\\"#.*$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip a trailing ? if it exists\\r\\n#if (req.url ~ \\\"?$\\\") {\\r\\n# set req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n#}\\r\\n# === Generic cookie manipulation ===\\r\\n# Remove the \\\"has_js\\\" cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"has_js=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove any Google Analytics based cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__utm.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_ga=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_gat=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmctr=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmcmd.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmccn.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove DoubleClick offensive cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__gads=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the Quant Capital cookies (added by some plugin, all __qca)\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__qc.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the AddThis cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__atuv.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-time-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-time-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp test cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wordpress_test_cookie=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove a \\\";\\\" prefix in the cookie if present\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"^;s*\\\", \\\"\\\");\\r\\n# Are there cookies left with only spaces or that are empty?\\r\\nif (req.http.cookie ~ \\\"^s*$\\\") {\\r\\nunset req.http.cookie;\\r\\n}\\r\\n# Check for the custom \\\"X-Logged-In\\\" header (used by K2 and other apps) to identify\\r\\n# if the visitor is a guest, then unset any cookie (including session cookies) provided\\r\\n# it\'s not a POST request.\\r\\nif(req.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 req.method != \\\"POST\\\") {\\r\\nunset req.http.Cookie;\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nreq.http.Authorization ||\\r\\nreq.http.Authenticate ||\\r\\nreq.http.X-Logged-In == \\\"True\\\" ||\\r\\nreq.http.Cookie ~ \\\"userID\\\" ||\\r\\nreq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nreq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nreq.url ~ \\\"^/addons\\\" ||\\r\\nreq.url ~ \\\"^/administrator\\\" ||\\r\\nreq.url ~ \\\"^/cart\\\" ||\\r\\nreq.url ~ \\\"^/checkout\\\" ||\\r\\nreq.url ~ \\\"^/component/banners\\\" ||\\r\\nreq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nreq.url ~ \\\"^/component/users\\\" ||\\r\\nreq.url ~ \\\"^/connect\\\" ||\\r\\nreq.url ~ \\\"^/contact\\\" ||\\r\\nreq.url ~ \\\"^/login\\\" ||\\r\\nreq.url ~ \\\"^/logout\\\" ||\\r\\nreq.url ~ \\\"^/lost-password\\\" ||\\r\\nreq.url ~ \\\"^/my-account\\\" ||\\r\\nreq.url ~ \\\"^/register\\\" ||\\r\\nreq.url ~ \\\"^/signin\\\" ||\\r\\nreq.url ~ \\\"^/signup\\\" ||\\r\\nreq.url ~ \\\"^/wc-api\\\" ||\\r\\nreq.url ~ \\\"^/wp-admin\\\" ||\\r\\nreq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nreq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nreq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(req.http.X-Requested-With == \\\"XMLHttpRequest\\\" || req.url ~ \\\"nocache\\\") {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# === STATIC FILES ===\\r\\n# Properly handle different encoding types\\r\\nif (req.http.Accept-Encoding) {\\r\\nif (req.url ~ \\\".(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf)$\\\") {\\r\\n# No point in compressing these\\r\\nunset req.http.Accept-Encoding;\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"gzip\\\") {\\r\\nset req.http.Accept-Encoding = \\\"gzip\\\";\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"deflate\\\") {\\r\\nset req.http.Accept-Encoding = \\\"deflate\\\";\\r\\n} else {\\r\\n# unknown algorithm (aka crappy browser)\\r\\nunset req.http.Accept-Encoding;\\r\\n}\\r\\n}\\r\\n# Remove all cookies for static files \\u0026 deliver directly\\r\\nif (req.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset req.http.Cookie;\\r\\nreturn (hash);\\r\\n}\\r\\nreturn (hash);\\r\\n}\\r\\nsub vcl_backend_response {\\r\\n/*\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nbereq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nbereq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n*/\\r\\n# Don\'t cache 50x responses\\r\\nif (\\r\\nberesp.status == 500 ||\\r\\nberesp.status == 502 ||\\r\\nberesp.status == 503 ||\\r\\nberesp.status == 504\\r\\n) {\\r\\nreturn (abandon);\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nbereq.url ~ \\\"^/addons\\\" ||\\r\\nbereq.url ~ \\\"^/administrator\\\" ||\\r\\nbereq.url ~ \\\"^/cart\\\" ||\\r\\nbereq.url ~ \\\"^/checkout\\\" ||\\r\\nbereq.url ~ \\\"^/component/banners\\\" ||\\r\\nbereq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nbereq.url ~ \\\"^/component/users\\\" ||\\r\\nbereq.url ~ \\\"^/connect\\\" ||\\r\\nbereq.url ~ \\\"^/contact\\\" ||\\r\\nbereq.url ~ \\\"^/login\\\" ||\\r\\nbereq.url ~ \\\"^/logout\\\" ||\\r\\nbereq.url ~ \\\"^/lost-password\\\" ||\\r\\nbereq.url ~ \\\"^/my-account\\\" ||\\r\\nbereq.url ~ \\\"^/register\\\" ||\\r\\nbereq.url ~ \\\"^/signin\\\" ||\\r\\nbereq.url ~ \\\"^/signup\\\" ||\\r\\nbereq.url ~ \\\"^/wc-api\\\" ||\\r\\nbereq.url ~ \\\"^/wp-admin\\\" ||\\r\\nbereq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nbereq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nbereq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nbereq.http.Authorization ||\\r\\nbereq.http.Authenticate ||\\r\\nbereq.http.X-Logged-In == \\\"True\\\" ||\\r\\nbereq.http.Cookie ~ \\\"userID\\\" ||\\r\\nbereq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nbereq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(beresp.http.X-Requested-With == \\\"XMLHttpRequest\\\" || bereq.url ~ \\\"nocache\\\") {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache backend response to posted requests\\r\\nif (bereq.method == \\\"POST\\\") {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Ok, we\'re cool \\u0026 ready to cache things\\r\\n# so let\'s clean up some headers and cookies\\r\\n# to maximize caching.\\r\\n# Check for the custom \\\"X-Logged-In\\\" header to identify if the visitor is a guest,\\r\\n# then unset any cookie (including session cookies) provided it\'s not a POST request.\\r\\nif(beresp.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 bereq.method != \\\"POST\\\") {\\r\\nunset beresp.http.Set-Cookie;\\r\\n}\\r\\n# Unset the \\\"pragma\\\" header (suggested)\\r\\nunset beresp.http.Pragma;\\r\\n# Unset the \\\"vary\\\" header (suggested)\\r\\nunset beresp.http.Vary;\\r\\n# Unset the \\\"etag\\\" header (optional)\\r\\n#unset beresp.http.etag;\\r\\n# Allow stale content, in case the backend goes down\\r\\nset beresp.grace = 24h;\\r\\n# Enforce your own cache TTL (optional)\\r\\n#set beresp.ttl = 180s;\\r\\n# Modify \\\"expires\\\" header - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires (optional)\\r\\n#set beresp.http.Expires = \\\"\\\" + (now + beresp.ttl);\\r\\n# If your backend server does not set the right caching headers for static assets,\\r\\n# you can set them below (uncomment first and change 604800 - which 1 week - to whatever you\\r\\n# want (in seconds)\\r\\n#if (bereq.url ~ \\\".(ico|jpg|jpeg|gif|png|bmp|webp|tiff|svg|svgz|pdf|mp3|flac|ogg|mid|midi|wav|mp4|webm|mkv|ogv|wmv|eot|otf|woff|ttf|rss|atom|zip|7z|tgz|gz|rar|bz2|tar|exe|doc|docx|xls|xlsx|ppt|pptx|rtf|odt|ods|odp)(?[a-zA-Z0-9=]+)$\\\") {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=604800\\\";\\r\\n#}\\r\\nif (bereq.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset beresp.http.set-cookie;\\r\\nset beresp.do_stream = true;\\r\\n}\\r\\n# We have content to cache, but it\'s got no-cache or other Cache-Control values sent\\r\\n# So let\'s reset it to our main caching time (180s as used in this example configuration)\\r\\n# The additional parameters specified (stale-while-revalidate \\u0026 stale-if-error) are used\\r\\n# by modern browsers to better control caching. Set these to twice \\u0026 four times your main\\r\\n# cache time respectively.\\r\\n# This final setting will normalize cache-control headers for CMSs like Joomla\\r\\n# which set max-age=0 even when the CMS\' cache is enabled.\\r\\nif (beresp.http.Cache-Control !~ \\\"max-age\\\" || beresp.http.Cache-Control ~ \\\"max-age=0\\\") {\\r\\nset beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n}\\r\\n# Optionally set a larger TTL for pages with less than 180s of cache TTL\\r\\n#if (beresp.ttl \\u003c 180s) {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n#}\\r\\nreturn (deliver);\\r\\n}\\r\\nsub vcl_deliver {\\r\\n/*\\r\\n# Send a special header for excluded domains only\\r\\n# The if statement can be identical to the ones in the vcl_recv() and vcl_fetch() functions above\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset resp.http.X-Domain-Status = \\\"EXCLUDED\\\";\\r\\n}\\r\\n# Enforce redirect to HTTPS for specified domains only\\r\\nif (\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\" \\u0026\\u0026\\r\\nreq.http.X-Forwarded-Proto !~ \\\"(?i)https\\\"\\r\\n) {\\r\\nset resp.http.Location = \\\"https://\\\" + req.http.host + req.url;\\r\\nset resp.status = 302;\\r\\n}\\r\\n*/\\r\\n# Send special headers that indicate the cache status of each web page\\r\\nif (obj.hits \\u003e 0) {\\r\\nset resp.http.X-Cache = \\\"HIT\\\";\\r\\nset resp.http.X-Cache-Hits = obj.hits;\\r\\n} else {\\r\\nset resp.http.X-Cache = \\\"MISS\\\";\\r\\n}\\r\\nreturn (deliver);\\r\\n}\\r\\nNginx Host 配置\\r\\nserver {\\r\\nlisten 80;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nrewrite ^/(.*) https://www.phpman.cc/$1 permanent;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 8080;\\r\\nindex index.html index.htm index.php default.html default.htm default.php;\\r\\nroot /home/wwwroot/www.phpman.cc/wordpress;\\r\\ninclude rewrite/wordpress.conf;\\r\\n#error_page 404 /404.html;\\r\\n# Deny access to PHP files in specific directory\\r\\n#location ~ /(wp-content|uploads|wp-includes|images)/.*.php$ { deny all; }\\r\\ninclude enable-php-pathinfo.conf;\\r\\nlocation ~ .*.(gif|jpg|jpeg|png|bmp|swf)$\\r\\n{\\r\\nexpires 30d;\\r\\n}\\r\\nlocation ~ .*.(js|css)?$\\r\\n{\\r\\nexpires 12h;\\r\\n}\\r\\nlocation ~ /.well-known {\\r\\nallow all;\\r\\n}\\r\\nlocation ~ /.\\r\\n{\\r\\ndeny all;\\r\\n}\\r\\naccess_log /home/wwwlogs/y.log;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 443 ssl http2;\\r\\n#listen [::]:443 ssl http2;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nssl_certificate /root/ssl/4082867_phpman.cc.pem;\\r\\nssl_certificate_key /root/ssl/4082867_phpman.cc.key;\\r\\nssl_session_timeout 5m;\\r\\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\\r\\nssl_prefer_server_ciphers on;\\r\\nssl_ciphers \\\"TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5\\\";\\r\\nssl_session_cache builtin:1000 shared:SSL:10m;\\r\\n# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048\\r\\nssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;\\r\\nlocation / {\\r\\nproxy_pass http://127.0.0.1:6081;\\r\\nproxy_set_header X-Real-IP $remote_addr;\\r\\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\\r\\nproxy_set_header X-Forwarded-Proto https;\\r\\nproxy_set_header X-Forwarded-Port 443;\\r\\nproxy_set_header Host $host;\\r\\n}\\r\\n}\\r\\nWordPress wp-config.php配置\\r\\n/* SSL Settings */\\r\\ndefine(\'FORCE_SSL_ADMIN\', true);\\r\\n/* Turn HTTPS \'on\' if HTTP_X_FORWARDED_PROTO matches \'https\' */\\r\\nif (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) {\\r\\n$_SERVER[\'HTTPS\'] = \'on\';\\r\\n}\\r\\n重启Nginx 和 Varnish 服务\\r\\nservice nginx reload\\r\\nservice varnish reload\\r\\n总结\\r\\nWeb URL请求路径:\\r\\nNginx:80——\\u003eNginx:443 ——\\u003e Varnish:6081 ——\\u003e Nginx:8080\\r\\n验证Varnish是否生效\\r\\ncurl -I https://www.phpman.cc\\r\\n返回结果\\r\\nHTTP/1.1 200 OK\\r\\nServer: nginx\\r\\nDate: Tue, 13 Apr 2021 06:41:21 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nConnection: keep-alive\\r\\nVary: Accept-Encoding\\r\\nVary: Accept-Encoding\\r\\nX-Powered-By: PHP/7.4.15\\r\\nLink: ; rel=\\\"https://api.w.org/\\\"\\r\\nX-Varnish: 360465\\r\\nAge: 0\\r\\nVia: 1.1 varnish-v4\\r\\n\"],\"id\":[\"16\"],\"title\":[\"Varnish 加速你的WordPress\"]}','2021-09-12 14:52:40','2021-09-12 14:52:40'),(491,1,'/admin/info/posts','GET','::1','','2021-09-12 14:52:43','2021-09-12 14:52:43'),(492,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:52:50','2021-09-12 14:52:50'),(493,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:54:20','2021-09-12 14:54:20'),(494,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:54:24','2021-09-12 14:54:24'),(495,1,'/admin/info/posts','GET','::1','','2021-09-12 14:54:25','2021-09-12 14:54:25'),(496,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:54:34','2021-09-12 14:54:34'),(497,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"26c70f70-ca08-41e8-aeeb-d731e409133c\"],\"content\":[\"\\r\\n如果你想要构建自己的博客,通过网络分享自己想法或者创意,但是却不知道如何去做?\\r\\n那么今天我将分享自己是如何快速构建博客,并且去分享自己的一些经验和想法通过网络去传播,希望能帮助到你。\\r\\n简单的来讲你需要三样东西,第一个是一个自己的域名,第二个是一个云服务器,第三个是一个博客平台。\\r\\n域名和云服务器并不是免费的,你需要找到域名服务商去注册,云服务器需要找到合适的云服务器商去购买。博客平台WordPress是一个开源免费的平台,你不需要任何费用。\\r\\n接下来我将推荐一家相对比较便宜的云服务器提供商 Vultr\\r\\n这家服务商是的服务器是遍布全球的,你可以根据自己的需求来选择合适的云服务器。通过下面的优惠链接去注册并且购买服务器 https://www.vultr.com/?ref=7202739,这样我也可以获取一部分的奖励。\\r\\n希望这边文章能帮你快速构建自己博客平台。\\r\\n\"],\"id\":[\"15\"],\"title\":[\"如何构建自己的博客\"]}','2021-09-12 14:54:36','2021-09-12 14:54:36'),(498,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:54:42','2021-09-12 14:54:42'),(499,1,'/admin/info/posts','GET','::1','','2021-09-12 14:54:48','2021-09-12 14:54:48'),(500,1,'/admin/info/posts','GET','::1','','2021-09-12 14:59:13','2021-09-12 14:59:13'),(501,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:59:16','2021-09-12 14:59:16'),(502,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:59:22','2021-09-12 14:59:22'),(503,1,'/admin/info/posts','GET','::1','','2021-09-12 14:59:25','2021-09-12 14:59:25'),(504,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:59:26','2021-09-12 14:59:26'),(505,1,'/admin/info/posts','GET','::1','','2021-09-12 14:59:29','2021-09-12 14:59:29'),(506,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:59:30','2021-09-12 14:59:30'),(507,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:59:35','2021-09-12 14:59:35'),(508,1,'/admin/info/posts','GET','::1','','2021-09-12 14:59:37','2021-09-12 14:59:37'),(509,1,'/admin/info/posts/new','GET','::1','','2021-09-12 14:59:39','2021-09-12 14:59:39'),(510,1,'/admin/info/posts','GET','::1','','2021-09-12 14:59:45','2021-09-12 14:59:45'),(511,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:59:48','2021-09-12 14:59:48'),(512,1,'/admin/info/posts','GET','::1','','2021-09-12 14:59:51','2021-09-12 14:59:51'),(513,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 14:59:52','2021-09-12 14:59:52'),(514,1,'/admin/info/posts','GET','::1','','2021-09-12 15:00:39','2021-09-12 15:00:39'),(515,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:00:41','2021-09-12 15:00:41'),(516,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:00:46','2021-09-12 15:00:46'),(517,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:19','2021-09-12 15:02:19'),(518,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:19','2021-09-12 15:02:19'),(519,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:20','2021-09-12 15:02:20'),(520,1,'/admin/info/posts','GET','::1','','2021-09-12 15:02:22','2021-09-12 15:02:22'),(521,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:23','2021-09-12 15:02:23'),(522,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:23','2021-09-12 15:02:23'),(523,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:24','2021-09-12 15:02:24'),(524,1,'/admin/info/posts','GET','::1','','2021-09-12 15:02:24','2021-09-12 15:02:24'),(525,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:02:26','2021-09-12 15:02:26'),(526,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:32','2021-09-12 15:02:32'),(527,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:32','2021-09-12 15:02:32'),(528,1,'/admin/info/posts','GET','::1','','2021-09-12 15:02:33','2021-09-12 15:02:33'),(529,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:34','2021-09-12 15:02:34'),(530,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:39','2021-09-12 15:02:39'),(531,1,'/admin/info/posts','GET','::1','','2021-09-12 15:02:41','2021-09-12 15:02:41'),(532,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:42','2021-09-12 15:02:42'),(533,1,'/admin/info/posts','GET','::1','','2021-09-12 15:02:43','2021-09-12 15:02:43'),(534,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:45','2021-09-12 15:02:45'),(535,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:46','2021-09-12 15:02:46'),(536,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:47','2021-09-12 15:02:47'),(537,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:48','2021-09-12 15:02:48'),(538,1,'/admin/info/posts','GET','::1','','2021-09-12 15:02:48','2021-09-12 15:02:48'),(539,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:02:49','2021-09-12 15:02:49'),(540,1,'/admin/info/posts','GET','::1','','2021-09-12 15:02:50','2021-09-12 15:02:50'),(541,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:02:56','2021-09-12 15:02:56'),(542,1,'/admin/info/posts','GET','::1','','2021-09-12 15:03:01','2021-09-12 15:03:01'),(543,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:03:03','2021-09-12 15:03:03'),(544,1,'/admin/info/posts','GET','::1','','2021-09-12 15:03:06','2021-09-12 15:03:06'),(545,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:03:07','2021-09-12 15:03:07'),(546,1,'/admin/info/posts','GET','::1','','2021-09-12 15:03:10','2021-09-12 15:03:10'),(547,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:03:12','2021-09-12 15:03:12'),(548,1,'/admin/info/posts','GET','::1','','2021-09-12 15:03:15','2021-09-12 15:03:15'),(549,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:03:17','2021-09-12 15:03:17'),(550,1,'/admin/info/posts','GET','::1','','2021-09-12 15:03:20','2021-09-12 15:03:20'),(551,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:03:22','2021-09-12 15:03:22'),(552,1,'/admin/info/posts','GET','::1','','2021-09-12 15:03:27','2021-09-12 15:03:27'),(553,1,'/admin/info/posts','GET','::1','','2021-09-12 15:03:29','2021-09-12 15:03:29'),(554,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:03:31','2021-09-12 15:03:31'),(555,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:03:35','2021-09-12 15:03:35'),(556,1,'/admin/info/posts','GET','::1','','2021-09-12 15:03:37','2021-09-12 15:03:37'),(557,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:03:37','2021-09-12 15:03:37'),(558,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:03:38','2021-09-12 15:03:38'),(559,1,'/admin/info/posts','GET','::1','','2021-09-12 15:03:38','2021-09-12 15:03:38'),(560,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:03:39','2021-09-12 15:03:39'),(561,1,'/admin/info/posts','GET','::1','','2021-09-12 15:03:40','2021-09-12 15:03:40'),(562,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:03:42','2021-09-12 15:03:42'),(563,1,'/admin/info/posts','GET','::1','','2021-09-12 15:05:03','2021-09-12 15:05:03'),(564,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:05:04','2021-09-12 15:05:04'),(565,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:05:05','2021-09-12 15:05:05'),(566,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:06:27','2021-09-12 15:06:27'),(567,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:06:27','2021-09-12 15:06:27'),(568,1,'/admin/info/posts','GET','::1','','2021-09-12 15:06:28','2021-09-12 15:06:28'),(569,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:06:29','2021-09-12 15:06:29'),(570,1,'/admin/info/posts','GET','::1','','2021-09-12 15:06:30','2021-09-12 15:06:30'),(571,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:06:31','2021-09-12 15:06:31'),(572,1,'/admin/info/posts','GET','::1','','2021-09-12 15:06:31','2021-09-12 15:06:31'),(573,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:06:32','2021-09-12 15:06:32'),(574,1,'/admin/info/posts','GET','::1','','2021-09-12 15:06:33','2021-09-12 15:06:33'),(575,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:06:36','2021-09-12 15:06:36'),(576,1,'/admin/info/posts','GET','::1','','2021-09-12 15:06:38','2021-09-12 15:06:38'),(577,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:06:40','2021-09-12 15:06:40'),(578,1,'/admin/info/posts','GET','::1','','2021-09-12 15:06:43','2021-09-12 15:06:43'),(579,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:06:44','2021-09-12 15:06:44'),(580,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:07:09','2021-09-12 15:07:09'),(581,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:07:09','2021-09-12 15:07:09'),(582,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:07:28','2021-09-12 15:07:28'),(583,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:07:32','2021-09-12 15:07:32'),(584,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:07:33','2021-09-12 15:07:33'),(585,1,'/admin/info/posts','GET','::1','','2021-09-12 15:07:34','2021-09-12 15:07:34'),(586,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:07:36','2021-09-12 15:07:36'),(587,1,'/admin/info/posts','GET','::1','','2021-09-12 15:07:36','2021-09-12 15:07:36'),(588,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:07:50','2021-09-12 15:07:50'),(589,1,'/admin/info/posts','GET','::1','','2021-09-12 15:07:51','2021-09-12 15:07:51'),(590,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:07:54','2021-09-12 15:07:54'),(591,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:07:57','2021-09-12 15:07:57'),(592,1,'/admin/info/posts','GET','::1','','2021-09-12 15:08:00','2021-09-12 15:08:00'),(593,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:08:02','2021-09-12 15:08:02'),(594,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"15862eda-607f-4058-89bc-991375d351d1\"],\"content\":[\"\\r\\n如果你想要构建自己的博客,通过网络分享自己想法或者创意,但是却不知道如何去做?\\r\\n那么今天我将分享自己是如何快速构建博客,并且去分享自己的一些经验和想法通过网络去传播,希望能帮助到你。\\r\\n简单的来讲你需要三样东西,第一个是一个自己的域名,第二个是一个云服务器,第三个是一个博客平台。\\r\\n域名和云服务器并不是免费的,你需要找到域名服务商去注册,云服务器需要找到合适的云服务器商去购买。博客平台WordPress是一个开源免费的平台,你不需要任何费用。\\r\\n接下来我将推荐一家相对比较便宜的云服务器提供商 Vultr\\r\\n这家服务商是的服务器是遍布全球的,你可以根据自己的需求来选择合适的云服务器。通过下面的优惠链接去注册并且购买服务器 https://www.vultr.com/?ref=7202739,这样我也可以获取一部分的奖励。\\r\\n希望这边文章能帮你快速构建自己博客平台。\\r\\n\"],\"id\":[\"15\"],\"title\":[\"如何构建自己的博客\"]}','2021-09-12 15:08:03','2021-09-12 15:08:03'),(595,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:08:06','2021-09-12 15:08:06'),(596,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"7ef4ac18-da04-421e-9eb6-0dfc5b93c8a4\"],\"content\":[\"\\r\\n定义\\r\\n快速排序是用来排列一连串数字的算法\\r\\n原理\\r\\n从数列中挑出一个元素,称为基准重新排序数列,所有元素比基准值小的摆放在基准前面,所有元素比基准值大的摆在基准的后面(相同的数可以放在任一边)。在这个分区退出之后,该基准就处于数列的中间位置。这个称为分区操作递归的把小于基准值元素的子数列和大于基准元素的子数列排序\\r\\nPHP实现\\r\\nPHP沙盒环境\\r\\nfunction quickSort($arr)\\r\\n{\\r\\nif (count($arr) \\u003c= 1)\\r\\nreturn $arr;\\r\\n$middle = $arr[0];\\r\\n$leftArray = [];\\r\\n$rightArray = [];\\r\\nfor ($i = 1; $i \\u003c count($arr); $i++) {\\r\\nif ($arr[$i] \\u003e $middle)\\r\\n$rightArray[] = $arr[$i];\\r\\nelse\\r\\n$leftArray[] = $arr[$i];\\r\\n}\\r\\n$leftArray = quickSort($leftArray);\\r\\n$leftArray[] = $middle;\\r\\n$rightArray = quickSort($rightArray);\\r\\nreturn array_merge($leftArray, $rightArray);\\r\\n}\\r\\n//例子\\r\\n$numbers = [1,3,4,22,88,33,31,42];\\r\\nprint_r(quickSort($numbers));\\r\\n\"],\"id\":[\"11\"],\"title\":[\"算法系列-快速排序\"]}','2021-09-12 15:08:08','2021-09-12 15:08:08'),(597,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:11:27','2021-09-12 15:11:27'),(598,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"55bf98fb-e848-4633-962a-6d52a2060b29\"],\"content\":[\"test\"],\"id\":[\"18\"],\"title\":[\"test\"]}','2021-09-12 15:11:31','2021-09-12 15:11:31'),(599,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:11:35','2021-09-12 15:11:35'),(600,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"c5b9e298-1ec1-49b5-acb3-23a3e799a1d1\"],\"content\":[\"\\r\\nVarnish Cache是Web应用程序加速器,也称为缓存HTTP反向代理。您可以将其安装在任何使用HTTP的服务器之前,并将其配置为缓存内容。Varnish Cache确实非常快。根据您的体系结构,通常可以将交付速度提高300到1000倍。\\r\\nCentOs 安装\\r\\nyum install varnish\\r\\nVarnish 配置\\r\\n###############################################################################################\\r\\n### The perfect Varnish 4.x+ configuration for Joomla, WordPress \\u0026 other CMS based websites ###\\r\\n###############################################################################################\\r\\n######################\\r\\n#\\r\\n# UPDATED on July 7th, 2020\\r\\n#\\r\\n# Configuration Notes:\\r\\n# 1. Default dynamic content caching respects your backend\'s cache-control HTTP header.\\r\\n# If however you need to enforce a different cache-control TTL,\\r\\n# do a search for \\\"180\\\" and replace with the new value in seconds.\\r\\n# Stale cache is served for up to 24 hours.\\r\\n# 2. Make sure you update the \\\"backend default { ... }\\\" section with the correct IP and port\\r\\n#\\r\\n######################\\r\\n# Varnish Reference:\\r\\n# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/\\r\\n# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.\\r\\n# Marker to tell the VCL compiler that this VCL has been adapted to the new 4.0 format\\r\\nvcl 4.0;\\r\\n# Imports\\r\\nimport std;\\r\\n# Default backend definition. Set this to point to your content server.\\r\\nbackend default {\\r\\n.host = \\\"127.0.0.1\\\"; # UPDATE this only if the web server is not on the same machine\\r\\n.port = \\\"8080\\\"; # UPDATE 8080 with your web server\'s (internal) port\\r\\n}\\r\\nsub vcl_recv {\\r\\n/*\\r\\n# Blocks\\r\\nif (req.http.user-agent ~ \\\"^$\\\" \\u0026\\u0026 req.http.referer ~ \\\"^$\\\") {\\r\\nreturn (synth(204, \\\"No content\\\"));\\r\\n}\\r\\nif (req.http.user-agent ~ \\\"(ahrefs|bingbot|domaincrawler|dotbot|mj12bot|semrush)\\\") {\\r\\nreturn (synth(204, \\\"Bot blocked\\\"));\\r\\n}\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nreturn (pass);\\r\\n}\\r\\n*/\\r\\n# LetsEncrypt Certbot passthrough\\r\\nif (req.url ~ \\\"^/.well-known/acme-challenge/\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# Forward client\'s IP to the backend\\r\\nif (req.restarts == 0) {\\r\\nif (req.http.X-Real-IP) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Real-IP;\\r\\n} else if (req.http.X-Forwarded-For) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \\\", \\\" + client.ip;\\r\\n} else {\\r\\nset req.http.X-Forwarded-For = client.ip;\\r\\n}\\r\\n}\\r\\n# httpoxy\\r\\nunset req.http.proxy;\\r\\n# Non-RFC2616 or CONNECT which is weird.\\r\\nif (\\r\\nreq.method != \\\"GET\\\" \\u0026\\u0026\\r\\nreq.method != \\\"HEAD\\\" \\u0026\\u0026\\r\\nreq.method != \\\"PUT\\\" \\u0026\\u0026\\r\\nreq.method != \\\"POST\\\" \\u0026\\u0026\\r\\nreq.method != \\\"TRACE\\\" \\u0026\\u0026\\r\\nreq.method != \\\"OPTIONS\\\" \\u0026\\u0026\\r\\nreq.method != \\\"DELETE\\\"\\r\\n) {\\r\\nreturn (pipe);\\r\\n}\\r\\n# We only deal with GET and HEAD by default\\r\\nif (req.method != \\\"GET\\\" \\u0026\\u0026 req.method != \\\"HEAD\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# === URL manipulation ===\\r\\n# First remove the Google Analytics added parameters, useless for our backend\\r\\nif (req.url ~ \\\"(?|\\u0026)(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=\\\") {\\r\\nset req.url = regsuball(req.url, \\\"\\u0026(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"\\\");\\r\\nset req.url = regsuball(req.url, \\\"?(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?\\u0026\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip hash, server doesn\'t need it.\\r\\nif (req.url ~ \\\"#\\\") {\\r\\nset req.url = regsub(req.url, \\\"#.*$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip a trailing ? if it exists\\r\\n#if (req.url ~ \\\"?$\\\") {\\r\\n# set req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n#}\\r\\n# === Generic cookie manipulation ===\\r\\n# Remove the \\\"has_js\\\" cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"has_js=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove any Google Analytics based cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__utm.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_ga=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_gat=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmctr=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmcmd.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmccn.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove DoubleClick offensive cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__gads=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the Quant Capital cookies (added by some plugin, all __qca)\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__qc.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the AddThis cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__atuv.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-time-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-time-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp test cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wordpress_test_cookie=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove a \\\";\\\" prefix in the cookie if present\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"^;s*\\\", \\\"\\\");\\r\\n# Are there cookies left with only spaces or that are empty?\\r\\nif (req.http.cookie ~ \\\"^s*$\\\") {\\r\\nunset req.http.cookie;\\r\\n}\\r\\n# Check for the custom \\\"X-Logged-In\\\" header (used by K2 and other apps) to identify\\r\\n# if the visitor is a guest, then unset any cookie (including session cookies) provided\\r\\n# it\'s not a POST request.\\r\\nif(req.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 req.method != \\\"POST\\\") {\\r\\nunset req.http.Cookie;\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nreq.http.Authorization ||\\r\\nreq.http.Authenticate ||\\r\\nreq.http.X-Logged-In == \\\"True\\\" ||\\r\\nreq.http.Cookie ~ \\\"userID\\\" ||\\r\\nreq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nreq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nreq.url ~ \\\"^/addons\\\" ||\\r\\nreq.url ~ \\\"^/administrator\\\" ||\\r\\nreq.url ~ \\\"^/cart\\\" ||\\r\\nreq.url ~ \\\"^/checkout\\\" ||\\r\\nreq.url ~ \\\"^/component/banners\\\" ||\\r\\nreq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nreq.url ~ \\\"^/component/users\\\" ||\\r\\nreq.url ~ \\\"^/connect\\\" ||\\r\\nreq.url ~ \\\"^/contact\\\" ||\\r\\nreq.url ~ \\\"^/login\\\" ||\\r\\nreq.url ~ \\\"^/logout\\\" ||\\r\\nreq.url ~ \\\"^/lost-password\\\" ||\\r\\nreq.url ~ \\\"^/my-account\\\" ||\\r\\nreq.url ~ \\\"^/register\\\" ||\\r\\nreq.url ~ \\\"^/signin\\\" ||\\r\\nreq.url ~ \\\"^/signup\\\" ||\\r\\nreq.url ~ \\\"^/wc-api\\\" ||\\r\\nreq.url ~ \\\"^/wp-admin\\\" ||\\r\\nreq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nreq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nreq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(req.http.X-Requested-With == \\\"XMLHttpRequest\\\" || req.url ~ \\\"nocache\\\") {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# === STATIC FILES ===\\r\\n# Properly handle different encoding types\\r\\nif (req.http.Accept-Encoding) {\\r\\nif (req.url ~ \\\".(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf)$\\\") {\\r\\n# No point in compressing these\\r\\nunset req.http.Accept-Encoding;\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"gzip\\\") {\\r\\nset req.http.Accept-Encoding = \\\"gzip\\\";\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"deflate\\\") {\\r\\nset req.http.Accept-Encoding = \\\"deflate\\\";\\r\\n} else {\\r\\n# unknown algorithm (aka crappy browser)\\r\\nunset req.http.Accept-Encoding;\\r\\n}\\r\\n}\\r\\n# Remove all cookies for static files \\u0026 deliver directly\\r\\nif (req.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset req.http.Cookie;\\r\\nreturn (hash);\\r\\n}\\r\\nreturn (hash);\\r\\n}\\r\\nsub vcl_backend_response {\\r\\n/*\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nbereq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nbereq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n*/\\r\\n# Don\'t cache 50x responses\\r\\nif (\\r\\nberesp.status == 500 ||\\r\\nberesp.status == 502 ||\\r\\nberesp.status == 503 ||\\r\\nberesp.status == 504\\r\\n) {\\r\\nreturn (abandon);\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nbereq.url ~ \\\"^/addons\\\" ||\\r\\nbereq.url ~ \\\"^/administrator\\\" ||\\r\\nbereq.url ~ \\\"^/cart\\\" ||\\r\\nbereq.url ~ \\\"^/checkout\\\" ||\\r\\nbereq.url ~ \\\"^/component/banners\\\" ||\\r\\nbereq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nbereq.url ~ \\\"^/component/users\\\" ||\\r\\nbereq.url ~ \\\"^/connect\\\" ||\\r\\nbereq.url ~ \\\"^/contact\\\" ||\\r\\nbereq.url ~ \\\"^/login\\\" ||\\r\\nbereq.url ~ \\\"^/logout\\\" ||\\r\\nbereq.url ~ \\\"^/lost-password\\\" ||\\r\\nbereq.url ~ \\\"^/my-account\\\" ||\\r\\nbereq.url ~ \\\"^/register\\\" ||\\r\\nbereq.url ~ \\\"^/signin\\\" ||\\r\\nbereq.url ~ \\\"^/signup\\\" ||\\r\\nbereq.url ~ \\\"^/wc-api\\\" ||\\r\\nbereq.url ~ \\\"^/wp-admin\\\" ||\\r\\nbereq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nbereq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nbereq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nbereq.http.Authorization ||\\r\\nbereq.http.Authenticate ||\\r\\nbereq.http.X-Logged-In == \\\"True\\\" ||\\r\\nbereq.http.Cookie ~ \\\"userID\\\" ||\\r\\nbereq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nbereq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(beresp.http.X-Requested-With == \\\"XMLHttpRequest\\\" || bereq.url ~ \\\"nocache\\\") {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache backend response to posted requests\\r\\nif (bereq.method == \\\"POST\\\") {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Ok, we\'re cool \\u0026 ready to cache things\\r\\n# so let\'s clean up some headers and cookies\\r\\n# to maximize caching.\\r\\n# Check for the custom \\\"X-Logged-In\\\" header to identify if the visitor is a guest,\\r\\n# then unset any cookie (including session cookies) provided it\'s not a POST request.\\r\\nif(beresp.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 bereq.method != \\\"POST\\\") {\\r\\nunset beresp.http.Set-Cookie;\\r\\n}\\r\\n# Unset the \\\"pragma\\\" header (suggested)\\r\\nunset beresp.http.Pragma;\\r\\n# Unset the \\\"vary\\\" header (suggested)\\r\\nunset beresp.http.Vary;\\r\\n# Unset the \\\"etag\\\" header (optional)\\r\\n#unset beresp.http.etag;\\r\\n# Allow stale content, in case the backend goes down\\r\\nset beresp.grace = 24h;\\r\\n# Enforce your own cache TTL (optional)\\r\\n#set beresp.ttl = 180s;\\r\\n# Modify \\\"expires\\\" header - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires (optional)\\r\\n#set beresp.http.Expires = \\\"\\\" + (now + beresp.ttl);\\r\\n# If your backend server does not set the right caching headers for static assets,\\r\\n# you can set them below (uncomment first and change 604800 - which 1 week - to whatever you\\r\\n# want (in seconds)\\r\\n#if (bereq.url ~ \\\".(ico|jpg|jpeg|gif|png|bmp|webp|tiff|svg|svgz|pdf|mp3|flac|ogg|mid|midi|wav|mp4|webm|mkv|ogv|wmv|eot|otf|woff|ttf|rss|atom|zip|7z|tgz|gz|rar|bz2|tar|exe|doc|docx|xls|xlsx|ppt|pptx|rtf|odt|ods|odp)(?[a-zA-Z0-9=]+)$\\\") {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=604800\\\";\\r\\n#}\\r\\nif (bereq.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset beresp.http.set-cookie;\\r\\nset beresp.do_stream = true;\\r\\n}\\r\\n# We have content to cache, but it\'s got no-cache or other Cache-Control values sent\\r\\n# So let\'s reset it to our main caching time (180s as used in this example configuration)\\r\\n# The additional parameters specified (stale-while-revalidate \\u0026 stale-if-error) are used\\r\\n# by modern browsers to better control caching. Set these to twice \\u0026 four times your main\\r\\n# cache time respectively.\\r\\n# This final setting will normalize cache-control headers for CMSs like Joomla\\r\\n# which set max-age=0 even when the CMS\' cache is enabled.\\r\\nif (beresp.http.Cache-Control !~ \\\"max-age\\\" || beresp.http.Cache-Control ~ \\\"max-age=0\\\") {\\r\\nset beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n}\\r\\n# Optionally set a larger TTL for pages with less than 180s of cache TTL\\r\\n#if (beresp.ttl \\u003c 180s) {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n#}\\r\\nreturn (deliver);\\r\\n}\\r\\nsub vcl_deliver {\\r\\n/*\\r\\n# Send a special header for excluded domains only\\r\\n# The if statement can be identical to the ones in the vcl_recv() and vcl_fetch() functions above\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset resp.http.X-Domain-Status = \\\"EXCLUDED\\\";\\r\\n}\\r\\n# Enforce redirect to HTTPS for specified domains only\\r\\nif (\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\" \\u0026\\u0026\\r\\nreq.http.X-Forwarded-Proto !~ \\\"(?i)https\\\"\\r\\n) {\\r\\nset resp.http.Location = \\\"https://\\\" + req.http.host + req.url;\\r\\nset resp.status = 302;\\r\\n}\\r\\n*/\\r\\n# Send special headers that indicate the cache status of each web page\\r\\nif (obj.hits \\u003e 0) {\\r\\nset resp.http.X-Cache = \\\"HIT\\\";\\r\\nset resp.http.X-Cache-Hits = obj.hits;\\r\\n} else {\\r\\nset resp.http.X-Cache = \\\"MISS\\\";\\r\\n}\\r\\nreturn (deliver);\\r\\n}\\r\\nNginx Host 配置\\r\\nserver {\\r\\nlisten 80;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nrewrite ^/(.*) https://www.phpman.cc/$1 permanent;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 8080;\\r\\nindex index.html index.htm index.php default.html default.htm default.php;\\r\\nroot /home/wwwroot/www.phpman.cc/wordpress;\\r\\ninclude rewrite/wordpress.conf;\\r\\n#error_page 404 /404.html;\\r\\n# Deny access to PHP files in specific directory\\r\\n#location ~ /(wp-content|uploads|wp-includes|images)/.*.php$ { deny all; }\\r\\ninclude enable-php-pathinfo.conf;\\r\\nlocation ~ .*.(gif|jpg|jpeg|png|bmp|swf)$\\r\\n{\\r\\nexpires 30d;\\r\\n}\\r\\nlocation ~ .*.(js|css)?$\\r\\n{\\r\\nexpires 12h;\\r\\n}\\r\\nlocation ~ /.well-known {\\r\\nallow all;\\r\\n}\\r\\nlocation ~ /.\\r\\n{\\r\\ndeny all;\\r\\n}\\r\\naccess_log /home/wwwlogs/y.log;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 443 ssl http2;\\r\\n#listen [::]:443 ssl http2;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nssl_certificate /root/ssl/4082867_phpman.cc.pem;\\r\\nssl_certificate_key /root/ssl/4082867_phpman.cc.key;\\r\\nssl_session_timeout 5m;\\r\\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\\r\\nssl_prefer_server_ciphers on;\\r\\nssl_ciphers \\\"TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5\\\";\\r\\nssl_session_cache builtin:1000 shared:SSL:10m;\\r\\n# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048\\r\\nssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;\\r\\nlocation / {\\r\\nproxy_pass http://127.0.0.1:6081;\\r\\nproxy_set_header X-Real-IP $remote_addr;\\r\\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\\r\\nproxy_set_header X-Forwarded-Proto https;\\r\\nproxy_set_header X-Forwarded-Port 443;\\r\\nproxy_set_header Host $host;\\r\\n}\\r\\n}\\r\\nWordPress wp-config.php配置\\r\\n/* SSL Settings */\\r\\ndefine(\'FORCE_SSL_ADMIN\', true);\\r\\n/* Turn HTTPS \'on\' if HTTP_X_FORWARDED_PROTO matches \'https\' */\\r\\nif (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) {\\r\\n$_SERVER[\'HTTPS\'] = \'on\';\\r\\n}\\r\\n重启Nginx 和 Varnish 服务\\r\\nservice nginx reload\\r\\nservice varnish reload\\r\\n总结\\r\\nWeb URL请求路径:\\r\\nNginx:80——\\u003eNginx:443 ——\\u003e Varnish:6081 ——\\u003e Nginx:8080\\r\\n验证Varnish是否生效\\r\\ncurl -I https://www.phpman.cc\\r\\n返回结果\\r\\nHTTP/1.1 200 OK\\r\\nServer: nginx\\r\\nDate: Tue, 13 Apr 2021 06:41:21 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nConnection: keep-alive\\r\\nVary: Accept-Encoding\\r\\nVary: Accept-Encoding\\r\\nX-Powered-By: PHP/7.4.15\\r\\nLink: ; rel=\\\"https://api.w.org/\\\"\\r\\nX-Varnish: 360465\\r\\nAge: 0\\r\\nVia: 1.1 varnish-v4\\r\\n\"],\"id\":[\"16\"],\"title\":[\"Varnish 加速你的WordPress\"]}','2021-09-12 15:11:36','2021-09-12 15:11:36'),(601,1,'/admin/info/posts','GET','::1','','2021-09-12 15:12:30','2021-09-12 15:12:30'),(602,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:12:33','2021-09-12 15:12:33'),(603,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:12:37','2021-09-12 15:12:37'),(604,1,'/admin/info/posts','GET','::1','','2021-09-12 15:12:41','2021-09-12 15:12:41'),(605,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:12:42','2021-09-12 15:12:42'),(606,1,'/admin/info/posts','GET','::1','','2021-09-12 15:12:47','2021-09-12 15:12:47'),(607,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:12:51','2021-09-12 15:12:51'),(608,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"88ac59a4-840e-49ca-a623-5f5e63289107\"],\"content\":[\"test\"],\"id\":[\"18\"],\"title\":[\"test\"],\"updated_at\":[\"2021-09-12 22:51:47\"]}','2021-09-12 15:12:54','2021-09-12 15:12:54'),(609,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:12:56','2021-09-12 15:12:56'),(610,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"5d7e3315-6fa9-4e85-b533-8f0a1c4490f9\"],\"content\":[\"\\r\\nVarnish Cache是Web应用程序加速器,也称为缓存HTTP反向代理。您可以将其安装在任何使用HTTP的服务器之前,并将其配置为缓存内容。Varnish Cache确实非常快。根据您的体系结构,通常可以将交付速度提高300到1000倍。\\r\\nCentOs 安装\\r\\nyum install varnish\\r\\nVarnish 配置\\r\\n###############################################################################################\\r\\n### The perfect Varnish 4.x+ configuration for Joomla, WordPress \\u0026 other CMS based websites ###\\r\\n###############################################################################################\\r\\n######################\\r\\n#\\r\\n# UPDATED on July 7th, 2020\\r\\n#\\r\\n# Configuration Notes:\\r\\n# 1. Default dynamic content caching respects your backend\'s cache-control HTTP header.\\r\\n# If however you need to enforce a different cache-control TTL,\\r\\n# do a search for \\\"180\\\" and replace with the new value in seconds.\\r\\n# Stale cache is served for up to 24 hours.\\r\\n# 2. Make sure you update the \\\"backend default { ... }\\\" section with the correct IP and port\\r\\n#\\r\\n######################\\r\\n# Varnish Reference:\\r\\n# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/\\r\\n# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.\\r\\n# Marker to tell the VCL compiler that this VCL has been adapted to the new 4.0 format\\r\\nvcl 4.0;\\r\\n# Imports\\r\\nimport std;\\r\\n# Default backend definition. Set this to point to your content server.\\r\\nbackend default {\\r\\n.host = \\\"127.0.0.1\\\"; # UPDATE this only if the web server is not on the same machine\\r\\n.port = \\\"8080\\\"; # UPDATE 8080 with your web server\'s (internal) port\\r\\n}\\r\\nsub vcl_recv {\\r\\n/*\\r\\n# Blocks\\r\\nif (req.http.user-agent ~ \\\"^$\\\" \\u0026\\u0026 req.http.referer ~ \\\"^$\\\") {\\r\\nreturn (synth(204, \\\"No content\\\"));\\r\\n}\\r\\nif (req.http.user-agent ~ \\\"(ahrefs|bingbot|domaincrawler|dotbot|mj12bot|semrush)\\\") {\\r\\nreturn (synth(204, \\\"Bot blocked\\\"));\\r\\n}\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nreturn (pass);\\r\\n}\\r\\n*/\\r\\n# LetsEncrypt Certbot passthrough\\r\\nif (req.url ~ \\\"^/.well-known/acme-challenge/\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# Forward client\'s IP to the backend\\r\\nif (req.restarts == 0) {\\r\\nif (req.http.X-Real-IP) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Real-IP;\\r\\n} else if (req.http.X-Forwarded-For) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \\\", \\\" + client.ip;\\r\\n} else {\\r\\nset req.http.X-Forwarded-For = client.ip;\\r\\n}\\r\\n}\\r\\n# httpoxy\\r\\nunset req.http.proxy;\\r\\n# Non-RFC2616 or CONNECT which is weird.\\r\\nif (\\r\\nreq.method != \\\"GET\\\" \\u0026\\u0026\\r\\nreq.method != \\\"HEAD\\\" \\u0026\\u0026\\r\\nreq.method != \\\"PUT\\\" \\u0026\\u0026\\r\\nreq.method != \\\"POST\\\" \\u0026\\u0026\\r\\nreq.method != \\\"TRACE\\\" \\u0026\\u0026\\r\\nreq.method != \\\"OPTIONS\\\" \\u0026\\u0026\\r\\nreq.method != \\\"DELETE\\\"\\r\\n) {\\r\\nreturn (pipe);\\r\\n}\\r\\n# We only deal with GET and HEAD by default\\r\\nif (req.method != \\\"GET\\\" \\u0026\\u0026 req.method != \\\"HEAD\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# === URL manipulation ===\\r\\n# First remove the Google Analytics added parameters, useless for our backend\\r\\nif (req.url ~ \\\"(?|\\u0026)(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=\\\") {\\r\\nset req.url = regsuball(req.url, \\\"\\u0026(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"\\\");\\r\\nset req.url = regsuball(req.url, \\\"?(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?\\u0026\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip hash, server doesn\'t need it.\\r\\nif (req.url ~ \\\"#\\\") {\\r\\nset req.url = regsub(req.url, \\\"#.*$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip a trailing ? if it exists\\r\\n#if (req.url ~ \\\"?$\\\") {\\r\\n# set req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n#}\\r\\n# === Generic cookie manipulation ===\\r\\n# Remove the \\\"has_js\\\" cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"has_js=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove any Google Analytics based cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__utm.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_ga=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_gat=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmctr=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmcmd.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmccn.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove DoubleClick offensive cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__gads=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the Quant Capital cookies (added by some plugin, all __qca)\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__qc.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the AddThis cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__atuv.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-time-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-time-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp test cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wordpress_test_cookie=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove a \\\";\\\" prefix in the cookie if present\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"^;s*\\\", \\\"\\\");\\r\\n# Are there cookies left with only spaces or that are empty?\\r\\nif (req.http.cookie ~ \\\"^s*$\\\") {\\r\\nunset req.http.cookie;\\r\\n}\\r\\n# Check for the custom \\\"X-Logged-In\\\" header (used by K2 and other apps) to identify\\r\\n# if the visitor is a guest, then unset any cookie (including session cookies) provided\\r\\n# it\'s not a POST request.\\r\\nif(req.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 req.method != \\\"POST\\\") {\\r\\nunset req.http.Cookie;\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nreq.http.Authorization ||\\r\\nreq.http.Authenticate ||\\r\\nreq.http.X-Logged-In == \\\"True\\\" ||\\r\\nreq.http.Cookie ~ \\\"userID\\\" ||\\r\\nreq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nreq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nreq.url ~ \\\"^/addons\\\" ||\\r\\nreq.url ~ \\\"^/administrator\\\" ||\\r\\nreq.url ~ \\\"^/cart\\\" ||\\r\\nreq.url ~ \\\"^/checkout\\\" ||\\r\\nreq.url ~ \\\"^/component/banners\\\" ||\\r\\nreq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nreq.url ~ \\\"^/component/users\\\" ||\\r\\nreq.url ~ \\\"^/connect\\\" ||\\r\\nreq.url ~ \\\"^/contact\\\" ||\\r\\nreq.url ~ \\\"^/login\\\" ||\\r\\nreq.url ~ \\\"^/logout\\\" ||\\r\\nreq.url ~ \\\"^/lost-password\\\" ||\\r\\nreq.url ~ \\\"^/my-account\\\" ||\\r\\nreq.url ~ \\\"^/register\\\" ||\\r\\nreq.url ~ \\\"^/signin\\\" ||\\r\\nreq.url ~ \\\"^/signup\\\" ||\\r\\nreq.url ~ \\\"^/wc-api\\\" ||\\r\\nreq.url ~ \\\"^/wp-admin\\\" ||\\r\\nreq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nreq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nreq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(req.http.X-Requested-With == \\\"XMLHttpRequest\\\" || req.url ~ \\\"nocache\\\") {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# === STATIC FILES ===\\r\\n# Properly handle different encoding types\\r\\nif (req.http.Accept-Encoding) {\\r\\nif (req.url ~ \\\".(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf)$\\\") {\\r\\n# No point in compressing these\\r\\nunset req.http.Accept-Encoding;\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"gzip\\\") {\\r\\nset req.http.Accept-Encoding = \\\"gzip\\\";\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"deflate\\\") {\\r\\nset req.http.Accept-Encoding = \\\"deflate\\\";\\r\\n} else {\\r\\n# unknown algorithm (aka crappy browser)\\r\\nunset req.http.Accept-Encoding;\\r\\n}\\r\\n}\\r\\n# Remove all cookies for static files \\u0026 deliver directly\\r\\nif (req.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset req.http.Cookie;\\r\\nreturn (hash);\\r\\n}\\r\\nreturn (hash);\\r\\n}\\r\\nsub vcl_backend_response {\\r\\n/*\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nbereq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nbereq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n*/\\r\\n# Don\'t cache 50x responses\\r\\nif (\\r\\nberesp.status == 500 ||\\r\\nberesp.status == 502 ||\\r\\nberesp.status == 503 ||\\r\\nberesp.status == 504\\r\\n) {\\r\\nreturn (abandon);\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nbereq.url ~ \\\"^/addons\\\" ||\\r\\nbereq.url ~ \\\"^/administrator\\\" ||\\r\\nbereq.url ~ \\\"^/cart\\\" ||\\r\\nbereq.url ~ \\\"^/checkout\\\" ||\\r\\nbereq.url ~ \\\"^/component/banners\\\" ||\\r\\nbereq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nbereq.url ~ \\\"^/component/users\\\" ||\\r\\nbereq.url ~ \\\"^/connect\\\" ||\\r\\nbereq.url ~ \\\"^/contact\\\" ||\\r\\nbereq.url ~ \\\"^/login\\\" ||\\r\\nbereq.url ~ \\\"^/logout\\\" ||\\r\\nbereq.url ~ \\\"^/lost-password\\\" ||\\r\\nbereq.url ~ \\\"^/my-account\\\" ||\\r\\nbereq.url ~ \\\"^/register\\\" ||\\r\\nbereq.url ~ \\\"^/signin\\\" ||\\r\\nbereq.url ~ \\\"^/signup\\\" ||\\r\\nbereq.url ~ \\\"^/wc-api\\\" ||\\r\\nbereq.url ~ \\\"^/wp-admin\\\" ||\\r\\nbereq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nbereq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nbereq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nbereq.http.Authorization ||\\r\\nbereq.http.Authenticate ||\\r\\nbereq.http.X-Logged-In == \\\"True\\\" ||\\r\\nbereq.http.Cookie ~ \\\"userID\\\" ||\\r\\nbereq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nbereq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(beresp.http.X-Requested-With == \\\"XMLHttpRequest\\\" || bereq.url ~ \\\"nocache\\\") {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache backend response to posted requests\\r\\nif (bereq.method == \\\"POST\\\") {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Ok, we\'re cool \\u0026 ready to cache things\\r\\n# so let\'s clean up some headers and cookies\\r\\n# to maximize caching.\\r\\n# Check for the custom \\\"X-Logged-In\\\" header to identify if the visitor is a guest,\\r\\n# then unset any cookie (including session cookies) provided it\'s not a POST request.\\r\\nif(beresp.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 bereq.method != \\\"POST\\\") {\\r\\nunset beresp.http.Set-Cookie;\\r\\n}\\r\\n# Unset the \\\"pragma\\\" header (suggested)\\r\\nunset beresp.http.Pragma;\\r\\n# Unset the \\\"vary\\\" header (suggested)\\r\\nunset beresp.http.Vary;\\r\\n# Unset the \\\"etag\\\" header (optional)\\r\\n#unset beresp.http.etag;\\r\\n# Allow stale content, in case the backend goes down\\r\\nset beresp.grace = 24h;\\r\\n# Enforce your own cache TTL (optional)\\r\\n#set beresp.ttl = 180s;\\r\\n# Modify \\\"expires\\\" header - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires (optional)\\r\\n#set beresp.http.Expires = \\\"\\\" + (now + beresp.ttl);\\r\\n# If your backend server does not set the right caching headers for static assets,\\r\\n# you can set them below (uncomment first and change 604800 - which 1 week - to whatever you\\r\\n# want (in seconds)\\r\\n#if (bereq.url ~ \\\".(ico|jpg|jpeg|gif|png|bmp|webp|tiff|svg|svgz|pdf|mp3|flac|ogg|mid|midi|wav|mp4|webm|mkv|ogv|wmv|eot|otf|woff|ttf|rss|atom|zip|7z|tgz|gz|rar|bz2|tar|exe|doc|docx|xls|xlsx|ppt|pptx|rtf|odt|ods|odp)(?[a-zA-Z0-9=]+)$\\\") {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=604800\\\";\\r\\n#}\\r\\nif (bereq.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset beresp.http.set-cookie;\\r\\nset beresp.do_stream = true;\\r\\n}\\r\\n# We have content to cache, but it\'s got no-cache or other Cache-Control values sent\\r\\n# So let\'s reset it to our main caching time (180s as used in this example configuration)\\r\\n# The additional parameters specified (stale-while-revalidate \\u0026 stale-if-error) are used\\r\\n# by modern browsers to better control caching. Set these to twice \\u0026 four times your main\\r\\n# cache time respectively.\\r\\n# This final setting will normalize cache-control headers for CMSs like Joomla\\r\\n# which set max-age=0 even when the CMS\' cache is enabled.\\r\\nif (beresp.http.Cache-Control !~ \\\"max-age\\\" || beresp.http.Cache-Control ~ \\\"max-age=0\\\") {\\r\\nset beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n}\\r\\n# Optionally set a larger TTL for pages with less than 180s of cache TTL\\r\\n#if (beresp.ttl \\u003c 180s) {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n#}\\r\\nreturn (deliver);\\r\\n}\\r\\nsub vcl_deliver {\\r\\n/*\\r\\n# Send a special header for excluded domains only\\r\\n# The if statement can be identical to the ones in the vcl_recv() and vcl_fetch() functions above\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset resp.http.X-Domain-Status = \\\"EXCLUDED\\\";\\r\\n}\\r\\n# Enforce redirect to HTTPS for specified domains only\\r\\nif (\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\" \\u0026\\u0026\\r\\nreq.http.X-Forwarded-Proto !~ \\\"(?i)https\\\"\\r\\n) {\\r\\nset resp.http.Location = \\\"https://\\\" + req.http.host + req.url;\\r\\nset resp.status = 302;\\r\\n}\\r\\n*/\\r\\n# Send special headers that indicate the cache status of each web page\\r\\nif (obj.hits \\u003e 0) {\\r\\nset resp.http.X-Cache = \\\"HIT\\\";\\r\\nset resp.http.X-Cache-Hits = obj.hits;\\r\\n} else {\\r\\nset resp.http.X-Cache = \\\"MISS\\\";\\r\\n}\\r\\nreturn (deliver);\\r\\n}\\r\\nNginx Host 配置\\r\\nserver {\\r\\nlisten 80;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nrewrite ^/(.*) https://www.phpman.cc/$1 permanent;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 8080;\\r\\nindex index.html index.htm index.php default.html default.htm default.php;\\r\\nroot /home/wwwroot/www.phpman.cc/wordpress;\\r\\ninclude rewrite/wordpress.conf;\\r\\n#error_page 404 /404.html;\\r\\n# Deny access to PHP files in specific directory\\r\\n#location ~ /(wp-content|uploads|wp-includes|images)/.*.php$ { deny all; }\\r\\ninclude enable-php-pathinfo.conf;\\r\\nlocation ~ .*.(gif|jpg|jpeg|png|bmp|swf)$\\r\\n{\\r\\nexpires 30d;\\r\\n}\\r\\nlocation ~ .*.(js|css)?$\\r\\n{\\r\\nexpires 12h;\\r\\n}\\r\\nlocation ~ /.well-known {\\r\\nallow all;\\r\\n}\\r\\nlocation ~ /.\\r\\n{\\r\\ndeny all;\\r\\n}\\r\\naccess_log /home/wwwlogs/y.log;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 443 ssl http2;\\r\\n#listen [::]:443 ssl http2;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nssl_certificate /root/ssl/4082867_phpman.cc.pem;\\r\\nssl_certificate_key /root/ssl/4082867_phpman.cc.key;\\r\\nssl_session_timeout 5m;\\r\\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\\r\\nssl_prefer_server_ciphers on;\\r\\nssl_ciphers \\\"TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5\\\";\\r\\nssl_session_cache builtin:1000 shared:SSL:10m;\\r\\n# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048\\r\\nssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;\\r\\nlocation / {\\r\\nproxy_pass http://127.0.0.1:6081;\\r\\nproxy_set_header X-Real-IP $remote_addr;\\r\\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\\r\\nproxy_set_header X-Forwarded-Proto https;\\r\\nproxy_set_header X-Forwarded-Port 443;\\r\\nproxy_set_header Host $host;\\r\\n}\\r\\n}\\r\\nWordPress wp-config.php配置\\r\\n/* SSL Settings */\\r\\ndefine(\'FORCE_SSL_ADMIN\', true);\\r\\n/* Turn HTTPS \'on\' if HTTP_X_FORWARDED_PROTO matches \'https\' */\\r\\nif (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) {\\r\\n$_SERVER[\'HTTPS\'] = \'on\';\\r\\n}\\r\\n重启Nginx 和 Varnish 服务\\r\\nservice nginx reload\\r\\nservice varnish reload\\r\\n总结\\r\\nWeb URL请求路径:\\r\\nNginx:80——\\u003eNginx:443 ——\\u003e Varnish:6081 ——\\u003e Nginx:8080\\r\\n验证Varnish是否生效\\r\\ncurl -I https://www.phpman.cc\\r\\n返回结果\\r\\nHTTP/1.1 200 OK\\r\\nServer: nginx\\r\\nDate: Tue, 13 Apr 2021 06:41:21 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nConnection: keep-alive\\r\\nVary: Accept-Encoding\\r\\nVary: Accept-Encoding\\r\\nX-Powered-By: PHP/7.4.15\\r\\nLink: ; rel=\\\"https://api.w.org/\\\"\\r\\nX-Varnish: 360465\\r\\nAge: 0\\r\\nVia: 1.1 varnish-v4\\r\\n\"],\"id\":[\"16\"],\"title\":[\"Varnish 加速你的WordPress\"],\"updated_at\":[\"2021-09-12 00:00:00\"]}','2021-09-12 15:13:00','2021-09-12 15:13:00'),(611,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:13:02','2021-09-12 15:13:02'),(612,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:13:20','2021-09-12 15:13:20'),(613,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:13:25','2021-09-12 15:13:25'),(614,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:13:27','2021-09-12 15:13:27'),(615,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:13:28','2021-09-12 15:13:28'),(616,1,'/admin/info/posts','GET','::1','','2021-09-12 15:13:29','2021-09-12 15:13:29'),(617,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:13:35','2021-09-12 15:13:35'),(618,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"e2804d20-aaa5-4769-9263-d7847260de7d\"],\"content\":[\"test\"],\"id\":[\"18\"],\"title\":[\"test\"],\"updated_at\":[\"2021-09-18 22:51:47\"]}','2021-09-12 15:13:41','2021-09-12 15:13:41'),(619,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:13:44','2021-09-12 15:13:44'),(620,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"f5cde00d-7224-4921-b2c9-aaf93f1d9c40\"],\"content\":[\"\\r\\nVarnish Cache是Web应用程序加速器,也称为缓存HTTP反向代理。您可以将其安装在任何使用HTTP的服务器之前,并将其配置为缓存内容。Varnish Cache确实非常快。根据您的体系结构,通常可以将交付速度提高300到1000倍。\\r\\nCentOs 安装\\r\\nyum install varnish\\r\\nVarnish 配置\\r\\n###############################################################################################\\r\\n### The perfect Varnish 4.x+ configuration for Joomla, WordPress \\u0026 other CMS based websites ###\\r\\n###############################################################################################\\r\\n######################\\r\\n#\\r\\n# UPDATED on July 7th, 2020\\r\\n#\\r\\n# Configuration Notes:\\r\\n# 1. Default dynamic content caching respects your backend\'s cache-control HTTP header.\\r\\n# If however you need to enforce a different cache-control TTL,\\r\\n# do a search for \\\"180\\\" and replace with the new value in seconds.\\r\\n# Stale cache is served for up to 24 hours.\\r\\n# 2. Make sure you update the \\\"backend default { ... }\\\" section with the correct IP and port\\r\\n#\\r\\n######################\\r\\n# Varnish Reference:\\r\\n# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/\\r\\n# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.\\r\\n# Marker to tell the VCL compiler that this VCL has been adapted to the new 4.0 format\\r\\nvcl 4.0;\\r\\n# Imports\\r\\nimport std;\\r\\n# Default backend definition. Set this to point to your content server.\\r\\nbackend default {\\r\\n.host = \\\"127.0.0.1\\\"; # UPDATE this only if the web server is not on the same machine\\r\\n.port = \\\"8080\\\"; # UPDATE 8080 with your web server\'s (internal) port\\r\\n}\\r\\nsub vcl_recv {\\r\\n/*\\r\\n# Blocks\\r\\nif (req.http.user-agent ~ \\\"^$\\\" \\u0026\\u0026 req.http.referer ~ \\\"^$\\\") {\\r\\nreturn (synth(204, \\\"No content\\\"));\\r\\n}\\r\\nif (req.http.user-agent ~ \\\"(ahrefs|bingbot|domaincrawler|dotbot|mj12bot|semrush)\\\") {\\r\\nreturn (synth(204, \\\"Bot blocked\\\"));\\r\\n}\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nreturn (pass);\\r\\n}\\r\\n*/\\r\\n# LetsEncrypt Certbot passthrough\\r\\nif (req.url ~ \\\"^/.well-known/acme-challenge/\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# Forward client\'s IP to the backend\\r\\nif (req.restarts == 0) {\\r\\nif (req.http.X-Real-IP) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Real-IP;\\r\\n} else if (req.http.X-Forwarded-For) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \\\", \\\" + client.ip;\\r\\n} else {\\r\\nset req.http.X-Forwarded-For = client.ip;\\r\\n}\\r\\n}\\r\\n# httpoxy\\r\\nunset req.http.proxy;\\r\\n# Non-RFC2616 or CONNECT which is weird.\\r\\nif (\\r\\nreq.method != \\\"GET\\\" \\u0026\\u0026\\r\\nreq.method != \\\"HEAD\\\" \\u0026\\u0026\\r\\nreq.method != \\\"PUT\\\" \\u0026\\u0026\\r\\nreq.method != \\\"POST\\\" \\u0026\\u0026\\r\\nreq.method != \\\"TRACE\\\" \\u0026\\u0026\\r\\nreq.method != \\\"OPTIONS\\\" \\u0026\\u0026\\r\\nreq.method != \\\"DELETE\\\"\\r\\n) {\\r\\nreturn (pipe);\\r\\n}\\r\\n# We only deal with GET and HEAD by default\\r\\nif (req.method != \\\"GET\\\" \\u0026\\u0026 req.method != \\\"HEAD\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# === URL manipulation ===\\r\\n# First remove the Google Analytics added parameters, useless for our backend\\r\\nif (req.url ~ \\\"(?|\\u0026)(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=\\\") {\\r\\nset req.url = regsuball(req.url, \\\"\\u0026(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"\\\");\\r\\nset req.url = regsuball(req.url, \\\"?(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?\\u0026\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip hash, server doesn\'t need it.\\r\\nif (req.url ~ \\\"#\\\") {\\r\\nset req.url = regsub(req.url, \\\"#.*$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip a trailing ? if it exists\\r\\n#if (req.url ~ \\\"?$\\\") {\\r\\n# set req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n#}\\r\\n# === Generic cookie manipulation ===\\r\\n# Remove the \\\"has_js\\\" cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"has_js=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove any Google Analytics based cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__utm.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_ga=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_gat=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmctr=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmcmd.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmccn.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove DoubleClick offensive cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__gads=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the Quant Capital cookies (added by some plugin, all __qca)\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__qc.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the AddThis cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__atuv.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-time-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-time-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp test cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wordpress_test_cookie=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove a \\\";\\\" prefix in the cookie if present\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"^;s*\\\", \\\"\\\");\\r\\n# Are there cookies left with only spaces or that are empty?\\r\\nif (req.http.cookie ~ \\\"^s*$\\\") {\\r\\nunset req.http.cookie;\\r\\n}\\r\\n# Check for the custom \\\"X-Logged-In\\\" header (used by K2 and other apps) to identify\\r\\n# if the visitor is a guest, then unset any cookie (including session cookies) provided\\r\\n# it\'s not a POST request.\\r\\nif(req.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 req.method != \\\"POST\\\") {\\r\\nunset req.http.Cookie;\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nreq.http.Authorization ||\\r\\nreq.http.Authenticate ||\\r\\nreq.http.X-Logged-In == \\\"True\\\" ||\\r\\nreq.http.Cookie ~ \\\"userID\\\" ||\\r\\nreq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nreq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nreq.url ~ \\\"^/addons\\\" ||\\r\\nreq.url ~ \\\"^/administrator\\\" ||\\r\\nreq.url ~ \\\"^/cart\\\" ||\\r\\nreq.url ~ \\\"^/checkout\\\" ||\\r\\nreq.url ~ \\\"^/component/banners\\\" ||\\r\\nreq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nreq.url ~ \\\"^/component/users\\\" ||\\r\\nreq.url ~ \\\"^/connect\\\" ||\\r\\nreq.url ~ \\\"^/contact\\\" ||\\r\\nreq.url ~ \\\"^/login\\\" ||\\r\\nreq.url ~ \\\"^/logout\\\" ||\\r\\nreq.url ~ \\\"^/lost-password\\\" ||\\r\\nreq.url ~ \\\"^/my-account\\\" ||\\r\\nreq.url ~ \\\"^/register\\\" ||\\r\\nreq.url ~ \\\"^/signin\\\" ||\\r\\nreq.url ~ \\\"^/signup\\\" ||\\r\\nreq.url ~ \\\"^/wc-api\\\" ||\\r\\nreq.url ~ \\\"^/wp-admin\\\" ||\\r\\nreq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nreq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nreq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(req.http.X-Requested-With == \\\"XMLHttpRequest\\\" || req.url ~ \\\"nocache\\\") {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# === STATIC FILES ===\\r\\n# Properly handle different encoding types\\r\\nif (req.http.Accept-Encoding) {\\r\\nif (req.url ~ \\\".(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf)$\\\") {\\r\\n# No point in compressing these\\r\\nunset req.http.Accept-Encoding;\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"gzip\\\") {\\r\\nset req.http.Accept-Encoding = \\\"gzip\\\";\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"deflate\\\") {\\r\\nset req.http.Accept-Encoding = \\\"deflate\\\";\\r\\n} else {\\r\\n# unknown algorithm (aka crappy browser)\\r\\nunset req.http.Accept-Encoding;\\r\\n}\\r\\n}\\r\\n# Remove all cookies for static files \\u0026 deliver directly\\r\\nif (req.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset req.http.Cookie;\\r\\nreturn (hash);\\r\\n}\\r\\nreturn (hash);\\r\\n}\\r\\nsub vcl_backend_response {\\r\\n/*\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nbereq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nbereq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n*/\\r\\n# Don\'t cache 50x responses\\r\\nif (\\r\\nberesp.status == 500 ||\\r\\nberesp.status == 502 ||\\r\\nberesp.status == 503 ||\\r\\nberesp.status == 504\\r\\n) {\\r\\nreturn (abandon);\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nbereq.url ~ \\\"^/addons\\\" ||\\r\\nbereq.url ~ \\\"^/administrator\\\" ||\\r\\nbereq.url ~ \\\"^/cart\\\" ||\\r\\nbereq.url ~ \\\"^/checkout\\\" ||\\r\\nbereq.url ~ \\\"^/component/banners\\\" ||\\r\\nbereq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nbereq.url ~ \\\"^/component/users\\\" ||\\r\\nbereq.url ~ \\\"^/connect\\\" ||\\r\\nbereq.url ~ \\\"^/contact\\\" ||\\r\\nbereq.url ~ \\\"^/login\\\" ||\\r\\nbereq.url ~ \\\"^/logout\\\" ||\\r\\nbereq.url ~ \\\"^/lost-password\\\" ||\\r\\nbereq.url ~ \\\"^/my-account\\\" ||\\r\\nbereq.url ~ \\\"^/register\\\" ||\\r\\nbereq.url ~ \\\"^/signin\\\" ||\\r\\nbereq.url ~ \\\"^/signup\\\" ||\\r\\nbereq.url ~ \\\"^/wc-api\\\" ||\\r\\nbereq.url ~ \\\"^/wp-admin\\\" ||\\r\\nbereq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nbereq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nbereq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nbereq.http.Authorization ||\\r\\nbereq.http.Authenticate ||\\r\\nbereq.http.X-Logged-In == \\\"True\\\" ||\\r\\nbereq.http.Cookie ~ \\\"userID\\\" ||\\r\\nbereq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nbereq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(beresp.http.X-Requested-With == \\\"XMLHttpRequest\\\" || bereq.url ~ \\\"nocache\\\") {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache backend response to posted requests\\r\\nif (bereq.method == \\\"POST\\\") {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Ok, we\'re cool \\u0026 ready to cache things\\r\\n# so let\'s clean up some headers and cookies\\r\\n# to maximize caching.\\r\\n# Check for the custom \\\"X-Logged-In\\\" header to identify if the visitor is a guest,\\r\\n# then unset any cookie (including session cookies) provided it\'s not a POST request.\\r\\nif(beresp.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 bereq.method != \\\"POST\\\") {\\r\\nunset beresp.http.Set-Cookie;\\r\\n}\\r\\n# Unset the \\\"pragma\\\" header (suggested)\\r\\nunset beresp.http.Pragma;\\r\\n# Unset the \\\"vary\\\" header (suggested)\\r\\nunset beresp.http.Vary;\\r\\n# Unset the \\\"etag\\\" header (optional)\\r\\n#unset beresp.http.etag;\\r\\n# Allow stale content, in case the backend goes down\\r\\nset beresp.grace = 24h;\\r\\n# Enforce your own cache TTL (optional)\\r\\n#set beresp.ttl = 180s;\\r\\n# Modify \\\"expires\\\" header - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires (optional)\\r\\n#set beresp.http.Expires = \\\"\\\" + (now + beresp.ttl);\\r\\n# If your backend server does not set the right caching headers for static assets,\\r\\n# you can set them below (uncomment first and change 604800 - which 1 week - to whatever you\\r\\n# want (in seconds)\\r\\n#if (bereq.url ~ \\\".(ico|jpg|jpeg|gif|png|bmp|webp|tiff|svg|svgz|pdf|mp3|flac|ogg|mid|midi|wav|mp4|webm|mkv|ogv|wmv|eot|otf|woff|ttf|rss|atom|zip|7z|tgz|gz|rar|bz2|tar|exe|doc|docx|xls|xlsx|ppt|pptx|rtf|odt|ods|odp)(?[a-zA-Z0-9=]+)$\\\") {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=604800\\\";\\r\\n#}\\r\\nif (bereq.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset beresp.http.set-cookie;\\r\\nset beresp.do_stream = true;\\r\\n}\\r\\n# We have content to cache, but it\'s got no-cache or other Cache-Control values sent\\r\\n# So let\'s reset it to our main caching time (180s as used in this example configuration)\\r\\n# The additional parameters specified (stale-while-revalidate \\u0026 stale-if-error) are used\\r\\n# by modern browsers to better control caching. Set these to twice \\u0026 four times your main\\r\\n# cache time respectively.\\r\\n# This final setting will normalize cache-control headers for CMSs like Joomla\\r\\n# which set max-age=0 even when the CMS\' cache is enabled.\\r\\nif (beresp.http.Cache-Control !~ \\\"max-age\\\" || beresp.http.Cache-Control ~ \\\"max-age=0\\\") {\\r\\nset beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n}\\r\\n# Optionally set a larger TTL for pages with less than 180s of cache TTL\\r\\n#if (beresp.ttl \\u003c 180s) {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n#}\\r\\nreturn (deliver);\\r\\n}\\r\\nsub vcl_deliver {\\r\\n/*\\r\\n# Send a special header for excluded domains only\\r\\n# The if statement can be identical to the ones in the vcl_recv() and vcl_fetch() functions above\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset resp.http.X-Domain-Status = \\\"EXCLUDED\\\";\\r\\n}\\r\\n# Enforce redirect to HTTPS for specified domains only\\r\\nif (\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\" \\u0026\\u0026\\r\\nreq.http.X-Forwarded-Proto !~ \\\"(?i)https\\\"\\r\\n) {\\r\\nset resp.http.Location = \\\"https://\\\" + req.http.host + req.url;\\r\\nset resp.status = 302;\\r\\n}\\r\\n*/\\r\\n# Send special headers that indicate the cache status of each web page\\r\\nif (obj.hits \\u003e 0) {\\r\\nset resp.http.X-Cache = \\\"HIT\\\";\\r\\nset resp.http.X-Cache-Hits = obj.hits;\\r\\n} else {\\r\\nset resp.http.X-Cache = \\\"MISS\\\";\\r\\n}\\r\\nreturn (deliver);\\r\\n}\\r\\nNginx Host 配置\\r\\nserver {\\r\\nlisten 80;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nrewrite ^/(.*) https://www.phpman.cc/$1 permanent;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 8080;\\r\\nindex index.html index.htm index.php default.html default.htm default.php;\\r\\nroot /home/wwwroot/www.phpman.cc/wordpress;\\r\\ninclude rewrite/wordpress.conf;\\r\\n#error_page 404 /404.html;\\r\\n# Deny access to PHP files in specific directory\\r\\n#location ~ /(wp-content|uploads|wp-includes|images)/.*.php$ { deny all; }\\r\\ninclude enable-php-pathinfo.conf;\\r\\nlocation ~ .*.(gif|jpg|jpeg|png|bmp|swf)$\\r\\n{\\r\\nexpires 30d;\\r\\n}\\r\\nlocation ~ .*.(js|css)?$\\r\\n{\\r\\nexpires 12h;\\r\\n}\\r\\nlocation ~ /.well-known {\\r\\nallow all;\\r\\n}\\r\\nlocation ~ /.\\r\\n{\\r\\ndeny all;\\r\\n}\\r\\naccess_log /home/wwwlogs/y.log;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 443 ssl http2;\\r\\n#listen [::]:443 ssl http2;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nssl_certificate /root/ssl/4082867_phpman.cc.pem;\\r\\nssl_certificate_key /root/ssl/4082867_phpman.cc.key;\\r\\nssl_session_timeout 5m;\\r\\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\\r\\nssl_prefer_server_ciphers on;\\r\\nssl_ciphers \\\"TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5\\\";\\r\\nssl_session_cache builtin:1000 shared:SSL:10m;\\r\\n# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048\\r\\nssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;\\r\\nlocation / {\\r\\nproxy_pass http://127.0.0.1:6081;\\r\\nproxy_set_header X-Real-IP $remote_addr;\\r\\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\\r\\nproxy_set_header X-Forwarded-Proto https;\\r\\nproxy_set_header X-Forwarded-Port 443;\\r\\nproxy_set_header Host $host;\\r\\n}\\r\\n}\\r\\nWordPress wp-config.php配置\\r\\n/* SSL Settings */\\r\\ndefine(\'FORCE_SSL_ADMIN\', true);\\r\\n/* Turn HTTPS \'on\' if HTTP_X_FORWARDED_PROTO matches \'https\' */\\r\\nif (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) {\\r\\n$_SERVER[\'HTTPS\'] = \'on\';\\r\\n}\\r\\n重启Nginx 和 Varnish 服务\\r\\nservice nginx reload\\r\\nservice varnish reload\\r\\n总结\\r\\nWeb URL请求路径:\\r\\nNginx:80——\\u003eNginx:443 ——\\u003e Varnish:6081 ——\\u003e Nginx:8080\\r\\n验证Varnish是否生效\\r\\ncurl -I https://www.phpman.cc\\r\\n返回结果\\r\\nHTTP/1.1 200 OK\\r\\nServer: nginx\\r\\nDate: Tue, 13 Apr 2021 06:41:21 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nConnection: keep-alive\\r\\nVary: Accept-Encoding\\r\\nVary: Accept-Encoding\\r\\nX-Powered-By: PHP/7.4.15\\r\\nLink: ; rel=\\\"https://api.w.org/\\\"\\r\\nX-Varnish: 360465\\r\\nAge: 0\\r\\nVia: 1.1 varnish-v4\\r\\n\"],\"id\":[\"16\"],\"title\":[\"Varnish 加速你的WordPress\"],\"updated_at\":[\"2021-09-21 00:00:00\"]}','2021-09-12 15:13:53','2021-09-12 15:13:53'),(621,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:13:58','2021-09-12 15:13:58'),(622,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"29a3668d-d1bb-4a7c-8817-2dfd6453eb9d\"],\"content\":[\"\\r\\n如果你想要构建自己的博客,通过网络分享自己想法或者创意,但是却不知道如何去做?\\r\\n那么今天我将分享自己是如何快速构建博客,并且去分享自己的一些经验和想法通过网络去传播,希望能帮助到你。\\r\\n简单的来讲你需要三样东西,第一个是一个自己的域名,第二个是一个云服务器,第三个是一个博客平台。\\r\\n域名和云服务器并不是免费的,你需要找到域名服务商去注册,云服务器需要找到合适的云服务器商去购买。博客平台WordPress是一个开源免费的平台,你不需要任何费用。\\r\\n接下来我将推荐一家相对比较便宜的云服务器提供商 Vultr\\r\\n这家服务商是的服务器是遍布全球的,你可以根据自己的需求来选择合适的云服务器。通过下面的优惠链接去注册并且购买服务器 https://www.vultr.com/?ref=7202739,这样我也可以获取一部分的奖励。\\r\\n希望这边文章能帮你快速构建自己博客平台。\\r\\n\"],\"id\":[\"15\"],\"title\":[\"如何构建自己的博客\"],\"updated_at\":[\"2021-09-30 22:50:37\"]}','2021-09-12 15:14:01','2021-09-12 15:14:01'),(623,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:14:04','2021-09-12 15:14:04'),(624,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"f9de6cb8-a668-4b5e-a615-1bb193ea2bb0\"],\"content\":[\"\\r\\n如果你想要构建自己的博客,通过网络分享自己想法或者创意,但是却不知道如何去做?\\r\\n那么今天我将分享自己是如何快速构建博客,并且去分享自己的一些经验和想法通过网络去传播,希望能帮助到你。\\r\\n简单的来讲你需要三样东西,第一个是一个自己的域名,第二个是一个云服务器,第三个是一个博客平台。\\r\\n域名和云服务器并不是免费的,你需要找到域名服务商去注册,云服务器需要找到合适的云服务器商去购买。博客平台WordPress是一个开源免费的平台,你不需要任何费用。\\r\\n接下来我将推荐一家相对比较便宜的云服务器提供商 Vultr\\r\\n这家服务商是的服务器是遍布全球的,你可以根据自己的需求来选择合适的云服务器。通过下面的优惠链接去注册并且购买服务器 https://www.vultr.com/?ref=7202739,这样我也可以获取一部分的奖励。\\r\\n希望这边文章能帮你快速构建自己博客平台。\\r\\n\"],\"id\":[\"15\"],\"title\":[\"如何构建自己的博客\"],\"updated_at\":[\"2021-09-30 22:50:36\"]}','2021-09-12 15:14:12','2021-09-12 15:14:12'),(625,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:14:15','2021-09-12 15:14:15'),(626,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"0e118e6d-6503-4d5d-8a2e-57bf0ff522d6\"],\"content\":[\"\\r\\nVarnish Cache是Web应用程序加速器,也称为缓存HTTP反向代理。您可以将其安装在任何使用HTTP的服务器之前,并将其配置为缓存内容。Varnish Cache确实非常快。根据您的体系结构,通常可以将交付速度提高300到1000倍。\\r\\nCentOs 安装\\r\\nyum install varnish\\r\\nVarnish 配置\\r\\n###############################################################################################\\r\\n### The perfect Varnish 4.x+ configuration for Joomla, WordPress \\u0026 other CMS based websites ###\\r\\n###############################################################################################\\r\\n######################\\r\\n#\\r\\n# UPDATED on July 7th, 2020\\r\\n#\\r\\n# Configuration Notes:\\r\\n# 1. Default dynamic content caching respects your backend\'s cache-control HTTP header.\\r\\n# If however you need to enforce a different cache-control TTL,\\r\\n# do a search for \\\"180\\\" and replace with the new value in seconds.\\r\\n# Stale cache is served for up to 24 hours.\\r\\n# 2. Make sure you update the \\\"backend default { ... }\\\" section with the correct IP and port\\r\\n#\\r\\n######################\\r\\n# Varnish Reference:\\r\\n# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/\\r\\n# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.\\r\\n# Marker to tell the VCL compiler that this VCL has been adapted to the new 4.0 format\\r\\nvcl 4.0;\\r\\n# Imports\\r\\nimport std;\\r\\n# Default backend definition. Set this to point to your content server.\\r\\nbackend default {\\r\\n.host = \\\"127.0.0.1\\\"; # UPDATE this only if the web server is not on the same machine\\r\\n.port = \\\"8080\\\"; # UPDATE 8080 with your web server\'s (internal) port\\r\\n}\\r\\nsub vcl_recv {\\r\\n/*\\r\\n# Blocks\\r\\nif (req.http.user-agent ~ \\\"^$\\\" \\u0026\\u0026 req.http.referer ~ \\\"^$\\\") {\\r\\nreturn (synth(204, \\\"No content\\\"));\\r\\n}\\r\\nif (req.http.user-agent ~ \\\"(ahrefs|bingbot|domaincrawler|dotbot|mj12bot|semrush)\\\") {\\r\\nreturn (synth(204, \\\"Bot blocked\\\"));\\r\\n}\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nreturn (pass);\\r\\n}\\r\\n*/\\r\\n# LetsEncrypt Certbot passthrough\\r\\nif (req.url ~ \\\"^/.well-known/acme-challenge/\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# Forward client\'s IP to the backend\\r\\nif (req.restarts == 0) {\\r\\nif (req.http.X-Real-IP) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Real-IP;\\r\\n} else if (req.http.X-Forwarded-For) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \\\", \\\" + client.ip;\\r\\n} else {\\r\\nset req.http.X-Forwarded-For = client.ip;\\r\\n}\\r\\n}\\r\\n# httpoxy\\r\\nunset req.http.proxy;\\r\\n# Non-RFC2616 or CONNECT which is weird.\\r\\nif (\\r\\nreq.method != \\\"GET\\\" \\u0026\\u0026\\r\\nreq.method != \\\"HEAD\\\" \\u0026\\u0026\\r\\nreq.method != \\\"PUT\\\" \\u0026\\u0026\\r\\nreq.method != \\\"POST\\\" \\u0026\\u0026\\r\\nreq.method != \\\"TRACE\\\" \\u0026\\u0026\\r\\nreq.method != \\\"OPTIONS\\\" \\u0026\\u0026\\r\\nreq.method != \\\"DELETE\\\"\\r\\n) {\\r\\nreturn (pipe);\\r\\n}\\r\\n# We only deal with GET and HEAD by default\\r\\nif (req.method != \\\"GET\\\" \\u0026\\u0026 req.method != \\\"HEAD\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# === URL manipulation ===\\r\\n# First remove the Google Analytics added parameters, useless for our backend\\r\\nif (req.url ~ \\\"(?|\\u0026)(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=\\\") {\\r\\nset req.url = regsuball(req.url, \\\"\\u0026(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"\\\");\\r\\nset req.url = regsuball(req.url, \\\"?(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?\\u0026\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip hash, server doesn\'t need it.\\r\\nif (req.url ~ \\\"#\\\") {\\r\\nset req.url = regsub(req.url, \\\"#.*$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip a trailing ? if it exists\\r\\n#if (req.url ~ \\\"?$\\\") {\\r\\n# set req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n#}\\r\\n# === Generic cookie manipulation ===\\r\\n# Remove the \\\"has_js\\\" cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"has_js=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove any Google Analytics based cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__utm.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_ga=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_gat=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmctr=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmcmd.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmccn.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove DoubleClick offensive cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__gads=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the Quant Capital cookies (added by some plugin, all __qca)\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__qc.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the AddThis cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__atuv.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-time-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-time-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp test cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wordpress_test_cookie=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove a \\\";\\\" prefix in the cookie if present\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"^;s*\\\", \\\"\\\");\\r\\n# Are there cookies left with only spaces or that are empty?\\r\\nif (req.http.cookie ~ \\\"^s*$\\\") {\\r\\nunset req.http.cookie;\\r\\n}\\r\\n# Check for the custom \\\"X-Logged-In\\\" header (used by K2 and other apps) to identify\\r\\n# if the visitor is a guest, then unset any cookie (including session cookies) provided\\r\\n# it\'s not a POST request.\\r\\nif(req.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 req.method != \\\"POST\\\") {\\r\\nunset req.http.Cookie;\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nreq.http.Authorization ||\\r\\nreq.http.Authenticate ||\\r\\nreq.http.X-Logged-In == \\\"True\\\" ||\\r\\nreq.http.Cookie ~ \\\"userID\\\" ||\\r\\nreq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nreq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nreq.url ~ \\\"^/addons\\\" ||\\r\\nreq.url ~ \\\"^/administrator\\\" ||\\r\\nreq.url ~ \\\"^/cart\\\" ||\\r\\nreq.url ~ \\\"^/checkout\\\" ||\\r\\nreq.url ~ \\\"^/component/banners\\\" ||\\r\\nreq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nreq.url ~ \\\"^/component/users\\\" ||\\r\\nreq.url ~ \\\"^/connect\\\" ||\\r\\nreq.url ~ \\\"^/contact\\\" ||\\r\\nreq.url ~ \\\"^/login\\\" ||\\r\\nreq.url ~ \\\"^/logout\\\" ||\\r\\nreq.url ~ \\\"^/lost-password\\\" ||\\r\\nreq.url ~ \\\"^/my-account\\\" ||\\r\\nreq.url ~ \\\"^/register\\\" ||\\r\\nreq.url ~ \\\"^/signin\\\" ||\\r\\nreq.url ~ \\\"^/signup\\\" ||\\r\\nreq.url ~ \\\"^/wc-api\\\" ||\\r\\nreq.url ~ \\\"^/wp-admin\\\" ||\\r\\nreq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nreq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nreq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(req.http.X-Requested-With == \\\"XMLHttpRequest\\\" || req.url ~ \\\"nocache\\\") {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# === STATIC FILES ===\\r\\n# Properly handle different encoding types\\r\\nif (req.http.Accept-Encoding) {\\r\\nif (req.url ~ \\\".(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf)$\\\") {\\r\\n# No point in compressing these\\r\\nunset req.http.Accept-Encoding;\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"gzip\\\") {\\r\\nset req.http.Accept-Encoding = \\\"gzip\\\";\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"deflate\\\") {\\r\\nset req.http.Accept-Encoding = \\\"deflate\\\";\\r\\n} else {\\r\\n# unknown algorithm (aka crappy browser)\\r\\nunset req.http.Accept-Encoding;\\r\\n}\\r\\n}\\r\\n# Remove all cookies for static files \\u0026 deliver directly\\r\\nif (req.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset req.http.Cookie;\\r\\nreturn (hash);\\r\\n}\\r\\nreturn (hash);\\r\\n}\\r\\nsub vcl_backend_response {\\r\\n/*\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nbereq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nbereq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n*/\\r\\n# Don\'t cache 50x responses\\r\\nif (\\r\\nberesp.status == 500 ||\\r\\nberesp.status == 502 ||\\r\\nberesp.status == 503 ||\\r\\nberesp.status == 504\\r\\n) {\\r\\nreturn (abandon);\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nbereq.url ~ \\\"^/addons\\\" ||\\r\\nbereq.url ~ \\\"^/administrator\\\" ||\\r\\nbereq.url ~ \\\"^/cart\\\" ||\\r\\nbereq.url ~ \\\"^/checkout\\\" ||\\r\\nbereq.url ~ \\\"^/component/banners\\\" ||\\r\\nbereq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nbereq.url ~ \\\"^/component/users\\\" ||\\r\\nbereq.url ~ \\\"^/connect\\\" ||\\r\\nbereq.url ~ \\\"^/contact\\\" ||\\r\\nbereq.url ~ \\\"^/login\\\" ||\\r\\nbereq.url ~ \\\"^/logout\\\" ||\\r\\nbereq.url ~ \\\"^/lost-password\\\" ||\\r\\nbereq.url ~ \\\"^/my-account\\\" ||\\r\\nbereq.url ~ \\\"^/register\\\" ||\\r\\nbereq.url ~ \\\"^/signin\\\" ||\\r\\nbereq.url ~ \\\"^/signup\\\" ||\\r\\nbereq.url ~ \\\"^/wc-api\\\" ||\\r\\nbereq.url ~ \\\"^/wp-admin\\\" ||\\r\\nbereq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nbereq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nbereq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nbereq.http.Authorization ||\\r\\nbereq.http.Authenticate ||\\r\\nbereq.http.X-Logged-In == \\\"True\\\" ||\\r\\nbereq.http.Cookie ~ \\\"userID\\\" ||\\r\\nbereq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nbereq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(beresp.http.X-Requested-With == \\\"XMLHttpRequest\\\" || bereq.url ~ \\\"nocache\\\") {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache backend response to posted requests\\r\\nif (bereq.method == \\\"POST\\\") {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Ok, we\'re cool \\u0026 ready to cache things\\r\\n# so let\'s clean up some headers and cookies\\r\\n# to maximize caching.\\r\\n# Check for the custom \\\"X-Logged-In\\\" header to identify if the visitor is a guest,\\r\\n# then unset any cookie (including session cookies) provided it\'s not a POST request.\\r\\nif(beresp.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 bereq.method != \\\"POST\\\") {\\r\\nunset beresp.http.Set-Cookie;\\r\\n}\\r\\n# Unset the \\\"pragma\\\" header (suggested)\\r\\nunset beresp.http.Pragma;\\r\\n# Unset the \\\"vary\\\" header (suggested)\\r\\nunset beresp.http.Vary;\\r\\n# Unset the \\\"etag\\\" header (optional)\\r\\n#unset beresp.http.etag;\\r\\n# Allow stale content, in case the backend goes down\\r\\nset beresp.grace = 24h;\\r\\n# Enforce your own cache TTL (optional)\\r\\n#set beresp.ttl = 180s;\\r\\n# Modify \\\"expires\\\" header - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires (optional)\\r\\n#set beresp.http.Expires = \\\"\\\" + (now + beresp.ttl);\\r\\n# If your backend server does not set the right caching headers for static assets,\\r\\n# you can set them below (uncomment first and change 604800 - which 1 week - to whatever you\\r\\n# want (in seconds)\\r\\n#if (bereq.url ~ \\\".(ico|jpg|jpeg|gif|png|bmp|webp|tiff|svg|svgz|pdf|mp3|flac|ogg|mid|midi|wav|mp4|webm|mkv|ogv|wmv|eot|otf|woff|ttf|rss|atom|zip|7z|tgz|gz|rar|bz2|tar|exe|doc|docx|xls|xlsx|ppt|pptx|rtf|odt|ods|odp)(?[a-zA-Z0-9=]+)$\\\") {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=604800\\\";\\r\\n#}\\r\\nif (bereq.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset beresp.http.set-cookie;\\r\\nset beresp.do_stream = true;\\r\\n}\\r\\n# We have content to cache, but it\'s got no-cache or other Cache-Control values sent\\r\\n# So let\'s reset it to our main caching time (180s as used in this example configuration)\\r\\n# The additional parameters specified (stale-while-revalidate \\u0026 stale-if-error) are used\\r\\n# by modern browsers to better control caching. Set these to twice \\u0026 four times your main\\r\\n# cache time respectively.\\r\\n# This final setting will normalize cache-control headers for CMSs like Joomla\\r\\n# which set max-age=0 even when the CMS\' cache is enabled.\\r\\nif (beresp.http.Cache-Control !~ \\\"max-age\\\" || beresp.http.Cache-Control ~ \\\"max-age=0\\\") {\\r\\nset beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n}\\r\\n# Optionally set a larger TTL for pages with less than 180s of cache TTL\\r\\n#if (beresp.ttl \\u003c 180s) {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n#}\\r\\nreturn (deliver);\\r\\n}\\r\\nsub vcl_deliver {\\r\\n/*\\r\\n# Send a special header for excluded domains only\\r\\n# The if statement can be identical to the ones in the vcl_recv() and vcl_fetch() functions above\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset resp.http.X-Domain-Status = \\\"EXCLUDED\\\";\\r\\n}\\r\\n# Enforce redirect to HTTPS for specified domains only\\r\\nif (\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\" \\u0026\\u0026\\r\\nreq.http.X-Forwarded-Proto !~ \\\"(?i)https\\\"\\r\\n) {\\r\\nset resp.http.Location = \\\"https://\\\" + req.http.host + req.url;\\r\\nset resp.status = 302;\\r\\n}\\r\\n*/\\r\\n# Send special headers that indicate the cache status of each web page\\r\\nif (obj.hits \\u003e 0) {\\r\\nset resp.http.X-Cache = \\\"HIT\\\";\\r\\nset resp.http.X-Cache-Hits = obj.hits;\\r\\n} else {\\r\\nset resp.http.X-Cache = \\\"MISS\\\";\\r\\n}\\r\\nreturn (deliver);\\r\\n}\\r\\nNginx Host 配置\\r\\nserver {\\r\\nlisten 80;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nrewrite ^/(.*) https://www.phpman.cc/$1 permanent;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 8080;\\r\\nindex index.html index.htm index.php default.html default.htm default.php;\\r\\nroot /home/wwwroot/www.phpman.cc/wordpress;\\r\\ninclude rewrite/wordpress.conf;\\r\\n#error_page 404 /404.html;\\r\\n# Deny access to PHP files in specific directory\\r\\n#location ~ /(wp-content|uploads|wp-includes|images)/.*.php$ { deny all; }\\r\\ninclude enable-php-pathinfo.conf;\\r\\nlocation ~ .*.(gif|jpg|jpeg|png|bmp|swf)$\\r\\n{\\r\\nexpires 30d;\\r\\n}\\r\\nlocation ~ .*.(js|css)?$\\r\\n{\\r\\nexpires 12h;\\r\\n}\\r\\nlocation ~ /.well-known {\\r\\nallow all;\\r\\n}\\r\\nlocation ~ /.\\r\\n{\\r\\ndeny all;\\r\\n}\\r\\naccess_log /home/wwwlogs/y.log;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 443 ssl http2;\\r\\n#listen [::]:443 ssl http2;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nssl_certificate /root/ssl/4082867_phpman.cc.pem;\\r\\nssl_certificate_key /root/ssl/4082867_phpman.cc.key;\\r\\nssl_session_timeout 5m;\\r\\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\\r\\nssl_prefer_server_ciphers on;\\r\\nssl_ciphers \\\"TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5\\\";\\r\\nssl_session_cache builtin:1000 shared:SSL:10m;\\r\\n# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048\\r\\nssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;\\r\\nlocation / {\\r\\nproxy_pass http://127.0.0.1:6081;\\r\\nproxy_set_header X-Real-IP $remote_addr;\\r\\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\\r\\nproxy_set_header X-Forwarded-Proto https;\\r\\nproxy_set_header X-Forwarded-Port 443;\\r\\nproxy_set_header Host $host;\\r\\n}\\r\\n}\\r\\nWordPress wp-config.php配置\\r\\n/* SSL Settings */\\r\\ndefine(\'FORCE_SSL_ADMIN\', true);\\r\\n/* Turn HTTPS \'on\' if HTTP_X_FORWARDED_PROTO matches \'https\' */\\r\\nif (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) {\\r\\n$_SERVER[\'HTTPS\'] = \'on\';\\r\\n}\\r\\n重启Nginx 和 Varnish 服务\\r\\nservice nginx reload\\r\\nservice varnish reload\\r\\n总结\\r\\nWeb URL请求路径:\\r\\nNginx:80——\\u003eNginx:443 ——\\u003e Varnish:6081 ——\\u003e Nginx:8080\\r\\n验证Varnish是否生效\\r\\ncurl -I https://www.phpman.cc\\r\\n返回结果\\r\\nHTTP/1.1 200 OK\\r\\nServer: nginx\\r\\nDate: Tue, 13 Apr 2021 06:41:21 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nConnection: keep-alive\\r\\nVary: Accept-Encoding\\r\\nVary: Accept-Encoding\\r\\nX-Powered-By: PHP/7.4.15\\r\\nLink: ; rel=\\\"https://api.w.org/\\\"\\r\\nX-Varnish: 360465\\r\\nAge: 0\\r\\nVia: 1.1 varnish-v4\\r\\n\"],\"id\":[\"16\"],\"title\":[\"Varnish 加速你的WordPress\"],\"updated_at\":[\"2021-09-21 02:35:55\"]}','2021-09-12 15:14:26','2021-09-12 15:14:26'),(627,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:14:51','2021-09-12 15:14:51'),(628,1,'/admin/info/posts','GET','::1','','2021-09-12 15:14:54','2021-09-12 15:14:54'),(629,1,'/admin/info/manager','GET','::1','','2021-09-12 15:15:36','2021-09-12 15:15:36'),(630,1,'/admin/info/manager/edit','GET','::1','','2021-09-12 15:15:38','2021-09-12 15:15:38'),(631,1,'/admin/info/manager','GET','::1','','2021-09-12 15:15:41','2021-09-12 15:15:41'),(632,1,'/admin/info/manager/new','GET','::1','','2021-09-12 15:16:03','2021-09-12 15:16:03'),(633,1,'/admin/info/manager','GET','::1','','2021-09-12 15:16:05','2021-09-12 15:16:05'),(634,1,'/admin/info/manager/edit','GET','::1','','2021-09-12 15:16:20','2021-09-12 15:16:20'),(635,1,'/admin/edit/manager','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"781a0139-95c6-44cf-a0d5-c5c8ac0293e0\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"3\"],\"name\":[\"sam\"],\"password\":[\"\"],\"password_again\":[\"\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"sam\"]}','2021-09-12 15:16:22','2021-09-12 15:16:22'),(636,1,'/admin/info/manager/edit','GET','::1','','2021-09-12 15:16:31','2021-09-12 15:16:31'),(637,1,'/admin/info/manager','GET','::1','','2021-09-12 15:16:38','2021-09-12 15:16:38'),(638,1,'/admin/info/op','GET','::1','','2021-09-12 15:16:40','2021-09-12 15:16:40'),(639,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:17:41','2021-09-12 15:17:41'),(640,1,'/admin/info/posts','GET','::1','','2021-09-12 15:17:47','2021-09-12 15:17:47'),(641,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:17:49','2021-09-12 15:17:49'),(642,1,'/admin/new/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"292e05d0-c592-469b-8b50-f6eeb6bda2f4\"],\"content\":[\"\\u003cp\\u003etwetwet\\u003c/p\\u003e\"],\"title\":[\"算法系列–冒泡排序\"],\"updated_at\":[\"\"]}','2021-09-12 15:17:55','2021-09-12 15:17:55'),(643,1,'/admin/new/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"63ac2fc9-e1e6-465d-ad0f-9fa4de0f84fe\"],\"content\":[\"\\u003cp\\u003edfdf\\u003c/p\\u003e\"],\"title\":[\"算法系列–冒泡排序\"],\"updated_at\":[\"2021-10-28 00:00:00\"]}','2021-09-12 15:18:49','2021-09-12 15:18:49'),(644,1,'/admin/delete/posts','POST','::1','','2021-09-12 15:18:56','2021-09-12 15:18:56'),(645,1,'/admin/info/posts','GET','::1','','2021-09-12 15:18:56','2021-09-12 15:18:56'),(646,1,'/admin/delete/posts','POST','::1','','2021-09-12 15:19:00','2021-09-12 15:19:00'),(647,1,'/admin/info/posts','GET','::1','','2021-09-12 15:19:00','2021-09-12 15:19:00'),(648,1,'/admin/info/posts','GET','::1','','2021-09-12 15:19:22','2021-09-12 15:19:22'),(649,1,'/admin/info/posts','GET','::1','','2021-09-12 15:19:31','2021-09-12 15:19:31'),(650,1,'/admin/info/posts','GET','::1','','2021-09-12 15:19:52','2021-09-12 15:19:52'),(651,1,'/admin/info/posts','GET','::1','','2021-09-12 15:20:53','2021-09-12 15:20:53'),(652,1,'/admin/info/posts','GET','::1','','2021-09-12 15:21:01','2021-09-12 15:21:01'),(653,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:21:04','2021-09-12 15:21:04'),(654,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:21:09','2021-09-12 15:21:09'),(655,1,'/admin/info/posts','GET','::1','','2021-09-12 15:21:09','2021-09-12 15:21:09'),(656,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:21:14','2021-09-12 15:21:14'),(657,1,'/admin/info/posts/new','GET','::1','','2021-09-12 15:21:15','2021-09-12 15:21:15'),(658,1,'/admin/info/posts','GET','::1','','2021-09-12 15:21:15','2021-09-12 15:21:15'),(659,1,'/admin/info/posts','GET','::1','','2021-09-12 15:21:16','2021-09-12 15:21:16'),(660,1,'/admin/info/posts','GET','::1','','2021-09-12 15:21:18','2021-09-12 15:21:18'),(661,1,'/admin/info/posts','GET','::1','','2021-09-12 15:21:20','2021-09-12 15:21:20'),(662,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:21:23','2021-09-12 15:21:23'),(663,1,'/admin/edit/posts','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"24542489-619a-41ce-a93b-3b3045ffe7df\"],\"content\":[\"\\r\\nVarnish Cache是Web应用程序加速器,也称为缓存HTTP反向代理。您可以将其安装在任何使用HTTP的服务器之前,并将其配置为缓存内容。Varnish Cache确实非常快。根据您的体系结构,通常可以将交付速度提高300到1000倍。\\r\\nCentOs 安装\\r\\nyum install varnish\\r\\nVarnish 配置\\r\\n###############################################################################################\\r\\n### The perfect Varnish 4.x+ configuration for Joomla, WordPress \\u0026 other CMS based websites ###\\r\\n###############################################################################################\\r\\n######################\\r\\n#\\r\\n# UPDATED on July 7th, 2020\\r\\n#\\r\\n# Configuration Notes:\\r\\n# 1. Default dynamic content caching respects your backend\'s cache-control HTTP header.\\r\\n# If however you need to enforce a different cache-control TTL,\\r\\n# do a search for \\\"180\\\" and replace with the new value in seconds.\\r\\n# Stale cache is served for up to 24 hours.\\r\\n# 2. Make sure you update the \\\"backend default { ... }\\\" section with the correct IP and port\\r\\n#\\r\\n######################\\r\\n# Varnish Reference:\\r\\n# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/\\r\\n# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.\\r\\n# Marker to tell the VCL compiler that this VCL has been adapted to the new 4.0 format\\r\\nvcl 4.0;\\r\\n# Imports\\r\\nimport std;\\r\\n# Default backend definition. Set this to point to your content server.\\r\\nbackend default {\\r\\n.host = \\\"127.0.0.1\\\"; # UPDATE this only if the web server is not on the same machine\\r\\n.port = \\\"8080\\\"; # UPDATE 8080 with your web server\'s (internal) port\\r\\n}\\r\\nsub vcl_recv {\\r\\n/*\\r\\n# Blocks\\r\\nif (req.http.user-agent ~ \\\"^$\\\" \\u0026\\u0026 req.http.referer ~ \\\"^$\\\") {\\r\\nreturn (synth(204, \\\"No content\\\"));\\r\\n}\\r\\nif (req.http.user-agent ~ \\\"(ahrefs|bingbot|domaincrawler|dotbot|mj12bot|semrush)\\\") {\\r\\nreturn (synth(204, \\\"Bot blocked\\\"));\\r\\n}\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nreturn (pass);\\r\\n}\\r\\n*/\\r\\n# LetsEncrypt Certbot passthrough\\r\\nif (req.url ~ \\\"^/.well-known/acme-challenge/\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# Forward client\'s IP to the backend\\r\\nif (req.restarts == 0) {\\r\\nif (req.http.X-Real-IP) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Real-IP;\\r\\n} else if (req.http.X-Forwarded-For) {\\r\\nset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \\\", \\\" + client.ip;\\r\\n} else {\\r\\nset req.http.X-Forwarded-For = client.ip;\\r\\n}\\r\\n}\\r\\n# httpoxy\\r\\nunset req.http.proxy;\\r\\n# Non-RFC2616 or CONNECT which is weird.\\r\\nif (\\r\\nreq.method != \\\"GET\\\" \\u0026\\u0026\\r\\nreq.method != \\\"HEAD\\\" \\u0026\\u0026\\r\\nreq.method != \\\"PUT\\\" \\u0026\\u0026\\r\\nreq.method != \\\"POST\\\" \\u0026\\u0026\\r\\nreq.method != \\\"TRACE\\\" \\u0026\\u0026\\r\\nreq.method != \\\"OPTIONS\\\" \\u0026\\u0026\\r\\nreq.method != \\\"DELETE\\\"\\r\\n) {\\r\\nreturn (pipe);\\r\\n}\\r\\n# We only deal with GET and HEAD by default\\r\\nif (req.method != \\\"GET\\\" \\u0026\\u0026 req.method != \\\"HEAD\\\") {\\r\\nreturn (pass);\\r\\n}\\r\\n# === URL manipulation ===\\r\\n# First remove the Google Analytics added parameters, useless for our backend\\r\\nif (req.url ~ \\\"(?|\\u0026)(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=\\\") {\\r\\nset req.url = regsuball(req.url, \\\"\\u0026(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"\\\");\\r\\nset req.url = regsuball(req.url, \\\"?(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?\\u0026\\\", \\\"?\\\");\\r\\nset req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip hash, server doesn\'t need it.\\r\\nif (req.url ~ \\\"#\\\") {\\r\\nset req.url = regsub(req.url, \\\"#.*$\\\", \\\"\\\");\\r\\n}\\r\\n# Strip a trailing ? if it exists\\r\\n#if (req.url ~ \\\"?$\\\") {\\r\\n# set req.url = regsub(req.url, \\\"?$\\\", \\\"\\\");\\r\\n#}\\r\\n# === Generic cookie manipulation ===\\r\\n# Remove the \\\"has_js\\\" cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"has_js=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove any Google Analytics based cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__utm.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_ga=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"_gat=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmctr=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmcmd.=[^;]+(; )?\\\", \\\"\\\");\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"utmccn.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove DoubleClick offensive cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__gads=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the Quant Capital cookies (added by some plugin, all __qca)\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__qc.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the AddThis cookies\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"__atuv.=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp-settings-time-1 cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wp-settings-time-1=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove the wp test cookie\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"wordpress_test_cookie=[^;]+(; )?\\\", \\\"\\\");\\r\\n# Remove a \\\";\\\" prefix in the cookie if present\\r\\nset req.http.Cookie = regsuball(req.http.Cookie, \\\"^;s*\\\", \\\"\\\");\\r\\n# Are there cookies left with only spaces or that are empty?\\r\\nif (req.http.cookie ~ \\\"^s*$\\\") {\\r\\nunset req.http.cookie;\\r\\n}\\r\\n# Check for the custom \\\"X-Logged-In\\\" header (used by K2 and other apps) to identify\\r\\n# if the visitor is a guest, then unset any cookie (including session cookies) provided\\r\\n# it\'s not a POST request.\\r\\nif(req.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 req.method != \\\"POST\\\") {\\r\\nunset req.http.Cookie;\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nreq.http.Authorization ||\\r\\nreq.http.Authenticate ||\\r\\nreq.http.X-Logged-In == \\\"True\\\" ||\\r\\nreq.http.Cookie ~ \\\"userID\\\" ||\\r\\nreq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nreq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nreq.url ~ \\\"^/addons\\\" ||\\r\\nreq.url ~ \\\"^/administrator\\\" ||\\r\\nreq.url ~ \\\"^/cart\\\" ||\\r\\nreq.url ~ \\\"^/checkout\\\" ||\\r\\nreq.url ~ \\\"^/component/banners\\\" ||\\r\\nreq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nreq.url ~ \\\"^/component/users\\\" ||\\r\\nreq.url ~ \\\"^/connect\\\" ||\\r\\nreq.url ~ \\\"^/contact\\\" ||\\r\\nreq.url ~ \\\"^/login\\\" ||\\r\\nreq.url ~ \\\"^/logout\\\" ||\\r\\nreq.url ~ \\\"^/lost-password\\\" ||\\r\\nreq.url ~ \\\"^/my-account\\\" ||\\r\\nreq.url ~ \\\"^/register\\\" ||\\r\\nreq.url ~ \\\"^/signin\\\" ||\\r\\nreq.url ~ \\\"^/signup\\\" ||\\r\\nreq.url ~ \\\"^/wc-api\\\" ||\\r\\nreq.url ~ \\\"^/wp-admin\\\" ||\\r\\nreq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nreq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nreq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(req.http.X-Requested-With == \\\"XMLHttpRequest\\\" || req.url ~ \\\"nocache\\\") {\\r\\n#set req.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set req.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set req.http.Pragma = \\\"no-cache\\\";\\r\\nreturn (pass);\\r\\n}\\r\\n# === STATIC FILES ===\\r\\n# Properly handle different encoding types\\r\\nif (req.http.Accept-Encoding) {\\r\\nif (req.url ~ \\\".(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf)$\\\") {\\r\\n# No point in compressing these\\r\\nunset req.http.Accept-Encoding;\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"gzip\\\") {\\r\\nset req.http.Accept-Encoding = \\\"gzip\\\";\\r\\n} elseif (req.http.Accept-Encoding ~ \\\"deflate\\\") {\\r\\nset req.http.Accept-Encoding = \\\"deflate\\\";\\r\\n} else {\\r\\n# unknown algorithm (aka crappy browser)\\r\\nunset req.http.Accept-Encoding;\\r\\n}\\r\\n}\\r\\n# Remove all cookies for static files \\u0026 deliver directly\\r\\nif (req.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset req.http.Cookie;\\r\\nreturn (hash);\\r\\n}\\r\\nreturn (hash);\\r\\n}\\r\\nsub vcl_backend_response {\\r\\n/*\\r\\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\\r\\n# The first check matches both naked \\u0026 \\\"www\\\" subdomains. Use the second for non generic subdomains.\\r\\nif (\\r\\nbereq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nbereq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n*/\\r\\n# Don\'t cache 50x responses\\r\\nif (\\r\\nberesp.status == 500 ||\\r\\nberesp.status == 502 ||\\r\\nberesp.status == 503 ||\\r\\nberesp.status == 504\\r\\n) {\\r\\nreturn (abandon);\\r\\n}\\r\\n# === DO NOT CACHE ===\\r\\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\\r\\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\\r\\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\\r\\n# to point to a user login page (e.g. /login), including all related functionality such as\\r\\n# password reset, email reminder and so on.\\r\\nif(\\r\\nbereq.url ~ \\\"^/addons\\\" ||\\r\\nbereq.url ~ \\\"^/administrator\\\" ||\\r\\nbereq.url ~ \\\"^/cart\\\" ||\\r\\nbereq.url ~ \\\"^/checkout\\\" ||\\r\\nbereq.url ~ \\\"^/component/banners\\\" ||\\r\\nbereq.url ~ \\\"^/component/socialconnect\\\" ||\\r\\nbereq.url ~ \\\"^/component/users\\\" ||\\r\\nbereq.url ~ \\\"^/connect\\\" ||\\r\\nbereq.url ~ \\\"^/contact\\\" ||\\r\\nbereq.url ~ \\\"^/login\\\" ||\\r\\nbereq.url ~ \\\"^/logout\\\" ||\\r\\nbereq.url ~ \\\"^/lost-password\\\" ||\\r\\nbereq.url ~ \\\"^/my-account\\\" ||\\r\\nbereq.url ~ \\\"^/register\\\" ||\\r\\nbereq.url ~ \\\"^/signin\\\" ||\\r\\nbereq.url ~ \\\"^/signup\\\" ||\\r\\nbereq.url ~ \\\"^/wc-api\\\" ||\\r\\nbereq.url ~ \\\"^/wp-admin\\\" ||\\r\\nbereq.url ~ \\\"^/wp-login.php\\\" ||\\r\\nbereq.url ~ \\\"^?add-to-cart=\\\" ||\\r\\nbereq.url ~ \\\"^?wc-api=\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\\r\\nif (\\r\\nbereq.http.Authorization ||\\r\\nbereq.http.Authenticate ||\\r\\nbereq.http.X-Logged-In == \\\"True\\\" ||\\r\\nbereq.http.Cookie ~ \\\"userID\\\" ||\\r\\nbereq.http.Cookie ~ \\\"joomla_[a-zA-Z0-9_]+\\\" ||\\r\\nbereq.http.Cookie ~ \\\"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\\\"\\r\\n) {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache ajax requests\\r\\nif(beresp.http.X-Requested-With == \\\"XMLHttpRequest\\\" || bereq.url ~ \\\"nocache\\\") {\\r\\n#set beresp.http.Cache-Control = \\\"private, max-age=0, no-cache, no-store\\\";\\r\\n#set beresp.http.Expires = \\\"Mon, 01 Jan 2001 00:00:00 GMT\\\";\\r\\n#set beresp.http.Pragma = \\\"no-cache\\\";\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Don\'t cache backend response to posted requests\\r\\nif (bereq.method == \\\"POST\\\") {\\r\\nset beresp.uncacheable = true;\\r\\nreturn (deliver);\\r\\n}\\r\\n# Ok, we\'re cool \\u0026 ready to cache things\\r\\n# so let\'s clean up some headers and cookies\\r\\n# to maximize caching.\\r\\n# Check for the custom \\\"X-Logged-In\\\" header to identify if the visitor is a guest,\\r\\n# then unset any cookie (including session cookies) provided it\'s not a POST request.\\r\\nif(beresp.http.X-Logged-In == \\\"False\\\" \\u0026\\u0026 bereq.method != \\\"POST\\\") {\\r\\nunset beresp.http.Set-Cookie;\\r\\n}\\r\\n# Unset the \\\"pragma\\\" header (suggested)\\r\\nunset beresp.http.Pragma;\\r\\n# Unset the \\\"vary\\\" header (suggested)\\r\\nunset beresp.http.Vary;\\r\\n# Unset the \\\"etag\\\" header (optional)\\r\\n#unset beresp.http.etag;\\r\\n# Allow stale content, in case the backend goes down\\r\\nset beresp.grace = 24h;\\r\\n# Enforce your own cache TTL (optional)\\r\\n#set beresp.ttl = 180s;\\r\\n# Modify \\\"expires\\\" header - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires (optional)\\r\\n#set beresp.http.Expires = \\\"\\\" + (now + beresp.ttl);\\r\\n# If your backend server does not set the right caching headers for static assets,\\r\\n# you can set them below (uncomment first and change 604800 - which 1 week - to whatever you\\r\\n# want (in seconds)\\r\\n#if (bereq.url ~ \\\".(ico|jpg|jpeg|gif|png|bmp|webp|tiff|svg|svgz|pdf|mp3|flac|ogg|mid|midi|wav|mp4|webm|mkv|ogv|wmv|eot|otf|woff|ttf|rss|atom|zip|7z|tgz|gz|rar|bz2|tar|exe|doc|docx|xls|xlsx|ppt|pptx|rtf|odt|ods|odp)(?[a-zA-Z0-9=]+)$\\\") {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=604800\\\";\\r\\n#}\\r\\nif (bereq.url ~ \\\"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\\\") {\\r\\nunset beresp.http.set-cookie;\\r\\nset beresp.do_stream = true;\\r\\n}\\r\\n# We have content to cache, but it\'s got no-cache or other Cache-Control values sent\\r\\n# So let\'s reset it to our main caching time (180s as used in this example configuration)\\r\\n# The additional parameters specified (stale-while-revalidate \\u0026 stale-if-error) are used\\r\\n# by modern browsers to better control caching. Set these to twice \\u0026 four times your main\\r\\n# cache time respectively.\\r\\n# This final setting will normalize cache-control headers for CMSs like Joomla\\r\\n# which set max-age=0 even when the CMS\' cache is enabled.\\r\\nif (beresp.http.Cache-Control !~ \\\"max-age\\\" || beresp.http.Cache-Control ~ \\\"max-age=0\\\") {\\r\\nset beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n}\\r\\n# Optionally set a larger TTL for pages with less than 180s of cache TTL\\r\\n#if (beresp.ttl \\u003c 180s) {\\r\\n# set beresp.http.Cache-Control = \\\"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\\\";\\r\\n#}\\r\\nreturn (deliver);\\r\\n}\\r\\nsub vcl_deliver {\\r\\n/*\\r\\n# Send a special header for excluded domains only\\r\\n# The if statement can be identical to the ones in the vcl_recv() and vcl_fetch() functions above\\r\\nif (\\r\\nreq.http.host ~ \\\"(www.)?(domain1.com|domain2.org|domain3.net)\\\" ||\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\"\\r\\n) {\\r\\nset resp.http.X-Domain-Status = \\\"EXCLUDED\\\";\\r\\n}\\r\\n# Enforce redirect to HTTPS for specified domains only\\r\\nif (\\r\\nreq.http.host ~ \\\"(subdomain.domain4.tld|othersubdomain.domain5.tld)\\\" \\u0026\\u0026\\r\\nreq.http.X-Forwarded-Proto !~ \\\"(?i)https\\\"\\r\\n) {\\r\\nset resp.http.Location = \\\"https://\\\" + req.http.host + req.url;\\r\\nset resp.status = 302;\\r\\n}\\r\\n*/\\r\\n# Send special headers that indicate the cache status of each web page\\r\\nif (obj.hits \\u003e 0) {\\r\\nset resp.http.X-Cache = \\\"HIT\\\";\\r\\nset resp.http.X-Cache-Hits = obj.hits;\\r\\n} else {\\r\\nset resp.http.X-Cache = \\\"MISS\\\";\\r\\n}\\r\\nreturn (deliver);\\r\\n}\\r\\nNginx Host 配置\\r\\nserver {\\r\\nlisten 80;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nrewrite ^/(.*) https://www.phpman.cc/$1 permanent;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 8080;\\r\\nindex index.html index.htm index.php default.html default.htm default.php;\\r\\nroot /home/wwwroot/www.phpman.cc/wordpress;\\r\\ninclude rewrite/wordpress.conf;\\r\\n#error_page 404 /404.html;\\r\\n# Deny access to PHP files in specific directory\\r\\n#location ~ /(wp-content|uploads|wp-includes|images)/.*.php$ { deny all; }\\r\\ninclude enable-php-pathinfo.conf;\\r\\nlocation ~ .*.(gif|jpg|jpeg|png|bmp|swf)$\\r\\n{\\r\\nexpires 30d;\\r\\n}\\r\\nlocation ~ .*.(js|css)?$\\r\\n{\\r\\nexpires 12h;\\r\\n}\\r\\nlocation ~ /.well-known {\\r\\nallow all;\\r\\n}\\r\\nlocation ~ /.\\r\\n{\\r\\ndeny all;\\r\\n}\\r\\naccess_log /home/wwwlogs/y.log;\\r\\n}\\r\\nserver\\r\\n{\\r\\nlisten 443 ssl http2;\\r\\n#listen [::]:443 ssl http2;\\r\\nserver_name www.phpman.cc phpman.cc;\\r\\nssl_certificate /root/ssl/4082867_phpman.cc.pem;\\r\\nssl_certificate_key /root/ssl/4082867_phpman.cc.key;\\r\\nssl_session_timeout 5m;\\r\\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\\r\\nssl_prefer_server_ciphers on;\\r\\nssl_ciphers \\\"TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5\\\";\\r\\nssl_session_cache builtin:1000 shared:SSL:10m;\\r\\n# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048\\r\\nssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;\\r\\nlocation / {\\r\\nproxy_pass http://127.0.0.1:6081;\\r\\nproxy_set_header X-Real-IP $remote_addr;\\r\\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\\r\\nproxy_set_header X-Forwarded-Proto https;\\r\\nproxy_set_header X-Forwarded-Port 443;\\r\\nproxy_set_header Host $host;\\r\\n}\\r\\n}\\r\\nWordPress wp-config.php配置\\r\\n/* SSL Settings */\\r\\ndefine(\'FORCE_SSL_ADMIN\', true);\\r\\n/* Turn HTTPS \'on\' if HTTP_X_FORWARDED_PROTO matches \'https\' */\\r\\nif (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) {\\r\\n$_SERVER[\'HTTPS\'] = \'on\';\\r\\n}\\r\\n重启Nginx 和 Varnish 服务\\r\\nservice nginx reload\\r\\nservice varnish reload\\r\\n总结\\r\\nWeb URL请求路径:\\r\\nNginx:80——\\u003eNginx:443 ——\\u003e Varnish:6081 ——\\u003e Nginx:8080\\r\\n验证Varnish是否生效\\r\\ncurl -I https://www.phpman.cc\\r\\n返回结果\\r\\nHTTP/1.1 200 OK\\r\\nServer: nginx\\r\\nDate: Tue, 13 Apr 2021 06:41:21 GMT\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nConnection: keep-alive\\r\\nVary: Accept-Encoding\\r\\nVary: Accept-Encoding\\r\\nX-Powered-By: PHP/7.4.15\\r\\nLink: ; rel=\\\"https://api.w.org/\\\"\\r\\nX-Varnish: 360465\\r\\nAge: 0\\r\\nVia: 1.1 varnish-v4\\r\\n\"],\"created_at\":[\"2021-09-12 22:33:24\"],\"id\":[\"16\"],\"title\":[\"Varnish 加速你的WordPress\"]}','2021-09-12 15:21:29','2021-09-12 15:21:29'),(664,1,'/admin/info/posts','GET','::1','','2021-09-12 15:21:31','2021-09-12 15:21:31'),(665,1,'/admin/info/posts','GET','::1','','2021-09-12 15:22:58','2021-09-12 15:22:58'),(666,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:23:00','2021-09-12 15:23:00'),(667,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:24:12','2021-09-12 15:24:12'),(668,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 15:24:12','2021-09-12 15:24:12'),(669,1,'/admin','GET','::1','','2021-09-12 16:07:05','2021-09-12 16:07:05'),(670,1,'/admin/info/posts','GET','::1','','2021-09-12 16:07:09','2021-09-12 16:07:09'),(671,1,'/admin/info/posts/edit','GET','::1','','2021-09-12 16:07:12','2021-09-12 16:07:12'),(672,1,'/admin/info/posts/new','GET','::1','','2021-09-12 16:07:15','2021-09-12 16:07:15'),(673,1,'/admin/info/posts','GET','::1','','2021-09-12 16:07:17','2021-09-12 16:07:17'),(674,1,'/admin','GET','::1','','2021-09-13 09:09:47','2021-09-13 09:09:47'),(675,1,'/admin/info/manager','GET','::1','','2021-09-13 09:09:51','2021-09-13 09:09:51'),(676,1,'/admin/info/roles','GET','::1','','2021-09-13 09:09:52','2021-09-13 09:09:52'),(677,1,'/admin/info/permission','GET','::1','','2021-09-13 09:09:53','2021-09-13 09:09:53'),(678,1,'/admin/menu','GET','::1','','2021-09-13 09:09:53','2021-09-13 09:09:53'),(679,1,'/admin/info/posts','GET','::1','','2021-09-13 09:09:55','2021-09-13 09:09:55'),(680,1,'/admin/info/posts/new','GET','::1','','2021-09-13 09:09:56','2021-09-13 09:09:56'),(681,1,'/admin/info/posts','GET','::1','','2021-09-13 09:09:57','2021-09-13 09:09:57'),(682,1,'/admin','GET','::1','','2021-09-13 09:27:03','2021-09-13 09:27:03'),(683,1,'/admin','GET','::1','','2021-09-13 09:27:05','2021-09-13 09:27:05'),(684,1,'/admin/info/manager','GET','::1','','2021-09-13 09:27:06','2021-09-13 09:27:06'),(685,1,'/admin/info/roles','GET','::1','','2021-09-13 09:27:07','2021-09-13 09:27:07'),(686,1,'/admin','GET','::1','','2021-09-13 09:27:08','2021-09-13 09:27:08'),(687,1,'/admin/info/roles','GET','::1','','2021-09-13 09:27:16','2021-09-13 09:27:16'),(688,1,'/admin','GET','::1','','2021-09-13 09:27:16','2021-09-13 09:27:16'),(689,1,'/admin','GET','::1','','2021-09-13 09:27:17','2021-09-13 09:27:17'),(690,1,'/admin','GET','::1','','2021-09-13 09:27:18','2021-09-13 09:27:18'),(691,1,'/admin/info/posts','GET','::1','','2021-09-13 09:32:30','2021-09-13 09:32:30'),(692,1,'/admin/info/posts/new','GET','::1','','2021-09-13 09:32:30','2021-09-13 09:32:30'),(693,1,'/admin/info/op','GET','::1','','2021-09-13 09:34:36','2021-09-13 09:34:36'),(694,1,'/admin/info/posts','GET','::1','','2021-09-13 09:34:38','2021-09-13 09:34:38'),(695,1,'/admin/info/posts/new','GET','::1','','2021-09-13 09:34:39','2021-09-13 09:34:39'),(696,1,'/admin/info/posts','GET','::1','','2021-09-13 09:34:40','2021-09-13 09:34:40'),(697,1,'/admin/info/posts/edit','GET','::1','','2021-09-13 09:34:41','2021-09-13 09:34:41'),(698,1,'/admin/info/posts','GET','::1','','2021-09-13 09:34:45','2021-09-13 09:34:45'),(699,1,'/admin/info/posts/edit','GET','::1','','2021-09-13 09:34:47','2021-09-13 09:34:47'),(700,1,'/admin','GET','::1','','2021-09-13 09:35:20','2021-09-13 09:35:20'),(701,1,'/admin/info/posts/new','GET','::1','','2021-09-13 09:35:22','2021-09-13 09:35:22'),(702,1,'/admin/info/roles','GET','::1','','2021-09-13 09:35:25','2021-09-13 09:35:25'),(703,1,'/admin/info/permission','GET','::1','','2021-09-13 09:35:25','2021-09-13 09:35:25'),(704,1,'/admin/menu','GET','::1','','2021-09-13 09:35:27','2021-09-13 09:35:27'),(705,1,'/admin','GET','::1','','2021-09-13 09:35:28','2021-09-13 09:35:28'),(706,1,'/admin','GET','::1','','2021-09-13 09:35:31','2021-09-13 09:35:31'),(707,1,'/admin/info/manager','GET','::1','','2021-09-13 09:39:49','2021-09-13 09:39:49'),(708,1,'/admin','GET','::1','','2021-09-13 09:39:50','2021-09-13 09:39:50'),(709,1,'/admin/info/posts/new','GET','::1','','2021-09-13 09:41:38','2021-09-13 09:41:38'),(710,1,'/admin/info/posts/edit','GET','::1','','2021-09-13 09:41:39','2021-09-13 09:41:39'),(711,1,'/admin/info/op','GET','::1','','2021-09-13 09:41:40','2021-09-13 09:41:40'),(712,1,'/admin/info/op','GET','::1','','2021-09-13 09:41:40','2021-09-13 09:41:40'),(713,1,'/admin/info/op','GET','::1','','2021-09-13 09:41:40','2021-09-13 09:41:40'),(714,1,'/admin/info/op','GET','::1','','2021-09-13 09:41:41','2021-09-13 09:41:41'),(715,1,'/admin','GET','::1','','2021-09-13 09:41:41','2021-09-13 09:41:41'),(716,1,'/admin','GET','::1','','2021-09-13 09:41:43','2021-09-13 09:41:43'),(717,1,'/admin','GET','::1','','2021-09-13 09:41:43','2021-09-13 09:41:43'),(718,1,'/admin/info/site/edit','GET','::1','','2021-09-13 09:41:46','2021-09-13 09:41:46'),(719,1,'/admin/info/manager','GET','::1','','2021-09-13 09:41:50','2021-09-13 09:41:50'),(720,1,'/admin/info/manager','GET','::1','','2021-09-13 09:48:54','2021-09-13 09:48:54'),(721,1,'/admin/info/manager','GET','::1','','2021-09-13 09:57:38','2021-09-13 09:57:38'),(722,1,'/admin/info/posts','GET','::1','','2021-09-13 10:01:30','2021-09-13 10:01:30'),(723,1,'/admin/info/posts/new','GET','::1','','2021-09-13 10:01:31','2021-09-13 10:01:31'),(724,1,'/admin','GET','::1','','2021-09-13 10:01:33','2021-09-13 10:01:33'),(725,1,'/admin/info/manager','GET','::1','','2021-09-13 10:05:48','2021-09-13 10:05:48'),(726,1,'/admin/info/manager/edit','GET','::1','','2021-09-13 10:05:52','2021-09-13 10:05:52'),(727,1,'/admin/info/manager','GET','::1','','2021-09-13 10:05:57','2021-09-13 10:05:57'),(728,1,'/admin/info/manager','GET','::1','','2021-09-13 10:06:00','2021-09-13 10:06:00'),(729,1,'/admin/info/manager','GET','::1','','2021-09-13 10:28:07','2021-09-13 10:28:07'),(730,1,'/admin','GET','::1','','2021-09-13 11:28:06','2021-09-13 11:28:06'),(731,1,'/admin/info/posts/new','GET','::1','','2021-09-13 11:28:08','2021-09-13 11:28:08'),(732,1,'/admin/info/posts','GET','::1','','2021-09-13 11:28:09','2021-09-13 11:28:09'),(733,1,'/admin/info/posts/detail','GET','::1','','2021-09-13 11:28:23','2021-09-13 11:28:23'),(734,1,'/admin','GET','::1','','2021-09-13 11:28:25','2021-09-13 11:28:25'),(735,1,'/admin','GET','::1','','2021-09-13 11:28:25','2021-09-13 11:28:25'),(736,1,'/admin/info/posts/new','GET','::1','','2021-09-13 11:28:26','2021-09-13 11:28:26'),(737,1,'/admin','GET','::1','','2021-09-13 11:28:27','2021-09-13 11:28:27'),(738,1,'/admin/info/roles','GET','::1','','2021-09-13 11:28:28','2021-09-13 11:28:28'),(739,1,'/admin/info/manager','GET','::1','','2021-09-13 11:28:29','2021-09-13 11:28:29'),(740,1,'/admin/info/manager','GET','::1','','2021-09-13 11:28:31','2021-09-13 11:28:31'),(741,1,'/admin/info/roles','GET','::1','','2021-09-13 11:28:34','2021-09-13 11:28:34'),(742,1,'/admin/info/manager','GET','::1','','2021-09-13 11:28:35','2021-09-13 11:28:35'),(743,1,'/admin/info/permission','GET','::1','','2021-09-13 11:28:36','2021-09-13 11:28:36'),(744,1,'/admin/menu','GET','::1','','2021-09-13 11:28:38','2021-09-13 11:28:38'),(745,1,'/admin/info/op','GET','::1','','2021-09-13 11:28:38','2021-09-13 11:28:38'),(746,1,'/admin','GET','::1','','2021-09-13 11:28:39','2021-09-13 11:28:39'),(747,1,'/admin','GET','::1','','2021-09-13 11:28:41','2021-09-13 11:28:41'),(748,1,'/admin','GET','::1','','2021-09-13 11:33:21','2021-09-13 11:33:21'),(749,1,'/admin','GET','::1','','2021-09-13 11:35:20','2021-09-13 11:35:20'),(750,1,'/admin/application/info','GET','::1','','2021-09-13 11:35:35','2021-09-13 11:35:35'),(751,1,'/admin','GET','::1','','2021-09-13 11:36:00','2021-09-13 11:36:00'),(752,1,'/admin/info/manager','GET','::1','','2021-09-13 11:36:03','2021-09-13 11:36:03'),(753,1,'/admin','GET','::1','','2021-09-13 11:36:04','2021-09-13 11:36:04'),(754,1,'/admin','GET','::1','','2021-09-13 11:36:05','2021-09-13 11:36:05'),(755,1,'/admin/menu','GET','::1','','2021-09-13 11:36:07','2021-09-13 11:36:07'),(756,1,'/admin/menu/edit/show','GET','::1','','2021-09-13 11:36:14','2021-09-13 11:36:14'),(757,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"0a24e4c2-5eb0-45b9-a252-2fa8078b1016\"],\"created_at\":[\"2019-09-10 00:00:00\"],\"header\":[\"\"],\"icon\":[\"fa-bar-chart\"],\"id\":[\"7\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"Dashboard\"],\"updated_at\":[\"2019-09-10 00:00:00\"],\"uri\":[\"/info\"]}','2021-09-13 11:36:23','2021-09-13 11:36:23'),(758,1,'/admin','GET','::1','','2021-09-13 11:36:25','2021-09-13 11:36:25'),(759,1,'/admin','GET','::1','','2021-09-13 11:36:26','2021-09-13 11:36:26'),(760,1,'/admin','GET','::1','','2021-09-13 11:36:27','2021-09-13 11:36:27'),(761,1,'/admin','GET','::1','','2021-09-13 11:36:29','2021-09-13 11:36:29'),(762,1,'/admin','GET','::1','','2021-09-13 11:36:30','2021-09-13 11:36:30'),(763,1,'/admin/info/manager','GET','::1','','2021-09-13 11:36:31','2021-09-13 11:36:31'),(764,1,'/admin/menu','GET','::1','','2021-09-13 11:36:32','2021-09-13 11:36:32'),(765,1,'/admin/menu/edit/show','GET','::1','','2021-09-13 11:36:36','2021-09-13 11:36:36'),(766,1,'/admin/application/info','GET','::1','','2021-09-13 11:36:47','2021-09-13 11:36:47'),(767,1,'/admin','GET','::1','','2021-09-13 11:36:49','2021-09-13 11:36:49'),(768,1,'/admin/info/roles','GET','::1','','2021-09-13 11:36:52','2021-09-13 11:36:52'),(769,1,'/admin/menu','GET','::1','','2021-09-13 11:36:53','2021-09-13 11:36:53'),(770,1,'/admin/menu/edit/show','GET','::1','','2021-09-13 11:36:56','2021-09-13 11:36:56'),(771,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"ea669d20-09cc-488b-8e97-d16f41d28d96\"],\"created_at\":[\"2019-09-10 00:00:00\"],\"header\":[\"\"],\"icon\":[\"fa-bar-chart\"],\"id\":[\"7\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"Dashboard\"],\"updated_at\":[\"2021-09-13 19:36:23\"],\"uri\":[\"/application/info\"]}','2021-09-13 11:37:03','2021-09-13 11:37:03'),(772,1,'/admin','GET','::1','','2021-09-13 11:37:05','2021-09-13 11:37:05'),(773,1,'/admin','GET','::1','','2021-09-13 11:37:06','2021-09-13 11:37:06'),(774,1,'/admin','GET','::1','','2021-09-13 11:37:07','2021-09-13 11:37:07'),(775,1,'/admin','GET','::1','','2021-09-13 11:37:08','2021-09-13 11:37:08'),(776,1,'/admin','GET','::1','','2021-09-13 11:37:09','2021-09-13 11:37:09'),(777,1,'/admin','GET','::1','','2021-09-13 11:37:10','2021-09-13 11:37:10'),(778,1,'/admin/info/manager','GET','::1','','2021-09-13 11:37:11','2021-09-13 11:37:11'),(779,1,'/admin','GET','::1','','2021-09-13 11:37:13','2021-09-13 11:37:13'),(780,1,'/admin','GET','::1','','2021-09-13 11:37:14','2021-09-13 11:37:14'),(781,1,'/admin/info/op','GET','::1','','2021-09-13 11:37:15','2021-09-13 11:37:15'),(782,1,'/admin','GET','::1','','2021-09-13 11:37:23','2021-09-13 11:37:23'),(783,1,'/admin/application/info','GET','::1','','2021-09-13 11:37:25','2021-09-13 11:37:25'),(784,1,'/admin/info/roles','GET','::1','','2021-09-13 11:37:27','2021-09-13 11:37:27'),(785,1,'/admin/info/permission','GET','::1','','2021-09-13 11:37:28','2021-09-13 11:37:28'),(786,1,'/admin/menu','GET','::1','','2021-09-13 11:37:28','2021-09-13 11:37:28'),(787,1,'/admin/application/info','GET','::1','','2021-09-13 11:37:30','2021-09-13 11:37:30'),(788,1,'/admin/application/info','GET','::1','','2021-09-13 11:38:13','2021-09-13 11:38:13'),(789,1,'/admin','GET','::1','','2021-09-13 11:38:14','2021-09-13 11:38:14'),(790,1,'/admin/info/roles','GET','::1','','2021-09-13 11:38:18','2021-09-13 11:38:18'),(791,1,'/admin/info/permission','GET','::1','','2021-09-13 11:38:19','2021-09-13 11:38:19'),(792,1,'/admin/info/roles','GET','::1','','2021-09-13 11:38:19','2021-09-13 11:38:19'),(793,1,'/admin/application/info','GET','::1','','2021-09-13 11:38:21','2021-09-13 11:38:21'),(794,1,'/admin/info/permission','GET','::1','','2021-09-13 11:38:22','2021-09-13 11:38:22'),(795,1,'/admin/info/op','GET','::1','','2021-09-13 11:38:23','2021-09-13 11:38:23'),(796,1,'/admin/info/posts','GET','::1','','2021-09-13 11:38:24','2021-09-13 11:38:24'),(797,1,'/admin/info/posts/new','GET','::1','','2021-09-13 11:38:25','2021-09-13 11:38:25'),(798,1,'/admin/info/op','GET','::1','','2021-09-13 11:38:27','2021-09-13 11:38:27'),(799,1,'/admin/info/permission','GET','::1','','2021-09-13 11:38:28','2021-09-13 11:38:28'),(800,1,'/admin/application/info','GET','::1','','2021-09-13 11:38:28','2021-09-13 11:38:28'),(801,1,'/admin/menu','GET','::1','','2021-09-13 11:38:29','2021-09-13 11:38:29'),(802,1,'/admin/menu','GET','::1','','2021-09-13 11:38:30','2021-09-13 11:38:30'),(803,1,'/admin/menu','GET','::1','','2021-09-13 11:38:31','2021-09-13 11:38:31'),(804,1,'/admin/menu','GET','::1','','2021-09-13 11:38:31','2021-09-13 11:38:31'),(805,1,'/admin/info/roles','GET','::1','','2021-09-13 11:38:32','2021-09-13 11:38:32'),(806,1,'/admin','GET','::1','','2021-09-13 11:38:34','2021-09-13 11:38:34'),(807,1,'/admin','GET','::1','','2021-09-13 11:38:35','2021-09-13 11:38:35'),(808,1,'/admin/application/info','GET','::1','','2021-09-13 11:39:24','2021-09-13 11:39:24'),(809,1,'/admin','GET','::1','','2021-09-13 11:39:25','2021-09-13 11:39:25'),(810,1,'/admin/application/info','GET','::1','','2021-09-13 11:40:47','2021-09-13 11:40:47'),(811,1,'/admin/application/info','GET','::1','','2021-09-13 11:41:02','2021-09-13 11:41:02'),(812,1,'/admin','GET','::1','','2021-09-13 11:41:04','2021-09-13 11:41:04'),(813,1,'/admin','GET','::1','','2021-09-13 11:51:37','2021-09-13 11:51:37'),(814,1,'/admin','GET','::1','','2021-09-13 11:52:40','2021-09-13 11:52:40'),(815,1,'/admin','GET','::1','','2021-09-14 12:21:37','2021-09-14 12:21:37'),(816,1,'/admin/info/posts','GET','::1','','2021-09-14 12:21:39','2021-09-14 12:21:39'),(817,1,'/admin/info/posts/new','GET','::1','','2021-09-14 12:21:39','2021-09-14 12:21:39'),(818,1,'/admin/application/info','GET','::1','','2021-09-14 12:21:42','2021-09-14 12:21:42'),(819,1,'/admin/info/manager','GET','::1','','2021-09-14 12:21:46','2021-09-14 12:21:46'),(820,1,'/admin/info/roles','GET','::1','','2021-09-14 12:21:47','2021-09-14 12:21:47'),(821,1,'/admin/info/permission','GET','::1','','2021-09-14 12:21:48','2021-09-14 12:21:48'),(822,1,'/admin/menu','GET','::1','','2021-09-14 12:21:49','2021-09-14 12:21:49'),(823,1,'/admin/info/op','GET','::1','','2021-09-14 12:21:49','2021-09-14 12:21:49'),(824,1,'/admin/application/info','GET','::1','','2021-09-14 12:21:52','2021-09-14 12:21:52'),(825,1,'/admin/application/info','GET','::1','','2021-09-14 12:22:11','2021-09-14 12:22:11'),(826,1,'/admin/info/site/edit','GET','::1','','2021-09-14 12:22:12','2021-09-14 12:22:12'),(827,1,'/admin/info/posts','GET','::1','','2021-09-14 12:22:40','2021-09-14 12:22:40'),(828,1,'/admin','GET','::1','','2021-09-14 12:22:42','2021-09-14 12:22:42'),(829,1,'/admin','GET','::1','','2021-09-14 12:26:38','2021-09-14 12:26:38'),(830,1,'/admin/info/posts','GET','::1','','2021-09-14 12:26:40','2021-09-14 12:26:40'),(831,1,'/admin/info/posts/edit','GET','::1','','2021-09-14 12:26:42','2021-09-14 12:26:42'),(832,1,'/admin/application/info','GET','::1','','2021-09-14 12:26:44','2021-09-14 12:26:44'),(833,1,'/admin/info/posts/new','GET','::1','','2021-09-14 12:26:47','2021-09-14 12:26:47'),(834,1,'/admin/info/posts/new','GET','::1','','2021-09-14 12:26:48','2021-09-14 12:26:48'),(835,1,'/admin','GET','::1','','2021-09-14 12:26:50','2021-09-14 12:26:50'),(836,1,'/admin','GET','::1','','2021-09-15 07:54:21','2021-09-15 07:54:21'),(837,1,'/admin/menu','GET','::1','','2021-09-15 07:54:25','2021-09-15 07:54:25'),(838,1,'/admin/menu','GET','::1','','2021-09-15 07:57:33','2021-09-15 07:57:33'),(839,1,'/admin/menu','GET','::1','','2021-09-15 08:03:57','2021-09-15 08:03:57'),(840,1,'/admin/menu','GET','::1','','2021-09-15 08:04:19','2021-09-15 08:04:19'),(841,1,'/admin/menu','GET','::1','','2021-09-15 08:06:09','2021-09-15 08:06:09'),(842,1,'/admin/menu','GET','::1','','2021-09-15 08:08:49','2021-09-15 08:08:49'),(843,1,'/admin','GET','::1','','2021-09-15 08:15:35','2021-09-15 08:15:35'),(844,1,'/admin','GET','::1','','2021-09-15 08:15:38','2021-09-15 08:15:38'),(845,1,'/admin/menu','GET','::1','','2021-09-15 08:16:02','2021-09-15 08:16:02'),(846,1,'/admin/menu','GET','::1','','2021-09-15 08:16:20','2021-09-15 08:16:20'),(847,1,'/admin/menu','GET','::1','','2021-09-15 08:16:44','2021-09-15 08:16:44'),(848,1,'/admin/menu','GET','::1','','2021-09-15 08:16:55','2021-09-15 08:16:55'),(849,1,'/admin/menu','GET','::1','','2021-09-15 08:17:03','2021-09-15 08:17:03'),(850,1,'/admin','GET','::1','','2021-09-15 08:31:15','2021-09-15 08:31:15'),(851,1,'/admin','GET','::1','','2021-09-15 08:52:39','2021-09-15 08:52:39'),(852,1,'/admin/menu','GET','::1','','2021-09-15 09:07:25','2021-09-15 09:07:25'),(853,1,'/admin','GET','::1','','2021-09-15 09:15:52','2021-09-15 09:15:52'),(854,1,'/admin','GET','::1','','2021-09-15 09:26:08','2021-09-15 09:26:08'),(855,1,'/admin/info/posts','GET','::1','','2021-09-15 09:26:10','2021-09-15 09:26:10'),(856,1,'/admin/info/posts','GET','::1','','2021-09-15 09:26:14','2021-09-15 09:26:14'),(857,1,'/admin','GET','::1','','2021-09-15 09:26:17','2021-09-15 09:26:17'),(858,1,'/admin','GET','::1','','2021-09-15 11:49:10','2021-09-15 11:49:10'),(859,1,'/admin/application/info','GET','::1','','2021-09-15 11:49:13','2021-09-15 11:49:13'),(860,1,'/admin/application/info','GET','::1','','2021-09-15 11:49:14','2021-09-15 11:49:14'),(861,1,'/admin/info/manager','GET','::1','','2021-09-15 11:49:17','2021-09-15 11:49:17'),(862,1,'/admin/info/generate/new','GET','::1','','2021-09-15 11:49:20','2021-09-15 11:49:20'),(863,1,'/admin/operation/_tool_choose_conn','POST','::1','','2021-09-15 11:49:24','2021-09-15 11:49:24'),(864,1,'/admin/operation/_tool_choose_table','POST','::1','','2021-09-15 11:49:39','2021-09-15 11:49:39'),(865,1,'/admin/new/generate','POST','::1','{\"__checkbox__hide_back_button\":[\"on\"],\"__checkbox__hide_continue_edit_check_box\":[\"on\"],\"__checkbox__hide_continue_new_check_box\":[\"on\"],\"__checkbox__hide_delete_button\":[\"on\"],\"__checkbox__hide_detail_button\":[\"on\"],\"__checkbox__hide_edit_button\":[\"on\"],\"__checkbox__hide_export_button\":[\"on\"],\"__checkbox__hide_filter_area\":[\"on\"],\"__checkbox__hide_filter_button\":[\"on\"],\"__checkbox__hide_new_button\":[\"on\"],\"__checkbox__hide_pagination\":[\"on\"],\"__checkbox__hide_query_info\":[\"on\"],\"__checkbox__hide_reset_button\":[\"on\"],\"__checkbox__hide_row_selector\":[\"on\"],\"__go_admin_previous_\":[\"/admin/info/generate?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"ec110793-ebcf-4135-bd77-068f6e8576bc\"],\"conn\":[\"default\"],\"field_canadd\":[\"n\",\"n\"],\"field_canedit\":[\"n\",\"n\"],\"field_db_type\":[\"Bigint\",\"Varchar\"],\"field_db_type_form\":[\"Bigint\",\"Varchar\"],\"field_filterable\":[\"n\",\"n\"],\"field_form_type_form\":[\"Default\",\"Text\"],\"field_head\":[\"Id\",\"Name\"],\"field_head_form\":[\"Id\",\"Name\"],\"field_name\":[\"id\",\"name\"],\"field_name_form\":[\"id\",\"name\"],\"field_sortable\":[\"n\",\"n\"],\"filter_form_layout\":[\"LayoutDefault\"],\"hide_back_button\":[\"n\"],\"hide_continue_edit_check_box\":[\"n\"],\"hide_continue_new_check_box\":[\"n\"],\"hide_delete_button\":[\"n\"],\"hide_detail_button\":[\"n\"],\"hide_edit_button\":[\"n\"],\"hide_export_button\":[\"n\"],\"hide_filter_area\":[\"n\"],\"hide_filter_button\":[\"n\"],\"hide_new_button\":[\"n\"],\"hide_pagination\":[\"n\"],\"hide_query_info\":[\"n\"],\"hide_reset_button\":[\"n\"],\"hide_row_selector\":[\"n\"],\"package\":[\"tables\"],\"path\":[\"/Users/songjiangfeng/work/iris-go/learn-iris/tables\"],\"pk\":[\"id\"],\"table\":[\"iris_tags\"]}','2021-09-15 11:50:32','2021-09-15 11:50:32'),(866,1,'/admin','GET','::1','','2021-09-15 11:50:43','2021-09-15 11:50:43'),(867,1,'/admin/info/posts/new','GET','::1','','2021-09-15 11:50:46','2021-09-15 11:50:46'),(868,1,'/admin/info/posts/new','GET','::1','','2021-09-15 11:50:46','2021-09-15 11:50:46'),(869,1,'/admin/info/posts','GET','::1','','2021-09-15 11:50:47','2021-09-15 11:50:47'),(870,1,'/admin/info/posts','GET','::1','','2021-09-15 11:51:28','2021-09-15 11:51:28'),(871,1,'/admin/menu','GET','::1','','2021-09-15 11:51:35','2021-09-15 11:51:35'),(872,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"7d86919c-f871-4f8c-8083-3158e2f6229b\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"标签\"],\"uri\":[\"/admin/info/tags\"]}','2021-09-15 11:52:23','2021-09-15 11:52:23'),(873,1,'/admin/menu','GET','::1','','2021-09-15 11:52:33','2021-09-15 11:52:33'),(874,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 11:53:10','2021-09-15 11:53:10'),(875,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"f6958fd0-79dc-4f92-8f96-1eaeaa63f430\"],\"created_at\":[\"2021-09-15 19:52:23\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"id\":[\"11\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"标签\"],\"updated_at\":[\"2021-09-15 19:52:23\"],\"uri\":[\"/info/tags\"]}','2021-09-15 11:53:14','2021-09-15 11:53:14'),(876,1,'/admin/menu','GET','::1','','2021-09-15 11:53:15','2021-09-15 11:53:15'),(877,1,'/admin/info/tags','GET','::1','','2021-09-15 11:53:16','2021-09-15 11:53:16'),(878,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:03','2021-09-15 11:54:03'),(879,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:03','2021-09-15 11:54:03'),(880,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:04','2021-09-15 11:54:04'),(881,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:05','2021-09-15 11:54:05'),(882,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:06','2021-09-15 11:54:06'),(883,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:06','2021-09-15 11:54:06'),(884,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:07','2021-09-15 11:54:07'),(885,1,'/admin/info/tags/detail','GET','::1','','2021-09-15 11:54:09','2021-09-15 11:54:09'),(886,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:10','2021-09-15 11:54:10'),(887,1,'/admin/info/tags/new','GET','::1','','2021-09-15 11:54:13','2021-09-15 11:54:13'),(888,1,'/admin/new/tags','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/tags?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"88153430-efa4-472d-864f-66c6c54fcbdd\"],\"id\":[\"\"],\"name\":[\"Linxu\"]}','2021-09-15 11:54:22','2021-09-15 11:54:22'),(889,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:29','2021-09-15 11:54:29'),(890,1,'/admin/info/posts/new','GET','::1','','2021-09-15 11:54:31','2021-09-15 11:54:31'),(891,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:32','2021-09-15 11:54:32'),(892,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:33','2021-09-15 11:54:33'),(893,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:36','2021-09-15 11:54:36'),(894,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:38','2021-09-15 11:54:38'),(895,1,'/admin/menu','GET','::1','','2021-09-15 11:54:41','2021-09-15 11:54:41'),(896,1,'/admin/info/tags','GET','::1','','2021-09-15 11:54:59','2021-09-15 11:54:59'),(897,1,'/admin/info/tags/new','GET','::1','','2021-09-15 11:55:02','2021-09-15 11:55:02'),(898,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"0cced945-ce3e-43fa-a896-26b6b3c44a4a\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"parent_id\":[\"11\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"添加\"],\"uri\":[\"/info/tags/new?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"]}','2021-09-15 11:55:16','2021-09-15 11:55:16'),(899,1,'/admin/info/tags','GET','::1','','2021-09-15 11:55:17','2021-09-15 11:55:17'),(900,1,'/admin/info/tags','GET','::1','','2021-09-15 11:55:18','2021-09-15 11:55:18'),(901,1,'/admin/info/tags','GET','::1','','2021-09-15 11:55:19','2021-09-15 11:55:19'),(902,1,'/admin/info/tags','GET','::1','','2021-09-15 11:55:20','2021-09-15 11:55:20'),(903,1,'/admin/info/tags','GET','::1','','2021-09-15 11:55:21','2021-09-15 11:55:21'),(904,1,'/admin/info/tags','GET','::1','','2021-09-15 11:55:22','2021-09-15 11:55:22'),(905,1,'/admin/menu','GET','::1','','2021-09-15 11:55:24','2021-09-15 11:55:24'),(906,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 11:55:30','2021-09-15 11:55:30'),(907,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"ed149819-8fc4-4a47-bea3-efd68975c280\"],\"created_at\":[\"2021-09-15 19:55:16\"],\"header\":[\"\"],\"icon\":[\"fa-edit\"],\"id\":[\"12\"],\"parent_id\":[\"11\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"添加\"],\"updated_at\":[\"2021-09-15 19:55:16\"],\"uri\":[\"/info/tags/new?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"]}','2021-09-15 11:55:39','2021-09-15 11:55:39'),(908,1,'/admin/info/tags','GET','::1','','2021-09-15 11:55:40','2021-09-15 11:55:40'),(909,1,'/admin/info/tags','GET','::1','','2021-09-15 11:55:41','2021-09-15 11:55:41'),(910,1,'/admin/info/tags','GET','::1','','2021-09-15 11:55:43','2021-09-15 11:55:43'),(911,1,'/admin/info/tags','GET','::1','','2021-09-15 11:55:44','2021-09-15 11:55:44'),(912,1,'/admin/menu','GET','::1','','2021-09-15 11:55:49','2021-09-15 11:55:49'),(913,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 11:55:54','2021-09-15 11:55:54'),(914,1,'/admin/menu','GET','::1','','2021-09-15 11:56:03','2021-09-15 11:56:03'),(915,1,'/admin/info/tags','GET','::1','','2021-09-15 11:56:04','2021-09-15 11:56:04'),(916,1,'/admin/info/tags','GET','::1','','2021-09-15 11:56:06','2021-09-15 11:56:06'),(917,1,'/admin/info/tags','GET','::1','','2021-09-15 11:56:08','2021-09-15 11:56:08'),(918,1,'/admin/menu','GET','::1','','2021-09-15 11:56:12','2021-09-15 11:56:12'),(919,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 11:56:13','2021-09-15 11:56:13'),(920,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"a61564f3-db80-4d23-a616-5996e9787315\"],\"created_at\":[\"2021-09-15 19:52:23\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"id\":[\"11\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"标签\"],\"updated_at\":[\"2021-09-15 19:53:13\"],\"uri\":[\"\"]}','2021-09-15 11:56:17','2021-09-15 11:56:17'),(921,1,'/admin/info/tags','GET','::1','','2021-09-15 11:56:19','2021-09-15 11:56:19'),(922,1,'/admin/menu','GET','::1','','2021-09-15 11:56:22','2021-09-15 11:56:22'),(923,1,'/admin/info/tags','GET','::1','','2021-09-15 11:56:25','2021-09-15 11:56:25'),(924,1,'/admin/menu','GET','::1','','2021-09-15 11:56:27','2021-09-15 11:56:27'),(925,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"9c74e651-72bd-438c-9de5-97c7d5f143b1\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"parent_id\":[\"11\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"列表\"],\"uri\":[\"/info/tags\"]}','2021-09-15 11:56:47','2021-09-15 11:56:47'),(926,1,'/admin/info/tags','GET','::1','','2021-09-15 11:56:48','2021-09-15 11:56:48'),(927,1,'/admin/info/tags','GET','::1','','2021-09-15 11:56:51','2021-09-15 11:56:51'),(928,1,'/admin/menu','GET','::1','','2021-09-15 11:56:54','2021-09-15 11:56:54'),(929,1,'/admin/menu/order','POST','::1','','2021-09-15 11:57:03','2021-09-15 11:57:03'),(930,1,'/admin/menu','GET','::1','','2021-09-15 11:57:03','2021-09-15 11:57:03'),(931,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 11:57:06','2021-09-15 11:57:06'),(932,1,'/admin/menu','GET','::1','','2021-09-15 11:57:12','2021-09-15 11:57:12'),(933,1,'/admin/info/tags','GET','::1','','2021-09-15 11:57:14','2021-09-15 11:57:14'),(934,1,'/admin/info/tags','GET','::1','','2021-09-15 11:57:16','2021-09-15 11:57:16'),(935,1,'/admin/info/tags','GET','::1','','2021-09-15 11:57:18','2021-09-15 11:57:18'),(936,1,'/admin/menu','GET','::1','','2021-09-15 11:57:20','2021-09-15 11:57:20'),(937,1,'/admin/menu','GET','::1','','2021-09-15 11:57:24','2021-09-15 11:57:24'),(938,1,'/admin/info/posts','GET','::1','','2021-09-15 11:57:32','2021-09-15 11:57:32'),(939,1,'/admin/info/posts/new','GET','::1','','2021-09-15 11:57:32','2021-09-15 11:57:32'),(940,1,'/admin/info/tags','GET','::1','','2021-09-15 11:57:35','2021-09-15 11:57:35'),(941,1,'/admin/info/tags/new','GET','::1','','2021-09-15 11:57:35','2021-09-15 11:57:35'),(942,1,'/admin/info/tags','GET','::1','','2021-09-15 11:57:37','2021-09-15 11:57:37'),(943,1,'/admin/info/tags/new','GET','::1','','2021-09-15 11:57:38','2021-09-15 11:57:38'),(944,1,'/admin/info/tags/new','GET','::1','','2021-09-15 11:57:38','2021-09-15 11:57:38'),(945,1,'/admin/info/tags','GET','::1','','2021-09-15 11:57:39','2021-09-15 11:57:39'),(946,1,'/admin/info/posts/new','GET','::1','','2021-09-15 11:57:45','2021-09-15 11:57:45'),(947,1,'/admin/info/tags/new','GET','::1','','2021-09-15 11:57:47','2021-09-15 11:57:47'),(948,1,'/admin/info/tags','GET','::1','','2021-09-15 11:57:48','2021-09-15 11:57:48'),(949,1,'/admin/info/tags/new','GET','::1','','2021-09-15 11:57:53','2021-09-15 11:57:53'),(950,1,'/admin/info/tags','GET','::1','','2021-09-15 11:57:54','2021-09-15 11:57:54'),(951,1,'/admin/info/tags','GET','::1','','2021-09-15 11:58:05','2021-09-15 11:58:05'),(952,1,'/admin/info/tags','GET','::1','','2021-09-15 11:58:07','2021-09-15 11:58:07'),(953,1,'/admin/info/generate/new','GET','::1','','2021-09-15 11:58:18','2021-09-15 11:58:18'),(954,1,'/admin/operation/_tool_choose_conn','POST','::1','','2021-09-15 11:58:25','2021-09-15 11:58:25'),(955,1,'/admin/operation/_tool_choose_table','POST','::1','','2021-09-15 11:58:33','2021-09-15 11:58:33'),(956,1,'/admin/new/generate','POST','::1','{\"__checkbox__hide_back_button\":[\"on\"],\"__checkbox__hide_continue_edit_check_box\":[\"on\"],\"__checkbox__hide_continue_new_check_box\":[\"on\"],\"__checkbox__hide_delete_button\":[\"on\"],\"__checkbox__hide_detail_button\":[\"on\"],\"__checkbox__hide_edit_button\":[\"on\"],\"__checkbox__hide_export_button\":[\"on\"],\"__checkbox__hide_filter_area\":[\"on\"],\"__checkbox__hide_filter_button\":[\"on\"],\"__checkbox__hide_new_button\":[\"on\"],\"__checkbox__hide_pagination\":[\"on\"],\"__checkbox__hide_query_info\":[\"on\"],\"__checkbox__hide_reset_button\":[\"on\"],\"__checkbox__hide_row_selector\":[\"on\"],\"__go_admin_previous_\":[\"/admin/info/generate?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"e59bae0f-a278-45bd-8db1-88f7ed01c7f8\"],\"conn\":[\"default\"],\"field_canadd\":[\"n\",\"n\",\"n\",\"n\",\"n\",\"n\"],\"field_canedit\":[\"n\",\"n\",\"n\",\"n\",\"n\",\"n\"],\"field_db_type\":[\"Bigint\",\"Varchar\",\"Longtext\",\"Timestamp\",\"Timestamp\",\"Varchar\"],\"field_db_type_form\":[\"Bigint\",\"Varchar\",\"Longtext\",\"Timestamp\",\"Timestamp\",\"Varchar\"],\"field_filterable\":[\"n\",\"n\",\"n\",\"n\",\"n\",\"n\"],\"field_form_type_form\":[\"Default\",\"Text\",\"RichText\",\"Datetime\",\"Datetime\",\"Text\"],\"field_head\":[\"Id\",\"Title\",\"Content\",\"Created_at\",\"Updated_at\",\"Slug\"],\"field_head_form\":[\"Id\",\"Title\",\"Content\",\"Created_at\",\"Updated_at\",\"Slug\"],\"field_name\":[\"id\",\"title\",\"content\",\"created_at\",\"updated_at\",\"slug\"],\"field_name_form\":[\"id\",\"title\",\"content\",\"created_at\",\"updated_at\",\"slug\"],\"field_sortable\":[\"n\",\"n\",\"n\",\"n\",\"n\",\"n\"],\"filter_form_layout\":[\"LayoutDefault\"],\"hide_back_button\":[\"n\"],\"hide_continue_edit_check_box\":[\"n\"],\"hide_continue_new_check_box\":[\"n\"],\"hide_delete_button\":[\"n\"],\"hide_detail_button\":[\"n\"],\"hide_edit_button\":[\"n\"],\"hide_export_button\":[\"n\"],\"hide_filter_area\":[\"n\"],\"hide_filter_button\":[\"n\"],\"hide_new_button\":[\"n\"],\"hide_pagination\":[\"n\"],\"hide_query_info\":[\"n\"],\"hide_reset_button\":[\"n\"],\"hide_row_selector\":[\"n\"],\"package\":[\"tables\"],\"path\":[\"/Users/songjiangfeng/work/iris-go/learn-iris/tables\"],\"pk\":[\"id\"],\"table\":[\"iris_pages\"]}','2021-09-15 11:58:43','2021-09-15 11:58:43'),(957,1,'/admin','GET','::1','','2021-09-15 11:58:54','2021-09-15 11:58:54'),(958,1,'/admin','GET','::1','','2021-09-15 11:59:32','2021-09-15 11:59:32'),(959,1,'/admin/menu','GET','::1','','2021-09-15 11:59:35','2021-09-15 11:59:35'),(960,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"bd14dd71-572a-46ff-bb34-18a83330a769\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"页面\"],\"uri\":[\"/info/pages\"]}','2021-09-15 11:59:53','2021-09-15 11:59:53'),(961,1,'/admin/menu','GET','::1','','2021-09-15 11:59:55','2021-09-15 11:59:55'),(962,1,'/admin/menu/order','POST','::1','','2021-09-15 12:00:04','2021-09-15 12:00:04'),(963,1,'/admin/menu','GET','::1','','2021-09-15 12:00:04','2021-09-15 12:00:04'),(964,1,'/admin/menu','GET','::1','','2021-09-15 12:00:06','2021-09-15 12:00:06'),(965,1,'/admin/info/pages','GET','::1','','2021-09-15 12:00:09','2021-09-15 12:00:09'),(966,1,'/admin/info/permission','GET','::1','','2021-09-15 12:00:13','2021-09-15 12:00:13'),(967,1,'/admin/menu','GET','::1','','2021-09-15 12:00:14','2021-09-15 12:00:14'),(968,1,'/admin/menu/order','POST','::1','','2021-09-15 12:00:21','2021-09-15 12:00:21'),(969,1,'/admin/menu','GET','::1','','2021-09-15 12:00:21','2021-09-15 12:00:21'),(970,1,'/admin/info/pages','GET','::1','','2021-09-15 12:00:24','2021-09-15 12:00:24'),(971,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:00:28','2021-09-15 12:00:28'),(972,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"7c7deef1-e779-4270-9449-b6b767c5d459\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"parent_id\":[\"14\"],\"title\":[\"创建\"],\"uri\":[\"/info/pages/new?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"]}','2021-09-15 12:00:57','2021-09-15 12:00:57'),(973,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:01:06','2021-09-15 12:01:06'),(974,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"3538f2c4-f3f5-4955-9493-bc5940956ee0\"],\"created_at\":[\"2021-09-15 20:00:57\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"id\":[\"15\"],\"parent_id\":[\"14\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"创建\"],\"updated_at\":[\"2021-09-15 20:00:57\"],\"uri\":[\"/info/pages/new?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"]}','2021-09-15 12:01:11','2021-09-15 12:01:11'),(975,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:01:18','2021-09-15 12:01:18'),(976,1,'/admin/menu','GET','::1','','2021-09-15 12:01:20','2021-09-15 12:01:20'),(977,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:01:22','2021-09-15 12:01:22'),(978,1,'/admin/menu','GET','::1','','2021-09-15 12:01:24','2021-09-15 12:01:24'),(979,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:01:26','2021-09-15 12:01:26'),(980,1,'/admin/menu','GET','::1','','2021-09-15 12:01:28','2021-09-15 12:01:28'),(981,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:01:29','2021-09-15 12:01:29'),(982,1,'/admin/menu','GET','::1','','2021-09-15 12:01:31','2021-09-15 12:01:31'),(983,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:01:32','2021-09-15 12:01:32'),(984,1,'/admin/menu','GET','::1','','2021-09-15 12:01:34','2021-09-15 12:01:34'),(985,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:01:37','2021-09-15 12:01:37'),(986,1,'/admin/menu','GET','::1','','2021-09-15 12:01:39','2021-09-15 12:01:39'),(987,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"a1f62548-2da2-42e2-9771-d66b4ad81280\"],\"header\":[\"\"],\"icon\":[\"fa-bars\"],\"parent_id\":[\"14\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"列表\"],\"uri\":[\"/info/pages\"]}','2021-09-15 12:02:09','2021-09-15 12:02:09'),(988,1,'/admin/menu','GET','::1','','2021-09-15 12:02:11','2021-09-15 12:02:11'),(989,1,'/admin/menu/order','POST','::1','','2021-09-15 12:02:25','2021-09-15 12:02:25'),(990,1,'/admin/menu','GET','::1','','2021-09-15 12:02:25','2021-09-15 12:02:25'),(991,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:02:27','2021-09-15 12:02:27'),(992,1,'/admin/info/pages','GET','::1','','2021-09-15 12:02:28','2021-09-15 12:02:28'),(993,1,'/admin/menu','GET','::1','','2021-09-15 12:02:33','2021-09-15 12:02:33'),(994,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:02:37','2021-09-15 12:02:37'),(995,1,'/admin/menu','GET','::1','','2021-09-15 12:02:48','2021-09-15 12:02:48'),(996,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:02:52','2021-09-15 12:02:52'),(997,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"813da9ee-f4d0-4488-b485-19842a0d9ffb\"],\"created_at\":[\"2021-09-15 19:59:53\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"id\":[\"14\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"页面\"],\"updated_at\":[\"2021-09-15 19:59:53\"],\"uri\":[\"/info/pages\"]}','2021-09-15 12:02:55','2021-09-15 12:02:55'),(998,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:02:58','2021-09-15 12:02:58'),(999,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"5f693f82-a731-443a-acf8-ce5a985b0d03\"],\"created_at\":[\"2021-09-12 21:53:57\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"id\":[\"8\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"文章\"],\"updated_at\":[\"2021-09-12 21:59:11\"],\"uri\":[\"\"]}','2021-09-15 12:03:21','2021-09-15 12:03:21'),(1000,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:03:26','2021-09-15 12:03:26'),(1001,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"e93bb4b9-e3c7-46a9-87af-14979bdd3865\"],\"created_at\":[\"2021-09-15 19:52:23\"],\"header\":[\"\"],\"icon\":[\"fa-task\"],\"id\":[\"11\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"标签\"],\"updated_at\":[\"2021-09-15 19:56:16\"],\"uri\":[\"\"]}','2021-09-15 12:03:30','2021-09-15 12:03:30'),(1002,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:03:33','2021-09-15 12:03:33'),(1003,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"e67a3c28-c5e4-4030-9bb3-7f284b1fd4bd\"],\"created_at\":[\"2021-09-15 19:52:23\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"id\":[\"11\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"标签\"],\"updated_at\":[\"2021-09-15 20:03:30\"],\"uri\":[\"\"]}','2021-09-15 12:03:36','2021-09-15 12:03:36'),(1004,1,'/admin/menu','GET','::1','','2021-09-15 12:03:37','2021-09-15 12:03:37'),(1005,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:03:46','2021-09-15 12:03:46'),(1006,1,'/admin/menu','GET','::1','','2021-09-15 12:03:49','2021-09-15 12:03:49'),(1007,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:03:53','2021-09-15 12:03:53'),(1008,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"7d605ab9-61bc-4410-80d3-ab653b46f3d6\"],\"created_at\":[\"2021-09-15 20:00:57\"],\"header\":[\"\"],\"icon\":[\"fa-edit\"],\"id\":[\"15\"],\"parent_id\":[\"14\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"创建\"],\"updated_at\":[\"2021-09-15 20:01:11\"],\"uri\":[\"/info/pages/new?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"]}','2021-09-15 12:03:59','2021-09-15 12:03:59'),(1009,1,'/admin/info/op','GET','::1','','2021-09-15 12:04:00','2021-09-15 12:04:00'),(1010,1,'/admin/info/op','GET','::1','','2021-09-15 12:04:03','2021-09-15 12:04:03'),(1011,1,'/admin/info/tags','GET','::1','','2021-09-15 12:04:08','2021-09-15 12:04:08'),(1012,1,'/admin/info/pages','GET','::1','','2021-09-15 12:04:13','2021-09-15 12:04:13'),(1013,1,'/admin/menu','GET','::1','','2021-09-15 12:04:15','2021-09-15 12:04:15'),(1014,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:04:19','2021-09-15 12:04:19'),(1015,1,'/admin/menu','GET','::1','','2021-09-15 12:04:22','2021-09-15 12:04:22'),(1016,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:04:24','2021-09-15 12:04:24'),(1017,1,'/admin/menu','GET','::1','','2021-09-15 12:04:28','2021-09-15 12:04:28'),(1018,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:04:30','2021-09-15 12:04:30'),(1019,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"f66ae56a-8d65-4a24-bc78-89656f235312\"],\"created_at\":[\"2021-09-15 19:56:47\"],\"header\":[\"\"],\"icon\":[\"fa-list-ul\"],\"id\":[\"13\"],\"parent_id\":[\"11\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"列表\"],\"updated_at\":[\"2021-09-15 19:56:47\"],\"uri\":[\"/info/tags\"]}','2021-09-15 12:04:33','2021-09-15 12:04:33'),(1020,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:04:35','2021-09-15 12:04:35'),(1021,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"d5c9e1a0-a625-4319-9c4b-ecf4d71a4762\"],\"created_at\":[\"2021-09-15 20:02:09\"],\"header\":[\"\"],\"icon\":[\"fa-list-ul\"],\"id\":[\"16\"],\"parent_id\":[\"14\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"列表\"],\"updated_at\":[\"2021-09-15 20:02:09\"],\"uri\":[\"/info/pages\"]}','2021-09-15 12:04:38','2021-09-15 12:04:38'),(1022,1,'/admin/menu','GET','::1','','2021-09-15 12:04:40','2021-09-15 12:04:40'),(1023,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:05:00','2021-09-15 12:05:00'),(1024,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"04b60e7c-c7ac-4328-9d40-0357f5fb4163\"],\"created_at\":[\"2021-09-15 19:59:53\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"id\":[\"14\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"页面管理\"],\"updated_at\":[\"2021-09-15 20:02:55\"],\"uri\":[\"/info/pages\"]}','2021-09-15 12:05:05','2021-09-15 12:05:05'),(1025,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:05:07','2021-09-15 12:05:07'),(1026,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"73d731d4-2c05-40cb-9628-e4780ca17e43\"],\"created_at\":[\"2021-09-12 21:53:57\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"id\":[\"8\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"文章管理\"],\"updated_at\":[\"2021-09-15 20:03:21\"],\"uri\":[\"\"]}','2021-09-15 12:05:11','2021-09-15 12:05:11'),(1027,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:05:12','2021-09-15 12:05:12'),(1028,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"973de3b3-adf5-47b0-8bad-d1b360fbd311\"],\"created_at\":[\"2021-09-15 19:52:23\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"id\":[\"11\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"标签管理\"],\"updated_at\":[\"2021-09-15 20:03:36\"],\"uri\":[\"\"]}','2021-09-15 12:05:17','2021-09-15 12:05:17'),(1029,1,'/admin/menu','GET','::1','','2021-09-15 12:05:18','2021-09-15 12:05:18'),(1030,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:05:26','2021-09-15 12:05:26'),(1031,1,'/admin/menu','GET','::1','','2021-09-15 12:05:33','2021-09-15 12:05:33'),(1032,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:05:35','2021-09-15 12:05:35'),(1033,1,'/admin/info/manager','GET','::1','','2021-09-15 12:05:47','2021-09-15 12:05:47'),(1034,1,'/admin/info/roles','GET','::1','','2021-09-15 12:05:48','2021-09-15 12:05:48'),(1035,1,'/admin/menu','GET','::1','','2021-09-15 12:05:49','2021-09-15 12:05:49'),(1036,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:05:57','2021-09-15 12:05:57'),(1037,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"07f19f9f-7768-4876-b2a5-96b525c0fa7d\"],\"created_at\":[\"2019-09-10 00:00:00\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"id\":[\"1\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\"],\"title\":[\"权限管理\"],\"updated_at\":[\"2019-09-10 00:00:00\"],\"uri\":[\"\"]}','2021-09-15 12:06:11','2021-09-15 12:06:11'),(1038,1,'/admin/menu','GET','::1','','2021-09-15 12:06:12','2021-09-15 12:06:12'),(1039,1,'/admin/info/tags','GET','::1','','2021-09-15 12:06:20','2021-09-15 12:06:20'),(1040,1,'/admin/info/pages','GET','::1','','2021-09-15 12:06:22','2021-09-15 12:06:22'),(1041,1,'/admin/info/pages/edit','GET','::1','','2021-09-15 12:06:27','2021-09-15 12:06:27'),(1042,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:06:47','2021-09-15 12:06:47'),(1043,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:06:48','2021-09-15 12:06:48'),(1044,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:06:49','2021-09-15 12:06:49'),(1045,1,'/admin/info/tags/new','GET','::1','','2021-09-15 12:06:51','2021-09-15 12:06:51'),(1046,1,'/admin/info/tags','GET','::1','','2021-09-15 12:06:52','2021-09-15 12:06:52'),(1047,1,'/admin/info/posts','GET','::1','','2021-09-15 12:06:54','2021-09-15 12:06:54'),(1048,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:06:55','2021-09-15 12:06:55'),(1049,1,'/admin/info/posts','GET','::1','','2021-09-15 12:06:56','2021-09-15 12:06:56'),(1050,1,'/admin/info/pages','GET','::1','','2021-09-15 12:06:58','2021-09-15 12:06:58'),(1051,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:07:01','2021-09-15 12:07:01'),(1052,1,'/admin/info/pages','GET','::1','','2021-09-15 12:07:05','2021-09-15 12:07:05'),(1053,1,'/admin/info/pages/edit','GET','::1','','2021-09-15 12:07:06','2021-09-15 12:07:06'),(1054,1,'/admin/info/pages/edit','GET','::1','','2021-09-15 12:07:56','2021-09-15 12:07:56'),(1055,1,'/admin/info/pages/edit','GET','::1','','2021-09-15 12:08:05','2021-09-15 12:08:05'),(1056,1,'/admin/info/pages','GET','::1','','2021-09-15 12:08:07','2021-09-15 12:08:07'),(1057,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:08:11','2021-09-15 12:08:11'),(1058,1,'/admin/info/pages','GET','::1','','2021-09-15 12:08:12','2021-09-15 12:08:12'),(1059,1,'/admin/info/pages','GET','::1','','2021-09-15 12:08:14','2021-09-15 12:08:14'),(1060,1,'/admin/info/posts','GET','::1','','2021-09-15 12:08:16','2021-09-15 12:08:16'),(1061,1,'/admin/info/pages','GET','::1','','2021-09-15 12:08:20','2021-09-15 12:08:20'),(1062,1,'/admin/info/posts','GET','::1','','2021-09-15 12:08:22','2021-09-15 12:08:22'),(1063,1,'/admin/info/pages','GET','::1','','2021-09-15 12:08:25','2021-09-15 12:08:25'),(1064,1,'/admin/info/pages','GET','::1','','2021-09-15 12:09:05','2021-09-15 12:09:05'),(1065,1,'/admin/info/pages','GET','::1','','2021-09-15 12:09:30','2021-09-15 12:09:30'),(1066,1,'/admin/info/pages','GET','::1','','2021-09-15 12:09:58','2021-09-15 12:09:58'),(1067,1,'/admin/info/pages','GET','::1','','2021-09-15 12:09:58','2021-09-15 12:09:58'),(1068,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:10:02','2021-09-15 12:10:02'),(1069,1,'/admin/new/pages','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/pages?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"0b0c6891-435d-4e93-b423-5a8c7e74b6eb\"],\"content\":[\"\\u003cp\\u003e测试\\u003c/p\\u003e\"],\"id\":[\"\"],\"slug\":[\"/test\"],\"title\":[\"测试\"]}','2021-09-15 12:10:16','2021-09-15 12:10:16'),(1070,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:10:22','2021-09-15 12:10:22'),(1071,1,'/admin/info/pages/edit','GET','::1','','2021-09-15 12:10:31','2021-09-15 12:10:31'),(1072,1,'/admin/edit/pages','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/pages?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"825ed574-56a6-4f25-a4b0-5c294cbad5f2\"],\"content\":[\"测试\"],\"id\":[\"3\"],\"slug\":[\"test\"],\"title\":[\"测试\"]}','2021-09-15 12:10:36','2021-09-15 12:10:36'),(1073,1,'/admin/info/pages/detail','GET','::1','','2021-09-15 12:10:47','2021-09-15 12:10:47'),(1074,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:10:51','2021-09-15 12:10:51'),(1075,1,'/admin/info/pages','GET','::1','','2021-09-15 12:10:53','2021-09-15 12:10:53'),(1076,1,'/admin/info/pages/edit','GET','::1','','2021-09-15 12:10:55','2021-09-15 12:10:55'),(1077,1,'/admin/info/pages','GET','::1','','2021-09-15 12:10:57','2021-09-15 12:10:57'),(1078,1,'/admin/info/pages/detail','GET','::1','','2021-09-15 12:10:58','2021-09-15 12:10:58'),(1079,1,'/admin/info/pages/edit','GET','::1','','2021-09-15 12:11:01','2021-09-15 12:11:01'),(1080,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:11:05','2021-09-15 12:11:05'),(1081,1,'/admin/info/pages','GET','::1','','2021-09-15 12:11:06','2021-09-15 12:11:06'),(1082,1,'/admin/delete/pages','POST','::1','','2021-09-15 12:11:08','2021-09-15 12:11:08'),(1083,1,'/admin/info/pages','GET','::1','','2021-09-15 12:11:08','2021-09-15 12:11:08'),(1084,1,'/admin/info/pages','GET','::1','','2021-09-15 12:11:11','2021-09-15 12:11:11'),(1085,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:11:12','2021-09-15 12:11:12'),(1086,1,'/admin/info/posts','GET','::1','','2021-09-15 12:11:13','2021-09-15 12:11:13'),(1087,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:11:15','2021-09-15 12:11:15'),(1088,1,'/admin/info/tags','GET','::1','','2021-09-15 12:11:17','2021-09-15 12:11:17'),(1089,1,'/admin/info/tags','GET','::1','','2021-09-15 12:11:44','2021-09-15 12:11:44'),(1090,1,'/admin/info/tags/new','GET','::1','','2021-09-15 12:11:44','2021-09-15 12:11:44'),(1091,1,'/admin/info/manager','GET','::1','','2021-09-15 12:13:15','2021-09-15 12:13:15'),(1092,1,'/admin/info/roles','GET','::1','','2021-09-15 12:13:16','2021-09-15 12:13:16'),(1093,1,'/admin/info/permission','GET','::1','','2021-09-15 12:13:17','2021-09-15 12:13:17'),(1094,1,'/admin/menu','GET','::1','','2021-09-15 12:13:17','2021-09-15 12:13:17'),(1095,1,'/admin/info/op','GET','::1','','2021-09-15 12:13:18','2021-09-15 12:13:18'),(1096,1,'/admin/info/tags','GET','::1','','2021-09-15 12:13:26','2021-09-15 12:13:26'),(1097,1,'/admin/info/tags/new','GET','::1','','2021-09-15 12:13:28','2021-09-15 12:13:28'),(1098,1,'/admin/info/posts','GET','::1','','2021-09-15 12:13:30','2021-09-15 12:13:30'),(1099,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:13:31','2021-09-15 12:13:31'),(1100,1,'/admin/info/pages','GET','::1','','2021-09-15 12:13:33','2021-09-15 12:13:33'),(1101,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:13:34','2021-09-15 12:13:34'),(1102,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:13:40','2021-09-15 12:13:40'),(1103,1,'/admin/info/pages','GET','::1','','2021-09-15 12:13:41','2021-09-15 12:13:41'),(1104,1,'/admin/info/posts','GET','::1','','2021-09-15 12:13:44','2021-09-15 12:13:44'),(1105,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:13:46','2021-09-15 12:13:46'),(1106,1,'/admin/info/tags/new','GET','::1','','2021-09-15 12:13:48','2021-09-15 12:13:48'),(1107,1,'/admin/info/tags/new','GET','::1','','2021-09-15 12:14:24','2021-09-15 12:14:24'),(1108,1,'/admin/info/tags','GET','::1','','2021-09-15 12:14:28','2021-09-15 12:14:28'),(1109,1,'/admin/info/posts','GET','::1','','2021-09-15 12:14:31','2021-09-15 12:14:31'),(1110,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:14:31','2021-09-15 12:14:31'),(1111,1,'/admin/info/posts','GET','::1','','2021-09-15 12:14:38','2021-09-15 12:14:38'),(1112,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:14:39','2021-09-15 12:14:39'),(1113,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:14:41','2021-09-15 12:14:41'),(1114,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:15:10','2021-09-15 12:15:10'),(1115,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:15:24','2021-09-15 12:15:24'),(1116,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:15:25','2021-09-15 12:15:25'),(1117,1,'/admin/info/tags','GET','::1','','2021-09-15 12:15:27','2021-09-15 12:15:27'),(1118,1,'/admin/info/tags/new','GET','::1','','2021-09-15 12:15:28','2021-09-15 12:15:28'),(1119,1,'/admin/info/posts','GET','::1','','2021-09-15 12:15:31','2021-09-15 12:15:31'),(1120,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:15:31','2021-09-15 12:15:31'),(1121,1,'/admin/info/pages/new','GET','::1','','2021-09-15 12:15:36','2021-09-15 12:15:36'),(1122,1,'/admin/info/posts/new','GET','::1','','2021-09-15 12:15:43','2021-09-15 12:15:43'),(1123,1,'/admin','GET','::1','','2021-09-15 12:15:43','2021-09-15 12:15:43'),(1124,1,'/admin/info/tags','GET','::1','','2021-09-15 12:15:47','2021-09-15 12:15:47'),(1125,1,'/admin/menu','GET','::1','','2021-09-15 12:16:56','2021-09-15 12:16:56'),(1126,1,'/admin/info/roles','GET','::1','','2021-09-15 12:16:57','2021-09-15 12:16:57'),(1127,1,'/admin/menu','GET','::1','','2021-09-15 12:16:59','2021-09-15 12:16:59'),(1128,1,'/admin/info/generate/new','GET','::1','','2021-09-15 12:17:02','2021-09-15 12:17:02'),(1129,1,'/admin/info/site/edit','GET','::1','','2021-09-15 12:17:05','2021-09-15 12:17:05'),(1130,1,'/admin/info/generate/new','GET','::1','','2021-09-15 12:20:56','2021-09-15 12:20:56'),(1131,1,'/admin/operation/_tool_choose_conn','POST','::1','','2021-09-15 12:21:01','2021-09-15 12:21:01'),(1132,1,'/admin/operation/_tool_choose_table','POST','::1','','2021-09-15 12:21:05','2021-09-15 12:21:05'),(1133,1,'/admin/new/generate','POST','::1','{\"__checkbox__hide_back_button\":[\"on\"],\"__checkbox__hide_continue_edit_check_box\":[\"on\"],\"__checkbox__hide_continue_new_check_box\":[\"on\"],\"__checkbox__hide_delete_button\":[\"on\"],\"__checkbox__hide_detail_button\":[\"on\"],\"__checkbox__hide_edit_button\":[\"on\"],\"__checkbox__hide_export_button\":[\"on\"],\"__checkbox__hide_filter_area\":[\"on\"],\"__checkbox__hide_filter_button\":[\"on\"],\"__checkbox__hide_new_button\":[\"on\"],\"__checkbox__hide_pagination\":[\"on\"],\"__checkbox__hide_query_info\":[\"on\"],\"__checkbox__hide_reset_button\":[\"on\"],\"__checkbox__hide_row_selector\":[\"on\"],\"__go_admin_previous_\":[\"http://localhost:8000/admin/info/site/edit\"],\"__go_admin_t_\":[\"5b13c905-1f75-4a40-8b70-41daa03206e1\"],\"conn\":[\"default\"],\"field_canadd\":[\"n\",\"n\",\"n\"],\"field_canedit\":[\"n\",\"n\",\"n\"],\"field_db_type\":[\"Bigint\",\"Varchar\",\"Varchar\"],\"field_db_type_form\":[\"Bigint\",\"Varchar\",\"Varchar\"],\"field_filterable\":[\"n\",\"n\",\"n\"],\"field_form_type_form\":[\"Default\",\"Text\",\"Text\"],\"field_head\":[\"Id\",\"名称\",\"路径\"],\"field_head_form\":[\"Id\",\"名称\",\"路径\"],\"field_name\":[\"id\",\"name\",\"path\"],\"field_name_form\":[\"id\",\"name\",\"path\"],\"field_sortable\":[\"n\",\"n\",\"n\"],\"filter_form_layout\":[\"LayoutDefault\"],\"hide_back_button\":[\"n\"],\"hide_continue_edit_check_box\":[\"n\"],\"hide_continue_new_check_box\":[\"n\"],\"hide_delete_button\":[\"n\"],\"hide_detail_button\":[\"n\"],\"hide_edit_button\":[\"n\"],\"hide_export_button\":[\"n\"],\"hide_filter_area\":[\"n\"],\"hide_filter_button\":[\"n\"],\"hide_new_button\":[\"n\"],\"hide_pagination\":[\"n\"],\"hide_query_info\":[\"n\"],\"hide_reset_button\":[\"n\"],\"hide_row_selector\":[\"n\"],\"package\":[\"tables\"],\"path\":[\"/Users/songjiangfeng/work/iris-go/learn-iris/tables\"],\"pk\":[\"id\"],\"table\":[\"iris_menus\"]}','2021-09-15 12:21:47','2021-09-15 12:21:47'),(1134,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"2b3f25f3-bdd5-4f74-a943-d34692e8871c\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"导航\"],\"uri\":[\"\"]}','2021-09-15 12:22:55','2021-09-15 12:22:55'),(1135,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"2f4a6a23-10eb-4f61-b49f-701c5fb4d41e\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"导航管理\"],\"uri\":[\"/info/menus\"]}','2021-09-15 12:23:51','2021-09-15 12:23:51'),(1136,1,'/admin/menu','GET','::1','','2021-09-15 12:23:52','2021-09-15 12:23:52'),(1137,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:24:00','2021-09-15 12:24:00'),(1138,1,'/admin/menu','GET','::1','','2021-09-15 12:24:03','2021-09-15 12:24:03'),(1139,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:24:04','2021-09-15 12:24:04'),(1140,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"23c697fb-0aee-4aff-bdcf-d83ad2b30eb9\"],\"created_at\":[\"2021-09-15 20:23:51\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"id\":[\"17\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"导航管理\"],\"updated_at\":[\"2021-09-15 20:23:51\"],\"uri\":[\"\"]}','2021-09-15 12:24:09','2021-09-15 12:24:09'),(1141,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"365f8e13-24db-48a8-ab0c-4de3bd127037\"],\"header\":[\"\"],\"icon\":[\"fa-list-ul\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"菜单列表\"],\"uri\":[\"/info/menus\"]}','2021-09-15 12:24:40','2021-09-15 12:24:40'),(1142,1,'/admin/menu/order','POST','::1','','2021-09-15 12:24:53','2021-09-15 12:24:53'),(1143,1,'/admin/menu','GET','::1','','2021-09-15 12:24:54','2021-09-15 12:24:54'),(1144,1,'/admin/info/menus','GET','::1','','2021-09-15 12:24:55','2021-09-15 12:24:55'),(1145,1,'/admin/info/menus','GET','::1','','2021-09-15 12:24:57','2021-09-15 12:24:57'),(1146,1,'/admin/info/menus','GET','::1','','2021-09-15 12:25:00','2021-09-15 12:25:00'),(1147,1,'/admin/menu','GET','::1','','2021-09-15 12:25:08','2021-09-15 12:25:08'),(1148,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:25:11','2021-09-15 12:25:11'),(1149,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"d5f5a593-9c19-4ec9-b191-3c20738e84ba\"],\"created_at\":[\"2021-09-15 20:24:40\"],\"header\":[\"\"],\"icon\":[\"fa-list-ul\"],\"id\":[\"18\"],\"parent_id\":[\"17\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"列表\"],\"updated_at\":[\"2021-09-15 20:24:40\"],\"uri\":[\"/info/menus\"]}','2021-09-15 12:25:16','2021-09-15 12:25:16'),(1150,1,'/admin/menu/edit/show','GET','::1','','2021-09-15 12:25:21','2021-09-15 12:25:21'),(1151,1,'/admin/menu/edit','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"73a7c1f5-298c-4172-ab2a-8a705c9c19bb\"],\"created_at\":[\"2021-09-15 20:23:51\"],\"header\":[\"\"],\"icon\":[\"fa-tasks\"],\"id\":[\"17\"],\"parent_id\":[\"0\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"网站导航\"],\"updated_at\":[\"2021-09-15 20:24:09\"],\"uri\":[\"\"]}','2021-09-15 12:25:36','2021-09-15 12:25:36'),(1152,1,'/admin/menu','GET','::1','','2021-09-15 12:25:38','2021-09-15 12:25:38'),(1153,1,'/admin/info/menus','GET','::1','','2021-09-15 12:25:41','2021-09-15 12:25:41'),(1154,1,'/admin/info/menus/new','GET','::1','','2021-09-15 12:25:43','2021-09-15 12:25:43'),(1155,1,'/admin/menu','GET','::1','','2021-09-15 12:25:51','2021-09-15 12:25:51'),(1156,1,'/admin/menu/new','POST','::1','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"9dede7c2-d0fc-459e-a646-55bc1f7463a3\"],\"header\":[\"\"],\"icon\":[\"fa-edit\"],\"parent_id\":[\"17\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"创建\"],\"uri\":[\"/info/menus/new?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"]}','2021-09-15 12:26:19','2021-09-15 12:26:19'),(1157,1,'/admin/menu','GET','::1','','2021-09-15 12:26:20','2021-09-15 12:26:20'),(1158,1,'/admin/info/menus','GET','::1','','2021-09-15 12:26:23','2021-09-15 12:26:23'),(1159,1,'/admin/info/menus','GET','::1','','2021-09-15 12:27:52','2021-09-15 12:27:52'),(1160,1,'/admin/info/menus','GET','::1','','2021-09-15 12:27:55','2021-09-15 12:27:55'),(1161,1,'/admin/info/menus/new','GET','::1','','2021-09-15 12:27:56','2021-09-15 12:27:56'),(1162,1,'/admin/info/menus','GET','::1','','2021-09-15 12:27:57','2021-09-15 12:27:57'),(1163,1,'/admin/info/menus/new','GET','::1','','2021-09-15 12:27:59','2021-09-15 12:27:59'),(1164,1,'/admin/new/menus','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/menus?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"1a64247b-30e8-4469-b1da-7956d23fea9d\"],\"name\":[\"test\"],\"path\":[\"test\"]}','2021-09-15 12:28:02','2021-09-15 12:28:02'),(1165,1,'/admin/info/menus/new','GET','::1','','2021-09-15 12:28:11','2021-09-15 12:28:11'),(1166,1,'/admin/info/menus','GET','::1','','2021-09-15 12:28:19','2021-09-15 12:28:19'),(1167,1,'/admin/info/menus','GET','::1','','2021-09-15 12:30:07','2021-09-15 12:30:07'),(1168,1,'/admin/info/menus','GET','::1','','2021-09-15 12:30:43','2021-09-15 12:30:43'),(1169,1,'/admin/info/menus','GET','::1','','2021-09-15 12:31:12','2021-09-15 12:31:12'),(1170,1,'/admin','GET','::1','','2021-09-15 12:43:58','2021-09-15 12:43:58'),(1171,1,'/admin/info/menus','GET','::1','','2021-09-15 12:44:00','2021-09-15 12:44:00'),(1172,1,'/admin/info/menus/edit','GET','::1','','2021-09-15 12:44:03','2021-09-15 12:44:03'),(1173,1,'/admin/edit/menus','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/menus?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"4903f497-d24d-45a6-a249-741030e2e703\"],\"id\":[\"4\"],\"name\":[\"关于\"],\"path\":[\"about\"]}','2021-09-15 12:44:17','2021-09-15 12:44:17'),(1174,1,'/admin/info/menus','GET','::1','','2021-09-15 12:44:18','2021-09-15 12:44:18'),(1175,1,'/admin/info/menus','GET','::1','','2021-09-15 12:45:59','2021-09-15 12:45:59'),(1176,1,'/admin','GET','::1','','2021-09-15 14:28:26','2021-09-15 14:28:26'),(1177,1,'/admin/info/permission','GET','::1','','2021-09-15 14:28:28','2021-09-15 14:28:28'),(1178,1,'/admin/info/roles','GET','::1','','2021-09-15 14:28:29','2021-09-15 14:28:29'),(1179,1,'/admin/info/roles','GET','::1','','2021-09-15 14:28:34','2021-09-15 14:28:34'),(1180,1,'/admin/menu','GET','::1','','2021-09-15 14:28:36','2021-09-15 14:28:36'),(1181,1,'/admin/info/pages','GET','::1','','2021-09-15 14:28:38','2021-09-15 14:28:38'),(1182,1,'/admin/application/info','GET','::1','','2021-09-15 14:28:40','2021-09-15 14:28:40'),(1183,1,'/admin/menu','GET','::1','','2021-09-15 14:28:42','2021-09-15 14:28:42'),(1184,1,'/admin/info/roles','GET','::1','','2021-09-15 14:28:44','2021-09-15 14:28:44'),(1185,1,'/admin/info/manager','GET','::1','','2021-09-15 14:28:45','2021-09-15 14:28:45'),(1186,1,'/admin/info/op','GET','::1','','2021-09-15 14:28:47','2021-09-15 14:28:47'),(1187,1,'/admin/info/op','GET','::1','','2021-09-15 14:28:50','2021-09-15 14:28:50'),(1188,1,'/admin/info/op','GET','::1','','2021-09-15 14:28:53','2021-09-15 14:28:53'),(1189,1,'/admin/info/op','GET','::1','','2021-09-15 14:28:55','2021-09-15 14:28:55'),(1190,1,'/admin/info/op','GET','::1','','2021-09-15 14:28:58','2021-09-15 14:28:58'),(1191,1,'/admin','GET','::1','','2021-09-15 15:59:16','2021-09-15 15:59:16'),(1192,1,'/admin/info/menus','GET','::1','','2021-09-15 15:59:19','2021-09-15 15:59:19'),(1193,1,'/admin/info/menus','GET','::1','','2021-09-15 15:59:27','2021-09-15 15:59:27'),(1194,1,'/admin/info/menus/edit','GET','::1','','2021-09-15 15:59:30','2021-09-15 15:59:30'),(1195,1,'/admin/edit/menus','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/menus?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"01821312-bc99-43f1-a39a-eec479007fd7\"],\"id\":[\"4\"],\"name\":[\"关于\"],\"path\":[\"/about\"]}','2021-09-15 15:59:34','2021-09-15 15:59:34'),(1196,1,'/admin/info/menus/edit','GET','::1','','2021-09-15 16:01:07','2021-09-15 16:01:07'),(1197,1,'/admin/edit/menus','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/menus?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"c9dbcb97-4562-4acb-ad16-6f548cd7be33\"],\"id\":[\"4\"],\"name\":[\"关于\"],\"path\":[\"/about/1\"]}','2021-09-15 16:01:13','2021-09-15 16:01:13'),(1198,1,'/admin/info/menus/edit','GET','::1','','2021-09-15 16:01:23','2021-09-15 16:01:23'),(1199,1,'/admin/edit/menus','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/menus?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"5716b7cb-9f1d-4989-872c-8d1c7c7c1231\"],\"id\":[\"4\"],\"name\":[\"关于\"],\"path\":[\"/about1\"]}','2021-09-15 16:01:28','2021-09-15 16:01:28'),(1200,1,'/admin/info/menus/edit','GET','::1','','2021-09-15 16:01:36','2021-09-15 16:01:36'),(1201,1,'/admin/edit/menus','POST','::1','{\"__go_admin_previous_\":[\"/admin/info/menus?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"04fa1d5b-2e8c-406a-b79a-a0b44981b28c\"],\"id\":[\"4\"],\"name\":[\"关于\"],\"path\":[\"/about\"]}','2021-09-15 16:01:39','2021-09-15 16:01:39'),(1202,1,'/admin','GET','::1','','2021-09-15 16:08:04','2021-09-15 16:08:04'),(1203,1,'/admin/info/manager','GET','::1','','2021-09-15 16:08:15','2021-09-15 16:08:15'),(1204,1,'/admin/application/info','GET','::1','','2021-09-15 16:08:17','2021-09-15 16:08:17'),(1205,1,'/admin/info/roles','GET','::1','','2021-09-15 16:08:20','2021-09-15 16:08:20'),(1206,1,'/admin/info/manager','GET','::1','','2021-09-15 16:08:21','2021-09-15 16:08:21'),(1207,1,'/admin/menu','GET','::1','','2021-09-15 16:08:22','2021-09-15 16:08:22'),(1208,1,'/admin/info/op','GET','::1','','2021-09-15 16:08:23','2021-09-15 16:08:23'),(1209,1,'/admin/info/menus/new','GET','::1','','2021-09-15 16:08:27','2021-09-15 16:08:27'),(1210,1,'/admin/info/menus','GET','::1','','2021-09-15 16:08:27','2021-09-15 16:08:27'),(1211,1,'/admin/info/posts','GET','::1','','2021-09-15 16:08:30','2021-09-15 16:08:30'),(1212,1,'/admin/info/posts/new','GET','::1','','2021-09-15 16:08:31','2021-09-15 16:08:31'),(1213,1,'/admin/info/tags/new','GET','::1','','2021-09-15 16:08:33','2021-09-15 16:08:33'),(1214,1,'/admin/info/tags','GET','::1','','2021-09-15 16:08:33','2021-09-15 16:08:33'),(1215,1,'/admin/info/menus/new','GET','::1','','2021-09-15 16:08:35','2021-09-15 16:08:35'),(1216,1,'/admin/info/menus','GET','::1','','2021-09-15 16:08:36','2021-09-15 16:08:36'),(1217,1,'/admin/info/roles','GET','::1','','2021-09-15 16:08:37','2021-09-15 16:08:37'),(1218,1,'/admin/info/roles','GET','::1','','2021-09-15 16:08:38','2021-09-15 16:08:38'),(1219,1,'/admin/menu','GET','::1','','2021-09-15 16:08:39','2021-09-15 16:08:39'),(1220,1,'/admin/application/info','GET','::1','','2021-09-15 16:08:42','2021-09-15 16:08:42'),(1221,1,'/admin/info/site/edit','GET','::1','','2021-09-15 16:08:43','2021-09-15 16:08:43'),(1222,1,'/admin/info/site/edit','GET','::1','','2021-09-15 16:08:44','2021-09-15 16:08:44'),(1223,1,'/admin/info/manager','GET','::1','','2021-09-15 16:09:01','2021-09-15 16:09:01'),(1224,1,'/admin/application/info','GET','::1','','2021-09-15 16:17:31','2021-09-15 16:17:31'),(1225,1,'/admin/application/info','GET','::1','','2021-09-15 16:17:34','2021-09-15 16:17:34'),(1226,1,'/admin/application/info','GET','::1','','2021-09-15 16:17:39','2021-09-15 16:17:39'),(1227,1,'/admin/info/manager','GET','::1','','2021-09-15 16:17:40','2021-09-15 16:17:40'),(1228,1,'/admin','GET','::1','','2021-09-15 16:17:42','2021-09-15 16:17:42'),(1229,1,'/admin','GET','::1','','2021-09-15 16:17:50','2021-09-15 16:17:50'),(1230,1,'/admin/form','GET','::1','','2021-09-15 16:17:51','2021-09-15 16:17:51'),(1231,1,'/admin/table','GET','::1','','2021-09-15 16:18:01','2021-09-15 16:18:01'),(1232,1,'/admin/table','GET','::1','','2021-09-15 16:18:04','2021-09-15 16:18:04'),(1233,1,'/admin/table','GET','::1','','2021-09-15 16:18:05','2021-09-15 16:18:05'),(1234,1,'/admin/form','GET','::1','','2021-09-15 16:18:10','2021-09-15 16:18:10'),(1235,1,'/admin/application/info','GET','::1','','2021-09-15 16:20:25','2021-09-15 16:20:25'),(1236,1,'/admin/application/info','GET','::1','','2021-09-15 16:20:26','2021-09-15 16:20:26'),(1237,1,'/admin/application/info','GET','::1','','2021-09-15 16:20:28','2021-09-15 16:20:28'),(1238,1,'/admin','GET','::1','','2021-09-15 16:20:48','2021-09-15 16:20:48'),(1239,1,'/admin/info/roles','GET','::1','','2021-09-15 16:20:51','2021-09-15 16:20:51'),(1240,1,'/admin/info/permission','GET','::1','','2021-09-15 16:20:51','2021-09-15 16:20:51'),(1241,1,'/admin/info/op','GET','::1','','2021-09-15 16:20:52','2021-09-15 16:20:52'),(1242,1,'/admin/info/menus','GET','::1','','2021-09-15 16:20:54','2021-09-15 16:20:54'),(1243,1,'/admin/info/menus/new','GET','::1','','2021-09-15 16:20:55','2021-09-15 16:20:55'),(1244,1,'/admin/application/info','GET','::1','','2021-09-15 16:20:56','2021-09-15 16:20:56'),(1245,1,'/admin/application/info','GET','::1','','2021-09-15 16:22:42','2021-09-15 16:22:42'),(1246,1,'/admin/info/site/edit','GET','::1','','2021-09-15 16:22:43','2021-09-15 16:22:43'),(1247,1,'/admin/info/generate/new','GET','::1','','2021-09-15 16:22:44','2021-09-15 16:22:44'),(1248,1,'/admin/application/info','GET','::1','','2021-09-15 16:22:55','2021-09-15 16:22:55'),(1249,1,'/admin','GET','::1','','2021-09-15 16:23:02','2021-09-15 16:23:02'),(1250,1,'/admin','GET','::1','','2021-09-15 16:24:00','2021-09-15 16:24:00'),(1251,1,'/admin','GET','::1','','2021-09-15 16:24:47','2021-09-15 16:24:47'),(1252,1,'/admin','GET','::1','','2021-09-15 16:25:13','2021-09-15 16:25:13'),(1253,1,'/admin','GET','::1','','2021-09-15 16:25:31','2021-09-15 16:25:31'),(1254,1,'/admin','GET','::1','','2021-09-15 16:25:46','2021-09-15 16:25:46'),(1255,1,'/admin/application/info','GET','::1','','2021-09-15 16:26:08','2021-09-15 16:26:08'),(1256,1,'/admin/application/info','GET','::1','','2021-09-15 16:31:38','2021-09-15 16:31:38'),(1257,1,'/admin','GET','::1','','2021-09-15 16:31:41','2021-09-15 16:31:41'),(1258,1,'/admin','GET','182.149.160.213','','2021-09-16 06:25:57','2021-09-16 06:25:57'),(1259,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:26:24','2021-09-16 06:26:24'),(1260,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:26:33','2021-09-16 06:26:33'),(1261,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-16 06:26:35','2021-09-16 06:26:35'),(1262,1,'/admin/info/manager/edit','GET','182.149.160.213','','2021-09-16 06:26:39','2021-09-16 06:26:39'),(1263,1,'/admin/edit/manager','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/manager?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"5c5f654e-cc76-4f42-bf61-77d9f35e0765\"],\"avatar__delete_flag\":[\"0\"],\"id\":[\"1\"],\"name\":[\"admin\"],\"password\":[\"Bora1116G\"],\"password_again\":[\"Bora1116G\"],\"permission_id[]\":[\"1\"],\"role_id[]\":[\"1\"],\"username\":[\"admin\"]}','2021-09-16 06:26:57','2021-09-16 06:26:57'),(1264,1,'/admin','GET','182.149.160.213','','2021-09-16 06:39:38','2021-09-16 06:39:38'),(1265,1,'/admin','GET','182.149.160.213','','2021-09-16 06:40:14','2021-09-16 06:40:14'),(1266,1,'/admin/info/roles','GET','182.149.160.213','','2021-09-16 06:40:17','2021-09-16 06:40:17'),(1267,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-16 06:40:18','2021-09-16 06:40:18'),(1268,1,'/admin/info/roles','GET','182.149.160.213','','2021-09-16 06:40:18','2021-09-16 06:40:18'),(1269,1,'/admin','GET','182.149.160.213','','2021-09-16 06:45:53','2021-09-16 06:45:53'),(1270,1,'/admin/info/menus/new','GET','182.149.160.213','','2021-09-16 06:45:59','2021-09-16 06:45:59'),(1271,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-16 06:46:00','2021-09-16 06:46:00'),(1272,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 06:46:03','2021-09-16 06:46:03'),(1273,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-16 06:46:04','2021-09-16 06:46:04'),(1274,1,'/admin/info/site/edit','GET','182.149.160.213','','2021-09-16 06:46:06','2021-09-16 06:46:06'),(1275,1,'/admin/info/site/edit','GET','182.149.160.213','','2021-09-16 06:46:09','2021-09-16 06:46:09'),(1276,1,'/admin/edit/site','POST','182.149.160.213','{\"__checkbox__debug\":[\"on\"],\"access_assets_log_off\":[\"false\"],\"access_log_off\":[\"false\"],\"access_log_path\":[\"\"],\"animation_delay\":[\"0.00\"],\"animation_duration\":[\"0.00\"],\"animation_type\":[\"\"],\"asset_url\":[\"\"],\"color_scheme\":[\"skin-black\"],\"custom_403_html\":[\"\"],\"custom_404_html\":[\"\"],\"custom_500_html\":[\"\"],\"custom_foot_html\":[\"\"],\"custom_head_html\":[\"\"],\"debug\":[\"true\"],\"env\":[\"prod\"],\"error_log_off\":[\"false\"],\"error_log_path\":[\"\"],\"extra\":[\"\"],\"file_upload_engine\":[\"{\\\"name\\\":\\\"local\\\"}\"],\"footer_info\":[\"\"],\"hide_app_info_entrance\":[\"false\"],\"hide_config_center_entrance\":[\"false\"],\"hide_tool_entrance\":[\"false\"],\"id\":[\"1\"],\"info_log_off\":[\"false\"],\"info_log_path\":[\"\"],\"language\":[\"zh\"],\"logger_encoder_caller\":[\"full\"],\"logger_encoder_caller_key\":[\"caller\"],\"logger_encoder_duration\":[\"string\"],\"logger_encoder_encoding\":[\"console\"],\"logger_encoder_level\":[\"capitalColor\"],\"logger_encoder_level_key\":[\"level\"],\"logger_encoder_message_key\":[\"msg\"],\"logger_encoder_name_key\":[\"logger\"],\"logger_encoder_stacktrace_key\":[\"stacktrace\"],\"logger_encoder_time\":[\"iso8601\"],\"logger_encoder_time_key\":[\"ts\"],\"logger_level\":[\"0\"],\"logger_rotate_compress\":[\"false\"],\"logger_rotate_max_age\":[\"30\"],\"logger_rotate_max_backups\":[\"5\"],\"logger_rotate_max_size\":[\"10\"],\"login_logo\":[\"\"],\"login_title\":[\"GoAdmin\"],\"logo\":[\"\\u003cb\\u003eGo\\u003c/b\\u003eAdmin\"],\"mini_logo\":[\"\\u003cb\\u003eG\\u003c/b\\u003eA\"],\"no_limit_login_ip\":[\"false\"],\"session_life_time\":[\"7200\"],\"sql_log\":[\"false\"],\"theme\":[\"sword\"],\"title\":[\"GoAdmin\"]}','2021-09-16 06:46:41','2021-09-16 06:46:41'),(1277,1,'/admin/info/site','GET','182.149.160.213','','2021-09-16 06:46:43','2021-09-16 06:46:43'),(1278,1,'/admin/info/site/edit','GET','182.149.160.213','','2021-09-16 06:46:43','2021-09-16 06:46:43'),(1279,1,'/admin/info/site','GET','182.149.160.213','','2021-09-16 06:46:46','2021-09-16 06:46:46'),(1280,1,'/admin/info/site/edit','GET','182.149.160.213','','2021-09-16 06:46:46','2021-09-16 06:46:46'),(1281,1,'/admin/info/roles','GET','182.149.160.213','','2021-09-16 06:47:29','2021-09-16 06:47:29'),(1282,1,'/admin/info/permission','GET','182.149.160.213','','2021-09-16 06:47:29','2021-09-16 06:47:29'),(1283,1,'/admin/menu','GET','182.149.160.213','','2021-09-16 06:47:30','2021-09-16 06:47:30'),(1284,1,'/admin/info/op','GET','182.149.160.213','','2021-09-16 06:47:31','2021-09-16 06:47:31'),(1285,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-16 06:47:32','2021-09-16 06:47:32'),(1286,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-16 06:47:35','2021-09-16 06:47:35'),(1287,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:47:36','2021-09-16 06:47:36'),(1288,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-16 06:47:46','2021-09-16 06:47:46'),(1289,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:47:49','2021-09-16 06:47:49'),(1290,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:47:56','2021-09-16 06:47:56'),(1291,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:47:58','2021-09-16 06:47:58'),(1292,1,'/admin/info/generate/new','GET','182.149.160.213','','2021-09-16 06:47:59','2021-09-16 06:47:59'),(1293,1,'/admin/info/site/edit','GET','182.149.160.213','','2021-09-16 06:48:01','2021-09-16 06:48:01'),(1294,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:48:02','2021-09-16 06:48:02'),(1295,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:48:03','2021-09-16 06:48:03'),(1296,1,'/admin/info/site/edit','GET','182.149.160.213','','2021-09-16 06:48:03','2021-09-16 06:48:03'),(1297,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:48:41','2021-09-16 06:48:41'),(1298,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-16 06:48:43','2021-09-16 06:48:43'),(1299,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:48:44','2021-09-16 06:48:44'),(1300,1,'/admin','GET','182.149.160.213','','2021-09-16 06:48:46','2021-09-16 06:48:46'),(1301,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:48:50','2021-09-16 06:48:50'),(1302,1,'/admin/info/site/edit','GET','182.149.160.213','','2021-09-16 06:48:51','2021-09-16 06:48:51'),(1303,1,'/admin/edit/site','POST','182.149.160.213','{\"__checkbox__debug\":[\"on\"],\"access_assets_log_off\":[\"false\"],\"access_log_off\":[\"false\"],\"access_log_path\":[\"\"],\"animation_delay\":[\"0.00\"],\"animation_duration\":[\"0.00\"],\"animation_type\":[\"\"],\"asset_url\":[\"\"],\"color_scheme\":[\"skin-black\"],\"custom_403_html\":[\"\"],\"custom_404_html\":[\"\"],\"custom_500_html\":[\"\"],\"custom_foot_html\":[\"\"],\"custom_head_html\":[\"\"],\"debug\":[\"true\"],\"env\":[\"prod\"],\"error_log_off\":[\"false\"],\"error_log_path\":[\"\"],\"extra\":[\"\"],\"file_upload_engine\":[\"{\\\"name\\\":\\\"local\\\"}\"],\"footer_info\":[\"\"],\"hide_app_info_entrance\":[\"false\"],\"hide_config_center_entrance\":[\"false\"],\"hide_tool_entrance\":[\"false\"],\"id\":[\"1\"],\"info_log_off\":[\"false\"],\"info_log_path\":[\"\"],\"language\":[\"zh\"],\"logger_encoder_caller\":[\"full\"],\"logger_encoder_caller_key\":[\"caller\"],\"logger_encoder_duration\":[\"string\"],\"logger_encoder_encoding\":[\"console\"],\"logger_encoder_level\":[\"capitalColor\"],\"logger_encoder_level_key\":[\"level\"],\"logger_encoder_message_key\":[\"msg\"],\"logger_encoder_name_key\":[\"logger\"],\"logger_encoder_stacktrace_key\":[\"stacktrace\"],\"logger_encoder_time\":[\"iso8601\"],\"logger_encoder_time_key\":[\"ts\"],\"logger_level\":[\"0\"],\"logger_rotate_compress\":[\"false\"],\"logger_rotate_max_age\":[\"30\"],\"logger_rotate_max_backups\":[\"5\"],\"logger_rotate_max_size\":[\"10\"],\"login_logo\":[\"\"],\"login_title\":[\"Iris 博客管理系统\"],\"logo\":[\"\\u003cb\\u003eGo\\u003c/b\\u003eAdmin\"],\"mini_logo\":[\"\\u003cb\\u003eG\\u003c/b\\u003eA\"],\"no_limit_login_ip\":[\"false\"],\"session_life_time\":[\"7200\"],\"sql_log\":[\"false\"],\"theme\":[\"sword\"],\"title\":[\"Iris 博客管理系统\"]}','2021-09-16 06:48:57','2021-09-16 06:48:57'),(1304,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 06:48:58','2021-09-16 06:48:58'),(1305,1,'/admin','GET','182.149.160.213','','2021-09-16 06:49:00','2021-09-16 06:49:00'),(1306,1,'/admin','GET','182.149.160.213','','2021-09-16 06:49:01','2021-09-16 06:49:01'),(1307,1,'/admin','GET','182.149.160.213','','2021-09-16 06:53:57','2021-09-16 06:53:57'),(1308,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 06:54:02','2021-09-16 06:54:02'),(1309,1,'/admin/info/site/edit','GET','182.149.160.213','','2021-09-16 06:54:03','2021-09-16 06:54:03'),(1310,1,'/admin','GET','182.149.160.213','','2021-09-16 07:16:28','2021-09-16 07:16:28'),(1311,1,'/admin/info/generate/new','GET','182.149.160.213','','2021-09-16 07:16:51','2021-09-16 07:16:51'),(1312,1,'/admin/info/site/edit','GET','182.149.160.213','','2021-09-16 07:16:54','2021-09-16 07:16:54'),(1313,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 07:16:57','2021-09-16 07:16:57'),(1314,1,'/admin/info/generate/new','GET','182.149.160.213','','2021-09-16 07:17:03','2021-09-16 07:17:03'),(1315,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 07:17:03','2021-09-16 07:17:03'),(1316,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 07:17:09','2021-09-16 07:17:09'),(1317,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 07:17:12','2021-09-16 07:17:12'),(1318,1,'/admin/info/generate/new','GET','182.149.160.213','','2021-09-16 07:17:14','2021-09-16 07:17:14'),(1319,1,'/admin/info/site/edit','GET','182.149.160.213','','2021-09-16 07:17:19','2021-09-16 07:17:19'),(1320,1,'/admin/info/generate/new','GET','182.149.160.213','','2021-09-16 07:17:26','2021-09-16 07:17:26'),(1321,1,'/admin','GET','182.149.160.213','','2021-09-16 07:43:06','2021-09-16 07:43:06'),(1322,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 07:44:20','2021-09-16 07:44:20'),(1323,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-16 07:44:23','2021-09-16 07:44:23'),(1324,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 07:44:29','2021-09-16 07:44:29'),(1325,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-16 07:44:32','2021-09-16 07:44:32'),(1326,1,'/admin/new/posts','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"ae301c11-6e4a-438b-959c-f8749e7c75b8\"],\"content\":[\"\\u003col\\u003e\\u003cli\\u003e编译为Linux 可执行文件\\u003cp\\u003ego env -w CGO_ENABLED=0\\u0026nbsp;GOOS=darwin GOARCH=amd64\\u003cbr\\u003e\\u003c/p\\u003e\\u003cp\\u003ego build main.go -o blog\\u003c/p\\u003e\\u003c/li\\u003e\\u003cli\\u003e编译为Windows 可执行文件\\u003cbr\\u003e\\u003cp\\u003ego env -w\\u0026nbsp;CGO_ENABLED=0\\u0026nbsp;GOOS=windows GOARCH=amd64\\u003cbr\\u003e\\u003c/p\\u003e\\u003cp\\u003ego build\\u0026nbsp;\\u003cspan style=\\\"font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;;\\\"\\u003emain.go -o blog.exe\\u003c/span\\u003e\\u003c/p\\u003e\\u003c/li\\u003e\\u003cli\\u003e编译为Mac 可执行文件\\u003cbr\\u003e\\u003cp\\u003ego env -w\\u0026nbsp;CGO_ENABLED=0\\u0026nbsp;GOOS=darwin GOARCH=amd64\\u003cbr\\u003e\\u003c/p\\u003e\\u003cp\\u003ego build\\u0026nbsp;\\u003cspan style=\\\"font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;;\\\"\\u003emain.go -o blog\\u003c/span\\u003e\\u003c/p\\u003e\\u003c/li\\u003e\\u003c/ol\\u003e\\u003cp\\u003e\\u003cbr\\u003e\\u003c/p\\u003e\"],\"created_at\":[\"\"],\"title\":[\"Go 语言 Mac环境下交叉编译\"]}','2021-09-16 07:56:44','2021-09-16 07:56:44'),(1327,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-16 07:56:55','2021-09-16 07:56:55'),(1328,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-16 07:56:56','2021-09-16 07:56:56'),(1329,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-16 07:56:58','2021-09-16 07:56:58'),(1330,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 07:57:00','2021-09-16 07:57:00'),(1331,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 07:57:05','2021-09-16 07:57:05'),(1332,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-16 07:57:08','2021-09-16 07:57:08'),(1333,1,'/admin/new/posts','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/posts?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"4c3572c6-8c1e-489e-9cfb-d7ad3a71cd7b\"],\"content\":[\"\\u003col\\u003e\\u003cli\\u003e编译为Linux可执行文件\\u003cbr\\u003ego env -w CGO_ENABLED=0 GOOS=linux GOARCH=amd64\\u003cbr\\u003ego build main.go -o blog\\u003c/li\\u003e\\u003cli\\u003e编译为Windows可执行文件\\u003cbr\\u003ego env -w CGO_ENABLED=0\\u0026nbsp;GOOS=windows\\u0026nbsp;GOARCH=amd64\\u003cbr\\u003ego build main.go -o blog.exe\\u003cbr\\u003e\\u003c/li\\u003e\\u003cli\\u003e编译为Mac可执行文件\\u003cbr\\u003ego env -w CGO_ENABLED=0\\u0026nbsp;GOOS=darwin GOARCH=amd64\\u003cbr\\u003ego build main.go -o blog\\u003cbr\\u003e\\u003c/li\\u003e\\u003c/ol\\u003e\"],\"created_at\":[\"2021-09-16 00:00:00\"],\"title\":[\"Go 语言 Mac环境下交叉编译\"]}','2021-09-16 08:00:33','2021-09-16 08:00:33'),(1334,1,'/admin','GET','182.149.160.213','','2021-09-16 09:20:36','2021-09-16 09:20:36'),(1335,1,'/admin','GET','182.149.160.213','','2021-09-16 09:21:21','2021-09-16 09:21:21'),(1336,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-16 09:21:23','2021-09-16 09:21:23'),(1337,1,'/admin/info/roles','GET','182.149.160.213','','2021-09-16 09:21:24','2021-09-16 09:21:24'),(1338,1,'/admin/menu','GET','182.149.160.213','','2021-09-16 09:21:25','2021-09-16 09:21:25'),(1339,1,'/admin/info/op','GET','182.149.160.213','','2021-09-16 09:21:25','2021-09-16 09:21:25'),(1340,1,'/admin/info/menus/new','GET','182.149.160.213','','2021-09-16 09:21:28','2021-09-16 09:21:28'),(1341,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 09:21:30','2021-09-16 09:21:30'),(1342,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 09:21:32','2021-09-16 09:21:32'),(1343,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 09:22:04','2021-09-16 09:22:04'),(1344,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 09:22:18','2021-09-16 09:22:18'),(1345,1,'/admin','GET','182.149.160.213','','2021-09-16 09:22:39','2021-09-16 09:22:39'),(1346,1,'/admin','GET','182.149.160.213','','2021-09-16 09:23:04','2021-09-16 09:23:04'),(1347,1,'/admin','GET','182.149.160.213','','2021-09-16 09:23:55','2021-09-16 09:23:55'),(1348,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-16 09:24:11','2021-09-16 09:24:11'),(1349,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-16 09:24:14','2021-09-16 09:24:14'),(1350,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 09:24:15','2021-09-16 09:24:15'),(1351,1,'/admin','GET','182.149.160.213','','2021-09-16 09:25:10','2021-09-16 09:25:10'),(1352,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-16 09:25:12','2021-09-16 09:25:12'),(1353,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-16 09:25:15','2021-09-16 09:25:15'),(1354,1,'/admin/info/tags/edit','GET','182.149.160.213','','2021-09-16 09:25:17','2021-09-16 09:25:17'),(1355,1,'/admin/edit/tags','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/tags?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"404860dd-26ab-4ecf-a935-944fb9318cd6\"],\"id\":[\"5\"],\"name\":[\"Linux\"]}','2021-09-16 09:25:21','2021-09-16 09:25:21'),(1356,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-16 09:25:22','2021-09-16 09:25:22'),(1357,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 09:25:27','2021-09-16 09:25:27'),(1358,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-16 09:25:29','2021-09-16 09:25:29'),(1359,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 09:25:30','2021-09-16 09:25:30'),(1360,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-16 09:25:32','2021-09-16 09:25:32'),(1361,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-16 09:25:33','2021-09-16 09:25:33'),(1362,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-16 09:25:34','2021-09-16 09:25:34'),(1363,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 09:29:41','2021-09-16 09:29:41'),(1364,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 09:29:48','2021-09-16 09:29:48'),(1365,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-16 09:29:49','2021-09-16 09:29:49'),(1366,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-16 09:29:50','2021-09-16 09:29:50'),(1367,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-16 09:29:50','2021-09-16 09:29:50'),(1368,1,'/admin','GET','182.149.160.213','','2021-09-16 09:51:22','2021-09-16 09:51:22'),(1369,1,'/admin/info/roles','GET','182.149.160.213','','2021-09-16 09:54:59','2021-09-16 09:54:59'),(1370,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-16 09:54:59','2021-09-16 09:54:59'),(1371,1,'/admin/info/permission','GET','182.149.160.213','','2021-09-16 09:55:00','2021-09-16 09:55:00'),(1372,1,'/admin/menu','GET','182.149.160.213','','2021-09-16 09:55:00','2021-09-16 09:55:00'),(1373,1,'/admin/info/op','GET','182.149.160.213','','2021-09-16 09:55:01','2021-09-16 09:55:01'),(1374,1,'/admin/info/pages/new','GET','182.149.160.213','','2021-09-16 09:55:03','2021-09-16 09:55:03'),(1375,1,'/admin/info/pages/new','GET','182.149.160.213','','2021-09-16 09:55:04','2021-09-16 09:55:04'),(1376,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-16 09:55:05','2021-09-16 09:55:05'),(1377,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-16 09:55:08','2021-09-16 09:55:08'),(1378,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-16 09:55:09','2021-09-16 09:55:09'),(1379,1,'/admin/info/menus/new','GET','182.149.160.213','','2021-09-16 09:55:10','2021-09-16 09:55:10'),(1380,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-16 09:55:11','2021-09-16 09:55:11'),(1381,1,'/admin/info/menus/new','GET','182.149.160.213','','2021-09-16 09:55:12','2021-09-16 09:55:12'),(1382,1,'/admin/info/menus/new','GET','182.149.160.213','','2021-09-16 09:55:13','2021-09-16 09:55:13'),(1383,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-16 09:55:14','2021-09-16 09:55:14'),(1384,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-16 09:55:18','2021-09-16 09:55:18'),(1385,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-16 09:55:23','2021-09-16 09:55:23'),(1386,1,'/admin','GET','182.149.160.213','','2021-09-16 09:55:35','2021-09-16 09:55:35'),(1387,1,'/admin','GET','182.149.160.213','','2021-09-16 11:57:04','2021-09-16 11:57:04'),(1388,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 11:57:10','2021-09-16 11:57:10'),(1389,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 11:57:23','2021-09-16 11:57:23'),(1390,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 11:59:59','2021-09-16 11:59:59'),(1391,1,'/admin','GET','182.149.160.213','','2021-09-16 12:00:00','2021-09-16 12:00:00'),(1392,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-16 12:00:05','2021-09-16 12:00:05'),(1393,1,'/admin/info/roles','GET','182.149.160.213','','2021-09-16 12:00:07','2021-09-16 12:00:07'),(1394,1,'/admin/info/permission','GET','182.149.160.213','','2021-09-16 12:00:10','2021-09-16 12:00:10'),(1395,1,'/admin/menu','GET','182.149.160.213','','2021-09-16 12:00:10','2021-09-16 12:00:10'),(1396,1,'/admin/info/op','GET','182.149.160.213','','2021-09-16 12:00:11','2021-09-16 12:00:11'),(1397,1,'/admin','GET','182.149.160.213','','2021-09-16 12:00:20','2021-09-16 12:00:20'),(1398,1,'/admin/menu','GET','182.149.160.213','','2021-09-16 12:00:22','2021-09-16 12:00:22'),(1399,1,'/admin','GET','182.149.160.213','','2021-09-16 12:00:24','2021-09-16 12:00:24'),(1400,1,'/admin','GET','182.149.160.213','','2021-09-16 15:13:48','2021-09-16 15:13:48'),(1401,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-16 15:14:08','2021-09-16 15:14:08'),(1402,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 15:14:11','2021-09-16 15:14:11'),(1403,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-16 15:14:11','2021-09-16 15:14:11'),(1404,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-16 15:14:12','2021-09-16 15:14:12'),(1405,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-16 15:14:13','2021-09-16 15:14:13'),(1406,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-16 15:14:15','2021-09-16 15:14:15'),(1407,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-16 15:14:15','2021-09-16 15:14:15'),(1408,1,'/admin/info/menus/new','GET','182.149.160.213','','2021-09-16 15:14:17','2021-09-16 15:14:17'),(1409,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-16 15:14:17','2021-09-16 15:14:17'),(1410,1,'/admin/application/info','GET','182.149.160.213','','2021-09-16 15:14:19','2021-09-16 15:14:19'),(1411,1,'/admin','GET','182.149.160.213','','2021-09-17 10:07:54','2021-09-17 10:07:54'),(1412,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-17 10:08:50','2021-09-17 10:08:50'),(1413,1,'/admin/menu','GET','182.149.160.213','','2021-09-17 10:08:51','2021-09-17 10:08:51'),(1414,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-17 10:08:54','2021-09-17 10:08:54'),(1415,1,'/admin/info/menus/new','GET','182.149.160.213','','2021-09-17 10:08:55','2021-09-17 10:08:55'),(1416,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-17 10:08:56','2021-09-17 10:08:56'),(1417,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-17 10:08:57','2021-09-17 10:08:57'),(1418,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-17 10:09:00','2021-09-17 10:09:00'),(1419,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-17 10:09:03','2021-09-17 10:09:03'),(1420,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-17 10:09:04','2021-09-17 10:09:04'),(1421,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-17 10:09:06','2021-09-17 10:09:06'),(1422,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-17 10:09:11','2021-09-17 10:09:11'),(1423,1,'/admin/info/menus/new','GET','182.149.160.213','','2021-09-17 10:09:19','2021-09-17 10:09:19'),(1424,1,'/admin/new/menus','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/menus?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"843530ef-d4c0-4db2-9eff-3fa88e72bde2\"],\"name\":[\"donate\"],\"path\":[\"赞助\"]}','2021-09-17 10:09:37','2021-09-17 10:09:37'),(1425,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-17 10:09:43','2021-09-17 10:09:43'),(1426,1,'/admin/info/pages/new','GET','182.149.160.213','','2021-09-17 10:09:44','2021-09-17 10:09:44'),(1427,1,'/admin/new/pages','POST','182.149.160.213','{\"__go_admin_previous_\":[\"https://www.phpman.cc/admin/info/posts/new?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"aac306ec-7c46-4237-b472-9569cd2c3c11\"],\"content\":[\"\\u003cp\\u003e\\u003cbr\\u003e\\u003c/p\\u003e\"],\"slug\":[\"donate\"],\"title\":[\"赞助\"]}','2021-09-17 10:10:26','2021-09-17 10:10:26'),(1428,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-17 10:10:27','2021-09-17 10:10:27'),(1429,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 10:10:31','2021-09-17 10:10:31'),(1430,1,'/admin/application/info','GET','182.149.160.213','','2021-09-17 10:10:36','2021-09-17 10:10:36'),(1431,1,'/admin/application/info','GET','182.149.160.213','','2021-09-17 10:10:37','2021-09-17 10:10:37'),(1432,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-17 10:10:43','2021-09-17 10:10:43'),(1433,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-17 10:10:46','2021-09-17 10:10:46'),(1434,1,'/admin/menu','GET','182.149.160.213','','2021-09-17 10:10:49','2021-09-17 10:10:49'),(1435,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-17 10:10:55','2021-09-17 10:10:55'),(1436,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-17 10:11:00','2021-09-17 10:11:00'),(1437,1,'/admin/info/tags/new','GET','182.149.160.213','','2021-09-17 10:11:10','2021-09-17 10:11:10'),(1438,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-17 10:11:11','2021-09-17 10:11:11'),(1439,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 10:11:14','2021-09-17 10:11:14'),(1440,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 10:12:05','2021-09-17 10:12:05'),(1441,1,'/admin/application/info','GET','182.149.160.213','','2021-09-17 10:12:07','2021-09-17 10:12:07'),(1442,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-17 10:14:17','2021-09-17 10:14:17'),(1443,1,'/admin/info/roles','GET','182.149.160.213','','2021-09-17 10:14:19','2021-09-17 10:14:19'),(1444,1,'/admin/info/op','GET','182.149.160.213','','2021-09-17 10:14:21','2021-09-17 10:14:21'),(1445,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-17 10:14:24','2021-09-17 10:14:24'),(1446,1,'/admin/info/posts/new','GET','182.149.160.213','','2021-09-17 10:14:26','2021-09-17 10:14:26'),(1447,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-17 10:14:29','2021-09-17 10:14:29'),(1448,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 10:14:33','2021-09-17 10:14:33'),(1449,1,'/admin/info/pages/edit','GET','182.149.160.213','','2021-09-17 10:14:36','2021-09-17 10:14:36'),(1450,1,'/admin/menu','GET','182.149.160.213','','2021-09-17 10:15:41','2021-09-17 10:15:41'),(1451,1,'/admin/info/permission','GET','182.149.160.213','','2021-09-17 10:15:42','2021-09-17 10:15:42'),(1452,1,'/admin/info/roles','GET','182.149.160.213','','2021-09-17 10:15:42','2021-09-17 10:15:42'),(1453,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-17 10:15:43','2021-09-17 10:15:43'),(1454,1,'/admin/info/pages/new','GET','182.149.160.213','','2021-09-17 10:15:45','2021-09-17 10:15:45'),(1455,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 10:15:46','2021-09-17 10:15:46'),(1456,1,'/admin/info/pages/edit','GET','182.149.160.213','','2021-09-17 10:15:48','2021-09-17 10:15:48'),(1457,1,'/admin/info/pages/edit','GET','182.149.160.213','','2021-09-17 10:15:56','2021-09-17 10:15:56'),(1458,1,'/admin','GET','182.149.160.213','','2021-09-17 10:38:15','2021-09-17 10:38:15'),(1459,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-17 10:38:18','2021-09-17 10:38:18'),(1460,1,'/admin/info/menus/new','GET','182.149.160.213','','2021-09-17 10:38:19','2021-09-17 10:38:19'),(1461,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-17 10:38:28','2021-09-17 10:38:28'),(1462,1,'/admin/info/menus/edit','GET','182.149.160.213','','2021-09-17 10:38:30','2021-09-17 10:38:30'),(1463,1,'/admin/edit/menus','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/menus?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"e06ee8fe-46b0-405e-beef-b0dbca8885ef\"],\"id\":[\"5\"],\"name\":[\"赞助\"],\"path\":[\"donate\"]}','2021-09-17 10:38:39','2021-09-17 10:38:39'),(1464,1,'/admin','GET','182.149.160.213','','2021-09-17 10:42:29','2021-09-17 10:42:29'),(1465,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 10:42:33','2021-09-17 10:42:33'),(1466,1,'/admin/info/pages/edit','GET','182.149.160.213','','2021-09-17 10:42:36','2021-09-17 10:42:36'),(1467,1,'/admin/edit/pages','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/pages?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"bc84808e-637d-48d2-9901-37b20d16cb07\"],\"content\":[\"\\u003cp\\u003e\\u003cimg src=\\\"http://www.phpman.cc/11631872708_.pic.jpg\\\" style=\\\"max-width:100%;\\\"\\u003e\\u003cbr\\u003e\\u003c/p\\u003e\"],\"id\":[\"4\"],\"slug\":[\"donate\"],\"title\":[\"赞助\"]}','2021-09-17 10:43:56','2021-09-17 10:43:56'),(1468,1,'/admin','GET','182.149.160.213','','2021-09-17 11:40:25','2021-09-17 11:40:25'),(1469,1,'/admin/info/tags','GET','182.149.160.213','','2021-09-17 11:40:27','2021-09-17 11:40:27'),(1470,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-17 11:40:29','2021-09-17 11:40:29'),(1471,1,'/admin/info/pages/new','GET','182.149.160.213','','2021-09-17 11:40:34','2021-09-17 11:40:34'),(1472,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 11:40:35','2021-09-17 11:40:35'),(1473,1,'/admin/info/pages/edit','GET','182.149.160.213','','2021-09-17 11:40:37','2021-09-17 11:40:37'),(1474,1,'/admin/edit/pages','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/pages?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"b2f3d052-fd1b-4c79-911b-c0be6fe41b6d\"],\"content\":[\"\\u003cp\\u003e\\u0026lt;img src=\\\"\\u003cimg src=\\\"http://assets.phpman.cc/donate.jpg\\\" style=\\\"font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;;\\\"\\u003e\\u003cspan style=\\\"font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;;\\\"\\u003ehttp://assets.phpman.cc/donate.jpg\\u003c/span\\u003e\\u003cspan style=\\\"font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;;\\\"\\u003e\\\"\\u0026gt;\\u003c/span\\u003e\\u003c/p\\u003e\"],\"id\":[\"4\"],\"slug\":[\"donate\"],\"title\":[\"赞助\"]}','2021-09-17 11:41:17','2021-09-17 11:41:17'),(1475,1,'/admin/info/pages/detail','GET','182.149.160.213','','2021-09-17 11:41:19','2021-09-17 11:41:19'),(1476,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 11:41:22','2021-09-17 11:41:22'),(1477,1,'/admin/info/pages/edit','GET','182.149.160.213','','2021-09-17 11:41:31','2021-09-17 11:41:31'),(1478,1,'/admin','GET','182.149.160.213','','2021-09-17 11:42:12','2021-09-17 11:42:12'),(1479,1,'/admin','GET','182.149.160.213','','2021-09-17 11:42:19','2021-09-17 11:42:19'),(1480,1,'/admin/application/info','GET','182.149.160.213','','2021-09-17 11:43:11','2021-09-17 11:43:11'),(1481,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 11:43:13','2021-09-17 11:43:13'),(1482,1,'/admin/info/pages/edit','GET','182.149.160.213','','2021-09-17 11:43:14','2021-09-17 11:43:14'),(1483,1,'/admin/edit/pages','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/pages?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"9718eb7f-ce75-4d27-bda8-396dc1c10a9c\"],\"content\":[\"\\u003cp\\u003e\\u003cimg src=\\\"http://assets.phpman.cc/donate.jpg\\\" style=\\\"max-width:100%;\\\"\\u003e\\u003cbr\\u003e\\u003c/p\\u003e\"],\"id\":[\"4\"],\"slug\":[\"donate\"],\"title\":[\"赞助\"]}','2021-09-17 11:43:33','2021-09-17 11:43:33'),(1484,1,'/admin/info/pages/detail','GET','182.149.160.213','','2021-09-17 11:43:35','2021-09-17 11:43:35'),(1485,1,'/admin','GET','182.149.160.213','','2021-09-17 11:59:09','2021-09-17 11:59:09'),(1486,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 11:59:14','2021-09-17 11:59:14'),(1487,1,'/admin/info/pages/edit','GET','182.149.160.213','','2021-09-17 11:59:16','2021-09-17 11:59:16'),(1488,1,'/admin/edit/pages','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/pages?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"367bf222-b89d-4787-b865-086ea2dea186\"],\"content\":[\"\\u003cp\\u003e\\u003cimg src=\\\"https://www.phpman.cc/assets/donate.jpg\\\" style=\\\"max-width:100%;\\\"\\u003e\\u003cbr\\u003e\\u003c/p\\u003e\"],\"id\":[\"4\"],\"slug\":[\"donate\"],\"title\":[\"赞助\"]}','2021-09-17 11:59:52','2021-09-17 11:59:52'),(1489,1,'/admin','GET','182.149.160.213','','2021-09-17 13:30:56','2021-09-17 13:30:56'),(1490,1,'/admin/info/pages','GET','182.149.160.213','','2021-09-17 13:31:11','2021-09-17 13:31:11'),(1491,1,'/admin/info/menus/new','GET','182.149.160.213','','2021-09-17 13:31:18','2021-09-17 13:31:18'),(1492,1,'/admin/info/menus','GET','182.149.160.213','','2021-09-17 13:31:19','2021-09-17 13:31:19'),(1493,1,'/admin/info/menus/edit','GET','182.149.160.213','','2021-09-17 13:31:21','2021-09-17 13:31:21'),(1494,1,'/admin/edit/menus','POST','182.149.160.213','{\"__go_admin_previous_\":[\"/admin/info/menus?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"db90f4a0-dfd6-4629-9c71-14b9c235da9a\"],\"id\":[\"5\"],\"name\":[\"赞助\"],\"path\":[\"/donate\"]}','2021-09-17 13:31:25','2021-09-17 13:31:25'),(1495,1,'/admin/application/info','GET','182.149.160.213','','2021-09-17 13:46:26','2021-09-17 13:46:26'),(1496,1,'/admin','GET','182.149.160.213','','2021-09-17 17:21:43','2021-09-17 17:21:43'),(1497,1,'/admin/application/info','GET','182.149.160.213','','2021-09-17 17:21:46','2021-09-17 17:21:46'),(1498,1,'/admin','GET','182.149.160.213','','2021-09-17 17:21:51','2021-09-17 17:21:51'),(1499,1,'/admin/info/posts','GET','182.149.160.213','','2021-09-17 17:22:06','2021-09-17 17:22:06'),(1500,1,'/admin/info/manager','GET','182.149.160.213','','2021-09-17 17:22:08','2021-09-17 17:22:08'),(1501,1,'/admin/info/roles','GET','182.149.160.213','','2021-09-17 17:22:08','2021-09-17 17:22:08'),(1502,1,'/admin','GET','182.138.85.148','','2021-09-17 17:27:11','2021-09-17 17:27:11'),(1503,1,'/admin/info/menus','GET','182.138.85.148','','2021-09-17 17:27:40','2021-09-17 17:27:40'),(1504,1,'/admin/info/tags','GET','182.138.85.148','','2021-09-17 17:27:43','2021-09-17 17:27:43'),(1505,1,'/admin/info/posts','GET','182.138.85.148','','2021-09-17 17:27:47','2021-09-17 17:27:47'),(1506,1,'/admin/info/posts/edit','GET','182.138.85.148','','2021-09-17 17:27:58','2021-09-17 17:27:58'),(1507,1,'/admin/info/manager','GET','182.138.85.148','','2021-09-17 17:28:07','2021-09-17 17:28:07'),(1508,1,'/admin','GET','125.69.45.136','','2021-09-18 10:23:28','2021-09-18 10:23:28'),(1509,1,'/admin/info/menus','GET','125.69.45.136','','2021-09-18 10:23:52','2021-09-18 10:23:52'),(1510,1,'/admin/info/manager','GET','125.69.45.136','','2021-09-18 10:23:57','2021-09-18 10:23:57'),(1511,1,'/admin/info/roles','GET','125.69.45.136','','2021-09-18 10:55:52','2021-09-18 10:55:52'),(1512,1,'/admin/info/roles','GET','125.69.45.136','','2021-09-18 11:23:30','2021-09-18 11:23:30'),(1513,1,'/admin','GET','125.69.45.136','','2021-09-18 11:45:24','2021-09-18 11:45:24'),(1514,1,'/admin/info/menus','GET','125.69.45.136','','2021-09-18 11:45:30','2021-09-18 11:45:30'),(1515,1,'/admin/application/info','GET','125.69.45.136','','2021-09-18 11:45:32','2021-09-18 11:45:32'),(1516,1,'/admin/application/info','GET','125.69.45.136','','2021-09-18 11:45:36','2021-09-18 11:45:36'),(1517,1,'/admin/menu','GET','125.69.45.136','','2021-09-18 11:45:37','2021-09-18 11:45:37'),(1518,1,'/admin/menu/new','POST','125.69.45.136','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"d77bf0b4-d0cc-498d-bda4-609ed9c9a089\"],\"header\":[\"\"],\"icon\":[\"fa-bars-\"],\"parent_id\":[\"0\"],\"plugin_name\":[\"\"],\"title\":[\"文件管理\"],\"uri\":[\"\"]}','2021-09-18 11:46:23','2021-09-18 11:46:23'),(1519,1,'/admin/menu/edit/show','GET','125.69.45.136','','2021-09-18 11:46:28','2021-09-18 11:46:28'),(1520,1,'/admin/menu/edit','POST','125.69.45.136','{\"__go_admin_previous_\":[\"/admin/menu\"],\"__go_admin_t_\":[\"bdfdd093-8255-4d7f-b435-50c4ff0c3279\"],\"created_at\":[\"2021-09-18 19:46:23\"],\"header\":[\"\"],\"icon\":[\"fa-file\"],\"id\":[\"20\"],\"parent_id\":[\"0\"],\"plugin_name\":[\"\"],\"roles[]\":[\"1\",\"2\"],\"title\":[\"文件管理\"],\"updated_at\":[\"2021-09-18 19:46:23\"],\"uri\":[\"/fm/def/list\"]}','2021-09-18 11:46:48','2021-09-18 11:46:48'),(1521,1,'/admin/menu','GET','125.69.45.136','','2021-09-18 11:46:49','2021-09-18 11:46:49'),(1522,1,'/admin','GET','125.69.45.136','','2021-09-18 11:46:55','2021-09-18 11:46:55'),(1523,1,'/admin','GET','125.69.45.136','','2021-09-18 11:49:07','2021-09-18 11:49:07'),(1524,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:49:13','2021-09-18 11:49:13'),(1525,1,'/admin/info/pages/new','GET','125.69.45.136','','2021-09-18 11:49:15','2021-09-18 11:49:15'),(1526,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:49:38','2021-09-18 11:49:38'),(1527,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:49:43','2021-09-18 11:49:43'),(1528,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:49:50','2021-09-18 11:49:50'),(1529,1,'/admin/info/pages/edit','GET','125.69.45.136','','2021-09-18 11:49:57','2021-09-18 11:49:57'),(1530,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:50:02','2021-09-18 11:50:02'),(1531,1,'/admin/delete/pages','POST','125.69.45.136','','2021-09-18 11:50:09','2021-09-18 11:50:09'),(1532,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:50:09','2021-09-18 11:50:09'),(1533,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:50:13','2021-09-18 11:50:13'),(1534,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:50:18','2021-09-18 11:50:18'),(1535,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:50:26','2021-09-18 11:50:26'),(1536,1,'/admin/info/pages/edit','GET','125.69.45.136','','2021-09-18 11:50:49','2021-09-18 11:50:49'),(1537,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:50:53','2021-09-18 11:50:53'),(1538,1,'/admin/info/pages/edit','GET','125.69.45.136','','2021-09-18 11:50:56','2021-09-18 11:50:56'),(1539,1,'/admin/info/pages/new','GET','125.69.45.136','','2021-09-18 11:50:59','2021-09-18 11:50:59'),(1540,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:51:00','2021-09-18 11:51:00'),(1541,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:51:03','2021-09-18 11:51:03'),(1542,1,'/admin/info/pages/edit','GET','125.69.45.136','','2021-09-18 11:51:15','2021-09-18 11:51:15'),(1543,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:51:19','2021-09-18 11:51:19'),(1544,1,'/admin/delete/pages','POST','125.69.45.136','','2021-09-18 11:51:25','2021-09-18 11:51:25'),(1545,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:51:25','2021-09-18 11:51:25'),(1546,1,'/admin/info/pages/edit','GET','125.69.45.136','','2021-09-18 11:51:31','2021-09-18 11:51:31'),(1547,1,'/admin','GET','125.69.45.136','','2021-09-18 11:52:09','2021-09-18 11:52:09'),(1548,1,'/admin','GET','125.69.45.136','','2021-09-18 11:52:14','2021-09-18 11:52:14'),(1549,1,'/admin','GET','125.69.45.136','','2021-09-18 11:52:19','2021-09-18 11:52:19'),(1550,1,'/admin/info/menus','GET','125.69.45.136','','2021-09-18 11:52:22','2021-09-18 11:52:22'),(1551,1,'/admin/info/tags','GET','125.69.45.136','','2021-09-18 11:52:33','2021-09-18 11:52:33'),(1552,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:52:39','2021-09-18 11:52:39'),(1553,1,'/admin/info/menus','GET','125.69.45.136','','2021-09-18 11:52:43','2021-09-18 11:52:43'),(1554,1,'/admin','GET','125.69.45.136','','2021-09-18 11:54:00','2021-09-18 11:54:00'),(1555,1,'/admin/info/tags','GET','125.69.45.136','','2021-09-18 11:54:04','2021-09-18 11:54:04'),(1556,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:54:06','2021-09-18 11:54:06'),(1557,1,'/admin/info/pages/new','GET','125.69.45.136','','2021-09-18 11:54:14','2021-09-18 11:54:14'),(1558,1,'/admin/new/pages','POST','125.69.45.136','{\"__go_admin_previous_\":[\"/admin/info/pages?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"4c7301ad-7da1-4c0d-99d5-be1e588b5a3b\"],\"content\":[\"\\u003ch2\\u003e\\u003cspan style=\\\"font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;; font-size: 14px;\\\"\\u003e服务端工程师\\u003c/span\\u003e\\u003cspan style=\\\"font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;; font-size: 14px;\\\"\\u003e\\u0026nbsp;\\u003c/span\\u003e\\u003ca target=\\\"_blank\\\" href=\\\"https://github.com/songjiangfeng\\\" style=\\\"background-color: white; font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;; font-size: 14px;\\\"\\u003eGithub\\u003c/a\\u003e\\u003cbr\\u003e\\u003c/h2\\u003e\"],\"slug\":[\"/about \"],\"title\":[\"关于\"]}','2021-09-18 11:55:15','2021-09-18 11:55:15'),(1559,1,'/admin','GET','125.69.45.136','','2021-09-18 11:55:18','2021-09-18 11:55:18'),(1560,1,'/admin','GET','125.69.45.136','','2021-09-18 11:55:29','2021-09-18 11:55:29'),(1561,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:55:31','2021-09-18 11:55:31'),(1562,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:55:33','2021-09-18 11:55:33'),(1563,1,'/admin/info/pages/edit','GET','125.69.45.136','','2021-09-18 11:55:40','2021-09-18 11:55:40'),(1564,1,'/admin/edit/pages','POST','125.69.45.136','{\"__go_admin_previous_\":[\"/admin/info/pages?__page=1\\u0026__pageSize=10\\u0026__sort=id\\u0026__sort_type=desc\"],\"__go_admin_t_\":[\"f7d3607a-f99e-4c42-8c2b-9add5f68fb1f\"],\"content\":[\"\\u003ch2\\u003e\\u003cspan style=\\\"font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;; font-size: 14px;\\\"\\u003e服务端工程师\\u003c/span\\u003e\\u003cspan style=\\\"font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;; font-size: 14px;\\\"\\u003e\\u0026nbsp;\\u003c/span\\u003e\\u003ca target=\\\"_blank\\\" href=\\\"https://github.com/songjiangfeng\\\" style=\\\"background-color: white; font-family: -apple-system, BlinkMacSystemFont, \\u0026quot;Segoe UI\\u0026quot;, \\u0026quot;PingFang SC\\u0026quot;, \\u0026quot;Hiragino Sans GB\\u0026quot;, \\u0026quot;Microsoft YaHei\\u0026quot;, \\u0026quot;Helvetica Neue\\u0026quot;, Helvetica, Arial, sans-serif, \\u0026quot;Apple Color Emoji\\u0026quot;, \\u0026quot;Segoe UI Emoji\\u0026quot;, \\u0026quot;Segoe UI Symbol\\u0026quot;; font-size: 14px;\\\"\\u003eGithub\\u003c/a\\u003e\\u003cbr\\u003e\\u003c/h2\\u003e\"],\"id\":[\"6\"],\"slug\":[\"about \"],\"title\":[\"关于\"]}','2021-09-18 11:55:46','2021-09-18 11:55:46'),(1565,1,'/admin/info/pages','GET','125.69.45.136','','2021-09-18 11:55:47','2021-09-18 11:55:47'),(1566,1,'/admin/application/info','GET','125.69.45.136','','2021-09-18 11:55:48','2021-09-18 11:55:48'),(1567,1,'/admin','GET','125.69.45.136','','2021-09-18 11:55:56','2021-09-18 11:55:56'),(1568,1,'/admin','GET','125.69.45.136','','2021-09-18 11:55:59','2021-09-18 11:55:59'),(1569,1,'/admin/info/manager','GET','125.69.45.136','','2021-09-18 11:56:01','2021-09-18 11:56:01'),(1570,1,'/admin/info/manager','GET','125.69.45.136','','2021-09-18 12:39:37','2021-09-18 12:39:37'),(1571,1,'/admin/plugins','GET','125.69.45.136','','2021-09-18 12:40:22','2021-09-18 12:40:22'),(1572,1,'/admin','GET','125.69.45.136','','2021-09-18 12:40:27','2021-09-18 12:40:27'),(1573,1,'/admin/info/manager','GET','125.69.45.136','','2021-09-18 12:40:30','2021-09-18 12:40:30'),(1574,1,'/admin/info/roles','GET','125.69.45.136','','2021-09-18 12:40:31','2021-09-18 12:40:31'),(1575,1,'/admin/info/permission','GET','125.69.45.136','','2021-09-18 12:40:33','2021-09-18 12:40:33');
/*!40000 ALTER TABLE `goadmin_operation_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `goadmin_permissions`
--
DROP TABLE IF EXISTS `goadmin_permissions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_permissions` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`http_method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`http_path` text COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`),
UNIQUE KEY `admin_permissions_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_permissions`
--
LOCK TABLES `goadmin_permissions` WRITE;
/*!40000 ALTER TABLE `goadmin_permissions` DISABLE KEYS */;
INSERT INTO `goadmin_permissions` VALUES (1,'All permission','*','','*','2019-09-09 16:00:00','2019-09-09 16:00:00'),(2,'Dashboard','dashboard','GET,PUT,POST,DELETE','/','2019-09-09 16:00:00','2019-09-09 16:00:00');
/*!40000 ALTER TABLE `goadmin_permissions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `goadmin_role_menu`
--
DROP TABLE IF EXISTS `goadmin_role_menu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_role_menu` (
`role_id` int(11) unsigned NOT NULL,
`menu_id` int(11) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
KEY `admin_role_menu_role_id_menu_id_index` (`role_id`,`menu_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_role_menu`
--
LOCK TABLES `goadmin_role_menu` WRITE;
/*!40000 ALTER TABLE `goadmin_role_menu` DISABLE KEYS */;
INSERT INTO `goadmin_role_menu` VALUES (1,9,'2021-09-12 14:15:18','2021-09-12 14:15:18'),(2,9,'2021-09-12 14:15:18','2021-09-12 14:15:18'),(1,10,'2021-09-12 14:15:50','2021-09-12 14:15:50'),(2,10,'2021-09-12 14:15:50','2021-09-12 14:15:50'),(1,7,'2021-09-13 11:37:03','2021-09-13 11:37:03'),(2,7,'2021-09-13 11:37:03','2021-09-13 11:37:03'),(1,12,'2021-09-15 11:55:39','2021-09-15 11:55:39'),(2,12,'2021-09-15 11:55:39','2021-09-15 11:55:39'),(1,15,'2021-09-15 12:03:59','2021-09-15 12:03:59'),(2,15,'2021-09-15 12:03:59','2021-09-15 12:03:59'),(1,13,'2021-09-15 12:04:33','2021-09-15 12:04:33'),(2,13,'2021-09-15 12:04:33','2021-09-15 12:04:33'),(1,16,'2021-09-15 12:04:38','2021-09-15 12:04:38'),(2,16,'2021-09-15 12:04:38','2021-09-15 12:04:38'),(1,14,'2021-09-15 12:05:05','2021-09-15 12:05:05'),(2,14,'2021-09-15 12:05:05','2021-09-15 12:05:05'),(1,8,'2021-09-15 12:05:11','2021-09-15 12:05:11'),(2,8,'2021-09-15 12:05:11','2021-09-15 12:05:11'),(1,11,'2021-09-15 12:05:17','2021-09-15 12:05:17'),(2,11,'2021-09-15 12:05:17','2021-09-15 12:05:17'),(1,1,'2021-09-15 12:06:11','2021-09-15 12:06:11'),(1,18,'2021-09-15 12:25:16','2021-09-15 12:25:16'),(2,18,'2021-09-15 12:25:16','2021-09-15 12:25:16'),(1,17,'2021-09-15 12:25:36','2021-09-15 12:25:36'),(2,17,'2021-09-15 12:25:36','2021-09-15 12:25:36'),(1,19,'2021-09-15 12:26:19','2021-09-15 12:26:19'),(2,19,'2021-09-15 12:26:19','2021-09-15 12:26:19'),(1,20,'2021-09-18 11:46:48','2021-09-18 11:46:48'),(2,20,'2021-09-18 11:46:48','2021-09-18 11:46:48');
/*!40000 ALTER TABLE `goadmin_role_menu` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `goadmin_role_permissions`
--
DROP TABLE IF EXISTS `goadmin_role_permissions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_role_permissions` (
`role_id` int(11) unsigned NOT NULL,
`permission_id` int(11) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
UNIQUE KEY `admin_role_permissions` (`role_id`,`permission_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_role_permissions`
--
LOCK TABLES `goadmin_role_permissions` WRITE;
/*!40000 ALTER TABLE `goadmin_role_permissions` DISABLE KEYS */;
INSERT INTO `goadmin_role_permissions` VALUES (1,1,'2019-09-09 16:00:00','2019-09-09 16:00:00'),(1,2,'2019-09-09 16:00:00','2019-09-09 16:00:00'),(2,2,'2019-09-09 16:00:00','2019-09-09 16:00:00');
/*!40000 ALTER TABLE `goadmin_role_permissions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `goadmin_role_users`
--
DROP TABLE IF EXISTS `goadmin_role_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_role_users` (
`role_id` int(11) unsigned NOT NULL,
`user_id` int(11) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
UNIQUE KEY `admin_user_roles` (`role_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_role_users`
--
LOCK TABLES `goadmin_role_users` WRITE;
/*!40000 ALTER TABLE `goadmin_role_users` DISABLE KEYS */;
INSERT INTO `goadmin_role_users` VALUES (1,1,'2021-09-16 06:26:57','2021-09-16 06:26:57'),(1,3,'2021-09-12 15:16:22','2021-09-12 15:16:22'),(2,2,'2019-09-09 16:00:00','2019-09-09 16:00:00');
/*!40000 ALTER TABLE `goadmin_role_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `goadmin_roles`
--
DROP TABLE IF EXISTS `goadmin_roles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_roles` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`),
UNIQUE KEY `admin_roles_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_roles`
--
LOCK TABLES `goadmin_roles` WRITE;
/*!40000 ALTER TABLE `goadmin_roles` DISABLE KEYS */;
INSERT INTO `goadmin_roles` VALUES (1,'Administrator','administrator','2019-09-09 16:00:00','2019-09-09 16:00:00'),(2,'Operator','operator','2019-09-09 16:00:00','2019-09-09 16:00:00');
/*!40000 ALTER TABLE `goadmin_roles` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `goadmin_session`
--
DROP TABLE IF EXISTS `goadmin_session`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_session` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`sid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`values` varchar(3000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_session`
--
LOCK TABLES `goadmin_session` WRITE;
/*!40000 ALTER TABLE `goadmin_session` DISABLE KEYS */;
INSERT INTO `goadmin_session` VALUES (27,'57c634c8-d14b-4efb-9192-6a7748e77c16','__csrf_token__','2021-09-18 11:46:23','2021-09-18 11:46:23'),(29,'8471178e-edab-402a-90f1-eb82f0898665','__csrf_token__','2021-09-18 11:46:48','2021-09-18 11:46:48'),(30,'efff9790-2483-4b54-86f9-dd4c37a0594d','__csrf_token__','2021-09-18 11:46:49','2021-09-18 11:46:49'),(32,'a4bc738e-6e0a-447d-9523-579b51132182','__csrf_token__','2021-09-18 11:49:57','2021-09-18 11:49:57'),(33,'6d0c8edd-9c59-41e2-878d-c17c78079ec8','__csrf_token__','2021-09-18 11:50:09','2021-09-18 11:50:09'),(34,'65215a6f-e0a4-4ccd-a828-209537d03bb9','__csrf_token__','2021-09-18 11:50:49','2021-09-18 11:50:49'),(35,'46a40ceb-5f1f-41b7-bf37-948633c8447f','__csrf_token__','2021-09-18 11:50:56','2021-09-18 11:50:56'),(36,'02f1c3d7-6ee9-4f71-916c-0ba53d551588','__csrf_token__','2021-09-18 11:50:59','2021-09-18 11:50:59'),(37,'89baf25f-3792-4316-b37e-725dea8e8a54','__csrf_token__','2021-09-18 11:51:15','2021-09-18 11:51:15'),(38,'6910a10e-8d17-4d01-893f-c04349ea949d','__csrf_token__','2021-09-18 11:51:25','2021-09-18 11:51:25'),(42,'5d034a50-785e-4710-8202-47c2c36b5d39','{\"user_id\":1}','2021-09-18 12:39:36','2021-09-18 12:39:36');
/*!40000 ALTER TABLE `goadmin_session` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `goadmin_site`
--
DROP TABLE IF EXISTS `goadmin_site`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_site` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`key` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` varchar(3000) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`state` tinyint(3) unsigned NOT NULL DEFAULT 0,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=71 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_site`
--
LOCK TABLES `goadmin_site` WRITE;
/*!40000 ALTER TABLE `goadmin_site` DISABLE KEYS */;
INSERT INTO `goadmin_site` VALUES (1,'login_url','/login',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(2,'hide_config_center_entrance','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(3,'hide_tool_entrance','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(4,'env','prod',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(5,'access_assets_log_off','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(6,'logger_rotate_max_backups','5',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(7,'logger_encoder_level_key','level',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(8,'logger_encoder_stacktrace_key','stacktrace',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(9,'asset_url','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(10,'custom_403_html','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(11,'animation_type','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(12,'language','zh',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(13,'theme','sword',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(14,'title','Iris 博客管理系统',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(15,'logger_encoder_caller_key','caller',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(16,'animation_delay','0.00',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(17,'sql_log','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(18,'custom_404_html','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(19,'login_title','Iris 博客管理系统',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(20,'auth_user_table','goadmin_users',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(21,'mini_logo','<b>G</b>A',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(22,'site_off','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(23,'logger_encoder_time_key','ts',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(24,'logger_encoder_level','capitalColor',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(25,'logger_level','0',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(26,'animation_duration','0.00',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(27,'logger_rotate_max_age','30',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(28,'logger_encoder_encoding','console',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(29,'custom_head_html','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(30,'logo','<b>Go</b>Admin',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(31,'info_log_path','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(32,'custom_500_html','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(33,'footer_info','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(34,'extra','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(35,'databases','{\"default\":{\"host\":\"127.0.0.1\",\"port\":\"3306\",\"user\":\"root\",\"pwd\":\"root\",\"name\":\"go_admin\",\"max_idle_con\":50,\"max_open_con\":150,\"driver\":\"mysql\"}}',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(36,'login_logo','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(37,'store','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(38,'logger_encoder_time','iso8601',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(39,'logger_encoder_duration','string',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(40,'color_scheme','skin-black',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(41,'no_limit_login_ip','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(42,'info_log_off','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(43,'session_life_time','7200',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(44,'hide_app_info_entrance','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(45,'file_upload_engine','{\"name\":\"local\"}',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(46,'index_url','/',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(47,'access_log_path','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(48,'logger_encoder_caller','full',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(49,'error_log_path','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(50,'logger_rotate_max_size','10',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(51,'logger_encoder_message_key','msg',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(52,'custom_foot_html','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(53,'url_prefix','admin',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(54,'logger_encoder_name_key','logger',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(55,'domain','',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(56,'debug','true',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(57,'access_log_off','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(58,'error_log_off','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(59,'logger_rotate_compress','false',NULL,1,'2021-09-11 10:08:20','2021-09-11 10:08:20'),(60,'prohibit_config_modification','false',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34'),(61,'bootstrap_file_path','',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34'),(62,'operation_log_off','false',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34'),(63,'exclude_theme_components','null',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34'),(64,'app_id','5vC07DriverNAi1lW',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34'),(65,'hide_visitor_user_center_entrance','false',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34'),(66,'go_mod_file_path','',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34'),(67,'open_admin_api','false',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34'),(68,'allow_del_operation_log','false',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34'),(69,'hide_plugin_entrance','false',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34'),(70,'asset_root_path','./public/',NULL,1,'2021-09-18 11:42:34','2021-09-18 11:42:34');
/*!40000 ALTER TABLE `goadmin_site` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `goadmin_user_permissions`
--
DROP TABLE IF EXISTS `goadmin_user_permissions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_user_permissions` (
`user_id` int(11) unsigned NOT NULL,
`permission_id` int(11) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
UNIQUE KEY `admin_user_permissions` (`user_id`,`permission_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_user_permissions`
--
LOCK TABLES `goadmin_user_permissions` WRITE;
/*!40000 ALTER TABLE `goadmin_user_permissions` DISABLE KEYS */;
INSERT INTO `goadmin_user_permissions` VALUES (1,1,'2021-09-16 06:26:57','2021-09-16 06:26:57'),(2,2,'2019-09-09 16:00:00','2019-09-09 16:00:00'),(3,1,'2021-09-12 15:16:22','2021-09-12 15:16:22');
/*!40000 ALTER TABLE `goadmin_user_permissions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `goadmin_users`
--
DROP TABLE IF EXISTS `goadmin_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `goadmin_users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`avatar` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`),
UNIQUE KEY `admin_users_username_unique` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `goadmin_users`
--
LOCK TABLES `goadmin_users` WRITE;
/*!40000 ALTER TABLE `goadmin_users` DISABLE KEYS */;
INSERT INTO `goadmin_users` VALUES (1,'admin','$2a$10$P6UOFm2ek33UQnkWzZyN9u2IUspD00O5GtDAYIayRPev30BbsGASm','admin','','tlNcBVK9AvfYH7WEnwB1RKvocJu8FfRy4um3DJtwdHuJy0dwFsLOgAc0xUfh','2019-09-09 16:00:00','2021-09-16 06:26:57'),(2,'operator','$2a$10$rVqkOzHjN2MdlEprRflb1eGP0oZXuSrbJLOmJagFsCd81YZm0bsh.','Operator','',NULL,'2019-09-09 16:00:00','2019-09-09 16:00:00'),(3,'sam','$2a$10$p2E/0YX32njVCM3l84bDn.6VABsreBCZMPFc4QbFDA3B4oXwsYGQS','sam','',NULL,'2021-09-11 10:37:21','2021-09-12 15:16:22');
/*!40000 ALTER TABLE `goadmin_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `iris_menus`
--
DROP TABLE IF EXISTS `iris_menus`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `iris_menus` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`path` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `iris_menus`
--
LOCK TABLES `iris_menus` WRITE;
/*!40000 ALTER TABLE `iris_menus` DISABLE KEYS */;
INSERT INTO `iris_menus` VALUES (1,'首页','/'),(2,'博客','/blog'),(3,'标签','/tag'),(4,'关于','/about'),(5,'赞助','/donate');
/*!40000 ALTER TABLE `iris_menus` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `iris_pages`
--
DROP TABLE IF EXISTS `iris_pages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `iris_pages` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`content` longtext NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`slug` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `iris_pages`
--
LOCK TABLES `iris_pages` WRITE;
/*!40000 ALTER TABLE `iris_pages` DISABLE KEYS */;
INSERT INTO `iris_pages` VALUES (5,'赞助','<p><img src=\"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgFBgcGBQgHBgcJCAgJDBMMDAsLDBgREg4THBgdHRsYGxofIywlHyEqIRobJjQnKi4vMTIxHiU2OjYwOiwwMTD/2wBDAQgJCQwKDBcMDBcwIBsgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDD/wAARCAVEBJIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3aiiimIKKKKACiiigAooooAKKKKACiiigAopKKAFopKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAXNGaSigBc0ZpKKAFoozRmgAoozRmgAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAM0ZpKKAFzRmkooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACijNGaACijNGaACiiigAooooAWikooAWiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooASiiigAooooAKKKKACiiigAooooAKKKKACikooAWikooAWikooAWikooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigBaKSigBaKM0ZoAKKM0ZoAKKKKACiiigAooooAKKKKAFopKKAFooooAKKKKACiiigAooooAKKKKAEooooAKKKKACiiigAooooAM0ZpKKAFzRmkooAXNGaSigAooooAKKKKACikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikooAWikoo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VvBaHxOcVXLEuL+ykhKKDRVnjhRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABXZ/DXUCtxcWD/cZfOX2IwD/MflXGVu+BHK+J7YfwsHBHqNpP9KmS0O/Lqjp4mDXV2+89TopBRXOffi0UUUAFLSUtABRRRQAUUUUAFFFFABRRRQAUUUUAJRRRQAlFFFACZNITRQaAOJ+J/XTf+2v/ALJXE123xP66b/21/wDZK4mt6ex8Hm3++T+X5CGig0VZ5oUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFLg0AJRS4NGDQAlFFGKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAD0rb8Ef8jNZ/8D/9FtWIelbfgj/kZ7P/ALaf+i2qZbHXg/48PVfmepg0tNpRXOfoYopaQUtABRRRQAtFFFABRRRQAUUUUAFFFFACUUUUAFFFFACUUUHpQA2iiigDifif103/ALa/+yVxNdt8T+um/wDbX/2SuJrensfB5t/vk/l+QhooNFWeaFFFFABRRRQAqrvKqv8AFwAK6DTvB+oXKh5ylqp7Py35D+prR8Kafb6dpr6xfr8wG6PP8K9Mj3Pb/wCvWPq3iS+1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AkMX3/XxJ/wChGqRpzuzsXkYuxYkknJJPUk02mcNWSlNyXUKKKKZmFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVt+Cf+Rns/wDgf/oDViVt+Cf+Rns/+B/+gNUy2OnCfx4eqPThSikFKK5z9FFooooAUUo60gpR1oAdS0lLQAUUUUALRRRQAd6Q0vekNAAKSlFJQAjUnalak7UAN70Ud6KAEoPSig9KAOK+JfTTvrJ/7JXF12nxL6ad9ZP/AGSuLrensfB5r/vc/wCuiENFBoqzzQooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAM0UUUAFFFFABRRRQAUUUUAFLk0lFAATmiiigAooooAM0UUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFbfgn/kZ7P/gf/oDViVt+Cf8AkZ7P/gf/AKA1TLY6cJ/Hh6o9PFKKQUornP0UKKKKAFFKOtIKUdaAHUtJS0AFFFFAC0UUUAHekNL3pDQACkpRSUAI1J2pWpO1ADe9FHeigBKD0ooPSgDiviX0076yf+yVxddp8S+mnfWT/wBkri63p7Hwea/73P8ArohDRQaKs80KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi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UUlACNSdqVqTtQA3vRR3ooASg9KKD0oA4r4l9NO+sn/slcXXafEvpp31k/wDZK4ut6ex8Hmv+9z/rohDRQaKs80KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKBQAVueC9PGo69CkgzFEDK4+nQfmR+FYnau3+FiKZ79/RYwPp83+FRJndl9NVcTCL7/kehAcUtIOlLXOfoIhqG8JW2kKnBCk1Nmq+oOkdnM8jBEVGLMewxyaaJl8LPM9O1TzrYNe69fQyZPyorMMduas/wBoW3/Qy6j/AN+mp/h9pYdMUWXiOGyjJJ8qaKMMDnnq2asWOpXt48wXxTFF5TbMy28QDH1Xnke9bWPl4Sk4xTbu/wCv5kafw9vJ7m3vvOuZblEmwjSE5xj3rQ1vxPY6NdJBd+YWddwKLnuf8Kq+Dba3sGuYhqdvezTyGYiMgH34BNbGp6jZaZEst7KIlY7VJycn04rN2uezQc44dXkk11epxXijxZaahYqthJcw3EUgdTjAOOxwfx/CtWHx9pflLvjuN+OQEH+NQ+Ltf0u+8P3MFpco8z7MLg8/OpPb0Bq1ofiPR7fSLOGa8jEkcKKwweCFHHSr0tsccas/bte1W3bT89zT0HX7XW/O+yLIvk7d29cdc4/lWvk1UsL21vrcT2UgkjbowBH86tLWbPYptuKu7j6MUCioNTz74naaqvb6jEvzMfJk9/Q/zH4iuFr1f4hIG8MXDHqjIR9d4H9a8oPU10Qd0fE5xTVPE3XVXCiiitDxgooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK2/BP/ACM9n/wP/wBAasStvwT/AMjPZ/8AA/8A0BqmWx04T+PT9UenClFIKUVzn6KLRRRQAopR1pBSjrQA6lpKWgAooooAWiiigA70hpe9IaAAUlKKSgBGpO1K1J2oAb3oo70UAJQelFB6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ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACtvwT/wAjPZ/8D/8AQGrErb8E/wDIz2f/AAP/ANAaplsdOE/j0/VHp4pRSClFc5+ihRRRQAopR1pBSjrQA6lpKWgAooooAWiiigA70hpe9IaAAUlKKSgBGpO1K1J2oAb3oo70UAJQelFB6UAcV8S+mnfWT/2SuLrtPiX0076yf+yVxdb09j4PNf8Ae5/10QhooNFWeaFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFbfgn/AJGez/4H/wCgNWJW34J/5Gez/wCB/wDoDVMtjpwn8en6o9OFKKQUornP0UWiiigBRSjrSClHWgB1LSUtABRRRQAtFFFAB3pDS96Q0AApKUUlACNSdqVqTtQA3vRR3ooASg9KKD0oA4r4l9NO+sn/ALJXF12nxL6ad9ZP/ZK4ut6ex8Hmv+9z/rohDRQaKs80KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK2/BP/Iz2f8AwP8A9AasStvwT/yM9n/wP/0BqmWx04T+PT9UenilFIKUVzn6KFFFFACilHWkFKOtADqWkpaACiiigBaKKKADvSGl70hoABSUopKAEak7UrUnagBveijvRQAlB6UUHpQBxXxL6ad9ZP8A2SuLrtPiX0076yf+yVxdb09j4PNf97n/AF0QhooNFWeaFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFbfgn/kZ7P8A4H/6A1Ylbfgn/kZ7P/gf/oDVMtjpwn8en6o9OFKKQUornP0UWiiigBRSjrSClHWgB1LSUtABRRRQAtFFFAB3pDS96Q0AApKUUlACNSdqVqTtQA3vRR3ooASg9KKD0oA4r4l9NO+sn/slcXXafEvpp31k/wDZK4ut6ex8Hmv+9z/rohDRQaKs80KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiijFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVt+Cf+Rns/wDgf/oDViVt+Cf+Rns/+B/+gNUy2OnCfx6fqj08Uop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iiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACobr/Uv+H86mqG6/1L/h/OgCmvSlFIvSlFMQtFFFACilHWkFKOtADqWkpaACiiigBaKKKADvSGl70hoABSUopKAEak7UrUnagBveijvRQAlFFFAFiz6P+FWarWfR/wAKs0hhRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVDdf6l/w/nU1Q3X+pf8P50AU16UopF6UopiFooooAUUo60gpR1oAdS0lLQAUUUUALRRRQAd6Q0vekNAAKSlFJQAjUnalak7UAN70Ud6KAEooooAsWfR/wAKs1Ws+j/hVmkMKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACobr/Uv+H86mqG6/wBS/wCH86AKa9KUUi9KU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M56D1oA6f8A4WN4q/6E25/79S//ABNdf4I1zUdesJ7jVdLfTZY5dixsGBYYBz8wHrXE/wDCUfEr/oX0/wDAV/8A4qrWj+IvH82r2cN/oqw2ssyLM/2ZhsQsATndxxQB0/jTxrY+E1t1vLe4mkuQxjEQGOMZySRjrXk2n/8ACReIvFd1rPhqzmt5Z5HIl4KxBhtPzkBc4/H0r3HUdJ0/U3hfULOG6a3JMXmoGCk4zwfoKtxoEAVVCqBgKBgCgDx248T6n4XsJPDllcNqWuzzsZrgBn8tmA+Vd3Lv74wPftn+LPCH/CO+B7e8v8yapeXqGVic+WuyQ7M9znknufpXrl5otnHqN1rltYxNqpgKJI4JyQDt49egJHOOK8o8Wax4s8YWdvp83h2eBVmEnyQScnBAyTwByaALniTQrq28N+HfFmihhdWdnbidk64CDa5HcD7p9sdga9D8GeKbPxTpouLciO4TAngzzG39VPY1f0Gwe08OWGn3YRmgtY4JAOVJCBSPcVmeGfBmmeG9RvbyxBaS7OFD/wDLJOuxfbPc9sDtyAdNRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVDdf6l/w/nU1Q3X+pf8P50AVKKKKYhaKKKAFFKOtIKUdaAHUtJS0AFFFFAC0UUUAHekNL3pDQACkpRSUAIetIetKetIetADT1ooPWigBKKKKALFn0f8Ks1Ws+j/AIVZpDCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAqG6/1L/h/Opqhuv9S/4fzoAqUUUUxC0UUUAKKUdaQUo60AOpaSloAQU4U0U4UAFFFFABSUtJQAUGig0AI3Sm9qc3Sm9qAEpKWkoAKSlpKALFn0f8Ks1Ws+j/AIVZpDCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAqG6/1L/h/Opqhuv9S/4fzoAqUUUUxC0tJS0AKKF60CgdaAHd6WkpaACiiigBaKKKACkpaSgAoNFBoARulN7U5ulN7UAJSUtJQAUUUUAT2nR/wqzVa0/j/CrNIYUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFQ3X+pf8AD+dTVDdf6l/w/nQBUpaSlpiDvS0lLQAd6UdaQU4UAKOaWkWlHWgAooooAWiiigAoNFBoASiiigBKQ8GlNIelADTRS0lACUUUUAT2n8X4VZqtafxfhVmkMKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACorn/UN+H86lqK5/1Dfh/OgCn3paTvS0xC96UUnelFAAOtOpo606gBaKKKAClpKWgAooooAKDRQaAEooooADSGlpKAG0lOPWkNADaKKKAJ7Xq34VZ71WtOrVZpDCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAqK5/1Lfh/OpahuT+7NAFWiiimIWlpKWgBR1pwpo604UAFFFFABS0lLQAUUUUAFFFFAAaSlNJQAUlLSGgBD0pKdTaAA00040hoAWNyjAirqsGGRVCpIpSh56UhlyimLIrdDTqAFooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACik6U0yAUAPqrcPubA6CiWfPyrwPWoqAEopaKYgpR1pKUdaAHUtJS0AFFFFAC0UUUAFFFFABRRRQAGkpTSUAFFKaSgBKKDRQA2iiigBpooooAKTn1p1JQAZ96M+9JRQAZ96M+9FFACZ96M+9FFABn3pM+9LRQA3HuaX8TS4ppFAB+Jo/E0uKMUAM/E0fiadto20AN/E0fiadto20ANyfejJ96fj6UY+lADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKfgUYFADKKcRSHrQAmKWlwKMCgBBThRRQAmD60YNOxRigBuDRg+tOxRigA5o5oooAXmjmiigA5o5oooAXmkxS0UAFAooFADqKKKACgU6igBaKKKACiiigBaKKKACiiigAooooAKKKKAA0lKaSgBKKKKACmmnUGgBtFFFADTRRRQAUUUUAFIaWigBKKKKAEopaKAEooooAKKKKAEopaKAEopaKAExRilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASjFLRQAlFLRQAUUUUAFFFFABRRRQAUtFFABRRRQAtFFFABRS4ooAKKKKAFpe1GKXtQAUtJ3paACiiigBaKKKACiiigAooooAKKKKACiiigAooooASiiigBKKKKAAim06igBtFB60UAJRRRQAlFLikoAKTFLRQAlFLRQAlFLRQAlFFFABRRRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAJijFLRQAmKMUtFACYoxS0UAGKMUtFABijFFFABijFFFABiiiigAopaKACjFLRQAUUUoFAC0UtBoATvS0HrRQAUtJS0AFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFACUUUUAJRRRQA3rRinYooAbiinUmKAEooooASkxTsUYoAbRS0UAJRS0UAJRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFLRQAlFLRQAUUuKKADFGKUZoz7UAJSgUAU6gBKKWigAooooAKKKKAFooooAKKKKACiiigAopaKACiiigBKKKKACiiigAooooATFGKdijFADaKKKACiiigBMUUUUAJijFOxRigBlFOooAZijFOxRigBuKMU7FGKAEooooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooASilooAKKKMUAFFOooATJ9KUUUUAFGKWigAooooAKKKKAFxRiiigAxRiiigAooooAKKKKAClpKWgAooooAKKKKAEooooAKKKKACiiigAooooAKSiigAooooAKSiigApaKKACiiigApKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACloooAKKKKACiiigBKWiigAooooAKWiigAooooAKKKKACiiigAooooAWiiigAooooA//9mxUufjAAAAAA==\"><br></p>','2021-09-18 11:49:32','2021-09-18 11:49:32','donate'),(6,'关于','<h2><span style=\"font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px;\">服务端工程师</span><span style=\"font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px;\"> </span><a target=\"_blank\" href=\"https://github.com/songjiangfeng\" style=\"background-color: white; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px;\">Github</a><br></h2>','2021-09-18 11:55:15','2021-09-18 11:55:15','about ');
/*!40000 ALTER TABLE `iris_pages` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `iris_posts`
--
DROP TABLE IF EXISTS `iris_posts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `iris_posts` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`content` longtext NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`views` bigint(20) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `iris_posts`
--
LOCK TABLES `iris_posts` WRITE;
/*!40000 ALTER TABLE `iris_posts` DISABLE KEYS */;
INSERT INTO `iris_posts` VALUES (1,'阿里云突发性能实例 t5使用体验','<!-- wp:heading -->\n<h2>动机</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>为什么要买一台阿里云的服务器?</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>国外服务器网速慢,被墙</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>腾讯云,阿里云,京东云相比之下阿里云的产品体验更棒</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><a href=\"https://www.aliyun.com/acts/hi618/group-share?ptCode=300CDE08B8E4FA8FD512CF3B806CAC30B04E6877A28E084E\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"(在新窗口打开)\">618活动有优惠</a></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>配置</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>实例: 1核 1GBI/O</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p> 优化实例: I/O 优化实例</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>系统盘: 高效云盘/dev/xvda40GB</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>带宽: 1Mbps按固定带宽</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>CPU: 1核可用区: </p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>华北 2 可用区 F</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>操作系统: </p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>内存: 1GB</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>地域: 华北 1,华北 2,华北 3,华北 5,华东 1,华东 2,华南 1,</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>香港网络类型: 专有网络云盾: 是</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>费用</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>购买了3年 1核 1Gib 1Mbps 费用660RMB, 220RMB/年,一天不到1块钱。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>体验</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>购买服务器之后,先后搭建了负载均衡实例和购买了弹性Eip。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>负载均衡内网部署,弹性Eip走外网,可开通共享流量包这样所有的带宽只走一份,其他网络都走内网,可以最大节省带宽指出</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>我的博客已经跑在这个入门级的ECS T5实例上了。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>是否推荐购买</h2>\n<!-- /wp:heading -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>个人用户研究和体验阿里云产品,可以推荐购买。</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>CPU限制导致系统负载较高,但是勉强够用</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>企业用户不推荐购买,</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>通用型 g5 ecs.g5.large2 vCPU8 GiBIntel Xeon(Skylake) Platinum 81632.5 GHz1 Gbps30 万 PPS是0.89 元/时 可以满足中小企业的基本需求。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>总结</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>现在云产品众多,有阿里云,京东云,百度云,七牛云,腾讯云,价格也是良莠不齐,个人推荐使用阿里云,无论是产品体验和用户体验是比较领先的。</p>\n<!-- /wp:paragraph -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(2,'Drupal,WordPress,还是laravel','<!-- wp:paragraph -->\n<p>如果你想要搭建一个自己的网站或者帮企业搭建网站,应该选择什么样的工具呢?</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>想要建设一个网站,最快的方法是找到一套简单易用的软件。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><a rel=\"noreferrer noopener\" aria-label=\"WordPress(在新窗口打开)\" href=\"https://wordpress.org/\" target=\"_blank\">WordPress</a>和<a rel=\"noreferrer noopener\" aria-label=\"Drupal(在新窗口打开)\" href=\"http://drupal.org\" target=\"_blank\">Drupal</a>都是非常流行的CMS网站内容管理系统,能够有效解决你的问题。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>场景一</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>如果你想搭建一个博客或者是简单的企业品牌网站,<a rel=\"noreferrer noopener\" aria-label=\"WordPress(在新窗口打开)\" href=\"https://wordpress.org/\" target=\"_blank\">WordPress</a>是一个很好的选择和推荐</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>WordPress的优势</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:list -->\n<ul><li> 免费开源跨平台,零成本</li><li>上手简单</li><li>设计和体验出色,有很多主题可以选择。</li></ul>\n<!-- /wp:list -->\n\n<!-- wp:paragraph -->\n<p>WordPress的劣势</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:list -->\n<ul><li>扩展不太方便</li><li>插件大部分需要收费</li></ul>\n<!-- /wp:list -->\n\n<!-- wp:heading -->\n<h2>场景二</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>如果你想搭建一个功能强大的网站,可能是电商或者是在线平台,那么 <a rel=\"noreferrer noopener\" aria-label=\"Drupal(在新窗口打开)\" href=\"http://drupal.org/\" target=\"_blank\">Drupal</a> 可能是一个更好的选择,当然 <a rel=\"noreferrer noopener\" href=\"https://wordpress.org/\" target=\"_blank\">WordPress</a> 也能实现这样的想法,但需要额外付费购买相应的插件来扩展所需要的功能。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Drupal的优势</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:list -->\n<ul><li> 免费开源跨平台, 零成本 </li><li> 功能强大 </li><li>方便扩展</li></ul>\n<!-- /wp:list -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p> Drupal的劣势 </p>\n<!-- /wp:paragraph -->\n\n<!-- wp:list -->\n<ul><li>上手比较复杂</li><li>设计体验相比WordPress要差一点</li></ul>\n<!-- /wp:list -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>场景三</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>如果你想搭建一个更加定制的网站或者系统,可能<a rel=\"noreferrer noopener\" href=\"http://drupal.org/\" target=\"_blank\">Drupal</a> 或者<a rel=\"noreferrer noopener\" href=\"https://wordpress.org/\" target=\"_blank\">WordPress</a>都不是最好的选择。你可能只需要选择一款出色的框架。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>你也许会问,我难道不可以写原生的<a rel=\"noreferrer noopener\" aria-label=\"PHP(在新窗口打开)\" href=\"https://www.php.net/\" target=\"_blank\">PHP</a>页面么,如果你只是写一些简单的页面,像留言板等那或许这样会更好。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>但是现在的软件和系统越来越趋于复杂,可能选择一款合适的工具更能提高你的效率,节省的你时间,这样你有更多的时间去做自己爱做的事情。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>为什么我选择了WordPress</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>刚开始打算用Drupal,功能强大易扩展。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>但是部署Drupal8到阿里云上出现了一些意外么,没有部署成功。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>从日志里面可以看到问题的原因,但是尚未有有效方案解决。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>于是选择了WordPress去部署,这次我成功了,也就是你现在看到的这个<a href=\"https://www.phpman.cc\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"博客(在新窗口打开)\">博客</a>。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>当然Wordpress还是有很多优点的,上手简单设计优雅。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>可能将来会部署Drupal,如果有更多的功能需求的话,现在WordPress是一个比较不错的选择。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>总结</h2>\n<!-- /wp:heading -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>分享了这么多,你因该选择哪款工具呢?</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>其实适合自己的才是最好的,如果你熟悉<a rel=\"noreferrer noopener\" href=\"https://wordpress.org/\" target=\"_blank\">WordPress</a>就选择<a rel=\"noreferrer noopener\" href=\"https://wordpress.org/\" target=\"_blank\">WordPress</a>,熟悉<a rel=\"noreferrer noopener\" href=\"http://drupal.org/\" target=\"_blank\">Drupal</a>就选择 <a rel=\"noreferrer noopener\" href=\"http://drupal.org/\" target=\"_blank\">Drupal</a>,熟悉<a rel=\"noreferrer noopener\" aria-label=\"Laravel(在新窗口打开)\" href=\"https://laravel.com/\" target=\"_blank\">Laravel</a>就选择<a rel=\"noreferrer noopener\" href=\"https://laravel.com/\" target=\"_blank\">Laravel</a>,只要能快速帮助你实现你的想法这才是最重要的。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(3,'SSH 免密码登陆远程服务器','<!-- wp:heading -->\n<h2></h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>很多时候我们需要远程登陆服务器通过SSH</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>我们需要一些简单的步骤就可以实现免密码登陆</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>步骤</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4><code>cd ~/.ssh</code></h4>\n<!-- /wp:heading -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4><code>ssh-keygen -t rsa</code></h4>\n<!-- /wp:heading -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4><code>ssh-copy-id user@ip</code></h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>声明</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>user 登陆到远程服务器的用户名</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>ip 远程服务器IP公网地址</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>第一次设置需要输入密码</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>之后我们就可以 ssh user@ip到远程服务器了。</p>\n<!-- /wp:paragraph -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(4,'PHP-FPM 配置','<!-- wp:heading {\"level\":4} -->\n<h4>什么是<code>p<a href=\"https://php-fpm.org/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"hp-fpm(在新窗口打开)\">hp-fpm</a></code> </h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>php-fpm(fastcgi process manager)是一种可选的php fastcgi实现,具有一些对任何规模的站点,特别是更繁忙的站点都有用的附加功能。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p> 这些功能包括:</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol><li> 自适应进程生成(新!)</li><li> 基本统计(ala apache的mod_状态)(新!)</li><li> 先进的流程管理,优雅的停止/启动</li><li> 能够使用不同的uid/gid/chroot/environment和不同的php.ini启动工人(取代安全模式)</li><li> stdout和stderr日志记录</li><li> 操作码缓存意外破坏时紧急重启</li><li> 加速上传支持</li><li> 支持“SlowLog”</li><li> 对fastcgi的增强,例如fastcgi_finish_request()——一个完成请求和刷新所有数据的特殊功能,同时继续做一些耗时的事情(视频转换、统计处理等)。</li></ol>\n<!-- /wp:list -->\n\n<!-- wp:paragraph -->\n<p> ……还有更多。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p> 它的设计并没有考虑到虚拟主机(大量池),但是它可以适应任何使用模型。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>配置文件参数意义解析</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>配置文件例子 </strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">pm = dynamic<br>\npm.max_children = 2<br>\npm.start_servers = 1<br>\npm.min_spare_servers = 1<br>\npm.max_spare_servers = 2<br>\npm.max_requests = 1024</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p><strong>参数解释</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">pm 参数配置怎样的进程管理 这里有dynamic, static , ondemand \n\nstatic :固定子进程管理\n\ndynamic :子进程数的管理依赖于pm.max_children,pm.start_servers,pm.min_spare_servers,pm.max_spare_servers 这些指令;在这种模式下,至少有一个子进程\n\npm.max_children 同时存在的最大子进程数\n\npm.start_servers php-fpm启动时开始创建的子进程数\n\npm.min_spare_servers 最少空闲进程数,空闲进程数小于这个设定的值时,php-fpm会自动增加空闲进程\n\npm.max_spare_servers 最大空闲进程数,空闲进程数大于这个设定的值时,php-fpm会自动杀死多余空闲进程 \n\nondemand :php-fpm不会创建进程数,只有当请求连接时才会创建,这个需要通过pm.max_children和pm.process_idle_timeout 这两个指令来控制;\n\npm.max_children 同时存在的最大子进程数\n\npm.process_idle_timeout 多少秒后空闲进程会被杀死\n\n========================================================\n\n\n<code><em>#每个子进程在重启之前应该执行的请求数</em> </code>\n<code>pm.max_requests = 500 </code>\n\n<code><em>#设置一个超时时间,在超过该时间后会把php的调用栈的保存到文件里</em> </code>\n<code>request_slowlog_timeout = 10s </code>\n\n<code><em>#设置一个超时时时,当超过该时间后会杀死请求,这个会用于当出于一些原因php.ini中的max_execution_time这个指今设置的时间没有停止脚本时会用到目前这个指令;</em> </code>\n<code>request_terminate_timeout = 180s </code>\n\n<code><em>#捕捉工作进程的标准输出及标准错误输出放入主错误文件中;如果为no 调动这些输出会重定向到/dev/null;如果开启了这个,会在一定程序上使页面延迟;</em> </code>\n<code>catch_workers_output = yes </code>\n\n<code><em>#限制php-fpm会去解析的脚本扩展名,在安全考虑上尽量php-fpm去解析.php扩展的,其它的不要去解析</em> </code>\n<code>security.limit_extensions = .php .php3 .php4 .php5 .html .js .css .jpg .jpeg .gif .png .htm </code>\n\n<code><em>#开启错误显示</em> </code>\n<code>php_flag[display_errors] = on</code>\n\n<code><em>#开启错误日志</em> </code>\n<code>php_admin_flag[log_errors] = on </code>\n\n<code><em>#指定错误日志路径</em> </code>\n<code>php_admin_value[error_log] = /usr/local/php/var/log/php-php-error-log.log </code>\n\n<code><em>#限制了每个 PHP 进程的内存占用上限</em> </code>\n<code>php_admin_value[memory_limit] = 128M </code>\n\n\n</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p><strong>如何来配置PHP-FPM合理的子进程数</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>经验仅供参考,具体需要不断调优以适合你的服务器配置。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>假设你的服务器内存是1Gib即1000Mb,一个PHP-FPM占用的内存大概30Mb(平均)。那么你可以理论上开20个进程,也就意味着PHP-FPM占用总内存为20*30Mb=600M,内存占用百分比为60%。仅仅为理论值,要保证服务器其他进程占用总内内存百分比要小于40%,否则可能需要调整低于20个或者更低。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>以上场景仅仅是内存方面,未考虑CPU,磁盘,网络等等。所以可能pm.max_children会小于20或者更低。当我们设置合理的子进程数是其实要考虑多个方面,保证服务器的负载在一个合适的水平,这样才能最大程度发挥PHP-FPM的功力。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>总结</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>了解PHP-FPM的工作机制会让你更加深入的理解PHP是如何和Web服务器沟通的,大多数情况下会采用Linux,Nginx,Mysql,PHP。Nginx服务器和PHP如何沟通就需要PHP-FPM去管理。那就这些了,希望能帮到你。</p>\n<!-- /wp:paragraph -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(5,'利用Docker搭建LNMP环境','<!-- wp:heading {\"level\":4} -->\n<h4><strong>下载博主已经构建好的LNMP </strong><a rel=\"noreferrer noopener\" aria-label=\"Docker镜像下载(在新窗口打开)\" href=\"https://hub.docker.com/r/phpman/centos_lnmp\" target=\"_blank\"><strong>Docker镜像</strong></a></h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>很多时候我们需要部署开发环境,今天我来分享一下如何在Docker下面部署LNMP环境</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>开始</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>准备工作</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:list -->\n<ul><li>首先你需要注册一个<a rel=\"noreferrer noopener\" aria-label=\"Docker ID(在新窗口打开)\" href=\"https://hub.docker.com/signup\" target=\"_blank\">Docker ID</a></li><li>注册完成后去下载Docker Desktop 到你的电脑,选择Windows或者MAC<img class=\"wp-image-77\" style=\"width: 150px;\" src=\"https://www.phpman.cc/wp-content/uploads/2019/07/docker-step1.png\" alt=\"\"></li><li>安装完成后,你就可以打开终端执行docker命令了。</li></ul>\n<!-- /wp:list -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">docker\n\nUsage: docker [OPTIONS] COMMAND\n\nA self-sufficient runtime for containers\n\nOptions:\n --config string Location of client config files (default \"/Users/sam/.docker\")\n -D, --debug Enable debug mode\n -H, --host list Daemon socket(s) to connect to\n -l, --log-level string Set the logging level (\"debug\"|\"info\"|\"warn\"|\"error\"|\"fatal\") (default \"info\")\n --tls Use TLS; implied by --tlsverify\n --tlscacert string Trust certs signed only by this CA (default \"/Users/sam/.docker/ca.pem\")\n --tlscert string Path to TLS certificate file (default \"/Users/sam/.docker/cert.pem\")\n --tlskey string Path to TLS key file (default \"/Users/sam/.docker/key.pem\")\n --tlsverify Use TLS and verify the remote\n -v, --version Print version information and quit\n\nManagement Commands:\n builder Manage builds\n config Manage Docker configs\n container Manage containers\n image Manage images\n network Manage networks\n node Manage Swarm nodes\n plugin Manage plugins\n secret Manage Docker secrets\n service Manage services\n stack Manage Docker stacks\n swarm Manage Swarm\n system Manage Docker\n trust Manage trust on Docker images\n volume Manage volumes\n\nCommands:\n attach Attach local standard input, output, and error streams to a running container\n build Build an image from a Dockerfile\n commit Create a new image from a container\'s changes\n cp Copy files/folders between a container and the local filesystem\n create Create a new container\n diff Inspect changes to files or directories on a container\'s filesystem\n events Get real time events from the server\n exec Run a command in a running container\n export Export a container\'s filesystem as a tar archive\n history Show the history of an image\n images List images\n import Import the contents from a tarball to create a filesystem image\n info Display system-wide information\n inspect Return low-level information on Docker objects\n kill Kill one or more running containers\n load Load an image from a tar archive or STDIN\n login Log in to a Docker registry\n logout Log out from a Docker registry\n logs Fetch the logs of a container\n pause Pause all processes within one or more containers\n port List port mappings or a specific mapping for the container\n ps List containers\n pull Pull an image or a repository from a registry\n push Push an image or a repository to a registry\n rename Rename a container\n restart Restart one or more containers\n rm Remove one or more containers\n rmi Remove one or more images\n run Run a command in a new container\n save Save one or more images to a tar archive (streamed to STDOUT by default)\n search Search the Docker Hub for images\n start Start one or more stopped containers\n stats Display a live stream of container(s) resource usage statistics\n stop Stop one or more running containers\n tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE\n top Display the running processes of a container\n unpause Unpause all processes within one or more containers\n update Update configuration of one or more containers\n version Show the Docker version information\n wait Block until one or more containers stop, then print their exit codes\n\nRun \'docker COMMAND --help\' for more information on a command.</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p><strong>安装CentOS镜像</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">docker pull <imageID></pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p><strong>启动CentOS镜像</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">docker run -d -i -t <imageID> /bin/bash</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p><strong>进入镜像</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">docker attach <ContainerID></pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p><strong>安装Linux工具</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">yum install net-tools.x86_64</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">yum install wget</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">wget http://soft.vpser.net/lnmp/lnmp1.6.tar.gz -cO lnmp1.6.tar.gz && tar zxf lnmp1.6.tar.gz && cd lnmp1.6 && ./install.sh lnmp</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p><a rel=\"noreferrer noopener\" aria-label=\"Lnmp(在新窗口打开)\" href=\"https://lnmp.org/install.html\" target=\"_blank\">Lnmp</a>一键安装包介绍,<a href=\"https://lnmp.org/install.html\">https://lnmp.org/install.html</a></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>列出所有容器</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">docker ps</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p><strong>提交镜像</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">docker commit <ContainerID> phpman/centos_lnmp</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p><strong>登陆docker</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">docker login</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p>推送镜像到docker hub</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">docker push phpman/centos_lnmp</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p><strong>使用打包好的镜像</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:preformatted -->\n<pre class=\"wp-block-preformatted\">docker run -itd -p 80:80 -v ~/work:/home/wwwroot/ --privileged=true phpman/centos_lnmp:latest /bin/bash</pre>\n<!-- /wp:preformatted -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(6,'算法系列--冒泡排序','<!-- wp:heading {\"level\":4} -->\n<h4>定义</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>冒泡排序是用来排列一连串数字的算法</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>原理</h4>\n<!-- /wp:heading -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol><li>比较相邻的元素。如果第一个比第二个大,就交换他们两个。</li><li>对每一对相邻元素做同样的工作,从开始第一对到结尾的最后一对。在这一点,最后的元素应该会是最大的数。</li><li>针对所有的元素重复以上的步骤,除了最后一个。</li><li>持续每次对越来越少的元素重复上面的步骤,直到没有任何一对数字需要比较。</li></ol>\n<!-- /wp:list -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>PHP实现</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><a rel=\"noreferrer noopener\" aria-label=\"PHP沙盒环境(在新窗口打开)\" href=\"http://sandbox.onlinephpfunctions.com\" target=\"_blank\">PHP沙盒环境</a></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p> 拷贝代码到沙盒环境可以看到效果</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code>//PHP实现升序\nfunction bubble_asort(array $numbers = []){\n //获取数组元素个素总数 $n\n $n = count($numbers);\n //控制循环次数 $n-1\n for($j= 1; $j< $n; $j++){\n //控制元素坐标 $n-$j\n for($k = 0; $k < $n-$j; $k++){\n if($numbers[$k] > $numbers[$k + 1]){\n $temp = $numbers[$k];\n $numbers[$k] = $numbers[$k+1];\n //元素值大的往后排\n $numbers[$k+1] = $temp;\n }\n }\n }\n return $numbers;\n}\n\n//PHP实现降序\nfunction bubble_dsort(array $numbers = []){\n //获取数组元素个素总数 $n\n $n = count($numbers);\n //控制循环次数 $n-1\n for($j= 1; $j< $n; $j++){\n //控制元素坐标 $n-$j\n for($k = 0; $k < $n-$j; $k++){\n if($numbers[$k] < $numbers[$k + 1]){\n $temp = $numbers[$k];\n $numbers[$k] = $numbers[$k+1];\n //元素值小的往后排\n $numbers[$k+1] = $temp;\n }\n\n }\n }\n return $numbers;\n}\n\n//例子\n$numbers = [1,3,4,22,88,33,31,42];\nprint_r(bubble_asort($numbers));\nprint_r(bubble_dsort($numbers));\n\n//PHP内置函数实现\nsort($numbers,1);\nprint_r($numbers);\n\nrsort($numbers,1);\nprint_r($numbers);\n\n</code></pre>\n<!-- /wp:code -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(7,'算法系列-选择排序','<!-- wp:heading {\"level\":4} -->\n<h4>定义</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>选择排序是用来排列一连串数字的算法</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>原理</h4>\n<!-- /wp:heading -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol><li>第一次从待排序的<a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https://baike.baidu.com/item/%E6%95%B0%E6%8D%AE%E5%85%83%E7%B4%A0/715313\">数据元素</a>中选出最小(或最大)的一个元素,存放在序列的起始位置</li><li>再从剩余的未排序元素中寻找到最小(大)元素,然后放到已排序的序列的末尾</li><li>重复第二步,直到全部待排序的数据元素的个数为零</li></ol>\n<!-- /wp:list -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>PHP实现</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><a rel=\"noreferrer noopener\" href=\"http://sandbox.onlinephpfunctions.com/\" target=\"_blank\">PHP沙盒环境</a></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p> 拷贝代码到沙盒环境可以看到效果</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code>//选择排序升序\nfunction selection_sort(array $numbers=[], string $order = \'asc\'){\n //获取数组元素个素总数 $n\n $n = count($numbers);\n for($i = 0; $i< $n-1; $i++){\n $index = $i; \n for($j=$i+1;$j<$n;$j++){\n \n if($order == \'asc\'){\n if($numbers[$j] < $numbers[$index]){\n //获取最小元素坐标\n $index = $j;\n }\n }elseif($order=\'desc\'){\n if($numbers[$j] > $numbers[$index]){\n //获取最大元素坐标\n $index = $j;\n }\n }\n \n }\n //将i元素和最小元素或者最大元素交换\n if($i != $index){\n $temp = $numbers[$i];\n $numbers[$i] = $numbers[$index];\n $numbers[$index] = $temp;\n }\n\n }\n return $numbers;\n\n}\n\n//例子\n$numbers = [1,3,4,22,88,33,31,42];\nprint_r(selection_sort($numbers));\nprint_r(selection_sort($numbers,\'desc\'));\n</code></pre>\n<!-- /wp:code -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(8,'算法系列-插入排序','<!-- wp:heading {\"level\":4} -->\n<h4>定义</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>插入排序是用来排列一连串数字的算法<br></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>原理</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>从头到尾依次扫描未排序序列,将扫描到的每个元素插入有序序列的适当位置。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>PHP实现</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><a rel=\"noreferrer noopener\" href=\"http://sandbox.onlinephpfunctions.com/\" target=\"_blank\">PHP沙盒环境</a></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code>function insertion_sort(array $numbers=[], string $sort=\'asc\'){\n $n = count($numbers);\n for($i =1;$i<$n;$i++){\n $index = $i-1;\n $temp = $numbers[$i];\n if($sort == \'asc\'){\n while($index>=0 && $numbers[$index] > $temp){\n $numbers[$index + 1] = $numbers[$index];\n $index--;\n }\n $numbers[$index+1] = $temp;\n }elseif($sort==\'desc\'){\n while($index>=0 && $numbers[$index] < $temp){\n $numbers[$index + 1] = $numbers[$index];\n $index--;\n }\n $numbers[$index+1] = $temp;\n }\n \n }\n return $numbers; \n}\n\n//例子\n$numbers = [1,3,4,22,88,33,31,42];\nprint_r(insertion_sort($numbers));\nprint_r(insertion_sort($numbers,\'desc\'));</code></pre>\n<!-- /wp:code -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(9,'算法系列-堆排序','<!-- wp:heading {\"level\":4} -->\n<h4>定义</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>堆排序指利用堆这种数据结构所设计的一种排序算法</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol><li>大顶堆:每个节点的值都大于或等于其子节点的值,在堆排序算法中用于升序排列;</li><li>小顶堆:每个节点的值都小于或等于其子节点的值,在堆排序算法中用于降序排列;</li></ol>\n<!-- /wp:list -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>原理</h4>\n<!-- /wp:heading -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol><li>创建一个堆H[0,1,...,n-1,n]</li><li>把堆首(最大值)和堆尾互换</li><li>把堆的尺寸缩小1,并调用shif_down(0),目的时把新的数组顶端数据调整到相应位置</li><li>重复步骤2,直到堆的尺寸为1</li></ol>\n<!-- /wp:list -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>PHP实现</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><a rel=\"noreferrer noopener\" href=\"http://sandbox.onlinephpfunctions.com/\" target=\"_blank\">PHP沙盒环境</a></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code>function buildMaxHeap(&$arr)\n{\n global $len;\n for ($i = floor($len/2); $i >= 0; $i--) {\n heapify($arr, $i);\n }\n}\n\nfunction heapify(&$arr, $i)\n{\n global $len;\n $left = 2 * $i + 1;\n $right = 2 * $i + 2;\n $largest = $i;\n\n if ($left < $len && $arr[$left] > $arr[$largest]) {\n $largest = $left;\n }\n\n if ($right < $len && $arr[$right] > $arr[$largest]) {\n $largest = $right;\n }\n\n if ($largest != $i) {\n swap($arr, $i, $largest);\n heapify($arr, $largest);\n }\n}\n\nfunction swap(&$arr, $i, $j)\n{\n $temp = $arr[$i];\n $arr[$i] = $arr[$j];\n $arr[$j] = $temp;\n}\n\nfunction heap_sort($arr) {\n global $len;\n $len = count($arr);\n buildMaxHeap($arr);\n for ($i = count($arr) - 1; $i > 0; $i--) {\n swap($arr, 0, $i);\n $len--;\n heapify($arr, 0);\n }\n return $arr;\n}\n\n//例子\n$numbers = [1,3,4,22,88,33,31,42];\nprint_r(heap_sort($numbers));\n</code></pre>\n<!-- /wp:code -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(10,'算法系列-归并排序','<!-- wp:heading {\"level\":4} -->\n<h4>定义</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>归并排序是用来排列一连串数字的算法</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>原理</h4>\n<!-- /wp:heading -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol><li>申请空间,使其大小为两个已经排序序列之和,该空间用来存放合并后的序列</li><li>设定两个指针,最初位置分别为两个已经排序序列的起始位置</li><li>比较两个指针所指向的元素,选择相对小的元素放入到合并空间,并移动指针到下一位置</li><li>重复步骤3直到某一指针达到序列尾</li><li>将另一序列剩下的所有元素直接复制到合并序列尾</li></ol>\n<!-- /wp:list -->\n\n<!-- wp:heading {\"level\":4} -->\n<h4>PHP实现</h4>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><a rel=\"noreferrer noopener\" href=\"http://sandbox.onlinephpfunctions.com/\" target=\"_blank\">PHP沙盒环境</a></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code>function mergeSort($arr)\n{\n $len = count($arr);\n if ($len < 2) {\n return $arr;\n }\n $middle = floor($len / 2);\n $left = array_slice($arr, 0, $middle);\n $right = array_slice($arr, $middle);\n return merge(mergeSort($left), mergeSort($right));\n}\n\nfunction merge($left, $right)\n{\n $result = [];\n\n while (count($left) > 0 && count($right) > 0) {\n if ($left[0] <= $right[0]) {\n $result[] = array_shift($left);\n } else {\n $result[] = array_shift($right);\n }\n }\n\n while (count($left))\n $result[] = array_shift($left);\n\n while (count($right))\n $result[] = array_shift($right);\n\n return $result;\n}\n\n//例子\n$numbers = [1,3,4,22,88,33,31,42];\nprint_r(mergeSort($numbers));\n</code></pre>\n<!-- /wp:code -->\n\n<!-- wp:paragraph -->\n<p><br></p>\n<!-- /wp:paragraph -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(11,'算法系列-快速排序','\r\n定义\r\n快速排序是用来排列一连串数字的算法\r\n原理\r\n从数列中挑出一个元素,称为基准重新排序数列,所有元素比基准值小的摆放在基准前面,所有元素比基准值大的摆在基准的后面(相同的数可以放在任一边)。在这个分区退出之后,该基准就处于数列的中间位置。这个称为分区操作递归的把小于基准值元素的子数列和大于基准元素的子数列排序\r\nPHP实现\r\nPHP沙盒环境\r\nfunction quickSort($arr)\r\n{\r\nif (count($arr) <= 1)\r\nreturn $arr;\r\n$middle = $arr[0];\r\n$leftArray = [];\r\n$rightArray = [];\r\nfor ($i = 1; $i < count($arr); $i++) {\r\nif ($arr[$i] > $middle)\r\n$rightArray[] = $arr[$i];\r\nelse\r\n$leftArray[] = $arr[$i];\r\n}\r\n$leftArray = quickSort($leftArray);\r\n$leftArray[] = $middle;\r\n$rightArray = quickSort($rightArray);\r\nreturn array_merge($leftArray, $rightArray);\r\n}\r\n//例子\r\n$numbers = [1,3,4,22,88,33,31,42];\r\nprint_r(quickSort($numbers));\r\n','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(12,'程序员操作系统选择,Mac OS,Linux, or Windows?','<!-- wp:paragraph -->\n<p>MacOS > Linux > Windows (> stands for better than)</p>\n<!-- /wp:paragraph -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(13,'高并发服务端Web框架如何选择,PHP协程框架 or Java Spring or Golang Gin?','<!-- wp:paragraph -->\n<p><strong>如何解决高并发的问题,一直以来高性能和生产力似乎总是相对立的。</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>一直以来PHP的性能总是被人诟病,以我过去的经验来讲PHP的开发应用的速度应该是java或者其他编译语言的2倍或则3倍。但是高并发似乎并不是其强项。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>如何解决高并发,大流量的问题,PHP协程框架 or Java Spring or Golang Gin 该如何选择在这里你获取能早到答案。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>PHP有没有解决高并发的方案呢?</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>答案肯定是有的。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>有很多PHP C 扩展框架,例如swoole或者phalcon。 这些框架的确提升了PHP的并发或者性能问题,但同时确牺牲了生产力方面的问题。有人会说yaf或者phaclcon没有生产力方面的问题,的确仁者见仁,智者见智。但是比起laravel,laravel的开发速度无人能比,但是性能让人诟病。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>还有PHP协程框架,例如hyperf或者workerman。这的确是非常好的高性能PHP解决方案,这两个框架压力测试下的性能的确比golang 或者spring web 更快,但是我觉得那为什么不用golang或者java去解决这样的问题呢,何况这玩意需要在CLI下面运行,而且性能差不了太多。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>我个人认为Java或者golang要比swoole或者workerman是更加成熟的解决方案,而且社区非常友好,组件十分成熟。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>当然PHP适合快速开Web应用,对于业务快速迭代的场景是非常有优势的。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>随着业务不断的发展可以考虑硬件方面的横向扩展,个人认为可以解决业务规模初期或者中期的企业。业务不断壮大后个人认为采用Goalng或者Java会是更好的解决方案。</p>\n<!-- /wp:paragraph -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(14,'Hiring a Developer','<!-- wp:paragraph -->\n<p>When people looking for a smart developer as they think a developer should know everything, however the fact that a developer is not a superman. </p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>A developer can solve your problems, but he may did a lot of search at Google or Stack Overflow lots of times.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>A project may depend on lots of third party dependencies, that is a lot of work for a developer to learn or study.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p> I am saying we should focus on the ability which a developer can quick master new knowledge or skills, the ability a developer how to resolve the problem or an issue, but not the tech stack he or she may own, as the tech skills is always changing.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>So stay hungry, stay foolish. You should always keep your skills up to date and have a lots of things to learn.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p> </p>\n<!-- /wp:paragraph -->\n\n<!-- wp:image {\"id\":439,\"sizeSlug\":\"large\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https://www.phpman.cc/wp-content/uploads/2021/01/iShot2021-01-13-17.38.57-993x1024.png\" alt=\"\" class=\"wp-image-439\"/></figure>\n<!-- /wp:image -->','2021-09-12 14:33:24','2021-09-12 14:50:37',0),(15,'如何构建自己的博客','\r\n如果你想要构建自己的博客,通过网络分享自己想法或者创意,但是却不知道如何去做?\r\n那么今天我将分享自己是如何快速构建博客,并且去分享自己的一些经验和想法通过网络去传播,希望能帮助到你。\r\n简单的来讲你需要三样东西,第一个是一个自己的域名,第二个是一个云服务器,第三个是一个博客平台。\r\n域名和云服务器并不是免费的,你需要找到域名服务商去注册,云服务器需要找到合适的云服务器商去购买。博客平台WordPress是一个开源免费的平台,你不需要任何费用。\r\n接下来我将推荐一家相对比较便宜的云服务器提供商 Vultr\r\n这家服务商是的服务器是遍布全球的,你可以根据自己的需求来选择合适的云服务器。通过下面的优惠链接去注册并且购买服务器 https://www.vultr.com/?ref=7202739,这样我也可以获取一部分的奖励。\r\n希望这边文章能帮你快速构建自己博客平台。\r\n','2021-09-12 14:33:24','2021-09-30 14:50:36',0),(16,'Varnish 加速你的WordPress','\r\nVarnish Cache是Web应用程序加速器,也称为缓存HTTP反向代理。您可以将其安装在任何使用HTTP的服务器之前,并将其配置为缓存内容。Varnish Cache确实非常快。根据您的体系结构,通常可以将交付速度提高300到1000倍。\r\nCentOs 安装\r\nyum install varnish\r\nVarnish 配置\r\n###############################################################################################\r\n### The perfect Varnish 4.x+ configuration for Joomla, WordPress & other CMS based websites ###\r\n###############################################################################################\r\n######################\r\n#\r\n# UPDATED on July 7th, 2020\r\n#\r\n# Configuration Notes:\r\n# 1. Default dynamic content caching respects your backend\'s cache-control HTTP header.\r\n# If however you need to enforce a different cache-control TTL,\r\n# do a search for \"180\" and replace with the new value in seconds.\r\n# Stale cache is served for up to 24 hours.\r\n# 2. Make sure you update the \"backend default { ... }\" section with the correct IP and port\r\n#\r\n######################\r\n# Varnish Reference:\r\n# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/\r\n# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.\r\n# Marker to tell the VCL compiler that this VCL has been adapted to the new 4.0 format\r\nvcl 4.0;\r\n# Imports\r\nimport std;\r\n# Default backend definition. Set this to point to your content server.\r\nbackend default {\r\n.host = \"127.0.0.1\"; # UPDATE this only if the web server is not on the same machine\r\n.port = \"8080\"; # UPDATE 8080 with your web server\'s (internal) port\r\n}\r\nsub vcl_recv {\r\n/*\r\n# Blocks\r\nif (req.http.user-agent ~ \"^$\" && req.http.referer ~ \"^$\") {\r\nreturn (synth(204, \"No content\"));\r\n}\r\nif (req.http.user-agent ~ \"(ahrefs|bingbot|domaincrawler|dotbot|mj12bot|semrush)\") {\r\nreturn (synth(204, \"Bot blocked\"));\r\n}\r\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\r\n# The first check matches both naked & \"www\" subdomains. Use the second for non generic subdomains.\r\nif (\r\nreq.http.host ~ \"(www.)?(domain1.com|domain2.org|domain3.net)\" ||\r\nreq.http.host ~ \"(subdomain.domain4.tld|othersubdomain.domain5.tld)\"\r\n) {\r\nreturn (pass);\r\n}\r\n*/\r\n# LetsEncrypt Certbot passthrough\r\nif (req.url ~ \"^/.well-known/acme-challenge/\") {\r\nreturn (pass);\r\n}\r\n# Forward client\'s IP to the backend\r\nif (req.restarts == 0) {\r\nif (req.http.X-Real-IP) {\r\nset req.http.X-Forwarded-For = req.http.X-Real-IP;\r\n} else if (req.http.X-Forwarded-For) {\r\nset req.http.X-Forwarded-For = req.http.X-Forwarded-For + \", \" + client.ip;\r\n} else {\r\nset req.http.X-Forwarded-For = client.ip;\r\n}\r\n}\r\n# httpoxy\r\nunset req.http.proxy;\r\n# Non-RFC2616 or CONNECT which is weird.\r\nif (\r\nreq.method != \"GET\" &&\r\nreq.method != \"HEAD\" &&\r\nreq.method != \"PUT\" &&\r\nreq.method != \"POST\" &&\r\nreq.method != \"TRACE\" &&\r\nreq.method != \"OPTIONS\" &&\r\nreq.method != \"DELETE\"\r\n) {\r\nreturn (pipe);\r\n}\r\n# We only deal with GET and HEAD by default\r\nif (req.method != \"GET\" && req.method != \"HEAD\") {\r\nreturn (pass);\r\n}\r\n# === URL manipulation ===\r\n# First remove the Google Analytics added parameters, useless for our backend\r\nif (req.url ~ \"(?|&)(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=\") {\r\nset req.url = regsuball(req.url, \"&(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\", \"\");\r\nset req.url = regsuball(req.url, \"?(utm_source|utm_medium|utm_campaign|utm_content|gclid|cx|ie|cof|siteurl)=([A-z0-9_-.%25]+)\", \"?\");\r\nset req.url = regsub(req.url, \"?&\", \"?\");\r\nset req.url = regsub(req.url, \"?$\", \"\");\r\n}\r\n# Strip hash, server doesn\'t need it.\r\nif (req.url ~ \"#\") {\r\nset req.url = regsub(req.url, \"#.*$\", \"\");\r\n}\r\n# Strip a trailing ? if it exists\r\n#if (req.url ~ \"?$\") {\r\n# set req.url = regsub(req.url, \"?$\", \"\");\r\n#}\r\n# === Generic cookie manipulation ===\r\n# Remove the \"has_js\" cookie\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"has_js=[^;]+(; )?\", \"\");\r\n# Remove any Google Analytics based cookies\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"__utm.=[^;]+(; )?\", \"\");\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"_ga=[^;]+(; )?\", \"\");\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"_gat=[^;]+(; )?\", \"\");\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"utmctr=[^;]+(; )?\", \"\");\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"utmcmd.=[^;]+(; )?\", \"\");\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"utmccn.=[^;]+(; )?\", \"\");\r\n# Remove DoubleClick offensive cookies\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"__gads=[^;]+(; )?\", \"\");\r\n# Remove the Quant Capital cookies (added by some plugin, all __qca)\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"__qc.=[^;]+(; )?\", \"\");\r\n# Remove the AddThis cookies\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"__atuv.=[^;]+(; )?\", \"\");\r\n# Remove the wp-settings-1 cookie\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"wp-settings-1=[^;]+(; )?\", \"\");\r\n# Remove the wp-settings-time-1 cookie\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"wp-settings-time-1=[^;]+(; )?\", \"\");\r\n# Remove the wp test cookie\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"wordpress_test_cookie=[^;]+(; )?\", \"\");\r\n# Remove a \";\" prefix in the cookie if present\r\nset req.http.Cookie = regsuball(req.http.Cookie, \"^;s*\", \"\");\r\n# Are there cookies left with only spaces or that are empty?\r\nif (req.http.cookie ~ \"^s*$\") {\r\nunset req.http.cookie;\r\n}\r\n# Check for the custom \"X-Logged-In\" header (used by K2 and other apps) to identify\r\n# if the visitor is a guest, then unset any cookie (including session cookies) provided\r\n# it\'s not a POST request.\r\nif(req.http.X-Logged-In == \"False\" && req.method != \"POST\") {\r\nunset req.http.Cookie;\r\n}\r\n# === DO NOT CACHE ===\r\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\r\nif (\r\nreq.http.Authorization ||\r\nreq.http.Authenticate ||\r\nreq.http.X-Logged-In == \"True\" ||\r\nreq.http.Cookie ~ \"userID\" ||\r\nreq.http.Cookie ~ \"joomla_[a-zA-Z0-9_]+\" ||\r\nreq.http.Cookie ~ \"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\"\r\n) {\r\n#set req.http.Cache-Control = \"private, max-age=0, no-cache, no-store\";\r\n#set req.http.Expires = \"Mon, 01 Jan 2001 00:00:00 GMT\";\r\n#set req.http.Pragma = \"no-cache\";\r\nreturn (pass);\r\n}\r\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\r\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\r\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\r\n# to point to a user login page (e.g. /login), including all related functionality such as\r\n# password reset, email reminder and so on.\r\nif(\r\nreq.url ~ \"^/addons\" ||\r\nreq.url ~ \"^/administrator\" ||\r\nreq.url ~ \"^/cart\" ||\r\nreq.url ~ \"^/checkout\" ||\r\nreq.url ~ \"^/component/banners\" ||\r\nreq.url ~ \"^/component/socialconnect\" ||\r\nreq.url ~ \"^/component/users\" ||\r\nreq.url ~ \"^/connect\" ||\r\nreq.url ~ \"^/contact\" ||\r\nreq.url ~ \"^/login\" ||\r\nreq.url ~ \"^/logout\" ||\r\nreq.url ~ \"^/lost-password\" ||\r\nreq.url ~ \"^/my-account\" ||\r\nreq.url ~ \"^/register\" ||\r\nreq.url ~ \"^/signin\" ||\r\nreq.url ~ \"^/signup\" ||\r\nreq.url ~ \"^/wc-api\" ||\r\nreq.url ~ \"^/wp-admin\" ||\r\nreq.url ~ \"^/wp-login.php\" ||\r\nreq.url ~ \"^?add-to-cart=\" ||\r\nreq.url ~ \"^?wc-api=\"\r\n) {\r\n#set req.http.Cache-Control = \"private, max-age=0, no-cache, no-store\";\r\n#set req.http.Expires = \"Mon, 01 Jan 2001 00:00:00 GMT\";\r\n#set req.http.Pragma = \"no-cache\";\r\nreturn (pass);\r\n}\r\n# Don\'t cache ajax requests\r\nif(req.http.X-Requested-With == \"XMLHttpRequest\" || req.url ~ \"nocache\") {\r\n#set req.http.Cache-Control = \"private, max-age=0, no-cache, no-store\";\r\n#set req.http.Expires = \"Mon, 01 Jan 2001 00:00:00 GMT\";\r\n#set req.http.Pragma = \"no-cache\";\r\nreturn (pass);\r\n}\r\n# === STATIC FILES ===\r\n# Properly handle different encoding types\r\nif (req.http.Accept-Encoding) {\r\nif (req.url ~ \".(jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|swf)$\") {\r\n# No point in compressing these\r\nunset req.http.Accept-Encoding;\r\n} elseif (req.http.Accept-Encoding ~ \"gzip\") {\r\nset req.http.Accept-Encoding = \"gzip\";\r\n} elseif (req.http.Accept-Encoding ~ \"deflate\") {\r\nset req.http.Accept-Encoding = \"deflate\";\r\n} else {\r\n# unknown algorithm (aka crappy browser)\r\nunset req.http.Accept-Encoding;\r\n}\r\n}\r\n# Remove all cookies for static files & deliver directly\r\nif (req.url ~ \"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\") {\r\nunset req.http.Cookie;\r\nreturn (hash);\r\n}\r\nreturn (hash);\r\n}\r\nsub vcl_backend_response {\r\n/*\r\n# If we host multiple domains on a server, here you can list the domains you DO NOT want to cache\r\n# The first check matches both naked & \"www\" subdomains. Use the second for non generic subdomains.\r\nif (\r\nbereq.http.host ~ \"(www.)?(domain1.com|domain2.org|domain3.net)\" ||\r\nbereq.http.host ~ \"(subdomain.domain4.tld|othersubdomain.domain5.tld)\"\r\n) {\r\nset beresp.uncacheable = true;\r\nreturn (deliver);\r\n}\r\n*/\r\n# Don\'t cache 50x responses\r\nif (\r\nberesp.status == 500 ||\r\nberesp.status == 502 ||\r\nberesp.status == 503 ||\r\nberesp.status == 504\r\n) {\r\nreturn (abandon);\r\n}\r\n# === DO NOT CACHE ===\r\n# Exclude the following paths (e.g. backend admins, user pages or ad URLs that require tracking)\r\n# In Joomla specifically, you are advised to create specific entry points (URLs) for users to\r\n# interact with the site (either common user logins or even commenting), e.g. make a menu item\r\n# to point to a user login page (e.g. /login), including all related functionality such as\r\n# password reset, email reminder and so on.\r\nif(\r\nbereq.url ~ \"^/addons\" ||\r\nbereq.url ~ \"^/administrator\" ||\r\nbereq.url ~ \"^/cart\" ||\r\nbereq.url ~ \"^/checkout\" ||\r\nbereq.url ~ \"^/component/banners\" ||\r\nbereq.url ~ \"^/component/socialconnect\" ||\r\nbereq.url ~ \"^/component/users\" ||\r\nbereq.url ~ \"^/connect\" ||\r\nbereq.url ~ \"^/contact\" ||\r\nbereq.url ~ \"^/login\" ||\r\nbereq.url ~ \"^/logout\" ||\r\nbereq.url ~ \"^/lost-password\" ||\r\nbereq.url ~ \"^/my-account\" ||\r\nbereq.url ~ \"^/register\" ||\r\nbereq.url ~ \"^/signin\" ||\r\nbereq.url ~ \"^/signup\" ||\r\nbereq.url ~ \"^/wc-api\" ||\r\nbereq.url ~ \"^/wp-admin\" ||\r\nbereq.url ~ \"^/wp-login.php\" ||\r\nbereq.url ~ \"^?add-to-cart=\" ||\r\nbereq.url ~ \"^?wc-api=\"\r\n) {\r\n#set beresp.http.Cache-Control = \"private, max-age=0, no-cache, no-store\";\r\n#set beresp.http.Expires = \"Mon, 01 Jan 2001 00:00:00 GMT\";\r\n#set beresp.http.Pragma = \"no-cache\";\r\nset beresp.uncacheable = true;\r\nreturn (deliver);\r\n}\r\n# Don\'t cache HTTP authorization/authentication pages and pages with certain headers or cookies\r\nif (\r\nbereq.http.Authorization ||\r\nbereq.http.Authenticate ||\r\nbereq.http.X-Logged-In == \"True\" ||\r\nbereq.http.Cookie ~ \"userID\" ||\r\nbereq.http.Cookie ~ \"joomla_[a-zA-Z0-9_]+\" ||\r\nbereq.http.Cookie ~ \"(wordpress_[a-zA-Z0-9_]+|wp-postpass|comment_author_[a-zA-Z0-9_]+|woocommerce_cart_hash|woocommerce_items_in_cart|wp_woocommerce_session_[a-zA-Z0-9]+)\"\r\n) {\r\n#set beresp.http.Cache-Control = \"private, max-age=0, no-cache, no-store\";\r\n#set beresp.http.Expires = \"Mon, 01 Jan 2001 00:00:00 GMT\";\r\n#set beresp.http.Pragma = \"no-cache\";\r\nset beresp.uncacheable = true;\r\nreturn (deliver);\r\n}\r\n# Don\'t cache ajax requests\r\nif(beresp.http.X-Requested-With == \"XMLHttpRequest\" || bereq.url ~ \"nocache\") {\r\n#set beresp.http.Cache-Control = \"private, max-age=0, no-cache, no-store\";\r\n#set beresp.http.Expires = \"Mon, 01 Jan 2001 00:00:00 GMT\";\r\n#set beresp.http.Pragma = \"no-cache\";\r\nset beresp.uncacheable = true;\r\nreturn (deliver);\r\n}\r\n# Don\'t cache backend response to posted requests\r\nif (bereq.method == \"POST\") {\r\nset beresp.uncacheable = true;\r\nreturn (deliver);\r\n}\r\n# Ok, we\'re cool & ready to cache things\r\n# so let\'s clean up some headers and cookies\r\n# to maximize caching.\r\n# Check for the custom \"X-Logged-In\" header to identify if the visitor is a guest,\r\n# then unset any cookie (including session cookies) provided it\'s not a POST request.\r\nif(beresp.http.X-Logged-In == \"False\" && bereq.method != \"POST\") {\r\nunset beresp.http.Set-Cookie;\r\n}\r\n# Unset the \"pragma\" header (suggested)\r\nunset beresp.http.Pragma;\r\n# Unset the \"vary\" header (suggested)\r\nunset beresp.http.Vary;\r\n# Unset the \"etag\" header (optional)\r\n#unset beresp.http.etag;\r\n# Allow stale content, in case the backend goes down\r\nset beresp.grace = 24h;\r\n# Enforce your own cache TTL (optional)\r\n#set beresp.ttl = 180s;\r\n# Modify \"expires\" header - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires (optional)\r\n#set beresp.http.Expires = \"\" + (now + beresp.ttl);\r\n# If your backend server does not set the right caching headers for static assets,\r\n# you can set them below (uncomment first and change 604800 - which 1 week - to whatever you\r\n# want (in seconds)\r\n#if (bereq.url ~ \".(ico|jpg|jpeg|gif|png|bmp|webp|tiff|svg|svgz|pdf|mp3|flac|ogg|mid|midi|wav|mp4|webm|mkv|ogv|wmv|eot|otf|woff|ttf|rss|atom|zip|7z|tgz|gz|rar|bz2|tar|exe|doc|docx|xls|xlsx|ppt|pptx|rtf|odt|ods|odp)(?[a-zA-Z0-9=]+)$\") {\r\n# set beresp.http.Cache-Control = \"public, max-age=604800\";\r\n#}\r\nif (bereq.url ~ \"^[^?]*.(7z|avi|bmp|bz2|css|csv|doc|docx|eot|flac|flv|gif|gz|ico|jpeg|jpg|js|less|mka|mkv|mov|mp3|mp4|mpeg|mpg|odt|ogg|ogm|opus|otf|pdf|png|ppt|pptx|rar|rtf|svg|svgz|swf|tar|tbz|tgz|ttf|txt|txz|wav|webm|webp|woff|woff2|xls|xlsx|xml|xz|zip)(?.*)?$\") {\r\nunset beresp.http.set-cookie;\r\nset beresp.do_stream = true;\r\n}\r\n# We have content to cache, but it\'s got no-cache or other Cache-Control values sent\r\n# So let\'s reset it to our main caching time (180s as used in this example configuration)\r\n# The additional parameters specified (stale-while-revalidate & stale-if-error) are used\r\n# by modern browsers to better control caching. Set these to twice & four times your main\r\n# cache time respectively.\r\n# This final setting will normalize cache-control headers for CMSs like Joomla\r\n# which set max-age=0 even when the CMS\' cache is enabled.\r\nif (beresp.http.Cache-Control !~ \"max-age\" || beresp.http.Cache-Control ~ \"max-age=0\") {\r\nset beresp.http.Cache-Control = \"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\";\r\n}\r\n# Optionally set a larger TTL for pages with less than 180s of cache TTL\r\n#if (beresp.ttl < 180s) {\r\n# set beresp.http.Cache-Control = \"public, max-age=180, stale-while-revalidate=360, stale-if-error=43200\";\r\n#}\r\nreturn (deliver);\r\n}\r\nsub vcl_deliver {\r\n/*\r\n# Send a special header for excluded domains only\r\n# The if statement can be identical to the ones in the vcl_recv() and vcl_fetch() functions above\r\nif (\r\nreq.http.host ~ \"(www.)?(domain1.com|domain2.org|domain3.net)\" ||\r\nreq.http.host ~ \"(subdomain.domain4.tld|othersubdomain.domain5.tld)\"\r\n) {\r\nset resp.http.X-Domain-Status = \"EXCLUDED\";\r\n}\r\n# Enforce redirect to HTTPS for specified domains only\r\nif (\r\nreq.http.host ~ \"(subdomain.domain4.tld|othersubdomain.domain5.tld)\" &&\r\nreq.http.X-Forwarded-Proto !~ \"(?i)https\"\r\n) {\r\nset resp.http.Location = \"https://\" + req.http.host + req.url;\r\nset resp.status = 302;\r\n}\r\n*/\r\n# Send special headers that indicate the cache status of each web page\r\nif (obj.hits > 0) {\r\nset resp.http.X-Cache = \"HIT\";\r\nset resp.http.X-Cache-Hits = obj.hits;\r\n} else {\r\nset resp.http.X-Cache = \"MISS\";\r\n}\r\nreturn (deliver);\r\n}\r\nNginx Host 配置\r\nserver {\r\nlisten 80;\r\nserver_name www.phpman.cc phpman.cc;\r\nrewrite ^/(.*) https://www.phpman.cc/$1 permanent;\r\n}\r\nserver\r\n{\r\nlisten 8080;\r\nindex index.html index.htm index.php default.html default.htm default.php;\r\nroot /home/wwwroot/www.phpman.cc/wordpress;\r\ninclude rewrite/wordpress.conf;\r\n#error_page 404 /404.html;\r\n# Deny access to PHP files in specific directory\r\n#location ~ /(wp-content|uploads|wp-includes|images)/.*.php$ { deny all; }\r\ninclude enable-php-pathinfo.conf;\r\nlocation ~ .*.(gif|jpg|jpeg|png|bmp|swf)$\r\n{\r\nexpires 30d;\r\n}\r\nlocation ~ .*.(js|css)?$\r\n{\r\nexpires 12h;\r\n}\r\nlocation ~ /.well-known {\r\nallow all;\r\n}\r\nlocation ~ /.\r\n{\r\ndeny all;\r\n}\r\naccess_log /home/wwwlogs/y.log;\r\n}\r\nserver\r\n{\r\nlisten 443 ssl http2;\r\n#listen [::]:443 ssl http2;\r\nserver_name www.phpman.cc phpman.cc;\r\nssl_certificate /root/ssl/4082867_phpman.cc.pem;\r\nssl_certificate_key /root/ssl/4082867_phpman.cc.key;\r\nssl_session_timeout 5m;\r\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\r\nssl_prefer_server_ciphers on;\r\nssl_ciphers \"TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5\";\r\nssl_session_cache builtin:1000 shared:SSL:10m;\r\n# openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048\r\nssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;\r\nlocation / {\r\nproxy_pass http://127.0.0.1:6081;\r\nproxy_set_header X-Real-IP $remote_addr;\r\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\nproxy_set_header X-Forwarded-Proto https;\r\nproxy_set_header X-Forwarded-Port 443;\r\nproxy_set_header Host $host;\r\n}\r\n}\r\nWordPress wp-config.php配置\r\n/* SSL Settings */\r\ndefine(\'FORCE_SSL_ADMIN\', true);\r\n/* Turn HTTPS \'on\' if HTTP_X_FORWARDED_PROTO matches \'https\' */\r\nif (strpos($_SERVER[\'HTTP_X_FORWARDED_PROTO\'], \'https\') !== false) {\r\n$_SERVER[\'HTTPS\'] = \'on\';\r\n}\r\n重启Nginx 和 Varnish 服务\r\nservice nginx reload\r\nservice varnish reload\r\n总结\r\nWeb URL请求路径:\r\nNginx:80——>Nginx:443 ——> Varnish:6081 ——> Nginx:8080\r\n验证Varnish是否生效\r\ncurl -I https://www.phpman.cc\r\n返回结果\r\nHTTP/1.1 200 OK\r\nServer: nginx\r\nDate: Tue, 13 Apr 2021 06:41:21 GMT\r\nContent-Type: text/html; charset=UTF-8\r\nConnection: keep-alive\r\nVary: Accept-Encoding\r\nVary: Accept-Encoding\r\nX-Powered-By: PHP/7.4.15\r\nLink: ; rel=\"https://api.w.org/\"\r\nX-Varnish: 360465\r\nAge: 0\r\nVia: 1.1 varnish-v4\r\n','2021-09-12 14:33:24','2021-09-20 18:35:55',0),(20,'Go 语言 Mac环境下交叉编译','<ol><li>编译为Linux可执行文件<br>go env -w CGO_ENABLED=0 GOOS=linux GOARCH=amd64<br>go build main.go -o blog</li><li>编译为Windows可执行文件<br>go env -w CGO_ENABLED=0 GOOS=windows GOARCH=amd64<br>go build main.go -o blog.exe<br></li><li>编译为Mac可执行文件<br>go env -w CGO_ENABLED=0 GOOS=darwin GOARCH=amd64<br>go build main.go -o blog<br></li></ol>','2021-09-15 16:00:00','2021-09-16 08:00:33',0);
/*!40000 ALTER TABLE `iris_posts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `iris_site`
--
DROP TABLE IF EXISTS `iris_site`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `iris_site` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`site_name` varchar(255) NOT NULL,
`site_email` varchar(255) NOT NULL,
`slogan` varchar(255) DEFAULT NULL,
`notice` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `iris_site`
--
LOCK TABLES `iris_site` WRITE;
/*!40000 ALTER TABLE `iris_site` DISABLE KEYS */;
INSERT INTO `iris_site` VALUES (1,'编程之道','phpman.song@gmail.com','站在巨人的肩膀上','欢迎访问我的博客!');
/*!40000 ALTER TABLE `iris_site` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `iris_tags`
--
DROP TABLE IF EXISTS `iris_tags`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `iris_tags` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '默认',
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `iris_tags`
--
LOCK TABLES `iris_tags` WRITE;
/*!40000 ALTER TABLE `iris_tags` DISABLE KEYS */;
INSERT INTO `iris_tags` VALUES (1,'服务器'),(2,'算法'),(3,'云计算'),(4,'Go'),(5,'Linux');
/*!40000 ALTER TABLE `iris_tags` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `iris_tags_posts`
--
DROP TABLE IF EXISTS `iris_tags_posts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `iris_tags_posts` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`tag_id` bigint(20) unsigned NOT NULL,
`post_id` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `iris_tags_posts`
--
LOCK TABLES `iris_tags_posts` WRITE;
/*!40000 ALTER TABLE `iris_tags_posts` DISABLE KEYS */;
INSERT INTO `iris_tags_posts` VALUES (1,1,1),(2,2,1),(3,1,2),(4,1,3);
/*!40000 ALTER TABLE `iris_tags_posts` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2021-09-18 23:42:18
| 1,144.405941 | 385,339 | 0.678915 |
618f7095799973686565033e8d7211b11d1930b4 | 94 | css | CSS | public/ueditor/themes/iframe.css | newbrash/bocai | 2bc97148327b7975f16766d4359403952ce31ce8 | [
"Apache-2.0"
] | 3 | 2019-01-05T15:51:08.000Z | 2022-03-27T13:05:19.000Z | public/ueditor/themes/iframe.css | newbrash/bocai | 2bc97148327b7975f16766d4359403952ce31ce8 | [
"Apache-2.0"
] | 1 | 2019-05-25T14:42:33.000Z | 2019-05-25T14:42:33.000Z | public/ueditor/themes/iframe.css | newbrash/bocai | 2bc97148327b7975f16766d4359403952ce31ce8 | [
"Apache-2.0"
] | 4 | 2018-11-21T12:07:30.000Z | 2021-09-29T11:04:45.000Z | /*可以在这里添加你自己的css*/
#editor{
width:850px;
height:200px;
display:inline;
}
| 13.428571 | 26 | 0.574468 |
21fc5edef366cc443593c54543da1038e67fe0d2 | 188 | html | HTML | layouts/_default/redirect-latest.html | ucfai/ucfai.org | 23e5f023216312c56d280cacbe5596fffb16369d | [
"MIT"
] | 1 | 2020-12-20T06:08:57.000Z | 2020-12-20T06:08:57.000Z | layouts/_default/redirect-latest.html | ucfai/ucfai | 3d52f4e2096194efda0ce8a73480b20180d1e7df | [
"MIT"
] | 4 | 2020-09-02T18:26:04.000Z | 2020-09-07T20:14:23.000Z | layouts/_default/redirect-latest.html | ucfai/ucfai | 3d52f4e2096194efda0ce8a73480b20180d1e7df | [
"MIT"
] | 1 | 2020-02-22T17:41:33.000Z | 2020-02-22T17:41:33.000Z | {{- define "main" -}}
{{- $page := . -}}
<script>
window.location.href = "{{ site.Params.BaseURL }}/{{ $page.Params.redirect }}/{{ site.Data.config.semester }}"
</script>
{{- end -}} | 23.5 | 114 | 0.553191 |
bde04b87f99d9d308358c62863fe348910c005be | 101 | rs | Rust | rust-pl/bt-parse.rs | ysuttep/books-exercise | 975a26dc4bee620160a8023dcdca323f6247a497 | [
"MIT"
] | null | null | null | rust-pl/bt-parse.rs | ysuttep/books-exercise | 975a26dc4bee620160a8023dcdca323f6247a497 | [
"MIT"
] | null | null | null | rust-pl/bt-parse.rs | ysuttep/books-exercise | 975a26dc4bee620160a8023dcdca323f6247a497 | [
"MIT"
] | null | null | null |
fn func() {
const MAX:i32 = 42;
let tuupp:(i32, u64) = (21,4332);
let arr:[i32;5] = []
} | 16.833333 | 37 | 0.485149 |
740f3c8818d51529aa3c38c78d9d428746853b0e | 3,172 | h | C | 2019-2020/Zima/SO/Lista06/so19_lista_6/include/csapp.h | ldept/University | f5ec29dd1daa1c9dc2d1592c0ddab575146e80ee | [
"FTL"
] | null | null | null | 2019-2020/Zima/SO/Lista06/so19_lista_6/include/csapp.h | ldept/University | f5ec29dd1daa1c9dc2d1592c0ddab575146e80ee | [
"FTL"
] | null | null | null | 2019-2020/Zima/SO/Lista06/so19_lista_6/include/csapp.h | ldept/University | f5ec29dd1daa1c9dc2d1592c0ddab575146e80ee | [
"FTL"
] | null | null | null | #ifndef __CSAPP_H__
#define __CSAPP_H__
#include <sys/types.h>
#include <sys/mman.h>
#ifdef LINUX
#include <sys/prctl.h>
#endif
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <sys/time.h>
#include <sys/uio.h>
#include <sys/wait.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
#include <limits.h>
#include <pwd.h>
#include <setjmp.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdnoreturn.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#define __unused __attribute__((unused))
extern char **environ;
/* Our own error-handling functions */
void unix_error(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
void app_error(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
/* Signal safe I/O functions */
void safe_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
void safe_error(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
/* Process control wrappers */
pid_t Fork(void);
pid_t Waitpid(pid_t pid, int *iptr, int options);
#define Wait(iptr) Waitpid(-1, iptr, 0)
void Prctl(int option, long arg);
/* Signal control wrappers */
void (*Signal(int sig, void (*func)(int)))(int);
void Kill(pid_t pid, int sig);
void Sigprocmask(int how, const sigset_t *set, sigset_t *oldset);
void Sigaction(int signum, const struct sigaction *act,
struct sigaction *oldact);
void Sigsuspend(const sigset_t *mask);
/* Process group control wrappers */
void Setpgid(pid_t pid, pid_t pgid);
/* Unix I/O wrappers */
int Open(const char *pathname, int flags, mode_t mode);
size_t Read(int fd, void *buf, size_t count);
size_t Write(int fd, const void *buf, size_t count);
size_t Writev(int fd, const struct iovec *iov, int iovcnt);
off_t Lseek(int fildes, off_t offset, int whence);
void Close(int fd);
int Dup2(int oldfd, int newfd);
void Pipe(int fds[2]);
void Socketpair(int domain, int type, int protocol, int sv[2]);
/* Directory access (Linux specific) */
struct linux_dirent {
unsigned long d_ino; /* Inode number */
unsigned long d_off; /* Offset to next linux_dirent */
unsigned short d_reclen; /* Length of this linux_dirent */
char d_name[]; /* Filename (null-terminated) */
};
int Getdents(int fd, struct linux_dirent *dirp, unsigned count);
/* File metadata access wrapper */
void Fstat(int fd, struct stat *statbuf);
void Fstatat(int dirfd, const char *pathname, struct stat *statbuf, int flags);
size_t Readlink(const char *pathname, char *buf, size_t bufsiz);
size_t Readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz);
/* Memory mapped files & anonymous memory */
void *Mmap(void *addr, size_t length, int prot, int flags, int fd,
off_t offset);
void Mprotect(void *addr, size_t len, int prot);
/* Setjmp & longjmp implementation without sigprocmask */
typedef struct {
long rbx;
long rbp;
long r12;
long r13;
long r14;
long r15;
void *rsp;
void *rip;
} Jmpbuf[1];
int Setjmp(Jmpbuf env);
noreturn void Longjmp(Jmpbuf env, int val);
#endif /* __CSAPP_H__ */
| 28.836364 | 79 | 0.703657 |
76fed481e3b90444e3ff9a0effc993efb7945b43 | 5,038 | h | C | app/sys/sys_core/include/threading/interruptible_thread.h | SirArep/ecal | 9860efeb4ce0ef168630136d33947da02ecf0490 | [
"Apache-2.0"
] | 493 | 2019-06-03T13:30:46.000Z | 2022-03-26T16:18:57.000Z | app/sys/sys_core/include/threading/interruptible_thread.h | SirArep/ecal | 9860efeb4ce0ef168630136d33947da02ecf0490 | [
"Apache-2.0"
] | 249 | 2019-06-04T09:01:24.000Z | 2022-03-31T23:37:39.000Z | app/sys/sys_core/include/threading/interruptible_thread.h | SirArep/ecal | 9860efeb4ce0ef168630136d33947da02ecf0490 | [
"Apache-2.0"
] | 114 | 2019-06-05T00:04:25.000Z | 2022-03-22T10:22:04.000Z | /* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2020 Continental Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* ========================= eCAL LICENSE =================================
*/
#pragma once
#include <atomic>
#include <thread>
#include <mutex>
#include <condition_variable>
/**
* @brief A Thread class that is designed to stop execution when it gets interrupted
*
* For implementing an interruptible thread, there are three important
* functions:
*
* void Run():
* This is the function that has to be implemented. This function is called
* in a parallel context, once Start() is called.
*
* bool IsInterrupted():
* This function should be checked regularily. By calling Interrupt(), an
* external thread can interrupt the thread, but the thread has to perform
* a gracefull shutdown itself.
*
* void SleepFor(dur):
* A interruptible thread should not use blocking functions that are not
* interruptible. Therefore, the SleepFor() function stops sleeping once any
* thread calls Interrupt(). The implementation should always check whether
* the thread has been interrupted after sleeping and perform a gracefull
* shutdown if that is the case.
*
* @author Florian Reimold
*/
class InterruptibleThread
{
public:
/**
* @brief Creates a new Interruptible Thread
*/
InterruptibleThread() :
m_isRunning(false),
m_isInterrupted(false)
{};
InterruptibleThread(const InterruptibleThread&) = delete;
InterruptibleThread& operator=(const InterruptibleThread&) = delete;
/**
* @brief Starts the thread, if it is not currently running.
* Starting the Thread also clears the interrupt state.
*
* @return True, if the thread has been started
*/
bool Start() {
std::lock_guard<std::mutex> startup_lock(m_startup_mutex);
if (IsRunning()) {
return false;
}
// Before destroying the old thread, we might have to join it.
Join();
m_isInterrupted = false;
m_isRunning = true;
m_thread = std::thread(&InterruptibleThread::RunWrapper, this);
return true;
}
/**
* @brief Returns true, if the thread has been interrupted
* @return true if the thread has been interrupted
*/
bool IsInterrupted() {
return m_isInterrupted;
}
/**
* @brief Returns true, if the thread has been started and is still running.
* @return true if the thread is running
*/
bool IsRunning() {
return m_isRunning;
}
/**
* @brief Interrupts the thread, i.e. sets the interrupt state to true and wakes up the SleepFor function
*/
virtual void Interrupt() {
m_isInterrupted = true;
m_interruptCv.notify_all();
}
/**
* @brief Blocks until the thread exits
*/
virtual void Join() {
if (m_thread.joinable()) {
m_thread.join();
}
}
virtual ~InterruptibleThread() {};
protected:
/**
* @brief The function that is executed in a parallel context. This function has to be overwritten by the developer.
*/
virtual void Run() = 0;
/**
* @brief blocks for the given time or until the thread gets interrupted.
* After using this function, you should always check whether the thread has
* been interrupted and take appropriate actions
*
* @param sleep_duration the desired duration to block
*/
void SleepFor(std::chrono::nanoseconds sleep_duration){
std::unique_lock<std::mutex> interruptLock(m_interruptMutex);
m_interruptCv.wait_for(interruptLock, sleep_duration, [=] {return bool(m_isInterrupted); });
}
std::mutex m_startup_mutex; /**< A Mutex for thread safe starting of this thread */
std::atomic<bool> m_isRunning; /**< Whether the interruptible thread is currently running*/
std::atomic<bool> m_isInterrupted; /**< Whether the interruptible thread has been interrupted*/
std::thread m_thread; /**< The "actual" thread executing the Run() function*/
std::mutex m_interruptMutex; /**< A Mutex used for that condidition variable that is used for interrupting the thread */
std::condition_variable m_interruptCv; /**< A Condidition variable that is used for interrupting the thread*/
private:
/**
* @brief Wraps the run function. If the thread is interrupted, the function is not executed.
*/
void RunWrapper() {
if (IsInterrupted()) {
return;
}
Run();
m_isRunning = false;
}
};
| 31.685535 | 139 | 0.668519 |
f09438e477ff766736b3b7ee0f5003e0106f03e5 | 773 | js | JavaScript | data/js/78/b6/c1/00/00/00.24.js | hdm/mac-tracker | 69f0c4efaa3d60111001d40f7a33886cc507e742 | [
"CC-BY-4.0",
"MIT"
] | 20 | 2018-12-26T17:06:05.000Z | 2021-08-05T07:47:31.000Z | data/js/78/b6/c1/00/00/00.24.js | hdm/mac-tracker | 69f0c4efaa3d60111001d40f7a33886cc507e742 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-06-03T12:20:55.000Z | 2021-06-03T16:36:26.000Z | data/js/78/b6/c1/00/00/00.24.js | hdm/mac-tracker | 69f0c4efaa3d60111001d40f7a33886cc507e742 | [
"CC-BY-4.0",
"MIT"
] | 8 | 2018-12-27T05:07:48.000Z | 2021-01-26T00:41:17.000Z | macDetailCallback("78b6c1000000/24",[{"d":"2010-09-21","t":"add","a":"Room1508,Jiangong Building\nNo.20 Wensan Road\nHangzhou ZheJiang 310012\n","c":"CHINA","o":"AOBO Telecom Co.,Ltd"},{"d":"2011-11-17","t":"change","a":"Room1508,Jiangong Building\nNo.20 Wensan Road\nHangzhou ZheJiang 310012\n","c":"CHINA","o":"AOBO Telecom Co.,Ltd"},{"d":"2011-11-18","t":"change","a":"Room1508,Jiangong Building\nNo.20 Wensan Road\nHangzhou ZheJiang 310012\n","c":"CHINA","o":"AOBO Telecom Co.,Ltd"},{"d":"2012-09-17","t":"change","a":"Room1508,Jiangong Building\nNo.20 Wensan Road\nHangzhou ZheJiang 310012\n","c":"CHINA","o":"AOBO Telecom Co.,Ltd"},{"d":"2015-08-27","t":"change","a":"Room1508,Jiangong Building Hangzhou ZheJiang CN 310012","c":"CN","o":"AOBO Telecom Co.,Ltd"}]);
| 386.5 | 772 | 0.679172 |
56cf8d884d690687db0d0f739aa9d791873fbc66 | 444 | ts | TypeScript | Osp/Backend/Ianitor.Osp.Backend.Dashboard/ClientApp/projects/dashboard/src/app/models/ckAttributeDetailDto.ts | ianitor/ObjectServicePlatform | 5012d32c6287fc7fe0c50bfe10c6edc95e8aa57b | [
"MIT"
] | null | null | null | Osp/Backend/Ianitor.Osp.Backend.Dashboard/ClientApp/projects/dashboard/src/app/models/ckAttributeDetailDto.ts | ianitor/ObjectServicePlatform | 5012d32c6287fc7fe0c50bfe10c6edc95e8aa57b | [
"MIT"
] | null | null | null | Osp/Backend/Ianitor.Osp.Backend.Dashboard/ClientApp/projects/dashboard/src/app/models/ckAttributeDetailDto.ts | ianitor/ObjectServicePlatform | 5012d32c6287fc7fe0c50bfe10c6edc95e8aa57b | [
"MIT"
] | null | null | null | import {AttributeValueType, Scopes} from "../graphQL/globalTypes";
import {CkDefaultValue} from "./ckDefaultValue";
import {CkSelectionValue} from "./ckSelectionValue";
export interface CkAttributeDetailDto {
attributeId: string | null;
attributeValueType: AttributeValueType | null;
scopeId: Scopes | null;
selectionValues: CkSelectionValue[] | null;
defaultValues: CkDefaultValue[] | null;
defaultValue: CkDefaultValue | null;
}
| 34.153846 | 66 | 0.768018 |
74ca36dd55a44d9d6565256e3f5fb9c7662d6acf | 5,736 | js | JavaScript | plugins/onbuild/populate/assets.js | prognoveljs/prognovel-app | 8370547eb1e06d3df0e055bea082262cb20cfe30 | [
"Apache-2.0"
] | 2 | 2021-12-29T11:41:30.000Z | 2021-12-30T05:37:53.000Z | plugins/onbuild/populate/assets.js | prognoveljs/prognovel-app | 8370547eb1e06d3df0e055bea082262cb20cfe30 | [
"Apache-2.0"
] | 48 | 2021-11-30T07:08:04.000Z | 2022-03-25T13:34:28.000Z | plugins/onbuild/populate/assets.js | prognoveljs/prognovel-app | 8370547eb1e06d3df0e055bea082262cb20cfe30 | [
"Apache-2.0"
] | 2 | 2021-11-29T09:15:29.000Z | 2021-12-22T11:17:04.000Z | import dotenv from "dotenv";
dotenv.config();
import sharp from "sharp";
import fetch from "node-fetch";
import { createWriteStream, existsSync, mkdirSync, writeFileSync } from "fs";
import { assetsFolder, isValidHttpUrl } from "./_shared.js";
import { join } from "path";
import { on } from "events";
const IS_STATIC_API = (process.env.BACKEND_API || "").includes(".pages.dev");
let STATIC_BANNER_IMAGES = false;
if (!existsSync(assetsFolder)) mkdirSync(assetsFolder, { recursive: true });
let apiEndpoint = new URL(process.env.BACKEND_API);
const siteMetadataURL = new URL(process.env.BACKEND_API);
if (IS_STATIC_API) siteMetadataURL.pathname = "sitemetadata.json";
(async function () {
const res = await fetch(siteMetadataURL.href);
const siteMetadata = await res.json();
const { novels, image_resizer_service } = siteMetadata;
STATIC_BANNER_IMAGES = IS_STATIC_API || isValidHttpUrl(image_resizer_service);
for (const novel of novels) {
const opts = {
path: "publish/" + novel,
};
downloadAsset("banner", novel, {
...opts,
resize: STATIC_BANNER_IMAGES
? [
{ width: 480, height: 400 },
{ width: 800, height: 400 },
{ width: 1000, height: 400 },
{ width: 1400, height: 400 },
{ width: 1900, height: 400 },
]
: null,
ext: ["webp", "avif", "jpeg"],
});
downloadAsset("cover", novel, {
...opts,
resize: [
{ width: 64, height: 64 },
{ width: 128, height: 128 },
{ width: 256, height: 256 },
{ width: 512, height: 512 },
],
ext: ["webp", "avif", "jpeg"],
});
}
downloadAsset("favicon", "", {
resize: {
width: 32,
height: 32,
},
});
downloadAsset("logo", "", {
resize: [
{
width: null,
height: 500,
},
{
width: null,
height: 256,
},
{
width: null,
height: 192,
},
{
width: null,
height: 128,
},
{
width: null,
height: 64,
},
],
});
downloadStaticAPIs(siteMetadata);
downloadComponentsZip();
})();
async function downloadAsset(file, novel = "", opts = {}) {
let path = assetsFolder;
let url = new URL(process.env.BACKEND_API);
// let url = `${apiEndpoint}/fetchImage?file=${file}`;
if (IS_STATIC_API) {
url.pathname = novel + "/" + file + ".png";
} else {
url.pathname = "fetchImage";
url.searchParams.set("file", file);
if (novel) url.searchParams.set("novel", novel);
}
if (opts.path) {
if (opts.path.slice(0, 1) !== "/") opts.path = "/" + opts.path;
path += opts.path;
checkPathExist(path);
}
fetch(url.href).then(async (res) => {
let transformerRaw = res.body.pipe(sharp());
for (const type of Array.isArray(opts.ext) ? opts.ext : [opts.ext || "png"]) {
if (opts.resize) {
(Array.isArray(opts.resize) ? opts.resize : [opts.resize]).forEach((size) => {
const sizeLabel = Array.isArray(opts.resize)
? `-${
size.width ||
"" + (Boolean(size.width && size.height) ? "x" : "") + size.height ||
""
}`
: "";
getTransformImageType(transformerRaw.clone(), type)
.resize({ ...size, withoutEnlargement: true })
.pipe(createWriteStream(path + `/${file}${sizeLabel}.${type || "png"}`));
});
} else {
getTransformImageType(transformerRaw.clone(), type).pipe(
createWriteStream(path + `/${file}.${type || "png"}`),
);
}
}
});
}
function checkPathExist(path) {
if (!existsSync(path)) mkdirSync(path, { recursive: true });
}
function getTransformImageType(transform, type) {
switch (type) {
case "png":
return transform.png();
case "jpg" || "jpeg":
return transform.jpeg({
quality: 70,
mozjpeg: true,
});
case "webp":
return transform.webp();
case "avif":
return transform.avif();
default:
return transform.png();
}
}
function downloadStaticAPIs(siteMetadata) {
writeFileSync(
join(assetsFolder, "publish", "sitemetadata.json"),
JSON.stringify(siteMetadata, null, 2),
"utf-8",
);
for (const novel of siteMetadata.novels) {
if (existsSync(`${assetsFolder}/publish/${novel}`)) {
mkdirSync(`${assetsFolder}/publish/${novel}`, { recursive: true });
}
let novelMetadataURL = new URL(process.env.BACKEND_API);
console.log(apiEndpoint.href);
if (IS_STATIC_API) {
novelMetadataURL.pathname = novel + "/metadata.json";
} else {
novelMetadataURL.pathname = "novel";
novelMetadataURL.searchParams.set("name", novel);
}
console.log("Fetching", novelMetadataURL.href);
fetch(novelMetadataURL.href).then((res) => {
res.body.pipe(createWriteStream(`${assetsFolder}/publish/${novel}/metadata.json`, "utf-8"));
});
}
}
async function downloadComponentsZip() {
const zipFile = ".cache/components.zip";
const out = join(process.cwd(), "src/lib/.generated");
console.log(out);
if (!existsSync(out)) mkdirSync(out, { recursive: true });
const url = new URL(process.env.BACKEND_API);
if (IS_STATIC_API) {
url.pathname = "components.zip";
} else {
url.pathname = "fetchData";
url.searchParams.set("file", "components.zip");
}
const res = await fetch(url.href);
const stream = createWriteStream(zipFile);
res.body.pipe(stream);
stream.on("close", async () => {
try {
const extract = (await import("extract-zip")).default;
extract(zipFile, { dir: out });
} catch (error) {
throw error;
}
});
}
| 27.576923 | 98 | 0.578278 |
958894c279d52c5e24707c22319123f5b86dc917 | 818 | css | CSS | src/main/resources/static/css/messenger/msg_block.css | RiordanFols/vkshka | 3a9070d98a0630616c4423d7bcd1a78fd850cd11 | [
"MIT"
] | null | null | null | src/main/resources/static/css/messenger/msg_block.css | RiordanFols/vkshka | 3a9070d98a0630616c4423d7bcd1a78fd850cd11 | [
"MIT"
] | null | null | null | src/main/resources/static/css/messenger/msg_block.css | RiordanFols/vkshka | 3a9070d98a0630616c4423d7bcd1a78fd850cd11 | [
"MIT"
] | null | null | null | .msg-block {
float: left;
margin-left: 15px;
width: 635px;
height: 800px;
background-color: #3C3C44;
}
.chat-header {
height: 35px;
padding: 5px 10px;
background-color: #707078;
}
.chat-header-name {
margin-top: 9px;
color: white;
font-size: 16px;
float: left;
}
.chat-header-last-online {
margin-top: 10px;
font-size: 13px;
color: darkgray;
float: left;
margin-left: 15px;
}
.chat-header-img {
height: 35px;
width: 35px;
border-radius: 20px;
float: right;
}
.chat {
word-wrap: break-word;
display: flex;
flex-direction: column-reverse;
overflow: auto;
margin: 10px 20px;
height: 690px;
}
.chat::-webkit-scrollbar {
display: none;
}
.chat {
-ms-overflow-style: none;
scrollbar-width: none;
} | 15.433962 | 35 | 0.599022 |
86cdc88963564dccd5613cdb6ac8d6508ddf6df8 | 999 | asm | Assembly | programs/oeis/017/A017355.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/017/A017355.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/017/A017355.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A017355: a(n) = (10*n + 7)^3.
; 343,4913,19683,50653,103823,185193,300763,456533,658503,912673,1225043,1601613,2048383,2571353,3176523,3869893,4657463,5545233,6539203,7645373,8869743,10218313,11697083,13312053,15069223,16974593,19034163,21253933,23639903,26198073,28934443,31855013,34965783,38272753,41781923,45499293,49430863,53582633,57960603,62570773,67419143,72511713,77854483,83453453,89314623,95443993,101847563,108531333,115501303,122763473,130323843,138188413,146363183,154854153,163667323,172808693,182284263,192100033,202262003,212776173,223648543,234885113,246491883,258474853,270840023,283593393,296740963,310288733,324242703,338608873,353393243,368601813,384240583,400315553,416832723,433798093,451217663,469097433,487443403,506261573,525557943,545338513,565609283,586376253,607645423,629422793,651714363,674526133,697864103,721734273,746142643,771095213,796597983,822656953,849278123,876467493,904231063,932574833,961504803,991026973
mul $0,10
mov $1,7
add $1,$0
pow $1,3
mov $0,$1
| 111 | 917 | 0.856857 |
b3dcb78545be539eba4d2c08622ca213f6c1ab86 | 119 | rb | Ruby | lib/netzke/core/ruby_ext.rb | Mahaswami/netzke-core | 7c43b70ea9473b5d0f92b63a3acc3d9cfac89e26 | [
"MIT"
] | null | null | null | lib/netzke/core/ruby_ext.rb | Mahaswami/netzke-core | 7c43b70ea9473b5d0f92b63a3acc3d9cfac89e26 | [
"MIT"
] | null | null | null | lib/netzke/core/ruby_ext.rb | Mahaswami/netzke-core | 7c43b70ea9473b5d0f92b63a3acc3d9cfac89e26 | [
"MIT"
] | null | null | null | require "netzke/core/ruby_ext/array"
require "netzke/core/ruby_ext/hash"
require "netzke/core/ruby_ext/time_with_zone"
| 29.75 | 45 | 0.823529 |
e95beb0918861c3c3a4e9fff4dd1f5d3c2d0723a | 9,854 | rb | Ruby | 15/day_fifteen_test.rb | ThomasOwens/adventofcode2021 | 8c087966f74da4b1cd2abd65c0d7a0d1fd6c4d9e | [
"Apache-2.0"
] | null | null | null | 15/day_fifteen_test.rb | ThomasOwens/adventofcode2021 | 8c087966f74da4b1cd2abd65c0d7a0d1fd6c4d9e | [
"Apache-2.0"
] | null | null | null | 15/day_fifteen_test.rb | ThomasOwens/adventofcode2021 | 8c087966f74da4b1cd2abd65c0d7a0d1fd6c4d9e | [
"Apache-2.0"
] | null | null | null | # frozen_string_literal: true
require 'minitest/autorun'
require_relative 'day_fifteen'
class RiskMapTest < MiniTest::Test
def test_part_one_example
risk_map_grid =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 7, 9, 1, 8, 8, 7, 2, 2,
3, 6, 8, 1, 2, 9, 9, 8, 3, 3, 4, 7, 9]
]
risk_map = RiskMap.new(risk_map_grid, 5)
(0..(expanded_risk_map.size - 1)).each do |row_num|
(0..(expanded_risk_map.first.size - 1)).each do |column_num|
assert_equal(expanded_risk_map[row_num][column_num], risk_map.send(:risk, row_num, column_num),
"[#{row_num}][#{column_num}]")
end
end
_, risk = risk_map.navigate
assert_equal(315, risk)
end
end
| 62.367089 | 118 | 0.32738 |
61e5cc7a5afacfb0af774c323cfb00e36a2cf59b | 4,631 | asm | Assembly | Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_467.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_467.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_467.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x157cb, %r9
add $33486, %r12
vmovups (%r9), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $0, %xmm7, %r11
nop
nop
nop
nop
sub $46967, %r12
lea addresses_A_ht+0x18778, %rcx
nop
nop
nop
add %rsi, %rsi
movb (%rcx), %r8b
nop
nop
nop
xor $57653, %rcx
pop %rsi
pop %rdi
pop %rcx
pop %r9
pop %r8
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %r8
push %r9
push %rsi
// Load
lea addresses_US+0xef4c, %r11
nop
nop
and %r9, %r9
vmovups (%r11), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $1, %xmm3, %rsi
nop
nop
nop
nop
nop
add $62363, %r8
// Faulty Load
mov $0x4fc06f0000000ba4, %rsi
cmp %r12, %r12
mov (%rsi), %r8
lea oracles, %rsi
and $0xff, %r8
shlq $12, %r8
mov (%rsi,%r8,1), %r8
pop %rsi
pop %r9
pop %r8
pop %r13
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_NC', 'AVXalign': True, 'size': 16, 'NT': True, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_US', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 2}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_NC', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 2}, 'OP': 'LOAD'}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 49.265957 | 2,999 | 0.658173 |
b07fb49782c4ef297d0deaa386095f8683685fba | 2,070 | kt | Kotlin | core/gamedex-core/src/main/kotlin/com/gitlab/ykrasik/gamedex/core/plugin/PluginClassLoader.kt | ykrasik/gamedex | 2d60e17ea6f78b305a4bcde8be6907acd02c9f68 | [
"Apache-2.0"
] | 11 | 2019-04-07T15:25:31.000Z | 2022-03-02T07:45:49.000Z | core/gamedex-core/src/main/kotlin/com/gitlab/ykrasik/gamedex/core/plugin/PluginClassLoader.kt | ykrasik/gamedex | 2d60e17ea6f78b305a4bcde8be6907acd02c9f68 | [
"Apache-2.0"
] | null | null | null | core/gamedex-core/src/main/kotlin/com/gitlab/ykrasik/gamedex/core/plugin/PluginClassLoader.kt | ykrasik/gamedex | 2d60e17ea6f78b305a4bcde8be6907acd02c9f68 | [
"Apache-2.0"
] | 2 | 2020-10-02T17:58:56.000Z | 2021-05-14T13:01:08.000Z | /****************************************************************************
* Copyright (C) 2016-2020 Yevgeny Krasik *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you may not use this file except in compliance with the License. *
* You may obtain a copy of the License at *
* *
* http://www.apache.org/licenses/LICENSE-2.0 *
* *
* Unless required by applicable law or agreed to in writing, software *
* distributed under the License is distributed on an "AS IS" BASIS, *
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
* See the License for the specific language governing permissions and *
* limitations under the License. *
****************************************************************************/
package com.gitlab.ykrasik.gamedex.core.plugin
import java.net.URL
import java.net.URLClassLoader
class PluginClassLoader(url: URL, parent: ClassLoader) : URLClassLoader(arrayOf(url), parent) {
override fun loadClass(className: String): Class<*>? = synchronized(getClassLoadingLock(className)) {
if (className.startsWith("java.")) {
return findSystemClass(className)
}
if (className.startsWith("kotlin")) {
return super.loadClass(className)
}
val loadedClass = findLoadedClass(className)
if (loadedClass != null) {
return loadedClass
}
return try {
findClass(className)
} catch (_: ClassNotFoundException) {
super.loadClass(className)
}
}
override fun getResource(name: String): URL? =
findResource(name) ?: super.getResource(name)
} | 46 | 105 | 0.491304 |
d7887363dad72b6051cd035659e65eff580a59e9 | 87,769 | swift | Swift | VideoCapture/ViewController.swift | nathanntg/VideoCapture | c2c50e659607f3be9aed8715bd8436b4dc1d22b4 | [
"MIT"
] | 1 | 2018-01-26T12:28:26.000Z | 2018-01-26T12:28:26.000Z | VideoCapture/ViewController.swift | nathanntg/VideoCapture | c2c50e659607f3be9aed8715bd8436b4dc1d22b4 | [
"MIT"
] | 10 | 2016-10-04T00:51:50.000Z | 2019-07-01T14:29:35.000Z | VideoCapture/ViewController.swift | nathanntg/VideoCapture | c2c50e659607f3be9aed8715bd8436b4dc1d22b4 | [
"MIT"
] | null | null | null | // ViewController.swift
// VideoCapture
//
// Created by L. Nathan Perkins on 6/28/15.
// Copyright © 2015
import Cocoa
import AVFoundation
import CoreFoundation
import CoreGraphics
import CoreImage
import QuartzCore
import ORSSerial
let kPasteboardROI = "edu.gardner.roi"
/// The video capture mode determines interface item behavior.
enum VideoCaptureMode {
case configure
case monitor // monitor for triggering
case triggeredCapture // capturing, because triggered
case manualCapture // capturing, because manually triggered
func isMonitoring() -> Bool {
return self == .triggeredCapture || self == .monitor
}
func isCapturing() -> Bool {
return self == .triggeredCapture || self == .manualCapture
}
func isEditable() -> Bool {
return self == .configure
}
}
enum LED {
case Primary
case Secondary
}
class ViewController: NSViewController, AVCaptureFileOutputRecordingDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
// document mode
var mode = VideoCaptureMode.configure {
didSet {
DispatchQueue.main.async {
self.refreshInterface()
}
}
}
@IBOutlet weak var textName: NSTextField!
@IBOutlet weak var tokenFeedback: NSTokenField!
@IBOutlet weak var listVideoSources: NSPopUpButton!
@IBOutlet weak var listAudioSources: NSPopUpButton!
@IBOutlet weak var listSerialPorts: NSPopUpButton!
@IBOutlet weak var textLedBrightness: NSTextField!
@IBOutlet weak var sliderLedBrightness: NSSlider!
@IBOutlet weak var buttonToggleLed: NSButton!
@IBOutlet weak var buttonCapture: NSButton!
@IBOutlet weak var buttonMonitor: NSButton!
@IBOutlet weak var buttonStill: NSButton!
@IBOutlet weak var previewView: NSView!
@IBOutlet weak var tableAnnotations: NSTableView!
@IBOutlet weak var annotableView: AnnotableViewer! {
didSet {
oldValue?.delegate = nil
annotableView?.delegate = self
annotableView?.wantsLayer = true
}
}
var deviceUniqueIDs = [Int: String]()
// app preferences
var appPreferences = Preferences()
// session information
var avSession: AVCaptureSession?
var avInputVideo: AVCaptureDeviceInput? {
willSet {
// has arduino?
if let arduino = ioArduino {
// toggle pin
do {
try arduino.writeTo(appPreferences.pinDigitalCamera, digitalValue: nil != newValue)
}
catch {
DLog("ERROR Unable to toggle camera power.")
}
}
}
didSet {
// manage list of used devices
if let ov = oldValue {
AppDelegate.instance.stopUsingDevice(ov.device.uniqueID)
}
if let nv = avInputVideo {
AppDelegate.instance.startUsingDevice(nv.device.uniqueID)
}
// update interface options
refreshInterface()
// changed state
if (nil == oldValue) != (nil == avInputVideo) {
refreshOutputs()
}
}
}
var avInputAudio: AVCaptureDeviceInput? {
didSet {
// manage list of used devices
if let ov = oldValue {
AppDelegate.instance.stopUsingDevice(ov.device.uniqueID)
}
if let nv = avInputAudio {
AppDelegate.instance.startUsingDevice(nv.device.uniqueID)
}
// update interface options
refreshInterface()
// changed state
if (nil == oldValue) != (nil == avInputAudio) {
refreshOutputs()
}
}
}
var avPreviewLayer: AVCaptureVideoPreviewLayer? {
didSet {
// clean up old value
if let oldPreviewLayer = oldValue {
oldPreviewLayer.removeFromSuperlayer()
oldPreviewLayer.session = nil
}
// setup new value
if let newPreviewLayer = avPreviewLayer {
newPreviewLayer.videoGravity = AVLayerVideoGravity.resizeAspect
// add it
if let containingView = self.previewView {
// initial size
newPreviewLayer.frame = containingView.bounds
// add to view hierarchy
if let root = containingView.layer {
root.backgroundColor = CGColor(gray: 0.2, alpha: 1.0)
if nil == root.layoutManager {
root.layoutManager = CAConstraintLayoutManager()
}
// add constraints
newPreviewLayer.addConstraint(CAConstraint(attribute: CAConstraintAttribute.minX, relativeTo: "superlayer", attribute: CAConstraintAttribute.maxX, scale: 0.0, offset: 0.0))
newPreviewLayer.addConstraint(CAConstraint(attribute: CAConstraintAttribute.minY, relativeTo: "superlayer", attribute: CAConstraintAttribute.maxY, scale: 0.0, offset: 0.0))
newPreviewLayer.addConstraint(CAConstraint(attribute: CAConstraintAttribute.width, relativeTo: "superlayer", attribute: CAConstraintAttribute.width))
newPreviewLayer.addConstraint(CAConstraint(attribute: CAConstraintAttribute.height, relativeTo: "superlayer", attribute: CAConstraintAttribute.height))
root.addSublayer(newPreviewLayer)
}
}
}
}
}
var avFileControl: CaptureControl?
var avFileOut: AVCaptureFileOutput?
var avVideoData: AVCaptureVideoDataOutput?
var avVideoCaptureStill: AVCaptureStillImageOutput?
var dirOut: URL?
var dataOut: FileHandle?
var avVideoDispatchQueue: DispatchQueue?
var activeLED = LED.Primary {
didSet {
// get arduino
guard let arduino = ioArduino else { return }
// figure out old and new pin
let oldPin: Int, newPin: Int
switch activeLED {
case .Primary:
oldPin = appPreferences.pinAnalogSecondLED!
newPin = appPreferences.pinAnalogLED
buttonToggleLed.title = "1"
case .Secondary:
oldPin = appPreferences.pinAnalogLED
newPin = appPreferences.pinAnalogSecondLED!
buttonToggleLed.title = "2"
}
// get led brightness
guard let ledBrightness = sliderLedBrightness?.integerValue, ledBrightness > 0 else { return }
// set values
do {
try arduino.writeTo(oldPin, analogValue: 0)
try arduino.writeTo(newPin, analogValue: UInt8(ledBrightness))
}
catch {
DLog("ARDUINO brightness: failed! \(error)")
}
}
}
// should be unused
override var representedObject: Any? {
didSet {
DLog("SET")
}
}
var document: Document?
// serial communications
var ioArduino: ArduinoIO? {
didSet {
// manage list of used devices
if let ov = oldValue, let path = ov.serial?.path {
AppDelegate.instance.stopUsingDevice(path)
}
if let nv = ioArduino, let path = nv.serial?.path {
AppDelegate.instance.startUsingDevice(path)
}
oldValue?.delegate = nil
ioArduino?.delegate = self
// refresh interface
refreshInterface()
}
}
// extraction information
var extractValues: [Float] = []
var extractBounds = CGSize(width: 0.0, height: 0.0)
var extractArray: [(pixel: Int, annotation: Int)] = []
var extractNames: [String] = []
var extractEquation: EquationElement? = nil
var extractEquationOn: Bool = false
var extractRegionString = ""
// timer to redraw interface (saves time)
var timerRedraw: Timer?
// timer to dim LED and turn off camera
//var timerRevertMode: NSTimer?
// timer for monitoring
var timerMonitor: Timer?
// used by manual reading system
var ciContext: CIContext?
var buffer: UnsafeMutableRawPointer? = nil
var bufferSize = 0
override func viewDidLoad() {
super.viewDidLoad()
// fetch devices
updateDeviceLists()
}
override func viewDidAppear() {
super.viewDidAppear()
// listen for serial changes
let nc = NotificationCenter.default
nc.addObserver(self, selector: #selector(ViewController.serialPortsWereConnected(_:)), name: NSNotification.Name.ORSSerialPortsWereConnected, object: nil)
nc.addObserver(self, selector: #selector(ViewController.serialPortsWereDisconnected(_:)), name: NSNotification.Name.ORSSerialPortsWereDisconnected, object: nil)
nc.addObserver(self, selector: #selector(ViewController.avDeviceWasConnected(_:)), name: NSNotification.Name.AVCaptureDeviceWasConnected, object: nil)
nc.addObserver(self, selector: #selector(ViewController.avDeviceWasDisconnected(_:)), name: NSNotification.Name.AVCaptureDeviceWasDisconnected, object: nil)
// connect document
if let doc = view.window?.windowController?.document {
document = doc as? Document
copyFromDocument()
}
// initialize preview background
if let view = previewView, let root = view.layer {
root.backgroundColor = CGColor(gray: 0.2, alpha: 1.0)
//CGColorGetConstantColor(kCGColorBlack)
}
if let view = annotableView, let root = view.layer {
view.wantsLayer = true
root.zPosition = 1.0
}
// initialize drag from table
if let tv = tableAnnotations {
tv.registerForDraggedTypes([NSPasteboard.PasteboardType(rawValue: kPasteboardROI)])
}
if let tf = tokenFeedback {
tf.registerForDraggedTypes([NSPasteboard.PasteboardType.string, NSPasteboard.PasteboardType(rawValue: kPasteboardROI)])
}
// hide/show toggle button
buttonToggleLed?.isHidden = nil == appPreferences.pinAnalogSecondLED
// refresh interface
refreshInterface()
}
override func viewWillDisappear() {
#if BENCHMARK
Time.printAll()
#endif
// remove notification center
NotificationCenter.default.removeObserver(self)
// stop any acquisitions
if mode.isMonitoring() {
stopMonitoring()
}
else if mode.isCapturing() {
stopCapturing()
}
// end any session
stopVideoData()
stopVideoFile()
stopAudioFile()
stopSession()
// will disappear
super.viewWillDisappear();
}
override func viewDidDisappear() {
// call above
super.viewDidDisappear()
// terminate
//NSApp.terminate(nil)
}
private func copyFromDocument() {
if let doc = document {
textName?.stringValue = doc.name
sliderLedBrightness?.integerValue = Int(doc.ledBrightness)
textLedBrightness?.integerValue = Int(doc.ledBrightness)
var tagVideo = -1, tagAudio = -1, tagSerial = -1
for (key, val) in deviceUniqueIDs {
switch val {
case doc.devVideo: tagVideo = key
case doc.devAudio: tagAudio = key
case doc.devSerial: tagSerial = key
default: break
}
}
if 0 <= tagVideo {
listVideoSources?.selectItem(withTag: tagVideo)
selectVideoSource(listVideoSources)
}
else {
listVideoSources?.selectItem(at: 0)
}
if 0 <= tagAudio {
listAudioSources?.selectItem(withTag: tagAudio)
selectAudioSource(listAudioSources)
}
else {
listAudioSources?.selectItem(at: 0)
}
if 0 <= tagSerial {
listSerialPorts?.selectItem(withTag: tagSerial)
selectSerialPort(listSerialPorts)
}
else {
listSerialPorts?.selectItem(at: 0)
}
annotableView?.annotations = doc.listAnnotations
didChangeAnnotations(doc.listAnnotations)
tokenFeedback?.objectValue = doc.feedbackTrigger.map {
(str: String) -> Any
in
let re = Regex(pattern: "^ROI[0-9]+$")
if re.match(str) {
let s = str.index(str.startIndex, offsetBy: 3), e = str.endIndex
if let id = Int(str[s..<e]) {
return TokenROI(id: id)
}
}
return str
}
equationEdited(tokenFeedback)
}
}
fileprivate func copyToDocument() {
if let doc = document {
doc.name = textName?.stringValue ?? ""
doc.ledBrightness = UInt8(sliderLedBrightness?.integerValue ?? 0 )
if let inputVideoDevice = avInputVideo {
doc.devVideo = inputVideoDevice.device.uniqueID
}
else {
doc.devVideo = ""
}
if let inputAudioDevice = avInputAudio {
doc.devAudio = inputAudioDevice.device.uniqueID
}
else {
doc.devAudio = ""
}
if let arduino = ioArduino {
doc.devSerial = arduino.serial?.path ?? ""
}
else {
doc.devSerial = ""
}
doc.listAnnotations = annotableView?.annotations ?? []
// store token feedback
if let tf = tokenFeedback, let tokens = tf.objectValue as? [AnyObject] {
doc.feedbackTrigger = tokens.map {
(o: AnyObject) -> String
in
if let t = o as? TokenROI {
return "ROI\(t.id)"
}
return o as? String ?? ""
}
}
doc.updateChangeCount(.changeDone)
}
}
private func refreshInterface() {
// editability
let editable = mode.isEditable()
textName?.isEnabled = editable
tokenFeedback?.isEnabled = editable
buttonStill.isEnabled = editable && nil != avInputVideo
listVideoSources?.isEnabled = editable
listAudioSources?.isEnabled = editable
listSerialPorts?.isEnabled = editable
sliderLedBrightness?.isEnabled = editable && nil != ioArduino
textLedBrightness?.isEnabled = editable && nil != ioArduino
buttonToggleLed?.isEnabled = editable && nil != ioArduino
annotableView?.isEnabled = editable
// annotation names
if let tv = tableAnnotations {
let col = tv.column(withIdentifier: NSUserInterfaceItemIdentifier(rawValue: "name"))
if 0 <= col {
tv.tableColumns[col].isEditable = editable
}
}
// button modes
switch mode {
case .configure:
buttonCapture?.isEnabled = (nil != avInputVideo || nil != avInputAudio)
buttonCapture?.title = "Start Capturing"
buttonMonitor?.isEnabled = (nil != avInputVideo || nil != avInputAudio) && nil != ioArduino
buttonMonitor?.title = "Start Monitoring Pin"
case .manualCapture:
buttonCapture?.isEnabled = true
buttonCapture?.title = "Stop Capturing"
buttonMonitor?.isEnabled = false
buttonMonitor?.title = "Start Monitoring Pin"
case .triggeredCapture:
buttonCapture?.isEnabled = false
buttonCapture?.title = "Stop Capturing"
buttonMonitor?.isEnabled = true
buttonMonitor?.title = "Stop Monitoring Pin"
case .monitor:
buttonCapture?.isEnabled = false
buttonCapture?.title = "Start Capturing"
buttonMonitor?.isEnabled = true
buttonMonitor?.title = "Stop Monitoring Pin"
}
}
func updateDeviceLists() {
// get all AV devices
let devices = AVCaptureDevice.devices()
// find video devices
let devices_video = devices.filter({
d -> Bool in
let dev: AVCaptureDevice = d
return dev.hasMediaType(AVMediaType.video) || dev.hasMediaType(AVMediaType.muxed)
})
// find the audio devices
let devices_audio = devices.filter({
dev -> Bool in
return dev.hasMediaType(AVMediaType.audio) || dev.hasMediaType(AVMediaType.muxed)
})
var newDeviceUniqueIDs = [Int: String]()
var newDeviceIndex = 1
// video sources
if let list = self.listVideoSources {
let selectedUniqueID: String
if let inputVideoDevice = avInputVideo {
selectedUniqueID = inputVideoDevice.device.uniqueID
}
else {
selectedUniqueID = ""
}
var selectTag = -1
list.removeAllItems()
list.addItem(withTitle: "Video")
for dev in devices_video {
let item = NSMenuItem()
if dev.isInUseByAnotherApplication {
item.title = dev.localizedName + " (in use)"
item.isEnabled = false
}
else {
item.title = dev.localizedName
}
item.tag = newDeviceIndex
list.menu?.addItem(item)
newDeviceUniqueIDs[newDeviceIndex] = dev.uniqueID
if dev.uniqueID == selectedUniqueID {
selectTag = newDeviceIndex
}
newDeviceIndex += 1
}
if 0 <= selectTag {
list.selectItem(withTag: selectTag)
}
else {
list.selectItem(at: 0)
}
list.synchronizeTitleAndSelectedItem()
}
// audio sources
if let list = self.listAudioSources {
let selectedUniqueID: String
if let inputAudioDevice = avInputAudio {
selectedUniqueID = inputAudioDevice.device.uniqueID
}
else {
selectedUniqueID = ""
}
var selectTag = -1
list.removeAllItems()
list.addItem(withTitle: "Audio")
for dev in devices_audio {
let item = NSMenuItem()
if dev.isInUseByAnotherApplication {
item.title = "\(dev.localizedName) (in use)"
item.isEnabled = false
}
else if dev.localizedName == "USB2.0 MIC" {
// try to give it a nicer name
let parts = dev.uniqueID.split { $0 == ":" }
let c = parts.count
if c > 1 {
item.title = "USB MIC (\(parts[c-2]) \(parts[c-1]))"
}
else {
item.title = "\(dev.localizedName)"
}
}
else {
item.title = dev.localizedName
}
item.tag = newDeviceIndex
list.menu?.addItem(item)
newDeviceUniqueIDs[newDeviceIndex] = dev.uniqueID
if dev.uniqueID == selectedUniqueID {
selectTag = newDeviceIndex
}
newDeviceIndex += 1
}
if 0 <= selectTag {
list.selectItem(withTag: selectTag)
}
else {
list.selectItem(at: 0)
}
list.synchronizeTitleAndSelectedItem()
}
// serial ports
if let list = self.listSerialPorts {
let selectedUniqueID = ioArduino?.serial?.path ?? ""
var selectTag = -1
list.removeAllItems()
list.addItem(withTitle: "Arduino")
for port in ORSSerialPortManager.shared().availablePorts {
let item = NSMenuItem()
item.title = port.name
item.tag = newDeviceIndex
list.menu?.addItem(item)
newDeviceUniqueIDs[newDeviceIndex] = port.path
if port.path == selectedUniqueID {
selectTag = newDeviceIndex
}
newDeviceIndex += 1
}
if 0 <= selectTag {
list.selectItem(withTag: selectTag)
}
else {
list.selectItem(at: 0)
}
list.synchronizeTitleAndSelectedItem()
}
self.deviceUniqueIDs = newDeviceUniqueIDs
}
func getVideoDeviceID() -> String? {
if let list = self.listVideoSources, let selected = list.selectedItem, let deviceUniqueID = self.deviceUniqueIDs[selected.tag] {
return deviceUniqueID
}
return nil
}
func getAudioDeviceID() -> String? {
if let list = self.listAudioSources, let selected = list.selectedItem, let deviceUniqueID = self.deviceUniqueIDs[selected.tag] {
return deviceUniqueID
}
return nil
}
func getDevice(_ deviceUniqueID: String, mediaTypes: [AVMediaType]) -> AVCaptureDevice? {
guard let dev = AVCaptureDevice(uniqueID: deviceUniqueID) else { return nil }
if !mediaTypes.isEmpty {
for mediaType in mediaTypes {
if dev.hasMediaType(mediaType) {
return dev
}
}
return nil
}
return dev
}
func addInput(_ device: AVCaptureDevice) -> AVCaptureDeviceInput? {
// has session?
guard let session = self.avSession else {
return nil
}
do {
let input = try AVCaptureDeviceInput(device: device)
if session.canAddInput(input) {
session.addInput(input)
return input
}
// log error
DLog("Unable to add desired input device.")
}
catch {
// log error
let e = error as NSError
let desc = e.localizedDescription
DLog("Capturing device input failed: \(desc)")
}
return nil
}
func promptToStartCapturing() {
// can only start capture from an editable mode
guard mode.isEditable() else {
return
}
let videoDeviceID = self.getVideoDeviceID()
let audioDeviceID = self.getAudioDeviceID()
if nil == videoDeviceID && nil == audioDeviceID {
DLog("No device selected.")
return
}
let panel = NSSavePanel()
panel.title = (nil == videoDeviceID ? "Save Audio" : "Save Movie")
// get prefix
var prefix = "Output"
if let field = textName {
if !field.stringValue.isEmpty {
prefix = field.stringValue
}
}
// Let the user select any images supported by
// the AVMovie.
if nil != videoDeviceID {
panel.allowedFileTypes = AVMovie.movieTypes().map {
return $0.rawValue
}
panel.allowsOtherFileTypes = false
panel.nameFieldStringValue = prefix + ".mov"
}
else {
panel.allowedFileTypes = [AVFileType.m4a.rawValue]
panel.nameFieldStringValue = prefix + ".m4a"
}
panel.canCreateDirectories = true
panel.isExtensionHidden = false
// callback for handling response
let cb = {
(result: NSApplication.ModalResponse) -> Void in
if NSApplication.ModalResponse.OK == result {
if let url = panel.url {
self.startCapturing(url)
}
}
}
// show
if let win = NSApp.keyWindow {
panel.beginSheetModal(for: win, completionHandler: cb)
}
else {
panel.begin(completionHandler: cb)
}
}
func promptToStartMonitoring() {
// can only start from an editable mode
guard mode.isEditable() else {
return
}
// required inputs
switch appPreferences.triggerType {
case .arduinoPin:
if nil == ioArduino {
DLog("No arduino selected.")
return
}
}
let videoDeviceID = self.getVideoDeviceID()
let audioDeviceID = self.getAudioDeviceID()
if nil == videoDeviceID && nil == audioDeviceID {
DLog("No device selected.")
return
}
let panel = NSOpenPanel()
panel.title = "Select Output Directory"
panel.canChooseDirectories = true
panel.canChooseFiles = false
panel.canCreateDirectories = true
// callback for handling response
let cb = {
(result: NSApplication.ModalResponse) -> Void in
if NSApplication.ModalResponse.OK == result {
if let url = panel.url {
self.startMonitoring(url)
}
}
}
// turn off LED before hand (avoid bleaching)
do {
try ioArduino?.writeTo(appPreferences.pinAnalogLED, analogValue: UInt8(0))
if let pin = appPreferences.pinAnalogSecondLED {
try ioArduino?.writeTo(pin, analogValue: UInt8(0))
}
}
catch { }
// show
if let win = NSApp.keyWindow {
panel.beginSheetModal(for: win, completionHandler: cb)
}
else {
panel.begin(completionHandler: cb)
}
}
func startSession() {
if nil == self.avSession {
// create capture session
let session = AVCaptureSession()
self.avSession = session
session.sessionPreset = AVCaptureSession.Preset.high
session.startRunning()
}
// preview layer
if nil == self.avPreviewLayer {
let previewLayer = AVCaptureVideoPreviewLayer(session: self.avSession!)
self.avPreviewLayer = previewLayer
}
}
@discardableResult private func startVideoData() -> Bool {
// already created
guard nil == avVideoData else {
return true
}
guard let session = avSession else {
return false
}
// begin configuring (can be nested)
session.beginConfiguration()
// raw data
let videoData = AVCaptureVideoDataOutput()
avVideoData = videoData
videoData.videoSettings = nil // nil: native format
videoData.alwaysDiscardsLateVideoFrames = true
// create serial dispatch queue
let videoDispatchQueue = DispatchQueue(label: "VideoDataOutputQueue")
avVideoDispatchQueue = videoDispatchQueue
videoData.setSampleBufferDelegate(self, queue: videoDispatchQueue)
if !session.canAddOutput(videoData) {
DLog("Unable to add video data output.")
return false
}
session.addOutput(videoData)
// create capture session
let videoStill = AVCaptureStillImageOutput()
avVideoCaptureStill = videoStill
//videoStill.outputSettings = [AVVideoCodecKey: NSNumber(unsignedInt: kCMVideoCodecType_JPEG)]
videoStill.outputSettings = [kCVPixelBufferPixelFormatTypeKey as String: NSNumber(value: kCVPixelFormatType_32BGRA)]
if !session.canAddOutput(videoStill) {
DLog("Unable to add video still.")
return false
}
session.addOutput(videoStill)
// commit configuration
session.commitConfiguration()
// create timer for redraw
timerRedraw = Timer.scheduledTimer(timeInterval: 0.1, target: self, selector: #selector(ViewController.timerUpdateValues(_:)), userInfo: nil, repeats: true)
return true
}
private func stopVideoData() {
// stop timer
if let timer = self.timerRedraw {
timer.invalidate()
self.timerRedraw = nil
}
// begin configuring (can be nested)
avSession?.beginConfiguration()
// stop data output
if nil != avVideoData {
avSession?.removeOutput(avVideoData!)
avVideoData = nil
}
// stop still output
if nil != avVideoCaptureStill {
avSession?.removeOutput(avVideoCaptureStill!)
avVideoCaptureStill = nil
}
// commit configuration
avSession?.commitConfiguration()
// release dispatch queue
if nil != avVideoDispatchQueue {
avVideoDispatchQueue = nil
}
// free up buffer
if 0 < bufferSize {
free(buffer)
buffer = nil
bufferSize = 0
}
}
@discardableResult private func startVideoFile() -> Bool {
// already created
guard nil == avFileOut else {
return true
}
guard let session = avSession else {
return false
}
// create file control
if nil == avFileControl {
avFileControl = CaptureControl(parent: self)
}
// create nice capture
let movieOut = AVCaptureMovieFileOutput()
movieOut.delegate = avFileControl
// add session
if !session.canAddOutput(movieOut) {
DLog("Unable to add movie file output.")
return false
}
session.addOutput(movieOut)
// output settings (must be configured after adding session, otherwise no connection)
switch appPreferences.videoFormat {
case .raw:
// configure video connection with empty dictionary
if let con = movieOut.connection(with: .video) {
let settings: [String : Any] = [:]
movieOut.setOutputSettings(settings, for: con)
}
case .h264:
break // default, no configuration required
}
// audio output settings
switch appPreferences.audioFormat {
case .raw:
// configure audio connection with lossless format
if let con = movieOut.connection(with: .audio) {
movieOut.setOutputSettings([
AVFormatIDKey: kAudioFormatAppleLossless // TODO: kAudioFormatFLAC maybe?
], for: con)
}
case .aac:
break
}
// store output
avFileOut = movieOut
return true
}
private func stopVideoFile() {
// stop writing
if nil != avFileOut {
if let session = avSession {
session.removeOutput(avFileOut!)
}
avFileOut = nil
}
}
@discardableResult private func startAudioFile() -> Bool {
// already created
guard nil == avFileOut else {
return true
}
guard let session = avSession else {
return false
}
// create file control
if nil == avFileControl {
avFileControl = CaptureControl(parent: self, outputFileType: AVFileType.m4a)
}
// create nice capture
let audioOut = AVCaptureAudioFileOutput()
audioOut.delegate = avFileControl
// add session
if !session.canAddOutput(audioOut) {
DLog("Unable to add audio file output.")
return false
}
session.addOutput(audioOut)
// configure audio format
switch appPreferences.audioFormat {
case .aac:
break
case .raw:
audioOut.audioSettings = [
AVFormatIDKey: kAudioFormatAppleLossless // TODO: kAudioFormatFLAC maybe?
]
}
self.avFileOut = audioOut
return true
}
private func stopAudioFile() {
// stop writing
if nil != avFileOut {
if let session = avSession {
session.removeOutput(avFileOut!)
}
avFileOut = nil
}
}
private func createVideoOutputs(_ file: URL) -> Bool {
// create raw data stream
if nil == avVideoData {
if !startVideoData() {
return false
}
}
// writer
if nil == avFileOut {
if !startVideoFile() {
return false
}
}
// remove conflicting file
do {
try FileManager.default.removeItem(at: file)
}
catch {}
// start writer
avFileControl?.shouldStart(file)
return true
}
private func refreshOutputs() {
if nil == avInputVideo && nil == avInputAudio {
// no inputs
avSession?.beginConfiguration()
stopVideoData()
stopVideoFile()
stopAudioFile()
avSession?.commitConfiguration()
return
}
// start session
startSession()
// lock configuration
avSession?.beginConfiguration()
// stop existing files
stopVideoData()
stopVideoFile()
stopAudioFile()
// restart files / data
if nil == avInputVideo {
startAudioFile()
}
else {
startVideoData()
startVideoFile()
}
// commit configuration
avSession?.commitConfiguration()
}
func createAudioOutputs(_ file: URL) -> Bool {
// writer
if nil == avFileOut {
if !startAudioFile() {
return false
}
}
// remove conflicting file
do {
try FileManager.default.removeItem(at: file)
}
catch {}
// start writer
avFileControl?.shouldStart(file)
return true
}
@discardableResult private func openDataFile(_ dataFile: URL) -> Bool {
// get annotable view
guard let annotView = self.annotableView else {
return false
}
// no annotations
// TODO: decide about guard
//guard annotView.annotations.count > 0 else {
// return false
//}
// get file path
let path = dataFile.path
// remove conflicting file
do {
try FileManager.default.removeItem(atPath: path)
}
catch {}
// create file
guard FileManager.default.createFile(atPath: path, contents: nil, attributes: nil) else {
DLog("Unable to create data file: \(dataFile.path)")
return false
}
// file handle
let fileHandle: FileHandle
// get file handle
do {
fileHandle = try FileHandle(forWritingTo: dataFile)
}
catch {
DLog("Unable to open data file handle: \(error)")
return false
}
// write header information
var headers = ""
// reserve capacity
headers.reserveCapacity(512)
// save document information
if let doc = document {
headers += "Session,\"\(doc.name)\"\n"
headers += "Video,\"\(doc.devVideo)\"\n"
headers += "Audio,\"\(doc.devAudio)\"\n"
headers += "Arduino,\"\(doc.devSerial)\"\n"
headers += "LED Brightness,\"\(doc.ledBrightness)\"\n"
}
let date = Date(), formatter = DateFormatter()
formatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
// save state information
let processInfo = ProcessInfo.processInfo
headers += "Computer,\"\(processInfo.hostName)\"\n"
headers += "Operating System,\"\(processInfo.operatingSystemVersionString)\"\n"
headers += "Software Version,\"\(AppDelegate.instance.version)\"\n"
headers += "Computer Uptime,\"\(processInfo.systemUptime)\"\n"
headers += "Process Uptime,\"\(date.timeIntervalSince(AppDelegate.instance.started as Date))\"\n"
headers += "Date,\"\(formatter.string(from: date))\"\n"
if !extractRegionString.isEmpty {
headers += "\(extractRegionString)\n"
}
// print column headers
headers += "Time"
for annot in annotView.annotations {
headers += ",\(annot.name)"
}
if nil != extractEquation {
headers += ",\(extractEquation!.description)"
}
headers += "\n"
// write data
if let data = headers.data(using: String.Encoding.utf8, allowLossyConversion: true) {
fileHandle.write(data)
}
// store data output stream
if let queue = avVideoDispatchQueue {
// prevent race condition with output buffer, since it uses same queue
queue.async {
self.dataOut = fileHandle
}
}
else {
dataOut = fileHandle
}
return true
}
private func closeDataFile() {
guard let fileHandle = dataOut else {
return
}
if let queue = avVideoDispatchQueue {
// prevent race condition with output buffer
queue.async {
self.dataOut = nil
fileHandle.closeFile()
}
}
else {
self.dataOut = nil
fileHandle.closeFile()
}
}
private func setupBeforeCapture() -> Bool {
// create video inputs
if nil != avInputVideo {
if !startVideoData() {
return false
}
if !startVideoFile() {
return false
}
}
else {
if !startAudioFile() {
return false
}
}
return true
}
@discardableResult func startCapturing(_ file: URL) -> Bool {
guard !mode.isCapturing() else {
return false
}
// get capture device
if nil == avInputVideo && nil == avInputAudio {
DLog("No device selected.")
return false
}
// update mode
if mode.isMonitoring() {
mode = .triggeredCapture
}
else {
mode = .manualCapture
// setup
if !setupBeforeCapture() {
stopDueToPermanentError()
}
}
// SETUP OUTPUTS
if nil != avInputVideo {
// unable to create video output
if !createVideoOutputs(file) {
stopDueToPermanentError()
return false
}
// file for data
let fileForData = file.deletingPathExtension().appendingPathExtension("csv")
openDataFile(fileForData)
}
else {
// unable to create audio output
if !createAudioOutputs(file) {
stopDueToPermanentError()
return false
}
// file for data
let fileForData = file.deletingPathExtension().appendingPathExtension("csv")
openDataFile(fileForData)
}
return true
}
/// Stops current capture session. Will return to monitoring if automatically triggered, otherwise will return to configuration mode.
func stopCapturing() {
guard mode.isCapturing() else {
return
}
// stop writing
if let fileOut = avFileOut {
if fileOut.isRecording {
avFileControl?.shouldStop()
}
}
// close CSV file
if nil != dataOut {
closeDataFile()
}
// switch interface mode
if mode.isMonitoring() {
mode = .monitor
}
else {
mode = .configure
}
}
@discardableResult func startMonitoring(_ directory: URL) -> Bool {
guard mode.isEditable() else {
return false
}
var path = directory.path
// required inputs
switch appPreferences.triggerType {
case .arduinoPin:
if nil == ioArduino {
DLog("No arduino selected.")
return false
}
}
// get capture device
if nil == avInputVideo && nil == avInputAudio {
DLog("No audio device selected.")
return false
}
// file directory
if !path.hasSuffix("/") {
path += "/"
}
if !FileManager.default.isWritableFile(atPath: path) {
let alert = NSAlert()
alert.messageText = "Unable to write"
alert.informativeText = "The selected directory is not writable."
alert.addButton(withTitle: "Ok")
if let win = NSApp.keyWindow {
alert.beginSheetModal(for: win, completionHandler:nil)
}
else {
alert.runModal()
}
return false
}
self.dirOut = directory
// update mode
mode = .monitor
// start audio data
switch appPreferences.triggerType {
case .arduinoPin:
// strat timer
timerMonitor = Timer.scheduledTimer(timeInterval: appPreferences.triggerPollTime, target: self, selector: #selector(ViewController.monitorCheckTrigger(_:)), userInfo: nil, repeats: true)
}
// setup
if !setupBeforeCapture() {
stopDueToPermanentError()
}
// turn off led and camera
do {
try ioArduino?.writeTo(appPreferences.pinDigitalCamera, digitalValue: false)
try ioArduino?.writeTo(appPreferences.pinAnalogLED, analogValue: UInt8(0))
if let pin = appPreferences.pinAnalogSecondLED {
try ioArduino?.writeTo(pin, analogValue: UInt8(0))
}
}
catch {
}
return true
}
func stopMonitoring() {
guard mode.isMonitoring() else {
return
}
// stop timer (for pin based monitoring)
if nil != timerMonitor {
timerMonitor!.invalidate()
timerMonitor = nil
}
// stop capturing
if mode.isCapturing() {
// pretend to be manual capture (ensures stop capture tears down capturing apartus)
mode = .manualCapture
// send stop capturing message
stopCapturing()
return
}
mode = .configure
}
// BEGIN ARDUINO MONITORING
func monitorReceiveTrigger(_ value: UInt16) {
// trigger value
let shouldCapture = (Int(value) > appPreferences.triggerValue)
// trigger value
let isCapturing = mode.isCapturing()
// right mode
if shouldCapture == isCapturing {
return
}
// has triggered? start capturing
if shouldCapture {
// get output directory
guard let dir = dirOut else {
DLog("Output directory has gone away.")
stopMonitoring()
return
}
// turn on LED and camera
do {
try ioArduino?.writeTo(appPreferences.pinDigitalCamera, digitalValue: true)
if let ledBrightness = sliderLedBrightness?.integerValue {
// set led pin
if activeLED == .Secondary, let pin = appPreferences.pinAnalogSecondLED {
try ioArduino?.writeTo(pin, analogValue: UInt8(ledBrightness))
}
else {
try ioArduino?.writeTo(appPreferences.pinAnalogLED, analogValue: UInt8(ledBrightness))
}
// set sync pin
try ioArduino?.writeTo(appPreferences.pinDigitalSync, digitalValue: true)
// must schedule clean up on main thread
DispatchQueue.main.async {
// start sync timer
Timer.scheduledTimer(timeInterval: 0.01, target: self, selector: #selector(self.disableSyncPin(_:)), userInfo: nil, repeats: false)
}
}
}
catch {
}
// format
let formatter = DateFormatter()
formatter.dateFormat = "yyyy-MM-dd HH mm ss"
// build file name
let name = formatter.string(from: Date()) + (avInputVideo == nil ? ".m4a" : ".mov")
let file = dir.appendingPathComponent(name)
// start capturing
startCapturing(file)
}
else {
// stop capturing
stopCapturing()
// turn off LED and camera
do {
try ioArduino?.writeTo(appPreferences.pinDigitalCamera, digitalValue: false)
try ioArduino?.writeTo(appPreferences.pinAnalogLED, analogValue: UInt8(0))
if let pin = appPreferences.pinAnalogSecondLED {
try ioArduino?.writeTo(pin, analogValue: 0)
}
}
catch {
}
}
}
@objc func disableSyncPin(_ timer: Timer!) {
// turn off sync pin
do {
// set sync pin
try ioArduino?.writeTo(appPreferences.pinDigitalSync, digitalValue: false)
}
catch { }
}
@objc func monitorCheckTrigger(_ timer: Timer!) {
guard let arduino = ioArduino else {
DLog("POLLING failed")
stopMonitoring()
return
}
do {
try arduino.readAnalogValueFrom(appPreferences.pinAnalogTrigger, andExecute: {
(val: UInt16?) -> Void in
guard let value = val else {
DLog("POLLING failed: no value")
self.stopMonitoring()
return
}
// receive trigger
self.monitorReceiveTrigger(value)
})
}
catch {
DLog("POLLING failed")
stopMonitoring()
}
}
// END ARDUINO MONITORING
func stopSession() {
if mode.isMonitoring() {
stopMonitoring()
}
else if mode.isCapturing() {
stopCapturing()
}
// stop inputs
if let videoInput = self.avInputVideo {
if nil != self.avSession {
self.avSession!.removeInput(videoInput)
}
self.avInputVideo = nil
}
if let audioInput = self.avInputAudio {
if nil != self.avSession {
self.avSession!.removeInput(audioInput)
}
self.avInputAudio = nil
}
// stop session
if let session = self.avSession {
session.stopRunning()
self.avSession = nil
}
// release preview layer
if nil != self.avPreviewLayer {
self.avPreviewLayer = nil
}
// release arduino
if nil != self.ioArduino {
self.ioArduino = nil
}
}
/// Stops capturing & monitoring.
func stopDueToPermanentError() {
if mode.isMonitoring() {
stopMonitoring()
}
else if mode.isCapturing() {
stopCapturing()
}
}
@IBAction func selectVideoSource(_ sender: NSPopUpButton!) {
if let selected = sender.selectedItem, let deviceUniqueID = deviceUniqueIDs[selected.tag] {
DLog("Device ID: \(deviceUniqueID)")
// is device used?
if AppDelegate.instance.isUsingDevice(deviceUniqueID) && avInputVideo?.device.uniqueID != deviceUniqueID {
// show alert
let alert = NSAlert()
alert.messageText = "Device already in use"
alert.informativeText = "The device you selected is already in use in another window. Running multiple captures from the same device may cause problems."
alert.addButton(withTitle: "Ok")
if let win = NSApp.keyWindow {
alert.beginSheetModal(for: win, completionHandler:nil)
}
else {
alert.runModal()
}
// reset selector
sender.selectItem(at: 0)
return
}
// get existing device
if nil != avInputVideo {
// should be defined
assert(nil != avSession)
if let inputVideoDevice = avInputVideo {
if inputVideoDevice.device.uniqueID == deviceUniqueID {
DLog("Same device.")
return
}
}
// remove existing
avSession!.removeInput(avInputVideo!)
avInputVideo = nil
}
else {
// start sesion
startSession()
}
// get device and add it
if let videoDevice = getDevice(deviceUniqueID, mediaTypes: [AVMediaType.video, AVMediaType.muxed]) {
// get formats
// for f in videoDevice.formats {
// print("\(f)")
// let d = CMVideoFormatDescriptionGetDimensions(f.formatDescription)
// DLog("\(d)")
// }
// add input
avInputVideo = addInput(videoDevice)
// update document
copyToDocument()
// start preview layer
if nil != avInputVideo {
// update preview layer
if let previewLayer = avPreviewLayer {
previewLayer.connection?.automaticallyAdjustsVideoMirroring = false
previewLayer.connection?.isVideoMirrored = false
}
}
}
}
else {
if nil != avInputVideo {
// should be defined
assert(nil != avSession)
// remove video
avSession!.removeInput(avInputVideo!)
avInputVideo = nil
// update document
copyToDocument()
}
}
}
@IBAction func selectAudioSource(_ sender: NSPopUpButton!) {
if let selected = sender.selectedItem, let deviceUniqueID = deviceUniqueIDs[selected.tag] {
DLog("Device ID: \(deviceUniqueID)")
// is device used?
if AppDelegate.instance.isUsingDevice(deviceUniqueID) && avInputAudio?.device.uniqueID != deviceUniqueID {
// show alert
let alert = NSAlert()
alert.messageText = "Device already in use"
alert.informativeText = "The device you selected is already in use in another window. Running multiple captures from the same device may cause problems."
alert.addButton(withTitle: "Ok")
if let win = NSApp.keyWindow {
alert.beginSheetModal(for: win, completionHandler:nil)
}
else {
alert.runModal()
}
// reset selector
sender.selectItem(at: 0)
return
}
// get existing device
if nil != avInputAudio {
// should be defined
assert(nil != avSession)
if let inputAudioDevice = avInputAudio {
if inputAudioDevice.device.uniqueID == deviceUniqueID {
DLog("Same device.")
return
}
}
// remove existing
avSession!.removeInput(avInputAudio!)
avInputAudio = nil
}
else {
// start sesion
startSession()
}
// get device and add it
if let audioDevice = getDevice(deviceUniqueID, mediaTypes: [AVMediaType.audio, AVMediaType.muxed]) {
avInputAudio = addInput(audioDevice)
// update document
copyToDocument()
}
}
else {
if nil != avInputAudio {
// should be defined
assert(nil != self.avSession)
// remove audio
avSession!.removeInput(avInputAudio!)
avInputAudio = nil
// update document
copyToDocument()
}
}
}
@IBAction func selectSerialPort(_ sender: NSPopUpButton!) {
if let selected = sender.selectedItem, let devicePath = deviceUniqueIDs[selected.tag] {
DLog("Device Path: \(devicePath)")
// is device used?
if AppDelegate.instance.isUsingDevice(devicePath) && ioArduino?.serial?.path != devicePath {
// show alert
let alert = NSAlert()
alert.messageText = "Device already in use"
alert.informativeText = "The device you selected is already in use in another window. Running multiple captures from the same device may cause problems."
alert.addButton(withTitle: "Ok")
if let win = NSApp.keyWindow {
alert.beginSheetModal(for: win, completionHandler:nil)
}
else {
alert.runModal()
}
// reset selector
sender.selectItem(at: 0)
return
}
// get existing device
if nil != ioArduino {
if ioArduino!.serial?.path == devicePath {
DLog("Same device.")
return
}
// remove device
ioArduino = nil
}
// open new port
do {
try ioArduino = ArduinoIO(path: devicePath)
try ioArduino!.setPinMode(appPreferences.pinDigitalCamera, to: ArduinoIOPin.output) // pin 4: digital camera relay
try ioArduino!.setPinMode(appPreferences.pinDigitalFeedback, to: ArduinoIOPin.output) // pin 9: digital feedback
try ioArduino!.setPinMode(appPreferences.pinAnalogLED, to: ArduinoIOPin.output) // pin 13: analog brightness
if let pin = appPreferences.pinAnalogSecondLED {
try ioArduino!.setPinMode(pin, to: .output) // pin x: analog brightness
}
try ioArduino!.setPinMode(appPreferences.pinDigitalSync, to: ArduinoIOPin.output) // pin 7: digital sync
//if appPreferences.triggerType == .ArduinoPin {
// try ioArduino!.setPinMode(appPreferences.pinAnalogTrigger, to: ArduinoIOPin.Input) // pin: 0 analog trigger
//}
// turn camera on, if already selected
if nil != self.avInputVideo {
try ioArduino!.writeTo(appPreferences.pinDigitalCamera, digitalValue: true)
}
}
catch {
DLog("Unable to communicate with selected Arduino. \(error)")
ioArduino = nil
}
// update document
copyToDocument()
}
else {
// has open port?
if nil != ioArduino {
// remove open port
ioArduino = nil
// update document
copyToDocument()
}
}
}
@IBAction func toggleCapturing(_ sender: NSButton!) {
if mode.isCapturing() {
// stop processing
stopCapturing()
}
else {
// start processing
promptToStartCapturing()
}
}
@IBAction func toggleMonitoring(_ sender: NSButton!) {
if mode.isMonitoring() {
// stop monitoring
stopMonitoring()
}
else {
// start monitoring
promptToStartMonitoring()
}
}
@IBAction func captureStill(_ sender: NSButton!) {
guard let videoStill = avVideoCaptureStill else { return }
guard !videoStill.isCapturingStillImage else { return }
guard let conn = videoStill.connection(with: AVMediaType.video) else { return }
sender.isEnabled = false
videoStill.captureStillImageAsynchronously(from: conn) {
(sampleBuffer: CMSampleBuffer?, error: Error?) -> Void
in
defer {
// on main thread
DispatchQueue.main.async {
sender.isEnabled = true
}
}
// no sample buffer?
if sampleBuffer == nil {
DLog("ERROR: \(error!)")
return
}
// get image buffer
guard let imageBuffer = CMSampleBufferGetImageBuffer(sampleBuffer!) else {
return
}
let ciImage = CIImage(cvImageBuffer: imageBuffer)
let cgImage = CIContext().createCGImage(ciImage, from: ciImage.extent)
DispatchQueue.main.async {
// save panel
let panel = NSSavePanel()
panel.allowsOtherFileTypes = false
// get prefix
var prefix = "Output"
if let field = self.textName {
if !field.stringValue.isEmpty {
prefix = field.stringValue
}
}
panel.title = "Save Still Image"
panel.allowedFileTypes = ["tiff"]
panel.nameFieldStringValue = prefix + ".tiff"
panel.canCreateDirectories = true
panel.isExtensionHidden = false
// callback for handling response
let cb = {
(result: NSApplication.ModalResponse) -> Void in
if NSApplication.ModalResponse.OK == result {
if let url = panel.url {
// delete existting
let fm = FileManager.default
if fm.fileExists(atPath: url.path) {
do {
try FileManager.default.removeItem(at: url)
}
catch { }
}
// setup TIFF properties to enable LZW compression
// create dictionary
var keyCallbacks = kCFTypeDictionaryKeyCallBacks
var valueCallbacks = kCFTypeDictionaryValueCallBacks
var compression = NSBitmapImageRep.TIFFCompression.lzw.rawValue
let saveOpts = CFDictionaryCreateMutable(nil, 0, &keyCallbacks, &valueCallbacks)
let tiffProps = CFDictionaryCreateMutable(nil, 0, &keyCallbacks, &valueCallbacks)
let key = kCGImagePropertyTIFFCompression
let val = CFNumberCreate(nil, CFNumberType.intType, &compression)
CFDictionarySetValue(tiffProps, Unmanaged.passUnretained(key).toOpaque(), Unmanaged.passUnretained(val!).toOpaque())
let key2 = kCGImagePropertyTIFFDictionary
CFDictionarySetValue(saveOpts, Unmanaged.passUnretained(key2).toOpaque(), Unmanaged.passUnretained(tiffProps!).toOpaque())
if let destination = CGImageDestinationCreateWithURL(url as CFURL, "public.tiff" as CFString, 1, nil) {
CGImageDestinationAddImage(destination, cgImage!, saveOpts)
CGImageDestinationFinalize(destination)
}
}
}
}
// show
panel.beginSheetModal(for: self.view.window!, completionHandler: cb)
}
}
}
func fileOutput(_ captureOutput: AVCaptureFileOutput, didFinishRecordingTo outputFileURL: URL, from connections: [AVCaptureConnection], error: Error?) {
var success = true, isReadable = true
if nil != error {
success = false
// if let val = e.userInfo[AVErrorRecordingSuccessfullyFinishedKey] {
// if let b = val as? Bool {
// isReadable = b
// }
// }
}
if success {
DLog("CAPTURE success!")
}
else {
DLog("CAPTURE failure: \(String(describing: error))")
// clear move
avFileOut = nil
// stop processing
stopDueToPermanentError()
// show alert
let alert = NSAlert()
alert.messageText = "Unable to process"
if let e = error {
alert.informativeText = e.localizedDescription
}
else {
alert.informativeText = "An unknown error occurred."
}
if isReadable {
alert.informativeText += " The file should be readable."
}
alert.addButton(withTitle: "Ok")
if let win = NSApp.keyWindow {
alert.beginSheetModal(for: win, completionHandler:nil)
}
else {
alert.runModal()
}
return
}
// still recording? likely switched files
if let fileOut = avFileOut, fileOut.isRecording {
DLog("CAPTURE switched file?")
return
}
// called as part of the stopping process
stopCapturing()
}
private func updateExtractionList(_ dimensions: CGSize) { // , _ rep: NSBitmapImageRep
// build mapping between square annotable dimensions and recntagular video dimensions
// including the largest dimension, which servers as the sacling factor
let maxDim: CGFloat, videoFrame: CGRect
if dimensions.width > dimensions.height {
maxDim = dimensions.width
videoFrame = CGRect(origin: CGPoint(x: 0.0, y: (maxDim - dimensions.height) / 2.0), size: dimensions)
}
else if dimensions.height > dimensions.width {
maxDim = dimensions.height
videoFrame = CGRect(origin: CGPoint(x: (maxDim - dimensions.width) / 2.0, y: 0.0), size: dimensions)
}
else {
maxDim = dimensions.width
videoFrame = CGRect(origin: CGPoint(x: 0.0, y: 0.0), size: dimensions)
}
let maxX = Int(dimensions.width), maxY = Int(dimensions.height)
extractArray.removeAll()
extractNames.removeAll()
if let view = annotableView {
for (i, annot) in view.annotations.enumerated() {
// append names (used by placeholders in equations)
extractNames.append("ROI\(annot.id)")
// generate image coordinates
for (x, y) in annot.generateImageCoordinates(videoFrame) {
if x < 0 || x >= maxX || y < 0 || y >= maxY {
continue
}
// debugging
// rep.setColor(annot.color, atX: x, y: y)
extractArray.append((pixel: maxX * y + x, annotation: i))
}
}
// string for describing output (stored to shape)
var regionString = "Region"
regionString.reserveCapacity(64)
for annot in view.annotations {
regionString += ",\"" + annot.generateImageDescription(videoFrame) + "\""
}
// write data
extractRegionString = regionString
}
else {
// clear extract region string
extractRegionString = ""
}
extractValues = [Float](repeating: 0.0, count: extractNames.count)
// debugging
// let prop = [String : AnyObject]()
// let data = rep.representationUsingType(NSBitmapImageFileType.NSPNGFileType, properties: prop)
// data?.writeToURL(NSURL(fileURLWithPath: "/Users/nathan/Desktop/debug.png"), atomically: false)
}
func captureOutput(_ captureOutput: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
#if BENCHMARK
Time.stopAndSave(withName: "wait")
Time.start(withName: "process")
// get time
let tm1 = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
Time.save(withName: "frame", andValue: CMTimeGetSeconds(tm1))
#endif
// get image buffer
guard let imageBuffer = CMSampleBufferGetImageBuffer(sampleBuffer) else {
return
}
var annotSum: [Float]
var annotCnt: [Int]
if kCVPixelFormatType_422YpCbCr8 == CVPixelBufferGetPixelFormatType(imageBuffer) {
// express processing, access buffer directly
let width = CVPixelBufferGetWidth(imageBuffer), height = CVPixelBufferGetHeight(imageBuffer)
let boundsSize = CGSize(width: width, height: height)
// check extraction list
if boundsSize != extractBounds {
// update extraction list
updateExtractionList(boundsSize)
// update extract bounds
extractBounds = boundsSize
}
// lock buffer
CVPixelBufferLockBaseAddress(imageBuffer, CVPixelBufferLockFlags.readOnly);
// get buffer
let bytesPerPixel = 2
let bytesPerRow = CVPixelBufferGetBytesPerRow(imageBuffer)
let bytesTotal = bytesPerRow * height
let bytes = UnsafeBufferPointer<UInt8>(start: CVPixelBufferGetBaseAddress(imageBuffer)!.assumingMemoryBound(to: UInt8.self), count: Int(bytesTotal))
annotSum = [Float](repeating: 0.0, count: extractValues.count)
annotCnt = [Int](repeating: 0, count: extractValues.count)
for (pixel, annotIdx) in extractArray {
if annotIdx >= annotSum.count {
continue
}
let i = pixel * bytesPerPixel + 1
let brightness = Float(bytes[i])
// increment values
annotSum[annotIdx] += brightness
annotCnt[annotIdx] += 1
}
// unlock buffer
CVPixelBufferUnlockBaseAddress(imageBuffer, CVPixelBufferLockFlags.readOnly);
}
else {
// if let a = CMCopyDictionaryOfAttachments(kCFAllocatorDefault, sampleBuffer, kCMAttachmentMode_ShouldPropagate) {
// let attachments = a.takeRetainedValue() as NSDictionary
// }
let image = CIImage(cvImageBuffer: imageBuffer) //, options: attachments) // , options:attachments)
let bounds = image.extent, width = Int(bounds.size.width), height = Int(bounds.size.height)
let bytesPerPixel: Int = 4 // four bytes per pixel kCIFormatARGB8
let bytesPerRow = Int(bytesPerPixel * width)
let bytesTotal = bytesPerRow * height
// check extraction list
if bounds.size != extractBounds {
DLog("!!! SLOWER PROCESSING !!!")
DLog("Format: \(CVPixelBufferGetPixelFormatType(imageBuffer))")
// let rep = NSBitmapImageRep(CIImage: image)
// let img = NSImage(size: rep.size)
// img.addRepresentation(rep)
//
// update extraction list
updateExtractionList(bounds.size)
// update extract bounds
extractBounds = bounds.size
}
// check that context exists
if nil == self.ciContext {
self.ciContext = CIContext()
}
// adjust buffer
if bytesTotal > self.bufferSize {
free(self.buffer)
self.buffer = calloc(bytesTotal, MemoryLayout<UInt8>.stride)
self.bufferSize = bytesTotal
}
self.ciContext?.render(image, toBitmap: self.buffer!, rowBytes: bytesPerRow, bounds: bounds, format: kCIFormatARGB8, colorSpace: nil)
let bytes = UnsafeBufferPointer<UInt8>(start: self.buffer!.assumingMemoryBound(to: UInt8.self), count: Int(bytesTotal))
annotSum = [Float](repeating: 0.0, count: extractValues.count)
annotCnt = [Int](repeating: 0, count: extractValues.count)
for (pixel, annotIdx) in extractArray {
if annotIdx >= annotSum.count {
continue
}
let i = pixel * bytesPerPixel
let red = Float(bytes[i + 1]), green = Float(bytes[i + 2]), blue = Float(bytes[i + 3])
let brightness = 0.2126 * red + 0.7152 * green + 0.0722 * blue
// increment values
annotSum[annotIdx] += brightness
annotCnt[annotIdx] += 1
}
}
// sync
objc_sync_enter(self)
defer {
objc_sync_exit(self)
}
// update values
extractValues = zip(annotSum, annotCnt).map {
sum, cnt in return cnt > 0 ? sum / Float(cnt) : 0.0
}
// equation
if nil != extractEquation {
var ph = [String: Float]()
for (i, v) in extractValues.enumerated() {
ph[extractNames[i]] = v
}
let nv = (extractEquation!.evaluate(ph) > 0.0)
if extractEquationOn != nv {
extractEquationOn = nv
if let arduino = self.ioArduino, (nv == false || !mode.isEditable()) {
// update feedback pin
do {
try arduino.writeTo(appPreferences.pinDigitalFeedback, digitalValue: nv)
}
catch {
DLog("FEEDBACK error: \(error)")
}
}
}
}
// string
if nil != dataOut {
// get timestamp
let timestamp = CMSampleBufferGetPresentationTimeStamp(sampleBuffer), timestampAsSeconds = CMTimeGetSeconds(timestamp)
// build sample string
var sampleString = "\(timestampAsSeconds)"
sampleString.reserveCapacity(64)
for val in extractValues {
sampleString += ",\(val)"
}
if nil != extractEquation {
sampleString += ",\(extractEquationOn)"
}
sampleString += "\n"
// write data
if let data = sampleString.data(using: String.Encoding.utf8, allowLossyConversion: true) {
dataOut?.write(data)
}
}
#if BENCHMARK
Time.stopAndSave(withName: "process")
Time.start(withName: "wait")
#endif
}
func captureOutput(_ captureOutput: AVCaptureOutput, didDrop sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
DLog("DROPPED FRAME!")
// string
if nil != dataOut {
// get timestamp
let timestamp = CMSampleBufferGetPresentationTimeStamp(sampleBuffer), timestampAsSeconds = CMTimeGetSeconds(timestamp)
// build sample string
let sampleString = "\(timestampAsSeconds),dropped\n"
// write data
if let data = sampleString.data(using: String.Encoding.utf8, allowLossyConversion: true) {
dataOut?.write(data)
}
}
}
@objc func timerUpdateValues(_ timer: Timer!) {
objc_sync_enter(self)
defer {
objc_sync_exit(self)
}
if let tv = tableAnnotations {
tv.reloadData(forRowIndexes: IndexSet(integersIn: 0..<extractValues.count), columnIndexes: IndexSet(integer: 2))
}
if nil != extractEquation {
if extractEquationOn {
tokenFeedback?.backgroundColor = NSColor.green
}
else {
tokenFeedback?.backgroundColor = NSColor.textBackgroundColor
}
}
}
// MARK: - arduino delegate and controls
// monitoring
@objc func avDeviceWasConnected(_ notification: Notification) {
updateDeviceLists()
DLog("AV Devices were connected")
}
@objc func avDeviceWasDisconnected(_ notification: Notification) {
updateDeviceLists()
DLog("AV Devices were disconnected")
}
// serial port
@objc func serialPortsWereConnected(_ notification: Notification) {
if let userInfo = (notification as NSNotification).userInfo {
let connectedPorts = userInfo[ORSConnectedSerialPortsKey] as! [ORSSerialPort]
DLog("Ports were connected: \(connectedPorts)")
updateDeviceLists()
}
}
@objc func serialPortsWereDisconnected(_ notification: Notification) {
if let userInfo = (notification as NSNotification).userInfo {
let disconnectedPorts: [ORSSerialPort] = userInfo[ORSDisconnectedSerialPortsKey] as! [ORSSerialPort]
DLog("Ports were disconnected: \(disconnectedPorts)")
updateDeviceLists()
}
}
func resetArduino() {
DLog("ARDUINO reset")
stopDueToPermanentError()
// clear arduino
ioArduino = nil
// reset arduino selection'
listSerialPorts?.selectItem(at: 0)
}
// MARK: - interface options
@IBAction func setLedBrightness(_ sender: NSControl!) {
// synchronize values
if sender !== sliderLedBrightness {
sliderLedBrightness.integerValue = sender.integerValue
}
if sender !== textLedBrightness {
textLedBrightness.integerValue = sender.integerValue
}
if let arduino = ioArduino {
copyToDocument()
do {
DLog("ARDUINO brightness \(sender.integerValue)")
if activeLED == .Secondary, let pin = appPreferences.pinAnalogSecondLED {
try arduino.writeTo(pin, analogValue: UInt8(sender.integerValue))
}
else {
try arduino.writeTo(appPreferences.pinAnalogLED, analogValue: UInt8(sender.integerValue))
}
}
catch {
DLog("ARDUINO brightness: failed! \(error)")
}
}
}
@IBAction func toggleLed(_ sender: NSButton!) {
switch activeLED {
case .Primary:
activeLED = .Secondary
case .Secondary:
activeLED = .Primary
}
}
@IBAction func setName(_ sender: NSTextField!) {
//if let s = sender, let field = s as? NSTextField {
copyToDocument()
//}
}
@IBAction func equationEdited(_ sender: NSTokenField!) {
// get array of tokens
let tokens = sender.objectValue as! [AnyObject]
let str = tokens.map({
(o: AnyObject) -> String
in
if let t = o as? TokenROI {
return "ROI\(t.id)"
}
return o as? String ?? ""
}).joined(separator: "")
// reset background color
sender.backgroundColor = NSColor.textBackgroundColor
// empty? disable equation
if str.isEmpty {
extractEquation = nil
}
else {
do {
let eq = try equationParse(str)
extractEquation = eq.simplify()
DLog("\(extractEquation!.description)")
}
catch {
extractEquation = nil
DLog("EQUATION error: \(error)")
sender.backgroundColor = NSColor(red: 242.0 / 255.0, green: 222.0 / 255.0, blue: 222.0 / 255.0, alpha: 1.0)
}
}
// update document
copyToDocument()
}
}
extension ViewController: NSTableViewDataSource {
func numberOfRows(in tableView: NSTableView) -> Int {
guard let annotView = self.annotableView else {
return 0
}
return annotView.annotations.count
}
func tableView(_ tableView: NSTableView, objectValueFor tableColumn: NSTableColumn?, row: Int) -> Any? {
guard let col = tableColumn, let annotView = self.annotableView else {
return nil
}
// handle column identifiers
switch (col.identifier.rawValue) {
case "color":
if row < annotView.annotations.count {
return annotView.annotations[row].color
}
return nil
case "name":
if row < annotView.annotations.count {
return annotView.annotations[row].name
}
return "ROI"
case "value":
if row < extractValues.count {
return Int(extractValues[row])
}
return nil
default:
return nil
}
}
func tableView(_ tableView: NSTableView, setObjectValue object: Any?, for tableColumn: NSTableColumn?, row: Int) {
guard let col = tableColumn, let annotView = self.annotableView else {
return
}
if "name" == col.identifier.rawValue && row < annotView.annotations.count {
if let newName = object as? String {
annotView.annotations[row].name = newName
}
}
}
func tableView(_ tableView: NSTableView, writeRowsWith rowIndexes: IndexSet, to pboard: NSPasteboard) -> Bool {
guard rowIndexes.count == 1 else {
return false
}
guard let annotView = annotableView else {
return false
}
// get row
let row = rowIndexes.first!
if row < annotView.annotations.count {
// assemble data (just dictionary with ID)
let dict: [String: Any] = ["id": annotView.annotations[row].id]
let data = NSArchiver.archivedData(withRootObject: dict)
pboard.declareTypes([NSPasteboard.PasteboardType(rawValue: kPasteboardROI), NSPasteboard.PasteboardType.string], owner: nil)
pboard.setData(data, forType: NSPasteboard.PasteboardType(rawValue: kPasteboardROI))
pboard.setString(annotView.annotations[row].name, forType: NSPasteboard.PasteboardType.string)
return true
}
return false
}
}
extension ViewController: AnnotableViewerDelegate {
func didChangeAnnotations(_ newAnnotations: [Annotation]) {
// clear extract values
extractValues = [Float](repeating: 0.0, count: newAnnotations.count)
// reset bounds (force reloading list of pixels)
extractBounds = CGSize(width: 0.0, height: 0.0)
// force redrawing of table
tableAnnotations?.reloadData()
// update document
copyToDocument()
// let attach = NSTextAttachment(fileWrapper: nil)
// let cell = AnnotationCell()
// attach.attachmentCell = cell
//
// let tfas = NSMutableAttributedString(attributedString: textFeedback!.attributedStringValue)
// DLog("\(tfas)")
// tfas.appendAttributedString(NSAttributedString(attachment: attach))
// textFeedback?.attributedStringValue = tfas
// //textFeedback?.cell?.insertValue(NSAttributedString(attachment: attach), atIndex: 0, inPropertyWithKey: )
}
}
extension ViewController: ArduinoIODelegate {
func arduinoError(_ message: String, isPermanent: Bool) {
DLog("Arduino Error: \(message)")
// permanent error
if isPermanent {
resetArduino()
}
}
}
extension ViewController: NSTokenFieldDelegate {
// return an array of represented objects you want to add.
// If you want to reject the add, return an empty array.
// returning nil will cause an error.
func tokenField(_ tokenField: NSTokenField, shouldAdd tokens: [Any], at index: Int) -> [Any] {
return tokens.filter {
(o: Any) -> Bool
in
if o is String {
return true
}
if let roi = o as? TokenROI {
if let annotView = self.annotableView {
for annot in annotView.annotations {
if annot.id == roi.id {
return true
}
}
}
}
return false
}
}
// If you return nil or don't implement these delegate methods, we will assume
// editing string = display string = represented object
func tokenField(_ tokenField: NSTokenField, displayStringForRepresentedObject representedObject: Any) -> String? {
if let o = representedObject as? TokenROI {
if let annotView = annotableView {
for annot in annotView.annotations {
if annot.id == o.id {
return annot.name
}
}
}
return "Unknown Annotation"
}
if let s = representedObject as? String {
return s
}
return nil
}
func tokenField(_ tokenField: NSTokenField, editingStringForRepresentedObject representedObject: Any) -> String? {
if let o = representedObject as? TokenROI {
return "ROI\(o.id)"
}
if let s = representedObject as? String {
return s
}
return nil
}
func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> (Any)? {
let re = Regex(pattern: "^ROI[0-9]+$")
if re.match(editingString) {
let s = editingString.index(editingString.startIndex, offsetBy: 3), e = editingString.endIndex
if let id = Int(editingString[s..<e]) {
return TokenROI(id: id)
}
}
return editingString
}
// Return an array of represented objects to add to the token field.
func tokenField(_ tokenField: NSTokenField, readFrom pboard: NSPasteboard) -> [Any]? {
var ret = [Any]()
if let data = pboard.data(forType: NSPasteboard.PasteboardType(rawValue: kPasteboardROI)), let un = NSUnarchiver.unarchiveObject(with: data), let dict = un as? NSDictionary {
if let v = dict["id"], let id = v as? Int {
ret.append(TokenROI(id: id))
}
}
return ret
}
func tokenField(_ tokenField: NSTokenField, styleForRepresentedObject representedObject: Any) -> NSTokenField.TokenStyle {
if representedObject is TokenROI {
return NSTokenField.TokenStyle.default
}
return NSTokenField.TokenStyle.none
}
}
class TokenROI: NSObject
{
let id: Int
init(id: Int) {
self.id = id
super.init()
}
}
| 34.151362 | 198 | 0.518235 |
22895e5a5fb58f395308b0745cb8a6cbb3f089e7 | 2,590 | html | HTML | data/CRAN/banxicoR.html | JuliaTagBot/OSS.jl | 985ed664e484bbcc59b009968e71f2eccaaf4cd4 | [
"Zlib"
] | null | null | null | data/CRAN/banxicoR.html | JuliaTagBot/OSS.jl | 985ed664e484bbcc59b009968e71f2eccaaf4cd4 | [
"Zlib"
] | null | null | null | data/CRAN/banxicoR.html | JuliaTagBot/OSS.jl | 985ed664e484bbcc59b009968e71f2eccaaf4cd4 | [
"Zlib"
] | 3 | 2019-05-18T18:47:05.000Z | 2020-02-08T16:36:58.000Z | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CRAN - Package banxicoR</title>
<link rel="stylesheet" type="text/css" href="../../CRAN_web.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
table td { vertical-align: top; }
</style>
</head>
<body>
<h2>banxicoR: Download Data from the Bank of Mexico</h2>
<p>Provides functions to scrape IQY calls to Bank of Mexico,
downloading and ordering the data conveniently.</p>
<table summary="Package banxicoR summary">
<tr>
<td>Version:</td>
<td>0.9.0</td>
</tr>
<tr>
<td>Imports:</td>
<td><a href="../rvest/index.html">rvest</a>, <a href="../stringr/index.html">stringr</a>, <a href="../xml2/index.html">xml2</a></td>
</tr>
<tr>
<td>Published:</td>
<td>2016-08-17</td>
</tr>
<tr>
<td>Author:</td>
<td>Eduardo Flores</td>
</tr>
<tr>
<td>Maintainer:</td>
<td>Eduardo Flores <eduardo at enelmargen.org></td>
</tr>
<tr>
<td>License:</td>
<td><a href="https://creativecommons.org/publicdomain/zero/1.0/legalcode">CC0</a></td>
</tr>
<tr>
<td>NeedsCompilation:</td>
<td>no</td>
</tr>
<tr>
<td>CRAN checks:</td>
<td><a href="../../checks/check_results_banxicoR.html">banxicoR results</a></td>
</tr>
</table>
<h4>Downloads:</h4>
<table summary="Package banxicoR downloads">
<tr>
<td> Reference manual: </td>
<td> <a href="banxicoR.pdf"> banxicoR.pdf </a> </td>
</tr>
<tr>
<td> Package source: </td>
<td> <a href="../../../src/contrib/banxicoR_0.9.0.tar.gz"> banxicoR_0.9.0.tar.gz </a> </td>
</tr>
<tr>
<td> Windows binaries: </td>
<td> r-devel: <a href="../../../bin/windows/contrib/3.6/banxicoR_0.9.0.zip">banxicoR_0.9.0.zip</a>, r-release: <a href="../../../bin/windows/contrib/3.5/banxicoR_0.9.0.zip">banxicoR_0.9.0.zip</a>, r-oldrel: <a href="../../../bin/windows/contrib/3.4/banxicoR_0.9.0.zip">banxicoR_0.9.0.zip</a> </td>
</tr>
<tr>
<td> OS X binaries: </td>
<td> r-release: <a href="../../../bin/macosx/el-capitan/contrib/3.5/banxicoR_0.9.0.tgz">banxicoR_0.9.0.tgz</a>, r-oldrel: <a href="../../../bin/macosx/el-capitan/contrib/3.4/banxicoR_0.9.0.tgz">banxicoR_0.9.0.tgz</a> </td>
</tr>
</table>
<h4>Linking:</h4>
<p>Please use the canonical form
<a href="https://CRAN.R-project.org/package=banxicoR"><samp>https://CRAN.R-project.org/package=banxicoR</samp></a>
to link to this page.</p>
</body>
</html>
| 35 | 297 | 0.642471 |
e4f4ed4f9daafa4a7e5935d6bc332b2d28384bee | 150,086 | sql | SQL | backend_go/db/create.sql | connorbenton/fintrack | 7744bcb0ab1265fbf962e7f18152e6e11ab37ffe | [
"MIT"
] | 15 | 2020-06-15T06:55:07.000Z | 2021-08-30T14:29:45.000Z | backend_go/db/create.sql | johndpope/fin | 7744bcb0ab1265fbf962e7f18152e6e11ab37ffe | [
"MIT"
] | 8 | 2020-06-17T15:03:15.000Z | 2022-02-27T06:21:52.000Z | backend_go/db/create.sql | johndpope/fin | 7744bcb0ab1265fbf962e7f18152e6e11ab37ffe | [
"MIT"
] | null | null | null | -- PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTS `accounts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `name` VARCHAR(255), `institution` VARCHAR(255), `ignore_transactions` TINYINT(1) DEFAULT 0, `account_id` VARCHAR(255), `item_id` VARCHAR(255), `type` VARCHAR(255), `subtype` VARCHAR(255) DEFAULT '', `balance` NUMERIC DEFAULT 0, `limit` NUMERIC DEFAULT 0, `available` NUMERIC DEFAULT 0, `currency` VARCHAR(255), `provider` VARCHAR(255), `running_total` NUMERIC DEFAULT 0, `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP, `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP, UNIQUE (`account_id`, `provider`));
CREATE TRIGGER IF NOT EXISTS UpdateLastTime1 UPDATE ON accounts
BEGIN
UPDATE accounts SET updated_at=CURRENT_TIMESTAMP WHERE id=id;
END;
CREATE TABLE IF NOT EXISTS `categories` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `top_category` TEXT, `sub_category` TEXT, `exclude_from_analysis` TINYINT(1), `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP, `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP);
CREATE TRIGGER IF NOT EXISTS UpdateLastTime2 UPDATE ON categories
BEGIN
UPDATE categories SET updated_at=CURRENT_TIMESTAMP WHERE id=id;
END;
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(1,'Auto & Transport','Auto & Transport',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(2,'Auto & Transport','Auto Insurance',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(3,'Auto & Transport','Auto Payment',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(4,'Auto & Transport','Gas & Fuel',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(5,'Auto & Transport','Parking',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(6,'Auto & Transport','Public Transportation',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(7,'Auto & Transport','Service & Parts',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(8,'Bills & Utilities','Bills & Utilities',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(9,'Bills & Utilities','Home Phone',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(10,'Bills & Utilities','Internet',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(11,'Bills & Utilities','Mobile Phone',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(12,'Bills & Utilities','Television',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(13,'Bills & Utilities','Utilities',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(14,'Education','Education',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(15,'Education','Books & Supplies',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(16,'Education','Student Loan',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(17,'Education','Tuition',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(18,'Entertainment','Entertainment',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(19,'Entertainment','Amusement',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(20,'Entertainment','Arts',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(21,'Entertainment','Movies & DVDs',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(22,'Entertainment','Music',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(23,'Entertainment','Newspapers & Magazines',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(24,'Fees & Charges','Fees & Charges',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(25,'Fees & Charges','ATM Fee',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(26,'Fees & Charges','Bank Fee',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(27,'Fees & Charges','Finance Charge',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(28,'Fees & Charges','Late Fee',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(29,'Fees & Charges','Service Fee',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(30,'Fees & Charges','Trade Commissions',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(31,'Financial','Financial',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(32,'Financial','Financial Advisor',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(33,'Financial','Life Insurance',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(34,'Financial','Roth IRA',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(35,'Food & Dining','Food & Dining',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(36,'Food & Dining','Alcohol & Bars',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(37,'Food & Dining','Fast Food',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(38,'Food & Dining','Groceries',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(39,'Food & Dining','Restaurants',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(40,'Gifts & Donations','Gifts & Donations',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(41,'Gifts & Donations','Charity',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(42,'Gifts & Donations','Gifts',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(43,'Health & Fitness','Health & Fitness',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(45,'Health & Fitness','Dentist',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(46,'Health & Fitness','Doctor',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(47,'Health & Fitness','Eyecare',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(48,'Health & Fitness','Gym',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(49,'Health & Fitness','Health Insurance',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(50,'Health & Fitness','Pharmacy',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(51,'Health & Fitness','Sports & Recreation',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(52,'Home','Home',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(53,'Home','Furnishings',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(54,'Home','Home Improvement & Services',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(55,'Home','Home Insurance',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(57,'Home','Home Supplies',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(58,'Home','Lawn & Garden',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(59,'Home','Mortgage & Rent',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(60,'Home','Renter''s insurance',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(61,'Income','Income',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(62,'Income','Bonus',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(63,'Income','Interest/Cap Gain/Dividend',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(64,'Income','Paycheck',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(65,'Income','Paypal Income',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(66,'Income','Reimbursement',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(67,'Income','Rental Income',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(68,'Income','Returned Purchase',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(69,'Investment (Buy)','Investment (Buy)',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(70,'Kids','Kids',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(71,'Kids','Allowance',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(72,'Kids','Baby Supplies',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(73,'Kids','Babysitter & Daycare',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(74,'Kids','Kids Activities',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(75,'Kids','Toys',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(76,'Misc Expenses','Misc Expenses',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(77,'Misc Expenses','Venmo expense',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(78,'Misc Expenses','Wedding',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(79,'Personal Care','Personal Care',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(80,'Personal Care','Hair',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(81,'Personal Care','Laundry',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(82,'Personal Care','Spa & Massage',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(83,'Shopping','Shopping',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(84,'Shopping','Amazon',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(85,'Shopping','Amazon Prime Member',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(86,'Shopping','Books',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(87,'Shopping','Clothing',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(88,'Shopping','Coffee',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(89,'Shopping','Electronics & Software',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(90,'Shopping','Hobbies',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(91,'Shopping','Sporting Goods',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(92,'Taxes','Taxes',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(93,'Taxes','Federal Tax',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(94,'Taxes','Local Tax',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(95,'Taxes','Property Tax',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(96,'Taxes','Sales Tax',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(97,'Taxes','State Tax',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(98,'Transfer','Transfer',1);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(99,'Transfer','Investment Transfer In/Out',1);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(100,'Transfer','Credit Card Payment (Transfer)',1);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(101,'Travel','Travel',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(102,'Travel','Air Travel',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(103,'Travel','Hotel',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(104,'Travel','Rental Car & Taxi',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(105,'Travel','Vacation',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(106,'Uncategorized','Uncategorized',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(107,'Uncategorized','Cash & ATM',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(108,'Uncategorized','Check',0);
INSERT OR IGNORE INTO categories (id, top_category, sub_category, exclude_from_analysis) VALUES(109,'Hide from Analysis','Hide from Analysis',1);
CREATE TABLE IF NOT EXISTS `item_tokens` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `institution` VARCHAR(255), `access_token` VARCHAR(255) DEFAULT '', `item_id` VARCHAR(255), `provider` VARCHAR(255), `interactive` TINYINT(1) DEFAULT 0, `needs_re_login` TINYINT(1) DEFAULT 0, `last_refresh` DATETIME, `next_refresh_possible` DATETIME, `last_downloaded_transactions` DATETIME, `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP, `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP, UNIQUE (`item_id`, `provider`));
CREATE TRIGGER IF NOT EXISTS UpdateLastTime4 UPDATE ON item_tokens
BEGIN
UPDATE item_tokens SET updated_at=CURRENT_TIMESTAMP WHERE id=id;
END;
CREATE TABLE IF NOT EXISTS `plaid__categories` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `hierarchy` TEXT, `cat_i_d` TEXT UNIQUE, `link_to_app_cat` INTEGER, `app_cat_name` TEXT, `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP, `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP);
CREATE TRIGGER IF NOT EXISTS UpdateLastTime5 UPDATE ON plaid__categories
BEGIN
UPDATE plaid__categories SET updated_at=CURRENT_TIMESTAMP WHERE id=id;
END;
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(1,'[ "Bank Fees" ]','10000000',26,'Bank Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(2,'[ "Bank Fees", "Overdraft" ]','10001000',26,'Bank Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(3,'[ "Bank Fees", "ATM" ]','10002000',25,'ATM Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(4,'[ "Bank Fees", "Late Payment" ]','10003000',28,'Late Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(5,'[ "Bank Fees", "Fraud Dispute" ]','10004000',26,'Bank Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(6,'[ "Bank Fees", "Foreign Transaction" ]','10005000',26,'Bank Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(7,'[ "Bank Fees", "Wire Transfer" ]','10006000',26,'Bank Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(8,'[ "Bank Fees", "Insufficient Funds" ]','10007000',26,'Bank Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(9,'[ "Bank Fees", "Cash Advance" ]','10008000',26,'Bank Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(10,'[ "Bank Fees", "Excess Activity" ]','10009000',26,'Bank Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(11,'[ "Cash Advance" ]','11000000',26,'Bank Fee');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(12,'[ "Community" ]','12000000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(13,'[ "Community", "Animal Shelter" ]','12001000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(14,'[ "Community", "Assisted Living Services" ]','12002000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(15,'[ "Community", "Assisted Living Services", "Facilities and Nursing Homes" ]','12002001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(16,'[ "Community", "Assisted Living Services", "Caretakers" ]','12002002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(17,'[ "Community", "Cemetery" ]','12003000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(18,'[ "Community", "Courts" ]','12004000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(19,'[ "Community", "Day Care and Preschools" ]','12005000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(20,'[ "Community", "Disabled Persons Services" ]','12006000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(21,'[ "Community", "Drug and Alcohol Services" ]','12007000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(22,'[ "Community", "Education" ]','12008000',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(23,'[ "Community", "Education", "Vocational Schools" ]','12008001',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(24,'[ "Community", "Education", "Tutoring and Educational Services" ]','12008002',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(25,'[ "Community", "Education", "Primary and Secondary Schools" ]','12008003',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(26,'[ "Community", "Education", "Fraternities and Sororities" ]','12008004',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(27,'[ "Community", "Education", "Driving Schools" ]','12008005',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(28,'[ "Community", "Education", "Dance Schools" ]','12008006',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(29,'[ "Community", "Education", "Culinary Lessons and Schools" ]','12008007',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(30,'[ "Community", "Education", "Computer Training" ]','12008008',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(31,'[ "Community", "Education", "Colleges and Universities" ]','12008009',17,'Tuition');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(32,'[ "Community", "Education", "Art School" ]','12008010',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(33,'[ "Community", "Education", "Adult Education" ]','12008011',14,'Education');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(34,'[ "Community", "Government Departments and Agencies" ]','12009000',8,'Bills & Utilities');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(35,'[ "Community", "Government Lobbyists" ]','12010000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(36,'[ "Community", "Housing Assistance and Shelters" ]','12011000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(37,'[ "Community", "Law Enforcement" ]','12012000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(38,'[ "Community", "Law Enforcement", "Police Stations" ]','12012001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(39,'[ "Community", "Law Enforcement", "Fire Stations" ]','12012002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(40,'[ "Community", "Law Enforcement", "Correctional Institutions" ]','12012003',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(41,'[ "Community", "Libraries" ]','12013000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(42,'[ "Community", "Military" ]','12014000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(43,'[ "Community", "Organizations and Associations" ]','12015000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(44,'[ "Community", "Organizations and Associations", "Youth Organizations" ]','12015001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(45,'[ "Community", "Organizations and Associations", "Environmental" ]','12015002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(46,'[ "Community", "Organizations and Associations", "Charities and Non-Profits" ]','12015003',42,'Gifts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(47,'[ "Community", "Post Offices" ]','12016000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(48,'[ "Community", "Public and Social Services" ]','12017000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(49,'[ "Community", "Religious" ]','12018000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(50,'[ "Community", "Religious", "Temple" ]','12018001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(51,'[ "Community", "Religious", "Synagogues" ]','12018002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(52,'[ "Community", "Religious", "Mosques" ]','12018003',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(53,'[ "Community", "Religious", "Churches" ]','12018004',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(54,'[ "Community", "Senior Citizen Services" ]','12019000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(55,'[ "Community", "Senior Citizen Services", "Retirement" ]','12019001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(56,'[ "Food and Drink" ]','13000000',35,'Food & Dining');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(57,'[ "Food and Drink", "Bar" ]','13001000',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(58,'[ "Food and Drink", "Bar", "Wine Bar" ]','13001001',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(59,'[ "Food and Drink", "Bar", "Sports Bar" ]','13001002',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(60,'[ "Food and Drink", "Bar", "Hotel Lounge" ]','13001003',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(61,'[ "Food and Drink", "Breweries" ]','13002000',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(62,'[ "Food and Drink", "Internet Cafes" ]','13003000',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(63,'[ "Food and Drink", "Nightlife" ]','13004000',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(64,'[ "Food and Drink", "Nightlife", "Strip Club" ]','13004001',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(65,'[ "Food and Drink", "Nightlife", "Night Clubs" ]','13004002',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(66,'[ "Food and Drink", "Nightlife", "Karaoke" ]','13004003',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(67,'[ "Food and Drink", "Nightlife", "Jazz and Blues Cafe" ]','13004004',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(68,'[ "Food and Drink", "Nightlife", "Hookah Lounges" ]','13004005',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(69,'[ "Food and Drink", "Nightlife", "Adult Entertainment" ]','13004006',36,'Alcohol & Bars');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(70,'[ "Food and Drink", "Restaurants" ]','13005000',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(71,'[ "Food and Drink", "Restaurants", "Winery" ]','13005001',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(72,'[ "Food and Drink", "Restaurants", "Vegan and Vegetarian" ]','13005002',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(73,'[ "Food and Drink", "Restaurants", "Turkish" ]','13005003',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(74,'[ "Food and Drink", "Restaurants", "Thai" ]','13005004',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(75,'[ "Food and Drink", "Restaurants", "Swiss" ]','13005005',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(76,'[ "Food and Drink", "Restaurants", "Sushi" ]','13005006',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(77,'[ "Food and Drink", "Restaurants", "Steakhouses" ]','13005007',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(78,'[ "Food and Drink", "Restaurants", "Spanish" ]','13005008',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(79,'[ "Food and Drink", "Restaurants", "Seafood" ]','13005009',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(80,'[ "Food and Drink", "Restaurants", "Scandinavian" ]','13005010',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(81,'[ "Food and Drink", "Restaurants", "Portuguese" ]','13005011',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(82,'[ "Food and Drink", "Restaurants", "Pizza" ]','13005012',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(83,'[ "Food and Drink", "Restaurants", "Moroccan" ]','13005013',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(84,'[ "Food and Drink", "Restaurants", "Middle Eastern" ]','13005014',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(85,'[ "Food and Drink", "Restaurants", "Mexican" ]','13005015',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(86,'[ "Food and Drink", "Restaurants", "Mediterranean" ]','13005016',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(87,'[ "Food and Drink", "Restaurants", "Latin American" ]','13005017',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(88,'[ "Food and Drink", "Restaurants", "Korean" ]','13005018',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(89,'[ "Food and Drink", "Restaurants", "Juice Bar" ]','13005019',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(90,'[ "Food and Drink", "Restaurants", "Japanese" ]','13005020',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(91,'[ "Food and Drink", "Restaurants", "Italian" ]','13005021',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(92,'[ "Food and Drink", "Restaurants", "Indonesian" ]','13005022',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(93,'[ "Food and Drink", "Restaurants", "Indian" ]','13005023',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(94,'[ "Food and Drink", "Restaurants", "Ice Cream" ]','13005024',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(95,'[ "Food and Drink", "Restaurants", "Greek" ]','13005025',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(96,'[ "Food and Drink", "Restaurants", "German" ]','13005026',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(97,'[ "Food and Drink", "Restaurants", "Gastropub" ]','13005027',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(98,'[ "Food and Drink", "Restaurants", "French" ]','13005028',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(99,'[ "Food and Drink", "Restaurants", "Food Truck" ]','13005029',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(100,'[ "Food and Drink", "Restaurants", "Fish and Chips" ]','13005030',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(101,'[ "Food and Drink", "Restaurants", "Filipino" ]','13005031',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(102,'[ "Food and Drink", "Restaurants", "Fast Food" ]','13005032',37,'Fast Food');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(103,'[ "Food and Drink", "Restaurants", "Falafel" ]','13005033',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(104,'[ "Food and Drink", "Restaurants", "Ethiopian" ]','13005034',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(105,'[ "Food and Drink", "Restaurants", "Eastern European" ]','13005035',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(106,'[ "Food and Drink", "Restaurants", "Donuts" ]','13005036',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(107,'[ "Food and Drink", "Restaurants", "Distillery" ]','13005037',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(108,'[ "Food and Drink", "Restaurants", "Diners" ]','13005038',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(109,'[ "Food and Drink", "Restaurants", "Dessert" ]','13005039',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(110,'[ "Food and Drink", "Restaurants", "Delis" ]','13005040',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(111,'[ "Food and Drink", "Restaurants", "Cupcake Shop" ]','13005041',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(112,'[ "Food and Drink", "Restaurants", "Cuban" ]','13005042',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(113,'[ "Food and Drink", "Restaurants", "Coffee Shop" ]','13005043',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(114,'[ "Food and Drink", "Restaurants", "Chinese" ]','13005044',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(115,'[ "Food and Drink", "Restaurants", "Caribbean" ]','13005045',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(116,'[ "Food and Drink", "Restaurants", "Cajun" ]','13005046',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(117,'[ "Food and Drink", "Restaurants", "Cafe" ]','13005047',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(118,'[ "Food and Drink", "Restaurants", "Burrito" ]','13005048',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(119,'[ "Food and Drink", "Restaurants", "Burgers" ]','13005049',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(120,'[ "Food and Drink", "Restaurants", "Breakfast Spot" ]','13005050',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(121,'[ "Food and Drink", "Restaurants", "Brazilian" ]','13005051',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(122,'[ "Food and Drink", "Restaurants", "Barbecue" ]','13005052',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(123,'[ "Food and Drink", "Restaurants", "Bakery" ]','13005053',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(124,'[ "Food and Drink", "Restaurants", "Bagel Shop" ]','13005054',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(125,'[ "Food and Drink", "Restaurants", "Australian" ]','13005055',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(126,'[ "Food and Drink", "Restaurants", "Asian" ]','13005056',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(127,'[ "Food and Drink", "Restaurants", "American" ]','13005057',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(128,'[ "Food and Drink", "Restaurants", "African" ]','13005058',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(129,'[ "Food and Drink", "Restaurants", "Afghan" ]','13005059',39,'Restaurants');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(130,'[ "Healthcare" ]','14000000',43,'Health & Fitness');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(131,'[ "Healthcare", "Healthcare Services" ]','14001000',43,'Health & Fitness');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(132,'[ "Healthcare", "Healthcare Services", "Psychologists" ]','14001001',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(133,'[ "Healthcare", "Healthcare Services", "Pregnancy and Sexual Health" ]','14001002',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(134,'[ "Healthcare", "Healthcare Services", "Podiatrists" ]','14001003',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(135,'[ "Healthcare", "Healthcare Services", "Physical Therapy" ]','14001004',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(136,'[ "Healthcare", "Healthcare Services", "Optometrists" ]','14001005',47,'Eyecare');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(137,'[ "Healthcare", "Healthcare Services", "Nutritionists" ]','14001006',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(138,'[ "Healthcare", "Healthcare Services", "Nurses" ]','14001007',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(139,'[ "Healthcare", "Healthcare Services", "Mental Health" ]','14001008',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(140,'[ "Healthcare", "Healthcare Services", "Medical Supplies and Labs" ]','14001009',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(141,'[ "Healthcare", "Healthcare Services", "Hospitals, Clinics and Medical Centers" ]','14001010',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(142,'[ "Healthcare", "Healthcare Services", "Emergency Services" ]','14001011',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(143,'[ "Healthcare", "Healthcare Services", "Dentists" ]','14001012',45,'Dentist');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(144,'[ "Healthcare", "Healthcare Services", "Counseling and Therapy" ]','14001013',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(145,'[ "Healthcare", "Healthcare Services", "Chiropractors" ]','14001014',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(146,'[ "Healthcare", "Healthcare Services", "Blood Banks and Centers" ]','14001015',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(147,'[ "Healthcare", "Healthcare Services", "Alternative Medicine" ]','14001016',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(148,'[ "Healthcare", "Healthcare Services", "Acupuncture" ]','14001017',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(149,'[ "Healthcare", "Physicians" ]','14002000',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(150,'[ "Healthcare", "Physicians", "Urologists" ]','14002001',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(151,'[ "Healthcare", "Physicians", "Respiratory" ]','14002002',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(152,'[ "Healthcare", "Physicians", "Radiologists" ]','14002003',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(153,'[ "Healthcare", "Physicians", "Psychiatrists" ]','14002004',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(154,'[ "Healthcare", "Physicians", "Plastic Surgeons" ]','14002005',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(155,'[ "Healthcare", "Physicians", "Pediatricians" ]','14002006',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(156,'[ "Healthcare", "Physicians", "Pathologists" ]','14002007',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(157,'[ "Healthcare", "Physicians", "Orthopedic Surgeons" ]','14002008',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(158,'[ "Healthcare", "Physicians", "Ophthalmologists" ]','14002009',47,'Eyecare');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(159,'[ "Healthcare", "Physicians", "Oncologists" ]','14002010',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(160,'[ "Healthcare", "Physicians", "Obstetricians and Gynecologists" ]','14002011',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(161,'[ "Healthcare", "Physicians", "Neurologists" ]','14002012',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(162,'[ "Healthcare", "Physicians", "Internal Medicine" ]','14002013',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(163,'[ "Healthcare", "Physicians", "General Surgery" ]','14002014',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(164,'[ "Healthcare", "Physicians", "Gastroenterologists" ]','14002015',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(165,'[ "Healthcare", "Physicians", "Family Medicine" ]','14002016',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(166,'[ "Healthcare", "Physicians", "Ear, Nose and Throat" ]','14002017',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(167,'[ "Healthcare", "Physicians", "Dermatologists" ]','14002018',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(168,'[ "Healthcare", "Physicians", "Cardiologists" ]','14002019',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(169,'[ "Healthcare", "Physicians", "Anesthesiologists" ]','14002020',46,'Doctor');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(170,'[ "Interest" ]','15000000',63,'Interest/Cap Gain/Dividend');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(171,'[ "Interest", "Interest Earned" ]','15001000',63,'Interest/Cap Gain/Dividend');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(172,'[ "Interest", "Interest Charged" ]','15002000',63,'Interest/Cap Gain/Dividend');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(173,'[ "Payment" ]','16000000',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(174,'[ "Payment", "Credit Card" ]','16001000',100,'Credit Card Payment (Transfer)');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(175,'[ "Payment", "Rent" ]','16002000',59,'Mortgage & Rent');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(176,'[ "Payment", "Loan" ]','16003000',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(177,'[ "Recreation" ]','17000000',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(178,'[ "Recreation", "Arts and Entertainment" ]','17001000',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(179,'[ "Recreation", "Arts and Entertainment", "Theatrical Productions" ]','17001001',20,'Arts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(180,'[ "Recreation", "Arts and Entertainment", "Symphony and Opera" ]','17001002',20,'Arts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(181,'[ "Recreation", "Arts and Entertainment", "Sports Venues" ]','17001003',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(182,'[ "Recreation", "Arts and Entertainment", "Social Clubs" ]','17001004',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(183,'[ "Recreation", "Arts and Entertainment", "Psychics and Astrologers" ]','17001005',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(184,'[ "Recreation", "Arts and Entertainment", "Party Centers" ]','17001006',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(185,'[ "Recreation", "Arts and Entertainment", "Music and Show Venues" ]','17001007',20,'Arts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(186,'[ "Recreation", "Arts and Entertainment", "Museums" ]','17001008',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(187,'[ "Recreation", "Arts and Entertainment", "Movie Theatres" ]','17001009',21,'Movies & DVDs');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(188,'[ "Recreation", "Arts and Entertainment", "Fairgrounds and Rodeos" ]','17001010',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(189,'[ "Recreation", "Arts and Entertainment", "Entertainment" ]','17001011',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(190,'[ "Recreation", "Arts and Entertainment", "Dance Halls and Saloons" ]','17001012',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(191,'[ "Recreation", "Arts and Entertainment", "Circuses and Carnivals" ]','17001013',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(192,'[ "Recreation", "Arts and Entertainment", "Casinos and Gaming" ]','17001014',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(193,'[ "Recreation", "Arts and Entertainment", "Bowling" ]','17001015',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(194,'[ "Recreation", "Arts and Entertainment", "Billiards and Pool" ]','17001016',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(195,'[ "Recreation", "Arts and Entertainment", "Art Dealers and Galleries" ]','17001017',20,'Arts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(196,'[ "Recreation", "Arts and Entertainment", "Arcades and Amusement Parks" ]','17001018',19,'Amusement');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(197,'[ "Recreation", "Arts and Entertainment", "Aquarium" ]','17001019',18,'Entertainment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(198,'[ "Recreation", "Athletic Fields" ]','17002000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(199,'[ "Recreation", "Baseball" ]','17003000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(200,'[ "Recreation", "Basketball" ]','17004000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(201,'[ "Recreation", "Batting Cages" ]','17005000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(202,'[ "Recreation", "Boating" ]','17006000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(203,'[ "Recreation", "Campgrounds and RV Parks" ]','17007000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(204,'[ "Recreation", "Canoes and Kayaks" ]','17008000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(205,'[ "Recreation", "Combat Sports" ]','17009000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(206,'[ "Recreation", "Cycling" ]','17010000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(207,'[ "Recreation", "Dance" ]','17011000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(208,'[ "Recreation", "Equestrian" ]','17012000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(209,'[ "Recreation", "Football" ]','17013000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(210,'[ "Recreation", "Go Carts" ]','17014000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(211,'[ "Recreation", "Golf" ]','17015000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(212,'[ "Recreation", "Gun Ranges" ]','17016000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(213,'[ "Recreation", "Gymnastics" ]','17017000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(214,'[ "Recreation", "Gyms and Fitness Centers" ]','17018000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(215,'[ "Recreation", "Hiking" ]','17019000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(216,'[ "Recreation", "Hockey" ]','17020000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(217,'[ "Recreation", "Hot Air Balloons" ]','17021000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(218,'[ "Recreation", "Hunting and Fishing" ]','17022000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(219,'[ "Recreation", "Landmarks" ]','17023000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(220,'[ "Recreation", "Landmarks", "Monuments and Memorials" ]','17023001',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(221,'[ "Recreation", "Landmarks", "Historic Sites" ]','17023002',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(222,'[ "Recreation", "Landmarks", "Gardens" ]','17023003',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(223,'[ "Recreation", "Landmarks", "Buildings and Structures" ]','17023004',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(224,'[ "Recreation", "Miniature Golf" ]','17024000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(225,'[ "Recreation", "Outdoors" ]','17025000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(226,'[ "Recreation", "Outdoors", "Rivers" ]','17025001',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(227,'[ "Recreation", "Outdoors", "Mountains" ]','17025002',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(228,'[ "Recreation", "Outdoors", "Lakes" ]','17025003',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(229,'[ "Recreation", "Outdoors", "Forests" ]','17025004',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(230,'[ "Recreation", "Outdoors", "Beaches" ]','17025005',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(231,'[ "Recreation", "Paintball" ]','17026000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(232,'[ "Recreation", "Parks" ]','17027000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(233,'[ "Recreation", "Parks", "Playgrounds" ]','17027001',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(234,'[ "Recreation", "Parks", "Picnic Areas" ]','17027002',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(235,'[ "Recreation", "Parks", "Natural Parks" ]','17027003',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(236,'[ "Recreation", "Personal Trainers" ]','17028000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(237,'[ "Recreation", "Race Tracks" ]','17029000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(238,'[ "Recreation", "Racquet Sports" ]','17030000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(239,'[ "Recreation", "Racquetball" ]','17031000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(240,'[ "Recreation", "Rafting" ]','17032000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(241,'[ "Recreation", "Recreation Centers" ]','17033000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(242,'[ "Recreation", "Rock Climbing" ]','17034000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(243,'[ "Recreation", "Running" ]','17035000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(244,'[ "Recreation", "Scuba Diving" ]','17036000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(245,'[ "Recreation", "Skating" ]','17037000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(246,'[ "Recreation", "Skydiving" ]','17038000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(247,'[ "Recreation", "Snow Sports" ]','17039000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(248,'[ "Recreation", "Soccer" ]','17040000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(249,'[ "Recreation", "Sports and Recreation Camps" ]','17041000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(250,'[ "Recreation", "Sports Clubs" ]','17042000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(251,'[ "Recreation", "Stadiums and Arenas" ]','17043000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(252,'[ "Recreation", "Swimming" ]','17044000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(253,'[ "Recreation", "Tennis" ]','17045000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(254,'[ "Recreation", "Water Sports" ]','17046000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(255,'[ "Recreation", "Yoga and Pilates" ]','17047000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(256,'[ "Recreation", "Zoo" ]','17048000',51,'Sports & Recreation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(257,'[ "Service" ]','18000000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(258,'[ "Service", "Advertising and Marketing" ]','18001000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(259,'[ "Service", "Advertising and Marketing", "Writing, Copywriting and Technical Writing" ]','18001001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(260,'[ "Service", "Advertising and Marketing", "Search Engine Marketing and Optimization" ]','18001002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(261,'[ "Service", "Advertising and Marketing", "Public Relations" ]','18001003',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(262,'[ "Service", "Advertising and Marketing", "Promotional Items" ]','18001004',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(263,'[ "Service", "Advertising and Marketing", "Print, TV, Radio and Outdoor Advertising" ]','18001005',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(264,'[ "Service", "Advertising and Marketing", "Online Advertising" ]','18001006',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(265,'[ "Service", "Advertising and Marketing", "Market Research and Consulting" ]','18001007',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(266,'[ "Service", "Advertising and Marketing", "Direct Mail and Email Marketing Services" ]','18001008',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(267,'[ "Service", "Advertising and Marketing", "Creative Services" ]','18001009',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(268,'[ "Service", "Advertising and Marketing", "Advertising Agencies and Media Buyers" ]','18001010',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(269,'[ "Service", "Art Restoration" ]','18003000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(270,'[ "Service", "Audiovisual" ]','18004000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(271,'[ "Service", "Automation and Control Systems" ]','18005000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(272,'[ "Service", "Automotive" ]','18006000',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(273,'[ "Service", "Automotive", "Towing" ]','18006001',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(274,'[ "Service", "Automotive", "Motorcycle, Moped and Scooter Repair" ]','18006002',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(275,'[ "Service", "Automotive", "Maintenance and Repair" ]','18006003',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(276,'[ "Service", "Automotive", "Car Wash and Detail" ]','18006004',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(277,'[ "Service", "Automotive", "Car Appraisers" ]','18006005',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(278,'[ "Service", "Automotive", "Auto Transmission" ]','18006006',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(279,'[ "Service", "Automotive", "Auto Tires" ]','18006007',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(280,'[ "Service", "Automotive", "Auto Smog Check" ]','18006008',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(281,'[ "Service", "Automotive", "Auto Oil and Lube" ]','18006009',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(282,'[ "Service", "Business and Strategy Consulting" ]','18007000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(283,'[ "Service", "Business Services" ]','18008000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(284,'[ "Service", "Business Services", "Printing and Publishing" ]','18008001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(285,'[ "Service", "Cable" ]','18009000',12,'Television');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(286,'[ "Service", "Chemicals and Gasses" ]','18010000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(287,'[ "Service", "Cleaning" ]','18011000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(288,'[ "Service", "Computers" ]','18012000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(289,'[ "Service", "Computers", "Maintenance and Repair" ]','18012001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(290,'[ "Service", "Computers", "Software Development" ]','18012002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(291,'[ "Service", "Construction" ]','18013000',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(292,'[ "Service", "Construction", "Specialty" ]','18013001',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(293,'[ "Service", "Construction", "Roofers" ]','18013002',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(294,'[ "Service", "Construction", "Painting" ]','18013003',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(295,'[ "Service", "Construction", "Masonry" ]','18013004',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(296,'[ "Service", "Construction", "Infrastructure" ]','18013005',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(297,'[ "Service", "Construction", "Heating, Ventilating and Air Conditioning" ]','18013006',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(298,'[ "Service", "Construction", "Electricians" ]','18013007',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(299,'[ "Service", "Construction", "Contractors" ]','18013008',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(300,'[ "Service", "Construction", "Carpet and Flooring" ]','18013009',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(301,'[ "Service", "Construction", "Carpenters" ]','18013010',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(302,'[ "Service", "Credit Counseling and Bankruptcy Services" ]','18014000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(303,'[ "Service", "Dating and Escort" ]','18015000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(304,'[ "Service", "Employment Agencies" ]','18016000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(305,'[ "Service", "Engineering" ]','18017000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(306,'[ "Service", "Entertainment" ]','18018000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(307,'[ "Service", "Entertainment", "Media" ]','18018001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(308,'[ "Service", "Events and Event Planning" ]','18019000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(309,'[ "Service", "Financial" ]','18020000',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(310,'[ "Service", "Financial", "Taxes" ]','18020001',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(311,'[ "Service", "Financial", "Student Aid and Grants" ]','18020002',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(312,'[ "Service", "Financial", "Stock Brokers" ]','18020003',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(313,'[ "Service", "Financial", "Loans and Mortgages" ]','18020004',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(314,'[ "Service", "Financial", "Holding and Investment Offices" ]','18020005',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(315,'[ "Service", "Financial", "Fund Raising" ]','18020006',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(316,'[ "Service", "Financial", "Financial Planning and Investments" ]','18020007',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(317,'[ "Service", "Financial", "Credit Reporting" ]','18020008',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(318,'[ "Service", "Financial", "Collections" ]','18020009',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(319,'[ "Service", "Financial", "Check Cashing" ]','18020010',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(320,'[ "Service", "Financial", "Business Brokers and Franchises" ]','18020011',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(321,'[ "Service", "Financial", "Banking and Finance" ]','18020012',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(322,'[ "Service", "Financial", "ATMs" ]','18020013',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(323,'[ "Service", "Financial", "Accounting and Bookkeeping" ]','18020014',31,'Financial');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(324,'[ "Service", "Food and Beverage" ]','18021000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(325,'[ "Service", "Food and Beverage", "Distribution" ]','18021001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(326,'[ "Service", "Food and Beverage", "Catering" ]','18021002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(327,'[ "Service", "Funeral Services" ]','18022000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(328,'[ "Service", "Geological" ]','18023000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(329,'[ "Service", "Home Improvement" ]','18024000',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(330,'[ "Service", "Home Improvement", "Upholstery" ]','18024001',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(331,'[ "Service", "Home Improvement", "Tree Service" ]','18024002',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(332,'[ "Service", "Home Improvement", "Swimming Pool Maintenance and Services" ]','18024003',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(333,'[ "Service", "Home Improvement", "Storage" ]','18024004',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(334,'[ "Service", "Home Improvement", "Roofers" ]','18024005',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(335,'[ "Service", "Home Improvement", "Pools and Spas" ]','18024006',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(336,'[ "Service", "Home Improvement", "Plumbing" ]','18024007',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(337,'[ "Service", "Home Improvement", "Pest Control" ]','18024008',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(338,'[ "Service", "Home Improvement", "Painting" ]','18024009',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(339,'[ "Service", "Home Improvement", "Movers" ]','18024010',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(340,'[ "Service", "Home Improvement", "Mobile Homes" ]','18024011',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(341,'[ "Service", "Home Improvement", "Lighting Fixtures" ]','18024012',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(342,'[ "Service", "Home Improvement", "Landscaping and Gardeners" ]','18024013',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(343,'[ "Service", "Home Improvement", "Kitchens" ]','18024014',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(344,'[ "Service", "Home Improvement", "Interior Design" ]','18024015',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(345,'[ "Service", "Home Improvement", "Housewares" ]','18024016',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(346,'[ "Service", "Home Improvement", "Home Inspection Services" ]','18024017',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(347,'[ "Service", "Home Improvement", "Home Appliances" ]','18024018',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(348,'[ "Service", "Home Improvement", "Heating, Ventilation and Air Conditioning" ]','18024019',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(349,'[ "Service", "Home Improvement", "Hardware and Services" ]','18024020',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(350,'[ "Service", "Home Improvement", "Fences, Fireplaces and Garage Doors" ]','18024021',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(351,'[ "Service", "Home Improvement", "Electricians" ]','18024022',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(352,'[ "Service", "Home Improvement", "Doors and Windows" ]','18024023',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(353,'[ "Service", "Home Improvement", "Contractors" ]','18024024',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(354,'[ "Service", "Home Improvement", "Carpet and Flooring" ]','18024025',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(355,'[ "Service", "Home Improvement", "Carpenters" ]','18024026',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(356,'[ "Service", "Home Improvement", "Architects" ]','18024027',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(357,'[ "Service", "Household" ]','18025000',52,'Home');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(358,'[ "Service", "Human Resources" ]','18026000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(359,'[ "Service", "Immigration" ]','18027000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(360,'[ "Service", "Import and Export" ]','18028000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(361,'[ "Service", "Industrial Machinery and Vehicles" ]','18029000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(362,'[ "Service", "Insurance" ]','18030000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(363,'[ "Service", "Internet Services" ]','18031000',10,'Internet');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(364,'[ "Service", "Leather" ]','18032000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(365,'[ "Service", "Legal" ]','18033000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(366,'[ "Service", "Logging and Sawmills" ]','18034000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(367,'[ "Service", "Machine Shops" ]','18035000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(368,'[ "Service", "Management" ]','18036000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(369,'[ "Service", "Manufacturing" ]','18037000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(370,'[ "Service", "Manufacturing", "Apparel and Fabric Products" ]','18037001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(371,'[ "Service", "Manufacturing", "Chemicals and Gasses" ]','18037002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(372,'[ "Service", "Manufacturing", "Computers and Office Machines" ]','18037003',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(373,'[ "Service", "Manufacturing", "Electrical Equipment and Components" ]','18037004',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(374,'[ "Service", "Manufacturing", "Food and Beverage" ]','18037005',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(375,'[ "Service", "Manufacturing", "Furniture and Fixtures" ]','18037006',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(376,'[ "Service", "Manufacturing", "Glass Products" ]','18037007',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(377,'[ "Service", "Manufacturing", "Industrial Machinery and Equipment" ]','18037008',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(378,'[ "Service", "Manufacturing", "Leather Goods" ]','18037009',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(379,'[ "Service", "Manufacturing", "Metal Products" ]','18037010',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(380,'[ "Service", "Manufacturing", "Nonmetallic Mineral Products" ]','18037011',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(381,'[ "Service", "Manufacturing", "Paper Products" ]','18037012',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(382,'[ "Service", "Manufacturing", "Petroleum" ]','18037013',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(383,'[ "Service", "Manufacturing", "Plastic Products" ]','18037014',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(384,'[ "Service", "Manufacturing", "Rubber Products" ]','18037015',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(385,'[ "Service", "Manufacturing", "Service Instruments" ]','18037016',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(386,'[ "Service", "Manufacturing", "Textiles" ]','18037017',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(387,'[ "Service", "Manufacturing", "Tobacco" ]','18037018',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(388,'[ "Service", "Manufacturing", "Transportation Equipment" ]','18037019',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(389,'[ "Service", "Manufacturing", "Wood Products" ]','18037020',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(390,'[ "Service", "Media Production" ]','18038000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(391,'[ "Service", "Metals" ]','18039000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(392,'[ "Service", "Mining" ]','18040000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(393,'[ "Service", "Mining", "Coal" ]','18040001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(394,'[ "Service", "Mining", "Metal" ]','18040002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(395,'[ "Service", "Mining", "Non-Metallic Minerals" ]','18040003',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(396,'[ "Service", "News Reporting" ]','18041000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(397,'[ "Service", "Oil and Gas" ]','18042000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(398,'[ "Service", "Packaging" ]','18043000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(399,'[ "Service", "Paper" ]','18044000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(400,'[ "Service", "Personal Care" ]','18045000',79,'Personal Care');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(401,'[ "Service", "Personal Care", "Tattooing" ]','18045001',79,'Personal Care');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(402,'[ "Service", "Personal Care", "Tanning Salons" ]','18045002',82,'Spa & Massage');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(403,'[ "Service", "Personal Care", "Spas" ]','18045003',82,'Spa & Massage');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(404,'[ "Service", "Personal Care", "Skin Care" ]','18045004',79,'Personal Care');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(405,'[ "Service", "Personal Care", "Piercing" ]','18045005',79,'Personal Care');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(406,'[ "Service", "Personal Care", "Massage Clinics and Therapists" ]','18045006',82,'Spa & Massage');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(407,'[ "Service", "Personal Care", "Manicures and Pedicures" ]','18045007',82,'Spa & Massage');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(408,'[ "Service", "Personal Care", "Laundry and Garment Services" ]','18045008',79,'Personal Care');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(409,'[ "Service", "Personal Care", "Hair Salons and Barbers" ]','18045009',80,'Hair');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(410,'[ "Service", "Personal Care", "Hair Removal" ]','18045010',80,'Hair');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(411,'[ "Service", "Petroleum" ]','18046000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(412,'[ "Service", "Photography" ]','18047000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(413,'[ "Service", "Plastics" ]','18048000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(414,'[ "Service", "Rail" ]','18049000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(415,'[ "Service", "Real Estate" ]','18050000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(416,'[ "Service", "Real Estate", "Real Estate Development and Title Companies" ]','18050001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(417,'[ "Service", "Real Estate", "Real Estate Appraiser" ]','18050002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(418,'[ "Service", "Real Estate", "Real Estate Agents" ]','18050003',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(419,'[ "Service", "Real Estate", "Property Management" ]','18050004',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(420,'[ "Service", "Real Estate", "Corporate Housing" ]','18050005',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(421,'[ "Service", "Real Estate", "Commercial Real Estate" ]','18050006',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(422,'[ "Service", "Real Estate", "Building and Land Surveyors" ]','18050007',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(423,'[ "Service", "Real Estate", "Boarding Houses" ]','18050008',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(424,'[ "Service", "Real Estate", "Apartments, Condos and Houses" ]','18050009',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(425,'[ "Service", "Real Estate", "Rent" ]','18050010',59,'Mortgage & Rent');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(426,'[ "Service", "Refrigeration and Ice" ]','18051000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(427,'[ "Service", "Renewable Energy" ]','18052000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(428,'[ "Service", "Repair Services" ]','18053000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(429,'[ "Service", "Research" ]','18054000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(430,'[ "Service", "Rubber" ]','18055000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(431,'[ "Service", "Scientific" ]','18056000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(432,'[ "Service", "Security and Safety" ]','18057000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(433,'[ "Service", "Shipping and Freight" ]','18058000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(434,'[ "Service", "Software Development" ]','18059000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(435,'[ "Service", "Storage" ]','18060000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(436,'[ "Service", "Subscription" ]','18061000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(437,'[ "Service", "Tailors" ]','18062000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(438,'[ "Service", "Telecommunication Services" ]','18063000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(439,'[ "Service", "Textiles" ]','18064000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(440,'[ "Service", "Tourist Information and Services" ]','18065000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(441,'[ "Service", "Transportation" ]','18066000',1,'Auto & Transport');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(442,'[ "Service", "Travel Agents and Tour Operators" ]','18067000',101,'Travel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(443,'[ "Service", "Utilities" ]','18068000',13,'Utilities');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(444,'[ "Service", "Utilities", "Water" ]','18068001',13,'Utilities');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(445,'[ "Service", "Utilities", "Sanitary and Waste Management" ]','18068002',13,'Utilities');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(446,'[ "Service", "Utilities", "Heating, Ventilating, and Air Conditioning" ]','18068003',13,'Utilities');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(447,'[ "Service", "Utilities", "Gas" ]','18068004',13,'Utilities');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(448,'[ "Service", "Utilities", "Electric" ]','18068005',13,'Utilities');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(449,'[ "Service", "Veterinarians" ]','18069000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(450,'[ "Service", "Water and Waste Management" ]','18070000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(451,'[ "Service", "Web Design and Development" ]','18071000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(452,'[ "Service", "Welding" ]','18072000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(453,'[ "Service", "Agriculture and Forestry" ]','18073000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(454,'[ "Service", "Agriculture and Forestry", "Crop Production" ]','18073001',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(455,'[ "Service", "Agriculture and Forestry", "Forestry" ]','18073002',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(456,'[ "Service", "Agriculture and Forestry", "Livestock and Animals" ]','18073003',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(457,'[ "Service", "Agriculture and Forestry", "Services" ]','18073004',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(458,'[ "Service", "Art and Graphic Design" ]','18074000',76,'Misc Expenses');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(459,'[ "Shops" ]','19000000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(460,'[ "Shops", "Adult" ]','19001000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(461,'[ "Shops", "Antiques" ]','19002000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(462,'[ "Shops", "Arts and Crafts" ]','19003000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(463,'[ "Shops", "Auctions" ]','19004000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(464,'[ "Shops", "Automotive" ]','19005000',1,'Auto & Transport');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(465,'[ "Shops", "Automotive", "Used Car Dealers" ]','19005001',3,'Auto Payment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(466,'[ "Shops", "Automotive", "Salvage Yards" ]','19005002',1,'Auto & Transport');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(467,'[ "Shops", "Automotive", "RVs and Motor Homes" ]','19005003',1,'Auto & Transport');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(468,'[ "Shops", "Automotive", "Motorcycles, Mopeds and Scooters" ]','19005004',1,'Auto & Transport');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(469,'[ "Shops", "Automotive", "Classic and Antique Car" ]','19005005',1,'Auto & Transport');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(470,'[ "Shops", "Automotive", "Car Parts and Accessories" ]','19005006',7,'Service & Parts');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(471,'[ "Shops", "Automotive", "Car Dealers and Leasing" ]','19005007',3,'Auto Payment');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(472,'[ "Shops", "Beauty Products" ]','19006000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(473,'[ "Shops", "Bicycles" ]','19007000',91,'Sporting Goods');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(474,'[ "Shops", "Boat Dealers" ]','19008000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(475,'[ "Shops", "Bookstores" ]','19009000',86,'Books');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(476,'[ "Shops", "Cards and Stationery" ]','19010000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(477,'[ "Shops", "Children" ]','19011000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(478,'[ "Shops", "Clothing and Accessories" ]','19012000',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(479,'[ "Shops", "Clothing and Accessories", "Women''s Store" ]','19012001',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(480,'[ "Shops", "Clothing and Accessories", "Swimwear" ]','19012002',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(481,'[ "Shops", "Clothing and Accessories", "Shoe Store" ]','19012003',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(482,'[ "Shops", "Clothing and Accessories", "Men''s Store" ]','19012004',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(483,'[ "Shops", "Clothing and Accessories", "Lingerie Store" ]','19012005',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(484,'[ "Shops", "Clothing and Accessories", "Kids'' Store" ]','19012006',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(485,'[ "Shops", "Clothing and Accessories", "Boutique" ]','19012007',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(486,'[ "Shops", "Clothing and Accessories", "Accessories Store" ]','19012008',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(487,'[ "Shops", "Computers and Electronics" ]','19013000',89,'Electronics & Software');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(488,'[ "Shops", "Computers and Electronics", "Video Games" ]','19013001',89,'Electronics & Software');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(489,'[ "Shops", "Computers and Electronics", "Mobile Phones" ]','19013002',89,'Electronics & Software');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(490,'[ "Shops", "Computers and Electronics", "Cameras" ]','19013003',89,'Electronics & Software');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(491,'[ "Shops", "Construction Supplies" ]','19014000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(492,'[ "Shops", "Convenience Stores" ]','19015000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(493,'[ "Shops", "Costumes" ]','19016000',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(494,'[ "Shops", "Dance and Music" ]','19017000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(495,'[ "Shops", "Department Stores" ]','19018000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(496,'[ "Shops", "Digital Purchase" ]','19019000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(497,'[ "Shops", "Discount Stores" ]','19020000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(498,'[ "Shops", "Electrical Equipment" ]','19021000',89,'Electronics & Software');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(499,'[ "Shops", "Equipment Rental" ]','19022000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(500,'[ "Shops", "Flea Markets" ]','19023000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(501,'[ "Shops", "Florists" ]','19024000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(502,'[ "Shops", "Food and Beverage Store" ]','19025000',38,'Groceries');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(503,'[ "Shops", "Food and Beverage Store", "Specialty" ]','19025001',38,'Groceries');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(504,'[ "Shops", "Food and Beverage Store", "Health Food" ]','19025002',38,'Groceries');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(505,'[ "Shops", "Food and Beverage Store", "Farmers Markets" ]','19025003',38,'Groceries');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(506,'[ "Shops", "Food and Beverage Store", "Beer, Wine and Spirits" ]','19025004',38,'Groceries');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(507,'[ "Shops", "Fuel Dealer" ]','19026000',4,'Gas & Fuel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(508,'[ "Shops", "Furniture and Home Decor" ]','19027000',53,'Furnishings');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(509,'[ "Shops", "Gift and Novelty" ]','19028000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(510,'[ "Shops", "Glasses and Optometrist" ]','19029000',47,'Eyecare');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(511,'[ "Shops", "Hardware Store" ]','19030000',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(512,'[ "Shops", "Hobby and Collectibles" ]','19031000',90,'Hobbies');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(513,'[ "Shops", "Industrial Supplies" ]','19032000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(514,'[ "Shops", "Jewelry and Watches" ]','19033000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(515,'[ "Shops", "Luggage" ]','19034000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(516,'[ "Shops", "Marine Supplies" ]','19035000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(517,'[ "Shops", "Music, Video and DVD" ]','19036000',21,'Movies & DVDs');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(518,'[ "Shops", "Musical Instruments" ]','19037000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(519,'[ "Shops", "Newsstands" ]','19038000',23,'Newspapers & Magazines');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(520,'[ "Shops", "Office Supplies" ]','19039000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(521,'[ "Shops", "Outlet" ]','19040000',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(522,'[ "Shops", "Outlet", "Women''s Store" ]','19040001',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(523,'[ "Shops", "Outlet", "Swimwear" ]','19040002',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(524,'[ "Shops", "Outlet", "Shoe Store" ]','19040003',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(525,'[ "Shops", "Outlet", "Men''s Store" ]','19040004',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(526,'[ "Shops", "Outlet", "Lingerie Store" ]','19040005',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(527,'[ "Shops", "Outlet", "Kids'' Store" ]','19040006',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(528,'[ "Shops", "Outlet", "Boutique" ]','19040007',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(529,'[ "Shops", "Outlet", "Accessories Store" ]','19040008',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(530,'[ "Shops", "Pawn Shops" ]','19041000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(531,'[ "Shops", "Pets" ]','19042000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(532,'[ "Shops", "Pharmacies" ]','19043000',50,'Pharmacy');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(533,'[ "Shops", "Photos and Frames" ]','19044000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(534,'[ "Shops", "Shopping Centers and Malls" ]','19045000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(535,'[ "Shops", "Sporting Goods" ]','19046000',91,'Sporting Goods');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(536,'[ "Shops", "Supermarkets and Groceries" ]','19047000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(537,'[ "Shops", "Tobacco" ]','19048000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(538,'[ "Shops", "Toys" ]','19049000',75,'Toys');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(539,'[ "Shops", "Vintage and Thrift" ]','19050000',87,'Clothing');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(540,'[ "Shops", "Warehouses and Wholesale Stores" ]','19051000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(541,'[ "Shops", "Wedding and Bridal" ]','19052000',78,'Wedding');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(542,'[ "Shops", "Wholesale" ]','19053000',83,'Shopping');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(543,'[ "Shops", "Lawn and Garden" ]','19054000',54,'Home Improvement & Services');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(544,'[ "Tax" ]','20000000',92,'Taxes');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(545,'[ "Tax", "Refund" ]','20001000',92,'Taxes');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(546,'[ "Tax", "Payment" ]','20002000',92,'Taxes');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(547,'[ "Transfer" ]','21000000',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(548,'[ "Transfer", "Internal Account Transfer" ]','21001000',98,'Transfer');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(549,'[ "Transfer", "ACH" ]','21002000',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(550,'[ "Transfer", "Billpay" ]','21003000',8,'Bills & Utilities');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(551,'[ "Transfer", "Check" ]','21004000',108,'Check');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(552,'[ "Transfer", "Credit" ]','21005000',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(553,'[ "Transfer", "Debit" ]','21006000',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(554,'[ "Transfer", "Deposit" ]','21007000',61,'Income');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(555,'[ "Transfer", "Deposit", "Check" ]','21007001',61,'Income');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(556,'[ "Transfer", "Deposit", "ATM" ]','21007002',61,'Income');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(557,'[ "Transfer", "Keep the Change Savings Program" ]','21008000',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(558,'[ "Transfer", "Payroll" ]','21009000',64,'Paycheck');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(559,'[ "Transfer", "Payroll", "Benefits" ]','21009001',61,'Income');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(560,'[ "Transfer", "Third Party" ]','21010000',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(561,'[ "Transfer", "Third Party", "Venmo" ]','21010001',77,'Venmo expense');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(562,'[ "Transfer", "Third Party", "Square Cash" ]','21010002',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(563,'[ "Transfer", "Third Party", "Square" ]','21010003',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(564,'[ "Transfer", "Third Party", "PayPal" ]','21010004',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(565,'[ "Transfer", "Third Party", "Dwolla" ]','21010005',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(566,'[ "Transfer", "Third Party", "Coinbase" ]','21010006',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(567,'[ "Transfer", "Third Party", "Chase QuickPay" ]','21010007',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(568,'[ "Transfer", "Third Party", "Acorns" ]','21010008',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(569,'[ "Transfer", "Third Party", "Digit" ]','21010009',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(570,'[ "Transfer", "Third Party", "Betterment" ]','21010010',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(571,'[ "Transfer", "Third Party", "Plaid" ]','21010011',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(572,'[ "Transfer", "Wire" ]','21011000',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(573,'[ "Transfer", "Withdrawal" ]','21012000',107,'Cash & ATM');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(574,'[ "Transfer", "Withdrawal", "Check" ]','21012001',108,'Check');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(575,'[ "Transfer", "Withdrawal", "ATM" ]','21012002',107,'Cash & ATM');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(576,'[ "Transfer", "Save As You Go" ]','21013000',106,'Uncategorized');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(577,'[ "Travel" ]','22000000',101,'Travel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(578,'[ "Travel", "Airlines and Aviation Services" ]','22001000',102,'Air Travel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(579,'[ "Travel", "Airports" ]','22002000',102,'Air Travel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(580,'[ "Travel", "Boat" ]','22003000',101,'Travel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(581,'[ "Travel", "Bus Stations" ]','22004000',6,'Public Transportation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(582,'[ "Travel", "Car and Truck Rentals" ]','22005000',104,'Rental Car & Taxi');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(583,'[ "Travel", "Car Service" ]','22006000',104,'Rental Car & Taxi');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(584,'[ "Travel", "Car Service", "Ride Share" ]','22006001',104,'Rental Car & Taxi');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(585,'[ "Travel", "Charter Buses" ]','22007000',104,'Rental Car & Taxi');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(586,'[ "Travel", "Cruises" ]','22008000',101,'Travel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(587,'[ "Travel", "Gas Stations" ]','22009000',4,'Gas & Fuel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(588,'[ "Travel", "Heliports" ]','22010000',101,'Travel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(589,'[ "Travel", "Limos and Chauffeurs" ]','22011000',104,'Rental Car & Taxi');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(590,'[ "Travel", "Lodging" ]','22012000',103,'Hotel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(591,'[ "Travel", "Lodging", "Resorts" ]','22012001',105,'Vacation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(592,'[ "Travel", "Lodging", "Lodges and Vacation Rentals" ]','22012002',105,'Vacation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(593,'[ "Travel", "Lodging", "Hotels and Motels" ]','22012003',103,'Hotel');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(594,'[ "Travel", "Lodging", "Hostels" ]','22012004',105,'Vacation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(595,'[ "Travel", "Lodging", "Cottages and Cabins" ]','22012005',105,'Vacation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(596,'[ "Travel", "Lodging", "Bed and Breakfasts" ]','22012006',105,'Vacation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(597,'[ "Travel", "Parking" ]','22013000',5,'Parking');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(598,'[ "Travel", "Public Transportation Services" ]','22014000',6,'Public Transportation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(599,'[ "Travel", "Rail" ]','22015000',6,'Public Transportation');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(600,'[ "Travel", "Taxi" ]','22016000',104,'Rental Car & Taxi');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(601,'[ "Travel", "Tolls and Fees" ]','22017000',1,'Auto & Transport');
INSERT OR IGNORE INTO plaid__categories (id, hierarchy, cat_i_d, link_to_app_cat, app_cat_name) VALUES(602,'[ "Travel", "Transportation Centers" ]','22018000',1,'Auto & Transport');
CREATE TABLE IF NOT EXISTS `salt_edge__categories` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `top_category` TEXT, `sub_category` TEXT, `bottom_category` TEXT, `link_to_app_cat` INTEGER, `app_cat_name` TEXT, `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP, `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP);
CREATE TRIGGER IF NOT EXISTS UpdateLastTime6 UPDATE ON salt_edge__categories
BEGIN
UPDATE salt_edge__categories SET updated_at=CURRENT_TIMESTAMP WHERE id=id;
END;
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(1,'personal','auto_and_transport','car_rental',1,'Auto & Transport');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(2,'personal','auto_and_transport','gas_and_fuel',4,'Gas & Fuel');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(3,'personal','auto_and_transport','parking',5,'Parking');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(4,'personal','auto_and_transport','public_transportation',6,'Public Transportation');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(5,'personal','auto_and_transport','service_and_parts',7,'Service & Parts');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(6,'personal','auto_and_transport','taxi',1,'Auto & Transport');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(7,'personal','bills_and_utilities','internet',10,'Internet');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(8,'personal','bills_and_utilities','phone',11,'Mobile Phone');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(9,'personal','bills_and_utilities','television',12,'Television');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(10,'personal','bills_and_utilities','utilities',13,'Utilities');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(11,'personal','business_services','advertising',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(12,'personal','business_services','office_supplies',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(13,'personal','business_services','shipping',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(14,'personal','education','books_and_supplies',15,'Books & Supplies');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(15,'personal','education','student_loan',16,'Student Loan');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(16,'personal','education','tuition',17,'Tuition');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(17,'personal','entertainment','amusement',19,'Amusement');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(18,'personal','entertainment','arts',20,'Arts');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(19,'personal','entertainment','games',18,'Entertainment');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(20,'personal','entertainment','movies_and_music',21,'Movies & DVDs');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(21,'personal','entertainment','newspapers_and_magazines',23,'Newspapers & Magazines');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(22,'personal','fees_and_charges','provider_fee',24,'Fees & Charges');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(23,'personal','fees_and_charges','loans',24,'Fees & Charges');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(24,'personal','fees_and_charges','service_fee',29,'Service Fee');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(25,'personal','fees_and_charges','taxes',92,'Taxes');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(26,'personal','food_and_dining','alcohol_and_bars',36,'Alcohol & Bars');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(27,'personal','food_and_dining','cafes_and_restaurants',39,'Restaurants');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(28,'personal','food_and_dining','groceries',39,'Restaurants');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(29,'personal','gifts_and_donations','charity',41,'Charity');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(30,'personal','gifts_and_donations','gifts',42,'Gifts');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(31,'personal','health_and_fitness','doctor',46,'Doctor');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(32,'personal','health_and_fitness','personal_care',79,'Personal Care');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(33,'personal','health_and_fitness','pharmacy',50,'Pharmacy');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(34,'personal','health_and_fitness','sports',51,'Sports & Recreation');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(35,'personal','health_and_fitness','wellness',43,'Health & Fitness');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(36,'personal','home','home_improvement',54,'Home Improvement & Services');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(37,'personal','home','home_services',54,'Home Improvement & Services');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(38,'personal','home','home_supplies',57,'Home Supplies');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(39,'personal','home','mortgage',59,'Mortgage & Rent');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(40,'personal','home','rent',59,'Mortgage & Rent');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(41,'personal','income','bonus',62,'Bonus');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(42,'personal','income','investment_income',63,'Interest/Cap Gain/Dividend');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(43,'personal','income','paycheck',64,'Paycheck');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(44,'personal','insurance','car_insurance',2,'Auto Insurance');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(45,'personal','insurance','health_insurance',49,'Health Insurance');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(46,'personal','insurance','life_insurance',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(47,'personal','insurance','property_insurance',55,'Home Insurance');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(48,'personal','kids','allowance',71,'Allowance');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(49,'personal','kids','babysitter_and_daycare',73,'Babysitter & Daycare');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(50,'personal','kids','baby_supplies',72,'Baby Supplies');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(51,'personal','kids','child_support',70,'Kids');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(52,'personal','kids','kids_activities',74,'Kids Activities');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(53,'personal','kids','toys',75,'Toys');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(54,'personal','pets','pet_food_and_supplies',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(55,'personal','pets','pet_grooming',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(56,'personal','pets','veterinary',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(57,'personal','shopping','clothing',87,'Clothing');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(58,'personal','shopping','electronics_and_software',89,'Electronics & Software');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(59,'personal','shopping','sporting_goods',91,'Sporting Goods');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(60,'personal','travel','hotel',103,'Hotel');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(61,'personal','travel','transportation',101,'Travel');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(62,'personal','travel','vacation',105,'Vacation');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(63,'business','cost_of_goods','merchandise',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(64,'business','cost_of_goods','raw_materials',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(65,'business','financials','dividends',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(66,'business','financials','donations',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(67,'business','financials','fees',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(68,'business','financials','fines',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(69,'business','financials','interest',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(70,'business','human_resources','bonus',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(71,'business','human_resources','education_and_trainings',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(72,'business','human_resources','social_security',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(73,'business','human_resources','staff_outsourcing',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(74,'business','human_resources','wages',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(75,'business','income','investment',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(76,'business','income','returns',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(77,'business','income','sales',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(78,'business','insurance','business_insurance',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(79,'business','insurance','equipment_insurance',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(80,'business','insurance','health_insurance',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(81,'business','insurance','liability_insurance',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(82,'business','insurance','professional_insurance',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(83,'business','office','equipment',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(84,'business','office','office_rent',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(85,'business','office','office_supplies',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(86,'business','office','software',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(87,'business','services','accounting',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(88,'business','services','consultancy',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(89,'business','services','contractors',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(90,'business','services','legal',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(91,'business','services','marketing',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(92,'business','services','online_subscriptions',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(93,'business','services','storage',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(94,'business','taxes','duty_taxes',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(95,'business','taxes','federal_taxes',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(96,'business','taxes','income_taxes',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(97,'business','taxes','property_taxes',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(98,'business','taxes','tax_return',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(99,'business','taxes','vat',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(100,'business','transport','gas_and_fuel',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(101,'business','transport','leasing',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(102,'business','transport','shipping',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(103,'business','transport','taxi',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(104,'business','utilities','electricity',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(105,'business','utilities','gas',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(106,'business','utilities','internet',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(107,'business','utilities','phone',76,'Misc Expenses');
INSERT OR IGNORE INTO salt_edge__categories (id, top_category, sub_category, bottom_category, link_to_app_cat, app_cat_name) VALUES(108,'business','utilities','water',76,'Misc Expenses');
-- CREATE TABLE IF NOT EXISTS `transactions` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `date` DATE, `transaction_id` VARCHAR(255) UNIQUE, `description` TEXT, `original_description` TEXT DEFAULT '', `amount` NUMERIC DEFAULT 0, `normalized_amount` NUMERIC DEFAULT 0, `transaction_type` TEXT DEFAULT '', `category` INTEGER, `category_name` TEXT, `account_name` TEXT, `currency_code` VARCHAR(255), `account_id` VARCHAR(255), `labels` TEXT DEFAULT '', `notes` TEXT DEFAULT '', `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP, `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP);
CREATE TABLE IF NOT EXISTS `transactions` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `date` DATE, `transaction_id` VARCHAR(255) UNIQUE, `description` TEXT, `amount` NUMERIC DEFAULT 0, `normalized_amount` NUMERIC DEFAULT 0, `category` INTEGER, `category_name` TEXT, `account_name` TEXT, `currency_code` VARCHAR(255), `account_id` VARCHAR(255), `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP, `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP);
CREATE INDEX IF NOT EXISTS tx_date ON `transactions` (`date`);
CREATE TRIGGER IF NOT EXISTS UpdateLastTime7 UPDATE ON transactions
BEGIN
UPDATE transactions SET updated_at=CURRENT_TIMESTAMP WHERE id=id;
END;
CREATE TABLE IF NOT EXISTS `analysis_trees` (`name` STRING PRIMARY KEY, `first_date` STRING, `last_date` STRING, `data` STRING DEFAULT '', `data_no_invest` STRING DEFAULT '', `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP, `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP);
CREATE TRIGGER IF NOT EXISTS UpdateLastTime8 UPDATE ON analysis_trees
BEGIN
UPDATE analysis_trees SET updated_at=CURRENT_TIMESTAMP WHERE name=name;
END;
COMMIT; | 174.315912 | 584 | 0.768213 |
0be10a81b27188cb783795849e9e9a22541acd74 | 392 | js | JavaScript | 05-NodeJS精讲/02-Express精讲/04-Express中间件使用/02-应用中间件的挂载/demo2/src/routers/teacherRouter.js | Like-H5/01---H5-- | a85c296f4b6bd093a2f39c92e0694f97be7bd85c | [
"MIT"
] | 3 | 2021-07-19T03:33:12.000Z | 2021-11-05T07:56:39.000Z | 05-NodeJS精讲/02-Express精讲/04-Express中间件使用/02-应用中间件的挂载/demo2/src/routers/teacherRouter.js | Like-H5/01---H5-- | a85c296f4b6bd093a2f39c92e0694f97be7bd85c | [
"MIT"
] | null | null | null | 05-NodeJS精讲/02-Express精讲/04-Express中间件使用/02-应用中间件的挂载/demo2/src/routers/teacherRouter.js | Like-H5/01---H5-- | a85c296f4b6bd093a2f39c92e0694f97be7bd85c | [
"MIT"
] | 1 | 2021-10-20T02:20:46.000Z | 2021-10-20T02:20:46.000Z | const express = require("express")
// 讲师增删改查
let teacherRouter = express.Router();
teacherRouter.get("/list", (req, resp)=>{
resp.send("讲师列表获取")
})
teacherRouter.get("/del", (req, resp) => {
resp.send("讲师删除")
})
teacherRouter.post("/edit", (req, resp) => {
resp.send("讲师修改")
})
teacherRouter.post("/add", (req, resp) => {
resp.send("讲师新增")
})
module.exports = teacherRouter; | 21.777778 | 44 | 0.625 |
39d17f19f6db0f0900cd3d66d0b6520644ae4406 | 1,620 | js | JavaScript | react-portfolio/src/pages/AboutPage.js | Richard-Biala/React-Portfolio | 7a5bfc6179b13dbdee8b7ebd705e83ab9589af76 | [
"ADSL"
] | null | null | null | react-portfolio/src/pages/AboutPage.js | Richard-Biala/React-Portfolio | 7a5bfc6179b13dbdee8b7ebd705e83ab9589af76 | [
"ADSL"
] | null | null | null | react-portfolio/src/pages/AboutPage.js | Richard-Biala/React-Portfolio | 7a5bfc6179b13dbdee8b7ebd705e83ab9589af76 | [
"ADSL"
] | null | null | null | import React from 'react';
import Hero from '../components/Hero';
import Content from '../components/Content';
import Richard from '../assests/images/richard.png'
function AboutPage(props) {
return (
<div>
<Hero title={props.title} />
<Content>
<div className="richard">
<img src={Richard} alt="Richard"/>
</div>
<p>
Welcome! Thank you for taking the time out of your day to view my
progress so far. My name is Richard Biala, I am a father of 2 and
married to my beautiful wife for 15 years. I decided that I needed a change of direction and pursue a greater purpose. In order to better myself for me and my family, I chose
to challenge myself by entering the world of coding.
</p>
<p>
I've recently finished my stint at U.C. Davis and
persuing a career as a full stack web developer. Throughout my time with U.C Davis, I've gained experience on gaining technical programming skills in HTML5, CSS3, Javascript, JQuery, Bootstrap, Firebase, Node Js, MySQL, MongoDB, Express, Handelbars.js & ReactJS. Prior to to my
bootcamp experience I had little to no knowledge of any code, but with
my new found love for web development. I look forward to learning and
creating more for the world.
</p>
</Content>
</div>
)
}
export default AboutPage;
| 45 | 297 | 0.576543 |
18795bc992ade5ec842aa7e017df393b84ba8d30 | 3,734 | lua | Lua | misc/bingdaily.lua | shengofsun/awesome-hammerspoon | 85e0a3e9bcd12c266ceb84832a4781388cd2cd23 | [
"MIT"
] | null | null | null | misc/bingdaily.lua | shengofsun/awesome-hammerspoon | 85e0a3e9bcd12c266ceb84832a4781388cd2cd23 | [
"MIT"
] | null | null | null | misc/bingdaily.lua | shengofsun/awesome-hammerspoon | 85e0a3e9bcd12c266ceb84832a4781388cd2cd23 | [
"MIT"
] | null | null | null | user_agent_str = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4"
json_req_url = "http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1"
desktop_picture_db = os.getenv("HOME")..'/Library/Application Support/Dock/desktoppicture.db'
bing_image_dir = os.getenv("HOME").."/Library/Caches/org.hammerspoon.Hammerspoon/images/"
function bingDailyRequest()
hs.http.asyncGet(json_req_url, {["User-Agent"]=user_agent_str}, function(stat,body,header)
if stat == 200 then
if pcall(function() hs.json.decode(body) end) then
local decode_data = hs.json.decode(body)
local pic_url = decode_data.images[1].url
local pic_name = hs.http.urlParts(pic_url).lastPathComponent
if bing_last_set_pic ~= pic_name then
local full_url = "https://www.bing.com"..pic_url
downloadBingImage(full_url)
end
end
else
print("Bing URL request failed!")
end
end)
end
function downloadBingImage(url)
local function curl_callback(exitCode,stdOut,stdErr)
if exitCode == 0 then
bing_curl_task = nil
bing_last_set_pic = hs.http.urlParts(url).lastPathComponent
local localpath = bing_image_dir..hs.http.urlParts(url).lastPathComponent
bingSetAsWallpaper(localpath)
os.execute("ls -t "..bing_image_dir.." | tail -n+30 | xargs -I{} rm -f "..bing_image_dir.."/{}")
else
print(stdOut,stdErr)
end
end
if bing_curl_task then
bing_curl_task:terminate()
bing_curl_task = nil
end
local localpath = bing_image_dir..hs.http.urlParts(url).lastPathComponent
local mkdir_output, mkdir_status = os.execute("mkdir -p "..bing_image_dir)
if not mkdir_status then
print("Failed to create directory: "..bing_image_dir)
return
end
bing_curl_task = hs.task.new("/usr/bin/curl",curl_callback,{"-A",user_agent_str,url,"-o",localpath})
bing_curl_task:start()
end
function setAsWallpaperByApplescript(filepath)
local applescript = 'tell application "System Events"\nset picture of every desktop to "'..filepath..'"\nend tell'
local stat, data = hs.osascript.applescript(applescript)
if not stat then
print("AppleScript failed.")
end
end
function setAsWallpaperByShellscript(filepath)
local query_script = 'sqlite3 "'..desktop_picture_db..
'" "select value from data" 2>/dev/null | grep -v "'..
hs.fs.displayName(filepath)..'" 2>/dev/null'
local to_update, query_status = hs.execute(query_script)
if not query_status or string.len(to_update) == 0 then
print("No need to set desktop picture by shell script")
return
end
local shellscript = "sqlite3 \""..desktop_picture_db..
"\" \"update data set value = '"..
filepath.."'\" && killall Dock"
local outout, status, type, rc = hs.execute(shellscript)
if not status then
print("ShellScript failed.")
end
end
function bingSetAsWallpaper(filepath)
if hs.fs.displayName(desktop_picture_db) then
setAsWallpaperByShellscript(filepath)
end
setAsWallpaperByApplescript(filepath)
end
if bingdaily_timer == nil then
bingdaily_timer = hs.timer.doEvery(3*60*60, function() bingDailyRequest() end)
bingdaily_timer:setNextTrigger(5)
else
bingdaily_timer:start()
end
| 41.488889 | 136 | 0.627209 |
1842d5302587f856170378abce280cde68822548 | 261 | css | CSS | src/App.css | lydialima12/curriculoReact | d2b7c3e94f3580712051850be4e3cb552b4a3824 | [
"MIT"
] | null | null | null | src/App.css | lydialima12/curriculoReact | d2b7c3e94f3580712051850be4e3cb552b4a3824 | [
"MIT"
] | null | null | null | src/App.css | lydialima12/curriculoReact | d2b7c3e94f3580712051850be4e3cb552b4a3824 | [
"MIT"
] | null | null | null | body{
/* display: flex;
justify-content: center;
align-items: center; */
margin-top: 0px;
padding-top: 0;
}
.App {
background-color: bisque;
/*height: 500px;
width: 500px;*/
display: flex;
justify-content: center;
align-items: center;
}
| 14.5 | 27 | 0.636015 |
9c2b1807c8622acda58b21eeb2a63b4b04cf8277 | 26,520 | js | JavaScript | tvOS/tvml/js/vendor/color-thief.min.js | cDima/Lightswitch | 57b1c564572695aa503ace59fd8619faaf1c37b4 | [
"Apache-2.0"
] | 2 | 2015-12-25T17:59:38.000Z | 2016-01-05T21:07:32.000Z | tvOS/tvml/js/vendor/color-thief.min.js | cDima/Lightswitch | 57b1c564572695aa503ace59fd8619faaf1c37b4 | [
"Apache-2.0"
] | null | null | null | tvOS/tvml/js/vendor/color-thief.min.js | cDima/Lightswitch | 57b1c564572695aa503ace59fd8619faaf1c37b4 | [
"Apache-2.0"
] | null | null | null | /*!
* Color Thief v2.0
* by Lokesh Dhakar - http://www.lokeshdhakar.com
*
* License
* -------
* Creative Commons Attribution 2.5 License:
* http://creativecommons.org/licenses/by/2.5/
*
* Thanks
* ------
* Nick Rabinowitz - For creating quantize.js.
* John Schulz - For clean up and optimization. @JFSIII
* Nathan Spady - For adding drag and drop support to the demo page.
*
*/
//var CanvasImage=function(a){this.canvas=document.createElement("canvas"),
//this.context=this.canvas.getContext("2d"),this.canvas.style.display="none",
//document.body.appendChild(this.canvas),
//this.width=this.canvas.width=a.width,this.height=this.canvas.height=a.height,this.context.drawImage(a,0,0,this.width,this.height)};CanvasImage.prototype.clear=function(){this.context.clearRect(0,0,this.width,this.height)},CanvasImage.prototype.update=function(a){this.context.putImageData(a,0,0)},CanvasImage.prototype.getPixelCount=function(){return this.width*this.height},CanvasImage.prototype.getImageData=function(){return this.context.getImageData(0,0,this.width,this.height)},CanvasImage.prototype.removeCanvas=function(){this.canvas.parentNode.removeChild(this.canvas)};var ColorThief=function(){};
/*!
* quantize.js Copyright 2008 Nick Rabinowitz.
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
*/
/*!
* Block below copied from Protovis: http://mbostock.github.com/protovis/
* Copyright 2010 Stanford Visualization Group
* Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php
*/
//if(ColorThief.prototype.getColor=function(a,b){var c=this.getPalette(a,5,b),d=c[0];return d},ColorThief.prototype.getPalette=function(a,b,c){"undefined"==typeof b&&(b=10),"undefined"==typeof c&&(c=10);for(var d,e,f,g,h,i=new CanvasImage(a),j=i.getImageData(),k=j.data,l=i.getPixelCount(),m=[],n=0;l>n;n+=c)d=4*n,e=k[d+0],f=k[d+1],g=k[d+2],h=k[d+3],h>=125&&(e>250&&f>250&&g>250||m.push([e,f,g]));var o=MMCQ.quantize(m,b),p=o.palette();return i.removeCanvas(),p},!pv)var pv={map:function(a,b){var c={};return b?a.map(function(a,d){return c.index=d,b.call(c,a)}):a.slice()},naturalOrder:function(a,b){return b>a?-1:a>b?1:0},sum:function(a,b){var c={};return a.reduce(b?function(a,d,e){return c.index=e,a+b.call(c,d)}:function(a,b){return a+b},0)},max:function(a,b){return Math.max.apply(null,b?pv.map(a,b):a)}};var MMCQ=function(){function a(a,b,c){return(a<<2*i)+(b<<i)+c}function b(a){function b(){c.sort(a),d=!0}var c=[],d=!1;return{push:function(a){c.push(a),d=!1},peek:function(a){return d||b(),void 0===a&&(a=c.length-1),c[a]},pop:function(){return d||b(),c.pop()},size:function(){return c.length},map:function(a){return c.map(a)},debug:function(){return d||b(),c}}}function c(a,b,c,d,e,f,g){var h=this;h.r1=a,h.r2=b,h.g1=c,h.g2=d,h.b1=e,h.b2=f,h.histo=g}function d(){this.vboxes=new b(function(a,b){return pv.naturalOrder(a.vbox.count()*a.vbox.volume(),b.vbox.count()*b.vbox.volume())})}function e(b){var c,d,e,f,g=1<<3*i,h=new Array(g);return b.forEach(function(b){d=b[0]>>j,e=b[1]>>j,f=b[2]>>j,c=a(d,e,f),h[c]=(h[c]||0)+1}),h}function f(a,b){var d,e,f,g=1e6,h=0,i=1e6,k=0,l=1e6,m=0;return a.forEach(function(a){d=a[0]>>j,e=a[1]>>j,f=a[2]>>j,g>d?g=d:d>h&&(h=d),i>e?i=e:e>k&&(k=e),l>f?l=f:f>m&&(m=f)}),new c(g,h,i,k,l,m,b)}function g(b,c){function d(a){var b,d,e,f,g,h=a+"1",j=a+"2",k=0;for(i=c[h];i<=c[j];i++)if(o[i]>n/2){for(e=c.copy(),f=c.copy(),b=i-c[h],d=c[j]-i,g=d>=b?Math.min(c[j]-1,~~(i+d/2)):Math.max(c[h],~~(i-1-b/2));!o[g];)g++;for(k=p[g];!k&&o[g-1];)k=p[--g];return e[j]=g,f[h]=e[j]+1,[e,f]}}if(c.count()){var e=c.r2-c.r1+1,f=c.g2-c.g1+1,g=c.b2-c.b1+1,h=pv.max([e,f,g]);if(1==c.count())return[c.copy()];var i,j,k,l,m,n=0,o=[],p=[];if(h==e)for(i=c.r1;i<=c.r2;i++){for(l=0,j=c.g1;j<=c.g2;j++)for(k=c.b1;k<=c.b2;k++)m=a(i,j,k),l+=b[m]||0;n+=l,o[i]=n}else if(h==f)for(i=c.g1;i<=c.g2;i++){for(l=0,j=c.r1;j<=c.r2;j++)for(k=c.b1;k<=c.b2;k++)m=a(j,i,k),l+=b[m]||0;n+=l,o[i]=n}else for(i=c.b1;i<=c.b2;i++){for(l=0,j=c.r1;j<=c.r2;j++)for(k=c.g1;k<=c.g2;k++)m=a(j,k,i),l+=b[m]||0;n+=l,o[i]=n}return o.forEach(function(a,b){p[b]=n-a}),d(h==e?"r":h==f?"g":"b")}}function h(a,c){function h(a,b){for(var c,d=1,e=0;k>e;)if(c=a.pop(),c.count()){var f=g(i,c),h=f[0],j=f[1];if(!h)return;if(a.push(h),j&&(a.push(j),d++),d>=b)return;if(e++>k)return}else a.push(c),e++}if(!a.length||2>c||c>256)return!1;var i=e(a),j=0;i.forEach(function(){j++});var m=f(a,i),n=new b(function(a,b){return pv.naturalOrder(a.count(),b.count())});n.push(m),h(n,l*c);for(var o=new b(function(a,b){return pv.naturalOrder(a.count()*a.volume(),b.count()*b.volume())});n.size();)o.push(n.pop());h(o,c-o.size());for(var p=new d;o.size();)p.push(o.pop());return p}var i=5,j=8-i,k=1e3,l=.75;return c.prototype={volume:function(a){var b=this;return(!b._volume||a)&&(b._volume=(b.r2-b.r1+1)*(b.g2-b.g1+1)*(b.b2-b.b1+1)),b._volume},count:function(b){var c=this,d=c.histo;if(!c._count_set||b){var e,f,g,h=0;for(e=c.r1;e<=c.r2;e++)for(f=c.g1;f<=c.g2;f++)for(g=c.b1;g<=c.b2;g++)index=a(e,f,g),h+=d[index]||0;c._count=h,c._count_set=!0}return c._count},copy:function(){var a=this;return new c(a.r1,a.r2,a.g1,a.g2,a.b1,a.b2,a.histo)},avg:function(b){var c=this,d=c.histo;if(!c._avg||b){var e,f,g,h,j,k=0,l=1<<8-i,m=0,n=0,o=0;for(f=c.r1;f<=c.r2;f++)for(g=c.g1;g<=c.g2;g++)for(h=c.b1;h<=c.b2;h++)j=a(f,g,h),e=d[j]||0,k+=e,m+=e*(f+.5)*l,n+=e*(g+.5)*l,o+=e*(h+.5)*l;c._avg=k?[~~(m/k),~~(n/k),~~(o/k)]:[~~(l*(c.r1+c.r2+1)/2),~~(l*(c.g1+c.g2+1)/2),~~(l*(c.b1+c.b2+1)/2)]}return c._avg},contains:function(a){var b=this,c=a[0]>>j;return gval=a[1]>>j,bval=a[2]>>j,c>=b.r1&&c<=b.r2&&gval>=b.g1&&gval<=b.g2&&bval>=b.b1&&bval<=b.b2}},d.prototype={push:function(a){this.vboxes.push({vbox:a,color:a.avg()})},palette:function(){return this.vboxes.map(function(a){return a.color})},size:function(){return this.vboxes.size()},map:function(a){for(var b=this.vboxes,c=0;c<b.size();c++)if(b.peek(c).vbox.contains(a))return b.peek(c).color;return this.nearest(a)},nearest:function(a){for(var b,c,d,e=this.vboxes,f=0;f<e.size();f++)c=Math.sqrt(Math.pow(a[0]-e.peek(f).color[0],2)+Math.pow(a[1]-e.peek(f).color[1],2)+Math.pow(a[2]-e.peek(f).color[2],2)),(b>c||void 0===b)&&(b=c,d=e.peek(f).color);return d},forcebw:function(){var a=this.vboxes;a.sort(function(a,b){return pv.naturalOrder(pv.sum(a.color),pv.sum(b.color))});var b=a[0].color;b[0]<5&&b[1]<5&&b[2]<5&&(a[0].color=[0,0,0]);var c=a.length-1,d=a[c].color;d[0]>251&&d[1]>251&&d[2]>251&&(a[c].color=[255,255,255])}},{quantize:h}}();
/*!
* Color Thief v2.0
* by Lokesh Dhakar - http://www.lokeshdhakar.com
*
* License
* -------
* Creative Commons Attribution 2.5 License:
* http://creativecommons.org/licenses/by/2.5/
*
* Thanks
* ------
* Nick Rabinowitz - For creating quantize.js.
* John Schulz - For clean up and optimization. @JFSIII
* Nathan Spady - For adding drag and drop support to the demo page.
*
*/
/*
CanvasImage Class
Class that wraps the html image element and canvas.
It also simplifies some of the canvas context manipulation
with a set of helper functions.
*/
var CanvasImage = function (image) {
this.canvas = document.createElement('canvas');
this.context = this.canvas.getContext('2d');
document.body.appendChild(this.canvas);
this.width = this.canvas.width = image.width;
this.height = this.canvas.height = image.height;
this.context.drawImage(image, 0, 0, this.width, this.height);
};
CanvasImage.prototype.clear = function () {
this.context.clearRect(0, 0, this.width, this.height);
};
CanvasImage.prototype.update = function (imageData) {
this.context.putImageData(imageData, 0, 0);
};
CanvasImage.prototype.getPixelCount = function () {
return this.width * this.height;
};
CanvasImage.prototype.getImageData = function () {
return this.context.getImageData(0, 0, this.width, this.height);
};
CanvasImage.prototype.removeCanvas = function () {
this.canvas.parentNode.removeChild(this.canvas);
};
var ColorThief = function () {};
/*
* getColor(sourceImage[, quality])
* returns {r: num, g: num, b: num}
*
* Use the median cut algorithm provided by quantize.js to cluster similar
* colors and return the base color from the largest cluster.
*
* Quality is an optional argument. It needs to be an integer. 0 is the highest quality settings.
* 10 is the default. There is a trade-off between quality and speed. The bigger the number, the
* faster a color will be returned but the greater the likelihood that it will not be the visually
* most dominant color.
*
* */
ColorThief.prototype.getColor = function(sourceImage, quality) {
var palette = this.getPalette(sourceImage, 5, quality);
var dominantColor = palette[0];
return dominantColor;
};
/*
* getPalette(sourceImage[, colorCount, quality])
* returns array[ {r: num, g: num, b: num}, {r: num, g: num, b: num}, ...]
*
* Use the median cut algorithm provided by quantize.js to cluster similar colors.
*
* colorCount determines the size of the palette; the number of colors returned. If not set, it
* defaults to 10.
*
* BUGGY: Function does not always return the requested amount of colors. It can be +/- 2.
*
* quality is an optional argument. It needs to be an integer. 0 is the highest quality settings.
* 10 is the default. There is a trade-off between quality and speed. The bigger the number, the
* faster the palette generation but the greater the likelihood that colors will be missed.
*
*
*/
ColorThief.prototype.getPalette = function(sourceImage, colorCount, quality) {
if (typeof colorCount === 'undefined') {
colorCount = 10;
}
if (typeof quality === 'undefined') {
quality = 10;
}
// Create custom CanvasImage object
var image = new CanvasImage(sourceImage);
var imageData = image.getImageData();
var pixels = imageData.data;
var pixelCount = image.getPixelCount();
// Store the RGB values in an array format suitable for quantize function
var pixelArray = [];
for (var i = 0, offset, r, g, b, a; i < pixelCount; i = i + quality) {
offset = i * 4;
r = pixels[offset + 0];
g = pixels[offset + 1];
b = pixels[offset + 2];
a = pixels[offset + 3];
// If pixel is mostly opaque and not white
if (a >= 125) {
if (!(r > 250 && g > 250 && b > 250)) {
pixelArray.push([r, g, b]);
}
}
}
// Send array to quantize function which clusters values
// using median cut algorithm
var cmap = MMCQ.quantize(pixelArray, colorCount);
var palette = cmap.palette();
// Clean up
image.removeCanvas();
return palette;
};
/*!
* quantize.js Copyright 2008 Nick Rabinowitz.
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
*/
// fill out a couple protovis dependencies
/*!
* Block below copied from Protovis: http://mbostock.github.com/protovis/
* Copyright 2010 Stanford Visualization Group
* Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php
*/
if (!pv) {
var pv = {
map: function(array, f) {
var o = {};
return f ? array.map(function(d, i) { o.index = i; return f.call(o, d); }) : array.slice();
},
naturalOrder: function(a, b) {
return (a < b) ? -1 : ((a > b) ? 1 : 0);
},
sum: function(array, f) {
var o = {};
return array.reduce(f ? function(p, d, i) { o.index = i; return p + f.call(o, d); } : function(p, d) { return p + d; }, 0);
},
max: function(array, f) {
return Math.max.apply(null, f ? pv.map(array, f) : array);
}
};
}
/**
* Basic Javascript port of the MMCQ (modified median cut quantization)
* algorithm from the Leptonica library (http://www.leptonica.com/).
* Returns a color map you can use to map original pixels to the reduced
* palette. Still a work in progress.
*
* @author Nick Rabinowitz
* @example
// array of pixels as [R,G,B] arrays
var myPixels = [[190,197,190], [202,204,200], [207,214,210], [211,214,211], [205,207,207]
// etc
];
var maxColors = 4;
var cmap = MMCQ.quantize(myPixels, maxColors);
var newPalette = cmap.palette();
var newPixels = myPixels.map(function(p) {
return cmap.map(p);
});
*/
var MMCQ = (function() {
// private constants
var sigbits = 5,
rshift = 8 - sigbits,
maxIterations = 1000,
fractByPopulations = 0.75;
// get reduced-space color index for a pixel
function getColorIndex(r, g, b) {
return (r << (2 * sigbits)) + (g << sigbits) + b;
}
// Simple priority queue
function PQueue(comparator) {
var contents = [],
sorted = false;
function sort() {
contents.sort(comparator);
sorted = true;
}
return {
push: function(o) {
contents.push(o);
sorted = false;
},
peek: function(index) {
if (!sorted) sort();
if (index===undefined) index = contents.length - 1;
return contents[index];
},
pop: function() {
if (!sorted) sort();
return contents.pop();
},
size: function() {
return contents.length;
},
map: function(f) {
return contents.map(f);
},
debug: function() {
if (!sorted) sort();
return contents;
}
};
}
// 3d color space box
function VBox(r1, r2, g1, g2, b1, b2, histo) {
var vbox = this;
vbox.r1 = r1;
vbox.r2 = r2;
vbox.g1 = g1;
vbox.g2 = g2;
vbox.b1 = b1;
vbox.b2 = b2;
vbox.histo = histo;
}
VBox.prototype = {
volume: function(force) {
var vbox = this;
if (!vbox._volume || force) {
vbox._volume = ((vbox.r2 - vbox.r1 + 1) * (vbox.g2 - vbox.g1 + 1) * (vbox.b2 - vbox.b1 + 1));
}
return vbox._volume;
},
count: function(force) {
var vbox = this,
histo = vbox.histo;
if (!vbox._count_set || force) {
var npix = 0,
i, j, k;
for (i = vbox.r1; i <= vbox.r2; i++) {
for (j = vbox.g1; j <= vbox.g2; j++) {
for (k = vbox.b1; k <= vbox.b2; k++) {
index = getColorIndex(i,j,k);
npix += (histo[index] || 0);
}
}
}
vbox._count = npix;
vbox._count_set = true;
}
return vbox._count;
},
copy: function() {
var vbox = this;
return new VBox(vbox.r1, vbox.r2, vbox.g1, vbox.g2, vbox.b1, vbox.b2, vbox.histo);
},
avg: function(force) {
var vbox = this,
histo = vbox.histo;
if (!vbox._avg || force) {
var ntot = 0,
mult = 1 << (8 - sigbits),
rsum = 0,
gsum = 0,
bsum = 0,
hval,
i, j, k, histoindex;
for (i = vbox.r1; i <= vbox.r2; i++) {
for (j = vbox.g1; j <= vbox.g2; j++) {
for (k = vbox.b1; k <= vbox.b2; k++) {
histoindex = getColorIndex(i,j,k);
hval = histo[histoindex] || 0;
ntot += hval;
rsum += (hval * (i + 0.5) * mult);
gsum += (hval * (j + 0.5) * mult);
bsum += (hval * (k + 0.5) * mult);
}
}
}
if (ntot) {
vbox._avg = [~~(rsum/ntot), ~~(gsum/ntot), ~~(bsum/ntot)];
} else {
// console.log('empty box');
vbox._avg = [
~~(mult * (vbox.r1 + vbox.r2 + 1) / 2),
~~(mult * (vbox.g1 + vbox.g2 + 1) / 2),
~~(mult * (vbox.b1 + vbox.b2 + 1) / 2)
];
}
}
return vbox._avg;
},
contains: function(pixel) {
var vbox = this,
rval = pixel[0] >> rshift;
gval = pixel[1] >> rshift;
bval = pixel[2] >> rshift;
return (rval >= vbox.r1 && rval <= vbox.r2 &&
gval >= vbox.g1 && gval <= vbox.g2 &&
bval >= vbox.b1 && bval <= vbox.b2);
}
};
// Color map
function CMap() {
this.vboxes = new PQueue(function(a,b) {
return pv.naturalOrder(
a.vbox.count()*a.vbox.volume(),
b.vbox.count()*b.vbox.volume()
);
});
}
CMap.prototype = {
push: function(vbox) {
this.vboxes.push({
vbox: vbox,
color: vbox.avg()
});
},
palette: function() {
return this.vboxes.map(function(vb) { return vb.color; });
},
size: function() {
return this.vboxes.size();
},
map: function(color) {
var vboxes = this.vboxes;
for (var i=0; i<vboxes.size(); i++) {
if (vboxes.peek(i).vbox.contains(color)) {
return vboxes.peek(i).color;
}
}
return this.nearest(color);
},
nearest: function(color) {
var vboxes = this.vboxes,
d1, d2, pColor;
for (var i=0; i<vboxes.size(); i++) {
d2 = Math.sqrt(
Math.pow(color[0] - vboxes.peek(i).color[0], 2) +
Math.pow(color[1] - vboxes.peek(i).color[1], 2) +
Math.pow(color[2] - vboxes.peek(i).color[2], 2)
);
if (d2 < d1 || d1 === undefined) {
d1 = d2;
pColor = vboxes.peek(i).color;
}
}
return pColor;
},
forcebw: function() {
// XXX: won't work yet
var vboxes = this.vboxes;
vboxes.sort(function(a,b) { return pv.naturalOrder(pv.sum(a.color), pv.sum(b.color));});
// force darkest color to black if everything < 5
var lowest = vboxes[0].color;
if (lowest[0] < 5 && lowest[1] < 5 && lowest[2] < 5)
vboxes[0].color = [0,0,0];
// force lightest color to white if everything > 251
var idx = vboxes.length-1,
highest = vboxes[idx].color;
if (highest[0] > 251 && highest[1] > 251 && highest[2] > 251)
vboxes[idx].color = [255,255,255];
}
};
// histo (1-d array, giving the number of pixels in
// each quantized region of color space), or null on error
function getHisto(pixels) {
var histosize = 1 << (3 * sigbits),
histo = new Array(histosize),
index, rval, gval, bval;
pixels.forEach(function(pixel) {
rval = pixel[0] >> rshift;
gval = pixel[1] >> rshift;
bval = pixel[2] >> rshift;
index = getColorIndex(rval, gval, bval);
histo[index] = (histo[index] || 0) + 1;
});
return histo;
}
function vboxFromPixels(pixels, histo) {
var rmin=1000000, rmax=0,
gmin=1000000, gmax=0,
bmin=1000000, bmax=0,
rval, gval, bval;
// find min/max
pixels.forEach(function(pixel) {
rval = pixel[0] >> rshift;
gval = pixel[1] >> rshift;
bval = pixel[2] >> rshift;
if (rval < rmin) rmin = rval;
else if (rval > rmax) rmax = rval;
if (gval < gmin) gmin = gval;
else if (gval > gmax) gmax = gval;
if (bval < bmin) bmin = bval;
else if (bval > bmax) bmax = bval;
});
return new VBox(rmin, rmax, gmin, gmax, bmin, bmax, histo);
}
function medianCutApply(histo, vbox) {
if (!vbox.count()) return;
var rw = vbox.r2 - vbox.r1 + 1,
gw = vbox.g2 - vbox.g1 + 1,
bw = vbox.b2 - vbox.b1 + 1,
maxw = pv.max([rw, gw, bw]);
// only one pixel, no split
if (vbox.count() == 1) {
return [vbox.copy()];
}
/* Find the partial sum arrays along the selected axis. */
var total = 0,
partialsum = [],
lookaheadsum = [],
i, j, k, sum, index;
if (maxw == rw) {
for (i = vbox.r1; i <= vbox.r2; i++) {
sum = 0;
for (j = vbox.g1; j <= vbox.g2; j++) {
for (k = vbox.b1; k <= vbox.b2; k++) {
index = getColorIndex(i,j,k);
sum += (histo[index] || 0);
}
}
total += sum;
partialsum[i] = total;
}
}
else if (maxw == gw) {
for (i = vbox.g1; i <= vbox.g2; i++) {
sum = 0;
for (j = vbox.r1; j <= vbox.r2; j++) {
for (k = vbox.b1; k <= vbox.b2; k++) {
index = getColorIndex(j,i,k);
sum += (histo[index] || 0);
}
}
total += sum;
partialsum[i] = total;
}
}
else { /* maxw == bw */
for (i = vbox.b1; i <= vbox.b2; i++) {
sum = 0;
for (j = vbox.r1; j <= vbox.r2; j++) {
for (k = vbox.g1; k <= vbox.g2; k++) {
index = getColorIndex(j,k,i);
sum += (histo[index] || 0);
}
}
total += sum;
partialsum[i] = total;
}
}
partialsum.forEach(function(d,i) {
lookaheadsum[i] = total-d;
});
function doCut(color) {
var dim1 = color + '1',
dim2 = color + '2',
left, right, vbox1, vbox2, d2, count2=0;
for (i = vbox[dim1]; i <= vbox[dim2]; i++) {
if (partialsum[i] > total / 2) {
vbox1 = vbox.copy();
vbox2 = vbox.copy();
left = i - vbox[dim1];
right = vbox[dim2] - i;
if (left <= right)
d2 = Math.min(vbox[dim2] - 1, ~~(i + right / 2));
else d2 = Math.max(vbox[dim1], ~~(i - 1 - left / 2));
// avoid 0-count boxes
while (!partialsum[d2]) d2++;
count2 = lookaheadsum[d2];
while (!count2 && partialsum[d2-1]) count2 = lookaheadsum[--d2];
// set dimensions
vbox1[dim2] = d2;
vbox2[dim1] = vbox1[dim2] + 1;
// console.log('vbox counts:', vbox.count(), vbox1.count(), vbox2.count());
return [vbox1, vbox2];
}
}
}
// determine the cut planes
return maxw == rw ? doCut('r') :
maxw == gw ? doCut('g') :
doCut('b');
}
function quantize(pixels, maxcolors) {
// short-circuit
if (!pixels.length || maxcolors < 2 || maxcolors > 256) {
// console.log('wrong number of maxcolors');
return false;
}
// XXX: check color content and convert to grayscale if insufficient
var histo = getHisto(pixels),
histosize = 1 << (3 * sigbits);
// check that we aren't below maxcolors already
var nColors = 0;
histo.forEach(function() { nColors++; });
if (nColors <= maxcolors) {
// XXX: generate the new colors from the histo and return
}
// get the beginning vbox from the colors
var vbox = vboxFromPixels(pixels, histo),
pq = new PQueue(function(a,b) { return pv.naturalOrder(a.count(), b.count()); });
pq.push(vbox);
// inner function to do the iteration
function iter(lh, target) {
var ncolors = 1,
niters = 0,
vbox;
while (niters < maxIterations) {
vbox = lh.pop();
if (!vbox.count()) { /* just put it back */
lh.push(vbox);
niters++;
continue;
}
// do the cut
var vboxes = medianCutApply(histo, vbox),
vbox1 = vboxes[0],
vbox2 = vboxes[1];
if (!vbox1) {
// console.log("vbox1 not defined; shouldn't happen!");
return;
}
lh.push(vbox1);
if (vbox2) { /* vbox2 can be null */
lh.push(vbox2);
ncolors++;
}
if (ncolors >= target) return;
if (niters++ > maxIterations) {
// console.log("infinite loop; perhaps too few pixels!");
return;
}
}
}
// first set of colors, sorted by population
iter(pq, fractByPopulations * maxcolors);
// Re-sort by the product of pixel occupancy times the size in color space.
var pq2 = new PQueue(function(a,b) {
return pv.naturalOrder(a.count()*a.volume(), b.count()*b.volume());
});
while (pq.size()) {
pq2.push(pq.pop());
}
// next set - generate the median cuts using the (npix * vol) sorting.
iter(pq2, maxcolors - pq2.size());
// calculate the actual colors
var cmap = new CMap();
while (pq2.size()) {
cmap.push(pq2.pop());
}
return cmap;
}
return {
quantize: quantize
};
})(); | 41.502347 | 4,926 | 0.512934 |
b95759e7577d84d285916c298a49e72d1aa09b4a | 11,250 | c | C | Projects/Temperature_Logger/Temperature_Logger/main.c | Puncher1/C | 632dbcea74a9e54bb842dff0e937ca87b4bc92f7 | [
"MIT"
] | 1 | 2021-05-24T12:09:39.000Z | 2021-05-24T12:09:39.000Z | Projects/Temperature_Logger/Temperature_Logger/main.c | Puncher1/C | 632dbcea74a9e54bb842dff0e937ca87b4bc92f7 | [
"MIT"
] | null | null | null | Projects/Temperature_Logger/Temperature_Logger/main.c | Puncher1/C | 632dbcea74a9e54bb842dff0e937ca87b4bc92f7 | [
"MIT"
] | null | null | null | /*******************************************************************************
* Programm: main.c
* Filename: .c
*
* Autor: Andrin Schaller
* Version: 1.0
* Datum: 25.05.2021
*
********************************************************************************
* Datum Vers. Kommentar / Änderungsgrund
* 25.05.2021 1.0 Initial Version
*
*
********************************************************************************
*
* Verwendungszweck: C-Schulung
*
* Beschreibung:
*
*
* Precondition: -
*
* Postcondition: -
*
* Benötigte Libraries:
* - stdlib.h
* - stdio.h
* - time.h
* - string.h
* - Windwos.h
*
* Copyright (©) 2021 by Andrin Schaller, CH-6300 Zug
*******************************************************************************/
/*** Präprozessor Definitionen ************************************************/
#define _CRT_SECURE_NO_WARNINGS
/*** Include Files ***********************************************************/
#include <stdlib.h> /* Funktionsbibliothek: Hilfsfunktionen */
#include <stdio.h> /* Funktionsbibliothek: Standard Ein- Ausgabe */
#include <time.h> /* Zeitfunktionen */
#include <string.h> /* Weitere String-Funktionen */
#include <Windows.h> /* Für Sleep() Funktion */
/*** Globale Deklarationen und Definitionen **********************************/
int read_path_loop = 1;
int read_com_loop = 1;
int read_main_loop = 1;
int read_loop = 1;
/*** Funktions-Deklarationen *************************************************/
// ------------------------- ERROR FUNCTIONS ----------------------------------
void error_PathNotFound() {
printf("\nERROR reading/writing the file. Possible error causes: ");
printf("\n\t- Path not found");
printf("\n\t- File not writeable");
printf("\n\t- File is opened by another user\n");
}
// end error: PathNotFound
void error_ComNotFound() {
printf("\nERROR! COM Port not found.");
printf("\nPlease make sure you provide the correct COM Port.\n");
}
// end error: PathNotFound
void error_FileNotWriteable(char* path, char* file_name, char* current_datetime) {
printf("\n\n%s - ERROR writing the file\t\t@ %s", file_name, current_datetime);
printf("\n\t\t\t\t\t\t\t\tPfad: %s", path);
}
// end error: FileNotWriteable
// ------------------------- CONSTANTS FUNCTIONS ----------------------------------
void pathDefinition(char* path, char* day_str, char* file_name) {
strcat(path, "\\LogFile_"); // Connect strings
strcat(path, day_str);
strcat(path, ".csv");
strcat(file_name, day_str);
}
// end define path
void timeConstants(char* time_str, char* day_str, char* current_datetime) {
time_t rawtime;
struct tm* timeinfo;
// end local variables
time(&rawtime);
timeinfo = localtime(&rawtime);
strftime(time_str, 100, "%H:%M Uhr", timeinfo); // Time for file input
strftime(day_str, 100, "%y%m%d", timeinfo); // Date for file name
strftime(current_datetime, 100, "%d.%m.%y, %H:%M:%S", timeinfo); // Datetime for CMD
// end time formatting
}
// end time constants
// ------------------------- MAIN FUNCTIONS ----------------------------------
void readPathInput(char* path_input) {
printf("Please enter the path where the log file should be saved: ");
scanf("%s", path_input);
}
// end read path input
void readComPathInput(char* com_path) {
printf("\nPlease enter the COM port where the ELOB-board is pluged in: ");
scanf("%s", com_path);
}
// end read path input
void copyString(char* original, char* copy) {
int i;
for (i = 0; original[i] != '\0'; i++) { // Iteration through every array element
copy[i] = original[i]; // Copy original element into copy element
}
copy[i] = '\0';
}
// end copy string
void checkFile(FILE* fptr, char* path_check) {
fptr = fopen(path_check, "a"); // open file as "append" -> if not existing: create file
if (fptr == NULL) { // if path doesn't exist, no permissions to create/write file, file is already open, ...
error_PathNotFound();
printf("\n");
return;
// end throw error
}
fclose(fptr);
printf("\nPath selected successfully.\n");
read_path_loop = 0;
}
// end checkFile
void checkSerialPort(char* com_path) {
HANDLE hComm;
char temp_com_path[100] = "";
// end local variables
strcat(temp_com_path, "\\\\.\\");
strcat(temp_com_path, com_path);
hComm = CreateFileA(temp_com_path, // Port name
GENERIC_READ, // Read only
0, // No Sharing
NULL, // No Security
OPEN_EXISTING, // Open existing port only
0, // Non Overlapped I/O
NULL); // Null for Comm Devices
// end create virtual file
if (hComm == INVALID_HANDLE_VALUE) { // check if COM port exists / is available to open
error_ComNotFound();
return;
}
CloseHandle(hComm); // close virtual file
read_com_loop = 0;
}
void readSerialPort(char* buffer, char* com_path) {
HANDLE hComm;
DCB Dcb;
char temp_com_path[100] = "";
int nbRead;
// end local variables
// end local variables
strcat(temp_com_path, "\\\\.\\");
strcat(temp_com_path, com_path);
hComm = CreateFileA(temp_com_path, // Port name
GENERIC_READ, // Read only
0, // No Sharing
NULL, // No Security
OPEN_EXISTING, // Open existing port only
0, // Non Overlapped I/O
NULL); // Null for Comm Devices
// end create virtual file
GetCommState(hComm, &Dcb); // Retrieves the current control settings for a specified communications device.
Dcb.BaudRate = CBR_115200; // BaudRate: the number of symbols transmitted per period
Dcb.StopBits = ONESTOPBIT;
Dcb.ByteSize = 8;
Dcb.Parity = NOPARITY;
Dcb.fParity = 0;
Dcb.fOutxCtsFlow = 0;
Dcb.fOutxDsrFlow = 0;
Dcb.fDsrSensitivity = 0;
Dcb.fTXContinueOnXoff = TRUE;
Dcb.fOutX = 0;
Dcb.fInX = 0;
Dcb.fNull = 0;
Dcb.fErrorChar = 0;
Dcb.fAbortOnError = 0;
Dcb.fRtsControl = RTS_CONTROL_DISABLE;
Dcb.fDtrControl = DTR_CONTROL_DISABLE;
// end config
SetCommState(hComm, &Dcb); // Configures a communications device according to the specifications in a device-control block (a DCB structure)
ReadFile(hComm, buffer, 10, &nbRead, NULL); // Reads data from the specified file or input/output (I/O) device
CloseHandle(hComm);
// end read and close file
}
// end read serial port
double getBufferAsDouble(char* buffer) {
double temp_temperature;
char* ptr;
ptr = strchr(buffer, '░'); // Removes every char after '░' ('°') char.
if (ptr != NULL) {
*ptr = '\0';
}
memmove(buffer, buffer + 1, strlen(buffer)); // Removes first element of string (always 'R')
sscanf(buffer, "%lf", &temp_temperature); // Converting string (char array) into double
// end get temperature out of string
return temp_temperature;
}
// end convert buffer
void writeFile(FILE* fptr, char* path, char* file_name, double avg_temperature,
char* current_datetime) {
fptr = fopen(path, "a"); // Opens file as "append"
if (fptr == NULL) {
error_FileNotWriteable(path, file_name, current_datetime);
printf("\n");
}
// end check file
else {
fprintf(fptr, "%.1lf%c C; ;%s\n", avg_temperature, '°', current_datetime); // Writes into file
fclose(fptr);
printf("\n\n%s - Success writing the file\t\t@ %s", file_name, current_datetime);
printf("\n\t\t\t\t\t\t\t\Path: %s", path);
}
}
// end write file
/*******************************************************************************
******************************* HAUPTPROGRAMM **********************************
*******************************************************************************/
int main(void) {
FILE* fptr;
char path_input[100]; // Constant array -> doesn't get changed
char path_check[100]; // Copy of 'path_input' -> to check if path is findable or if file is writeable if already exists
char path[100]; // Copy of 'path_input' -> actual path
char com_input[100]; // Input of COM Port path
char check_com_path[100]; // Copy of 'com_input' -> to check if COM Port is available
char com_path[100]; // Copy of 'com_input' -> actual COM Port path
char time_str_check[100];
char day_str_check[100];
char current_datetime_check[100];
char file_name_check[100] = "LogFile_";
// end local variables
while (read_path_loop) { // loop to repeat file reading after writing file
readPathInput(&path_input);
copyString(path_input, path);
copyString(path_input, path_check);
// end Input
timeConstants(&time_str_check, &day_str_check, ¤t_datetime_check);
// end get time for checkFile
pathDefinition(&path_check, &day_str_check, &file_name_check);
// end get path for checkFile
checkFile(&fptr, &path_check);
// end check if file exists
}
while (read_com_loop) { // loop to save COM Port data after every second
readComPathInput(com_input);
copyString(com_input, com_path);
copyString(com_input, check_com_path);
checkSerialPort(check_com_path);
}
// end check serial port
// -------------------------------------------------------------------------------------
printf("\nThe serial port is read out and the data get calculated...");
while (read_main_loop) {
int read_count = 0;
double avg_temperature;
double temp_temperature = 0;
char time_str[100];
char day_str[100];
char current_datetime[100];
char file_name[100] = "LogFile_";
char buffer[100];
timeConstants(&time_str, &day_str, ¤t_datetime);
// end get time
copyString(path_input, path);
pathDefinition(&path, &day_str, &file_name);
while ((read_count <= 59) && (read_loop)) { // repeat 60 times (1 time per second)
readSerialPort(&buffer, com_path);
temp_temperature += getBufferAsDouble(&buffer);
read_count++;
}
avg_temperature = temp_temperature / 60; // repeat 60 times per minute when waiting 1s automatically per iteration.
writeFile(&fptr, &path, &file_name, avg_temperature, ¤t_datetime);
// end writeFile
printf("\n");
}
return (0);
} | 31.077348 | 161 | 0.536444 |
c2fc6f3e07f0799f758f158e5a8b04fecb4f9480 | 334 | asm | Assembly | libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_ix/esx_f_chmod_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_ix/esx_f_chmod_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_ix/esx_f_chmod_callee.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; unsigned char esx_f_chmod(unsigned char *filename, uint8_t attr_mask, uint8_t attr)
SECTION code_esxdos
PUBLIC _esx_f_chmod_callee
PUBLIC l0_esx_f_chmod_callee
EXTERN asm_esx_f_chmod
_esx_f_chmod_callee:
pop af
pop hl
pop bc
push af
l0_esx_f_chmod_callee:
push ix
call asm_esx_f_chmod
pop ix
ret
| 13.36 | 85 | 0.763473 |
369359d1f4fac127e99b81dd846b0450820f8055 | 597 | asm | Assembly | oeis/324/A324910.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/324/A324910.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/324/A324910.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A324910: Multiplicative with a(p^e) = (2^e)-1.
; Submitted by Christian Krause
; 1,1,1,3,1,1,1,7,3,1,1,3,1,1,1,15,1,3,1,3,1,1,1,7,3,1,7,3,1,1,1,31,1,1,1,9,1,1,1,7,1,1,1,3,3,1,1,15,3,3,1,3,1,7,1,7,1,1,1,3,1,1,3,63,1,1,1,3,1,1,1,21,1,1,3,3,1,1,1,15,15,1,1,3,1,1,1,7,1,3,1,3,1,1,1,31,1,3,3,9
add $0,1
mov $1,1
lpb $0
mov $3,$0
lpb $3
mov $4,$0
mov $6,$2
cmp $6,0
add $2,$6
mod $4,$2
cmp $4,0
cmp $4,0
mov $5,$2
add $2,1
cmp $5,1
max $4,$5
sub $3,$4
lpe
mov $5,1
lpb $0
dif $0,$2
mul $5,2
lpe
sub $5,1
mul $1,$5
lpe
mov $0,$1
| 18.65625 | 209 | 0.487437 |
3bd3bd524082281df388457d162974b0999d9b99 | 1,199 | h | C | System/Library/PrivateFrameworks/WebKitLegacy.framework/WebGeolocationProviderInitializationListener.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 11 | 2019-11-06T04:48:48.000Z | 2022-02-09T17:48:15.000Z | System/Library/PrivateFrameworks/WebKitLegacy.framework/WebGeolocationProviderInitializationListener.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 1 | 2020-04-16T01:41:56.000Z | 2020-04-16T04:32:00.000Z | System/Library/PrivateFrameworks/WebKitLegacy.framework/WebGeolocationProviderInitializationListener.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 3 | 2019-12-22T20:17:53.000Z | 2021-01-25T09:47:49.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:47:03 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
#import <WebKitLegacy/WebKitLegacy-Structs.h>
#import <WebKitLegacy/WebGeolocationProviderInitializationListener.h>
@protocol WebGeolocationProviderInitializationListener <NSObject>
@required
-(void)initializationAllowedWebView:(id)arg1;
-(void)initializationDeniedWebView:(id)arg1;
@end
@class NSString;
@interface WebGeolocationProviderInitializationListener : NSObject <WebGeolocationProviderInitializationListener> {
RefPtr<WebCore::Geolocation, WTF::DumbPtrTraits<WebCore::Geolocation> >* m_geolocation;
}
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (copy,readonly) NSString * description;
@property (copy,readonly) NSString * debugDescription;
-(id)initWithGeolocation:(Geolocation*)arg1 ;
-(void)initializationAllowedWebView:(id)arg1 ;
-(void)initializationDeniedWebView:(id)arg1 ;
@end
| 32.405405 | 115 | 0.803169 |
9c2eb40ff3dcb9ba178f4e6ed33f3bbc45067df5 | 4,195 | js | JavaScript | Scripts/tools/jwt.js | JUkhan/jwt_php | f46ccd8c47885ce7057081de0ded882f58fcebd9 | [
"Apache-2.0"
] | null | null | null | Scripts/tools/jwt.js | JUkhan/jwt_php | f46ccd8c47885ce7057081de0ded882f58fcebd9 | [
"Apache-2.0"
] | null | null | null | Scripts/tools/jwt.js | JUkhan/jwt_php | f46ccd8c47885ce7057081de0ded882f58fcebd9 | [
"Apache-2.0"
] | null | null | null |
(function (window) {
//extention Methods
Function.method = Array.method = String.method = Object.method = function (name, fn) {
this.prototype[name] = fn;
return this;
};
Array
.method('each', function (callback) {
for (var i = 0, len = this.length; i < len; i++) {
callback(this[i], i);
}
})
.method('remove', function (callback) {
var fx = function (arr) { return arr.length; };
for (var i = 0; i < fx(this) ; i++) {
if (callback(this[i])) { this.splice(i, 1); i--; }
}
return this;
})
.method('where', function (callback) {
var res = [];
for (var i = 0, len = this.length; i < len; i++) {
if (callback(this[i])) { res.push(this[i]); }
}
return res;
})
.method('select', function (conditionalCallback, selectionCallback) {
var res = [], index=0;
for (var i = 0, len = this.length; i < len; i++) {
if (conditionalCallback(this[i], i)) { res.push(selectionCallback(this[i], index)); index++; }
}
return res;
})
.method('first', function (callback) {
for (var i = 0, len = this.length; i < len; i++) {
if (callback(this[i])) { return this[i]; }
}
return null;
})
.method('last', function (callback) {
var obj = null;
for (var i = 0, len = this.length; i < len; i++) {
if (callback(this[i])) { obj = this[i]; }
}
return obj;
})
.method('selectWithJoin', function (list1, list1Callback, conditionalCallback, selectionCallback) {
var res = [], fx = function (list, pitem, callback) {
var temp = [];
for (var i = 0, len = list.length; i < len; i++) {
if (callback(pitem, list[i])) { temp.push(list[i]); }
}
return temp;
};
this.ForEach(function (item) {
fx(list1, item, list1Callback).ForEach(function (join) {
if (conditionalCallback(item, join)) {
res.push(selectionCallback(item, join));
}
});
});
return res;
})
.method('groupBy', function (callback) {
var res = [], temp = [];
this.ForEach(function (item) {
var key = callback(item);
if (temp[key]) {
temp[key].push(item);
} else {
temp[key] = [item];
}
});
for (var i in temp) {
if (temp.hasOwnProperty(i)) {
res.push({ key: i, items: temp[i] });
}
}
return res;
})
.method('paging', function (pageno, size) {
pageno--;
return this.slice(pageno * size, (pageno * size) + size);
})
.method('insertAt', function (index, item) {
return this.splice(index, 0, item);
});
String.method('format', function () {
var str = this;
for (var i = 0; i < arguments.length; i++) {
str = str.replace(new RegExp('\\{' + i + '\\}', 'g'), arguments[i]);
}
return str;
});
String.isNullOrWhiteSpace = function (str) {
if (str) {
return new RegExp("^\\s+$").test(str);
}
return true;
}
Function.prototype.bind = Function.prototype.bind || function (b) { if (typeof this !== "function") { throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable"); } var a = Array.prototype.slice, f = a.call(arguments, 1), e = this, c = function () { }, d = function () { return e.apply(this instanceof c ? this : b || window, f.concat(a.call(arguments))); }; c.prototype = this.prototype; d.prototype = new c(); return d; };
})(window);
if (window.addEventListener) {
window.addEventListener("message", listener, false);
} else {
attachEvent('onMessage', listener);
}
function sendMessage(name, ctype) {
if (name) {
var data = { id: 'jwt', comName: name, comType: ctype };
window.parent.postMessage(data, '*');
}
}
function listener(event) {
}
| 33.293651 | 460 | 0.500834 |
4140d8482c957576faead264384b348ebc0da1cf | 610 | h | C | WTDemo/Pods/Headers/Public/QLADLaunchModel/TAdLaunchImageView.h | aliang124/QLCareModel | 04a1d2aec9287e3c93362289c77f5660ff1bc144 | [
"MIT"
] | null | null | null | WTDemo/Pods/Headers/Public/QLADLaunchModel/TAdLaunchImageView.h | aliang124/QLCareModel | 04a1d2aec9287e3c93362289c77f5660ff1bc144 | [
"MIT"
] | null | null | null | WTDemo/Pods/Headers/Public/QLADLaunchModel/TAdLaunchImageView.h | aliang124/QLCareModel | 04a1d2aec9287e3c93362289c77f5660ff1bc144 | [
"MIT"
] | null | null | null | //
// TAdLaunchImageView.h
// TYLaunchAnimationDemo
//
// Created by tanyang on 15/12/8.
// Copyright © 2015年 tanyang. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UIView+TYLaunchAnimation.h"
#import "TYLaunchFadeScaleAnimation.h"
#import "WTADLaunchUtil.h"
#import "UIImage+TYLaunchImage.h"
@interface TAdLaunchImageView : UIImageView
@property (nonatomic, weak, readonly) UIButton *skipBtn;
@property (nonatomic, weak, readonly) UIImageView *adImageView;
@property (nonatomic, copy) NSString *URLString;
@property (nonatomic, copy) void (^clickedImageURLHandle)(NSString *URLString);
@end
| 27.727273 | 79 | 0.763934 |
752004f158dc21fd0be0c84466e48f13d1905d63 | 448 | h | C | L11/E03/listArray.h | Davidefassio/APA | e66afc8409cd344b47a78dfb3739a146256f3008 | [
"MIT"
] | null | null | null | L11/E03/listArray.h | Davidefassio/APA | e66afc8409cd344b47a78dfb3739a146256f3008 | [
"MIT"
] | null | null | null | L11/E03/listArray.h | Davidefassio/APA | e66afc8409cd344b47a78dfb3739a146256f3008 | [
"MIT"
] | null | null | null | /*
Libreria per un vettore di liste rappresentato come quasi-ADT.
*/
#ifndef LISTARRAY_H_INCLUDED
#define LISTARRAY_H_INCLUDED
#include <stdlib.h>
// Strutture dati
typedef struct{
struct node **data;
int len;
}listArray;
// Prototipi listArray
listArray* LA_init(int);
void LA_push(listArray*, int, int, int);
int LA_searchById(listArray*, int, int);
void LA_free(listArray*);
#endif // LISTARRAY_H_INCLUDED
| 19.478261 | 67 | 0.703125 |
c35e329f968d66b7821054f62074313e7320b2c2 | 711 | go | Go | example/main.go | dyadtech/passwordHash | ce80922d396635a72101f3859c574ab417676e93 | [
"Unlicense"
] | 1 | 2016-08-14T04:10:05.000Z | 2016-08-14T04:10:05.000Z | example/main.go | richardbowden/passwordHash | a70ad01779d23b41e47712287b1b61af821fc25d | [
"Unlicense"
] | 1 | 2020-05-28T12:22:10.000Z | 2020-05-28T12:22:10.000Z | example/main.go | dyadtech/passwordHash | ce80922d396635a72101f3859c574ab417676e93 | [
"Unlicense"
] | 1 | 2020-05-28T11:56:07.000Z | 2020-05-28T11:56:07.000Z | package main
import (
"fmt"
"log"
"github.com/richardbowden/passwordHash"
)
func main() {
p1 := "password1"
p2 := "password1"
fmt.Printf("Passwords used in this example. pwd1: %s and pwd2: %s\n\n", p1, p2)
hashed, err := passwordHash.HashWithDefaults(p1, p2)
if err != nil {
log.Fatal(err)
}
fmt.Printf("Hashed Package: %v\n\n", hashed)
isValid, err := passwordHash.Validate("password1", hashed)
fmt.Printf("Password to be validated 'password1' agasint hashed password 'password1' is valid: %v\n", isValid)
isValid, err = passwordHash.Validate("invalid", hashed)
fmt.Printf("Password to be validated 'invalid password' against hashed password 'password1 is invalid: %v\n", isValid)
}
| 22.21875 | 119 | 0.700422 |
e78811703f610c29c819af3aa83ebfffb971a263 | 961 | js | JavaScript | test/Type.spec.js | RomAnoX/ajv-schema-builder | 5c6cd1a0525df9dda6ec3c9cf113cadb26d3e14c | [
"MIT"
] | 3 | 2017-07-07T16:52:52.000Z | 2017-11-30T21:54:40.000Z | test/Type.spec.js | RomAnoX/ajv-schema-builder | 5c6cd1a0525df9dda6ec3c9cf113cadb26d3e14c | [
"MIT"
] | null | null | null | test/Type.spec.js | RomAnoX/ajv-schema-builder | 5c6cd1a0525df9dda6ec3c9cf113cadb26d3e14c | [
"MIT"
] | null | null | null | const { expect } = require('chai');
const TypeKeyword = require('../src/Type');
describe('Type keyword', () => {
it('builds', () => {
expect(new TypeKeyword('string').json()).to.deep.eq({ type: 'string' });
});
it('builds with default', () => {
expect(new TypeKeyword('boolean').default(false).json()).to.deep.eq({
type: 'boolean',
default: false,
});
});
it('builds with context', () => {
expect(new TypeKeyword('integer').json({ foo: 'bar' })).to.deep.eq({
type: 'integer',
foo: 'bar',
});
});
it('builds with an array of types', () => {
expect(new TypeKeyword(['string', 'integer']).json()).to.deep.eq({
type: ['string', 'integer'],
});
});
it('fails with a no valid type', () => {
expect(() => new TypeKeyword('keyword')).to.throw();
});
it('fails with a no valid type in array', () => {
expect(() => new TypeKeyword(['string', 'keyword'])).to.throw();
});
});
| 25.972973 | 76 | 0.536941 |
9af16b5e25a0e6e545eb38136e826996fdd88fda | 15,348 | sql | SQL | uploads/sql/Proc@2.2V/oldProc/Role_Build_1.sql | manishkrm6/EY-SOD-Tool-Final | f8ec05a9f89c392f6bf6161879da1f01bdd1d7b3 | [
"MIT"
] | null | null | null | uploads/sql/Proc@2.2V/oldProc/Role_Build_1.sql | manishkrm6/EY-SOD-Tool-Final | f8ec05a9f89c392f6bf6161879da1f01bdd1d7b3 | [
"MIT"
] | null | null | null | uploads/sql/Proc@2.2V/oldProc/Role_Build_1.sql | manishkrm6/EY-SOD-Tool-Final | f8ec05a9f89c392f6bf6161879da1f01bdd1d7b3 | [
"MIT"
] | null | null | null | CREATE DEFINER=`root`@`localhost` PROCEDURE `usp_Role_Build1`(var_mydb varchar(100), var_co varchar(1000), var_dept varchar(1000), var_loc varchar(1000), var_lock int, var_exp_role int, var_exp_user int)
BEGIN
/*This proc was modified on 02-Oct-2011 to rectify the queries that create indexes only if extracted tables exist by adding the condition table_schema=var_mydb.
Also, the queries creating tables conflicts_values_a_o, conflicts_values_bl_o etc. are commented as not required.*/
declare var_prof, var_masterprofn varchar(12);
declare usr varchar(12);
declare prof_count int(2);
declare sbprf varchar(12);
declare prof_1016 varchar(12);
declare auth10s, log_stat varchar(12);
declare objct12 varchar(10);
declare auth12 varchar(12);
declare aktps12, var_aktps varchar(1);
declare field12 varchar(10);
declare from12 varchar(40);
declare to12 varchar(40);
declare agrname varchar(50);
DECLARE AGRNAM,var_profn, var_subprof VARCHAR(50);
declare lock_condition,exp_role_status, exp_user_status varchar(100);
declare user_query varchar(1000);
declare var_tstca,var_usobx,var_usobt, var_tblcnt, var_indcnt int(1);
select variable_value into log_stat from information_schema.global_variables where variable_name = 'General_Log';
if log_stat = 'ON' then
set global general_log = 'OFF';
end if;
/* === Line ADDED By Manish Kr === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Removing Temporary Tables..', current_timestamp());
drop table if exists UST04_TEMP;
drop table if exists UST10C_TEMP;
drop table if exists agr_1016_temp;
drop table if exists UST10S_TEMP;
drop table if exists UST12_TEMP;
/* tab_users is a table important in context of analysis */
/* BNAME is UNAME */
/* === Line ADDED By Manish Kr === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Creating Table Indexes..', current_timestamp());
/*Checking if tables exist and then creating indexes*/
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'tab_user';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'tab_user' and index_name = 'idx_tu' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_tu on tab_user(uname);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'adrp';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'adrp' and index_name = 'idx_adrp' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_adrp on adrp(persnumber);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'ust04';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'ust04' and index_name = 'idx_ust04' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_ust04 on ust04(username,profile);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'ust10c';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'ust10c' and index_name = 'idx_ust10c' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_ust10c on ust10c(profn,subprof);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'agr_1016';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'agr_1016' and index_name = 'idx_agr_1016' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_agr_1016 on agr_1016(agr_name, profile,counter);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'agr_users';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'agr_users' and index_name = 'idx_agr_users' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_agr_users on agr_users(agr_name,uname);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'usr02';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'usr02' and index_name = 'idx_usr02' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_usr02 on usr02(uname,valid_from,valid_to,user_type,lockstatus);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'usr21';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'usr21' and index_name = 'idx_usr21' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_usr21 on usr21(uname,persnumber);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'ust10s';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'ust10s' and index_name = 'idx_ust10s' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_ust10s on ust10s(profn,objct,auth);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'ust12';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'ust12' and index_name = 'idx_ust12' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_ust12 on ust12(objct,auth,field);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'tstct';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'tstct' and index_name = 'idx_tstct' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_tstct on tstct(tcode);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'usobx_c';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'usobx_c' and index_name = 'idx_usobx_c' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_usobx_c on usobx_c(name,object,okflag);
end if;
select count(*) into var_tblcnt from information_schema.tables where table_schema = var_mydb and table_name = 'usobt_c';
select count(*) into var_indcnt FROM INFORMATION_SCHEMA.STATISTICS WHERE table_name = 'usobt_c' and index_name = 'idx_usobt_c' and table_schema = var_mydb;
if var_tblcnt=1 and var_indcnt=0 then
create index idx_usobt_c on usobt_c(name,object,field,low);
end if;
/* === Line ADDED By Manish Kr === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Triming SAP Data...', current_timestamp());
/*Cleaning up data*/
update agr_users set uname=trim(uname), agr_name=trim(agr_name);
update tstct set tcode=trim(tcode);
update agr_1016 set agr_name=trim(agr_name);
update user_details set uname=trim(uname);
update usr02 set uname=trim(uname);
update usr21 set uname=trim(uname), persnumber=trim(persnumber);
update ust04 set username=trim(username), profile=trim(profile);
update ust10c set profn=trim(profn), subprof=trim(subprof);
update ust10s set profn=trim(profn), objct=trim(objct), auth=trim(auth);
update ust12 set objct=trim(objct), auth=trim(auth), field=trim(field);
/* === Line ADDED By Manish Kr === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Update Master Role...', current_timestamp());
/*Create backup of UST04 and UST10C*/
create table if not exists UST04_ORIG select * from UST04;
create table if not exists UST10C_ORIG select * from UST10C;
/*delete from UST04 where profile in (select distinct PROFILE from AGR_1016);*/
drop table if exists ust04_del;
create table ust04_del select distinct u.profile from (select distinct profile from ust04) u inner join agr_1016 a on u.profile=a.profile;
create index idx_ud on ust04_del(profile);
delete u from UST04 u, ust04_del a where u.profile=a.profile;
drop table if exists ust04_del;
delete from UST04 where profile = '............';
/*delete from UST10C where profn in (select distinct PROFILE from AGR_1016);*/
delete u from UST10C u, AGR_1016 a where u.profn=a.profile;
insert into AGR_1016 select distinct concat('PROFILE:',profn),'000001',profn,'','X','' from ust04 u, ust10s s where u.profile = s.profn;
insert into AGR_USERS select distinct concat('PROFILE:',profn),username,'20000101','99991231','','','' from ust04 u, ust10s s where s.profn=u.profile;
delete u from ust04 u, ust10s s where u.profile=s.profn;
drop table if exists ust10c_recur;
create table ust10c_recur select distinct c.profn master_profn, c.profn, c.subprof from ust10c c, ust04 u where c.profn = u.profile;
/* === Line ADDED By Manish Kr === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Attaching Profiles with Subprofiles', current_timestamp());
while exists (select * from ust10c_recur)
do
select master_profn,profn,subprof into var_masterprofn, var_profn, var_subprof from ust10c_recur limit 1;
insert into AGR_1016 select distinct concat('PROFILE:', var_subprof),'000001',var_subprof,'','X','' from ust10s where profn=var_subprof;
insert into AGR_USERS select distinct concat('PROFILE:',var_subprof),u.username,'20000101','99991231','','','' from ust04 u, ust10s s where u.profile = var_masterprofn and s.profn=var_subprof;
insert into ust10c_recur select distinct var_masterprofn, profn, subprof from ust10c where profn=var_subprof;
delete from ust10c_recur where master_profn = var_masterprofn and profn = var_profn and subprof=var_subprof;
end while;
/* === Line ADDED By Manish Kr === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Cleaning Users..', current_timestamp());
drop table if exists ust10c_recur;
DROP TABLE IF EXISTS AGR_1016_CLEANUP;
CREATE TABLE AGR_1016_CLEANUP SELECT DISTINCT * FROM AGR_1016;
TRUNCATE AGR_1016;
INSERT INTO AGR_1016 SELECT * FROM AGR_1016_CLEANUP;
DROP TABLE IF EXISTS AGR_1016_CLEANUP;
DROP TABLE IF EXISTS AGR_USERS_CLEANUP;
CREATE TABLE AGR_USERS_CLEANUP SELECT DISTINCT * FROM AGR_USERS;
TRUNCATE AGR_USERS;
INSERT INTO AGR_USERS SELECT * FROM AGR_USERS_CLEANUP;
DROP TABLE IF EXISTS AGR_USERS_CLEANUP;
/* ==== Modified By Manish (Commented Code Uncommented) ==== */
/* The part below has been commented since it is taken care of by C# code in application. */
/*if var_lock = 1 then
set lock_condition = ' and r.lockstatus in (0,128)';
else
set lock_condition = '';
end if;
if var_exp_role = 1 then
set exp_role_status= 'u.to_dat >= curdate() and ';
else
set exp_role_status = '';
end if;
if var_exp_user = 1 then
set exp_user_status= ' (r.valid_to = \'00000000\' or r.valid_to >= curdate()) and ';
else
set exp_user_status = '';
end if;
if var_co = '\'%\'' then
set var_co = '';
else
set var_co = concat('d.company in (',var_co,')');
end if;
if var_dept = '\'%\'' then
set var_dept = '';
else
set var_dept = concat(' and d.company in (',var_dept,') ');
end if;
if var_loc = '\'%\'' then
set var_loc = '';
else
set var_loc = concat(' and d.location in (',var_loc,') ');
end if;
set @user_query = concat('select distinct u.UNAME from AGR_USERS u, usr02 r, user_details d where ',exp_role_status, 'u.uname=d.uname and ',exp_user_status,' d.enabled = 1 ', var_co, var_dept, var_loc,' and u.uname=r.uname', lock_condition,';');
-- set @user_query = concat('create table tab_user select distinct u.UNAME from AGR_USERS u, usr02 r, user_details d where ',exp_role_status, 'u.uname=d.uname and ',exp_user_status,' d.enabled = 1 ', var_co, var_dept, var_loc,' and u.uname=r.uname', lock_condition,';');
prepare s from @user_query;
execute s;*/
/* ==== End Block - Modified By Manish (Commented Code Uncommented) ==== */
/*Re-creating the rules tables*/
drop table if exists tcode_list;
drop table if exists conflicts_values_a_o;
drop table if exists conflicts_values_bl_o;
drop table if exists cva_cnt_o;
drop table if exists cvb_cnt_o;
drop table if exists conflicts_values_flbl_o;
drop table if exists cvf_cnt_o;
drop table if exists conflicts_values_notcd_o;
/* === Line ADDED By Manish Kr === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Preparing T-Code List..', current_timestamp());
create table tcode_list select distinct q.tcode from (select distinct tcode from actcode union select distinct value tcode from conflicts_c union select distinct tcode from critical_auth where status=1 union select distinct tcode from tstct where tcode like 'Y%' or tcode like 'Z%')q;
select count(*) into var_tstca from information_schema.tables where table_schema = var_mydb and table_name = 'tstca';
select count(*) into var_usobx from information_schema.tables where table_schema = var_mydb and table_name = 'usobx_c';
select count(*) into var_usobt from information_schema.tables where table_schema = var_mydb and table_name = 'usobt_c';
/* === Line ADDED By Manish Kr === */
INSERT INTO `procedure_message` (`id`, `procedure_name`, `message`, `create_datetime`) VALUES (NULL, 'Role Build', 'Preparing Conflicts.. ', current_timestamp());
if var_tstca > 0 then
/*create table conflicts_values_a_o select * from conflicts_values_a;
create table conflicts_values_bl_o select * from conflicts_values_bl;
create table cva_cnt_o select * from cva_cnt;
create table cvb_cnt_o select * from cvb_cnt;*/
delete from conflicts_values_a;
delete from conflicts_values_bl;
delete from cva_cnt;
delete from cvb_cnt;
insert into conflicts_values_a select distinct t.tcode,t.objct,t.field,t.value from tstca t, tcode_list c where t.tcode=c.tcode and t.value is not null and t.value <> '';
insert into conflicts_values_bl select distinct t.tcode,t.objct,t.field from tstca t, tcode_list c where t.tcode=c.tcode and (t.value is null or t.value = '');
insert into cva_cnt select tcode, count(*) from conflicts_values_a group by tcode;
insert into cvb_cnt select tcode, count(*) from conflicts_values_bl group by tcode;
end if;
if var_usobx > 0 and var_usobt > 0 then
/*create table conflicts_values_flbl_o select * from conflicts_values_flbl;
create table cvf_cnt_o select * from cvf_cnt;*/
delete from conflicts_values_flbl;
delete from cvf_cnt;
insert into conflicts_values_flbl select distinct x.name tcode, x.object objct from usobx_c x, tcode_list c where x.okflag='y' and x.name=c.tcode;
delete f from conflicts_values_flbl f, (select distinct tcode from conflicts_values_a union select distinct tcode from conflicts_values_bl)q where q.tcode=f.tcode;
insert into cvf_cnt select tcode, count(*) from conflicts_values_flbl group by tcode;
end if;
END | 51.503356 | 284 | 0.76479 |
0ef8fb538675436bf41fdbafcd1c87b542ba3113 | 1,426 | ts | TypeScript | node_modules/angular2-meteor/dist/mongo_cursor_observer.d.ts | dcharua/Meteor-AngularTemplante | 64a97eed2c2e33109ad7cfff9744bf869c584b7b | [
"MIT"
] | 1 | 2019-01-20T00:59:38.000Z | 2019-01-20T00:59:38.000Z | node_modules/angular2-meteor/dist/mongo_cursor_observer.d.ts | dcharua/Meteor-AngularTemplante | 64a97eed2c2e33109ad7cfff9744bf869c584b7b | [
"MIT"
] | 1 | 2017-02-09T13:24:19.000Z | 2017-02-09T13:24:25.000Z | node_modules/angular2-meteor/dist/mongo_cursor_observer.d.ts | dcharua/Meteor-AngularTemplante | 64a97eed2c2e33109ad7cfff9744bf869c584b7b | [
"MIT"
] | null | null | null | import { EventEmitter } from '@angular/core';
export declare class AddChange {
index: number;
item: any;
constructor(index: number, item: any);
}
export declare class UpdateChange {
index: number;
item: any;
constructor(index: number, item: any);
}
export declare class MoveChange {
fromIndex: number;
toIndex: number;
constructor(fromIndex: number, toIndex: number);
}
export declare class RemoveChange {
index: number;
constructor(index: number);
}
export declare type MongoDocChange = AddChange | MoveChange | UpdateChange | RemoveChange;
/**
* Class that does a background work of observing
* Mongo collection changes (through a cursor)
* and notifying subscribers about them.
*/
export declare class MongoCursorObserver extends EventEmitter<MongoDocChange[]> {
private _debounceMs;
private _lastChanges;
private _cursor;
private _hCursor;
private _ngZone;
private _isSubscribed;
static isCursor(cursor: any): boolean;
constructor(cursor: Mongo.Cursor<any>, _debounceMs?: number);
subscribe(events: any): any;
readonly lastChanges: (AddChange | MoveChange | UpdateChange | RemoveChange)[];
destroy(): void;
private _processCursor(cursor);
private _startCursorObserver(cursor);
private _updateAt(doc, index);
private _addAt(doc, index);
private _moveTo(doc, fromIndex, toIndex);
private _removeAt(index);
}
| 31 | 90 | 0.718093 |
ad0f3ab245daa7fb8191b0f584bc33c37c39b4f1 | 36,941 | rs | Rust | rust/token-metadata/test/src/main.rs | the-robot-factory/metaplex | 43c818aa852849e85dc30b8411b1c193ea7eb38e | [
"Apache-2.0"
] | null | null | null | rust/token-metadata/test/src/main.rs | the-robot-factory/metaplex | 43c818aa852849e85dc30b8411b1c193ea7eb38e | [
"Apache-2.0"
] | null | null | null | rust/token-metadata/test/src/main.rs | the-robot-factory/metaplex | 43c818aa852849e85dc30b8411b1c193ea7eb38e | [
"Apache-2.0"
] | null | null | null | use solana_client::rpc_request::TokenAccountsFilter;
use {
clap::{crate_description, crate_name, crate_version, App, Arg, ArgMatches, SubCommand},
solana_clap_utils::{
input_parsers::pubkey_of,
input_validators::{is_url, is_valid_pubkey, is_valid_signer},
},
solana_client::rpc_client::RpcClient,
solana_program::{
account_info::AccountInfo, borsh::try_from_slice_unchecked, program_pack::Pack,
},
solana_sdk::{
pubkey::Pubkey,
signature::{read_keypair_file, Keypair, Signer},
system_instruction::create_account,
transaction::Transaction,
},
spl_token::{
instruction::{initialize_account, initialize_mint, mint_to},
state::{Account, Mint},
},
spl_token_metadata::{
instruction::{
create_master_edition, create_metadata_accounts,
mint_new_edition_from_master_edition_via_token, update_metadata_accounts,puff_metadata_account
},
state::{
get_reservation_list, Data, Edition, Key, MasterEditionV1, MasterEditionV2, Metadata, Creator,
EDITION, PREFIX,MAX_NAME_LENGTH, MAX_URI_LENGTH, MAX_SYMBOL_LENGTH
},
},
std::str::FromStr,
};
const TOKEN_PROGRAM_PUBKEY: &str = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
fn puff_unpuffed_metadata(_app_matches: &ArgMatches, payer: Keypair, client: RpcClient) {
let metadata_accounts = client.get_program_accounts(&spl_token_metadata::id()).unwrap();
let mut needing_puffing = vec![];
for acct in metadata_accounts {
if acct.1.data[0] == Key::MetadataV1 as u8 {
match try_from_slice_unchecked(&acct.1.data) {
Ok(val) => {
let account: Metadata = val;
if account.data.name.len() < MAX_NAME_LENGTH || account.data.uri.len() < MAX_URI_LENGTH || account.data.symbol.len() < MAX_SYMBOL_LENGTH || account.edition_nonce.is_none() {
needing_puffing.push(acct.0);
}
},
Err(_) => { println!("Skipping {}", acct.0)},
};
}
}
println!("Found {} accounts needing puffing", needing_puffing.len());
let mut instructions = vec![];
let mut i = 0;
while i < needing_puffing.len() {
let pubkey = needing_puffing[i];
instructions.push(puff_metadata_account(spl_token_metadata::id(), pubkey));
if instructions.len() >= 20 {
let mut transaction = Transaction::new_with_payer(&instructions, Some(&payer.pubkey()));
let recent_blockhash = client.get_recent_blockhash().unwrap().0;
transaction.sign(&[&payer], recent_blockhash);
match client.send_and_confirm_transaction(&transaction) {
Ok(_) => {
println!("Another 20 down. At {} / {}", i, needing_puffing.len());
instructions = vec![];
i += 1;
},
Err(_) => {
println!("Txn failed. Retry.");
std::thread::sleep(std::time::Duration::from_millis(1000));
},
}
} else {
i += 1;
}
}
if instructions.len() > 0 {
let mut transaction = Transaction::new_with_payer(&instructions, Some(&payer.pubkey()));
let recent_blockhash = client.get_recent_blockhash().unwrap().0;
transaction.sign(&[&payer], recent_blockhash);
client.send_and_confirm_transaction(&transaction).unwrap();
}
}
fn mint_coins(app_matches: &ArgMatches, payer: Keypair, client: RpcClient) {
let token_key = Pubkey::from_str(TOKEN_PROGRAM_PUBKEY).unwrap();
let amount = match app_matches.value_of("amount") {
Some(val) => Some(val.parse::<u64>().unwrap()),
None => None,
}
.unwrap();
let mint_key = pubkey_of(app_matches, "mint").unwrap();
let mut instructions = vec![];
let mut signers = vec![&payer];
let destination_key: Pubkey;
let destination = Keypair::new();
if app_matches.is_present("destination") {
destination_key = pubkey_of(app_matches, "destination").unwrap();
} else {
destination_key = destination.pubkey();
signers.push(&destination);
instructions.push(create_account(
&payer.pubkey(),
&destination_key,
client
.get_minimum_balance_for_rent_exemption(Account::LEN)
.unwrap(),
Account::LEN as u64,
&token_key,
));
instructions.push(
initialize_account(&token_key, &destination_key, &mint_key, &payer.pubkey()).unwrap(),
);
}
instructions.push(
mint_to(
&token_key,
&mint_key,
&destination_key,
&payer.pubkey(),
&[&payer.pubkey()],
amount,
)
.unwrap(),
);
let mut transaction = Transaction::new_with_payer(&instructions, Some(&payer.pubkey()));
let recent_blockhash = client.get_recent_blockhash().unwrap().0;
transaction.sign(&signers, recent_blockhash);
client.send_and_confirm_transaction(&transaction).unwrap();
println!("Minted {:?} tokens to {:?}.", amount, destination_key);
}
fn show_reservation_list(app_matches: &ArgMatches, _payer: Keypair, client: RpcClient) {
let key = pubkey_of(app_matches, "key").unwrap();
let mut res_data = client.get_account(&key).unwrap();
let mut lamports = 0;
let account_info = AccountInfo::new(
&key,
false,
false,
&mut lamports,
&mut res_data.data,
&res_data.owner,
false,
0,
);
let res_list = get_reservation_list(&account_info).unwrap();
println!("Res list {:?}", res_list.reservations());
println!(
"current res spots: {:?}",
res_list.current_reservation_spots()
);
println!("total res spots: {:?}", res_list.total_reservation_spots());
println!("supply snapshot: {:?}", res_list.supply_snapshot());
}
fn show(app_matches: &ArgMatches, _payer: Keypair, client: RpcClient) {
let program_key = spl_token_metadata::id();
let printing_mint_key = pubkey_of(app_matches, "mint").unwrap();
let master_metadata_seeds = &[
PREFIX.as_bytes(),
&program_key.as_ref(),
printing_mint_key.as_ref(),
];
let (master_metadata_key, _) =
Pubkey::find_program_address(master_metadata_seeds, &program_key);
let master_metadata_account = client.get_account(&master_metadata_key).unwrap();
let master_metadata: Metadata =
try_from_slice_unchecked(&master_metadata_account.data).unwrap();
let update_authority = master_metadata.update_authority;
println!("Metadata key: {:?}", master_metadata_key);
println!("Metadata: {:#?}", master_metadata);
println!("Update authority: {:?}", update_authority);
let master_edition_seeds = &[
PREFIX.as_bytes(),
&program_key.as_ref(),
&master_metadata.mint.as_ref(),
EDITION.as_bytes(),
];
let (master_edition_key, _) = Pubkey::find_program_address(master_edition_seeds, &program_key);
match client.get_account(&master_edition_key) {
Ok(master_edition_account) => {
if master_edition_account.data[0] == Key::MasterEditionV1 as u8 {
let master_edition: MasterEditionV1 =
try_from_slice_unchecked(&master_edition_account.data).unwrap();
println!("Deprecated Master edition {:#?}", master_edition);
} else if master_edition_account.data[0] == Key::MasterEditionV2 as u8 {
let master_edition: MasterEditionV2 =
try_from_slice_unchecked(&master_edition_account.data).unwrap();
println!("Master edition {:#?}", master_edition);
} else {
let edition: Edition = try_from_slice_unchecked(&master_edition_account.data).unwrap();
println!("Limited edition {:#?}", edition);
}
},
Err(_) => {
println!("No master edition or edition detected")
}
}
}
fn mint_edition_via_token_call(
app_matches: &ArgMatches,
payer: Keypair,
client: RpcClient,
) -> (Edition, Pubkey, Pubkey) {
let account_authority = read_keypair_file(
app_matches
.value_of("account_authority")
.unwrap_or_else(|| app_matches.value_of("keypair").unwrap()),
)
.unwrap();
let program_key = spl_token_metadata::id();
let token_key = Pubkey::from_str(TOKEN_PROGRAM_PUBKEY).unwrap();
let mint_key = pubkey_of(app_matches, "mint").unwrap();
let existing_token_account = Pubkey::from_str(
&client
.get_token_accounts_by_owner(
&account_authority.pubkey(),
TokenAccountsFilter::Mint(mint_key),
)
.unwrap()
.iter()
.find(|x| {
client
.get_token_account_balance(&Pubkey::from_str(&x.pubkey).unwrap())
.unwrap()
.amount
!= "0"
})
.unwrap()
.pubkey,
)
.unwrap();
let new_mint_key = Keypair::new();
let added_token_account = Keypair::new();
let new_mint_pub = new_mint_key.pubkey();
let metadata_seeds = &[
PREFIX.as_bytes(),
&program_key.as_ref(),
&new_mint_pub.as_ref(),
];
let (metadata_key, _) = Pubkey::find_program_address(metadata_seeds, &program_key);
let edition_seeds = &[
PREFIX.as_bytes(),
&program_key.as_ref(),
&new_mint_pub.as_ref(),
EDITION.as_bytes(),
];
let (edition_key, _) = Pubkey::find_program_address(edition_seeds, &program_key);
let master_metadata_seeds = &[PREFIX.as_bytes(), &program_key.as_ref(), mint_key.as_ref()];
let (master_metadata_key, _) =
Pubkey::find_program_address(master_metadata_seeds, &program_key);
let master_metadata_account = client.get_account(&master_metadata_key).unwrap();
let master_metadata: Metadata =
try_from_slice_unchecked(&master_metadata_account.data).unwrap();
let master_edition_seeds = &[
PREFIX.as_bytes(),
&program_key.as_ref(),
&master_metadata.mint.as_ref(),
EDITION.as_bytes(),
];
let (master_edition_key, _) = Pubkey::find_program_address(master_edition_seeds, &program_key);
let master_edition_account = client.get_account(&master_edition_key).unwrap();
let master_edition: MasterEditionV2 =
try_from_slice_unchecked(&master_edition_account.data).unwrap();
let signers = vec![&account_authority, &new_mint_key, &added_token_account];
let mut instructions = vec![
create_account(
&payer.pubkey(),
&new_mint_key.pubkey(),
client
.get_minimum_balance_for_rent_exemption(Mint::LEN)
.unwrap(),
Mint::LEN as u64,
&token_key,
),
initialize_mint(
&token_key,
&new_mint_key.pubkey(),
&payer.pubkey(),
Some(&payer.pubkey()),
0,
)
.unwrap(),
create_account(
&payer.pubkey(),
&added_token_account.pubkey(),
client
.get_minimum_balance_for_rent_exemption(Account::LEN)
.unwrap(),
Account::LEN as u64,
&token_key,
),
initialize_account(
&token_key,
&added_token_account.pubkey(),
&new_mint_key.pubkey(),
&payer.pubkey(),
)
.unwrap(),
mint_to(
&token_key,
&new_mint_key.pubkey(),
&added_token_account.pubkey(),
&payer.pubkey(),
&[&payer.pubkey()],
1,
)
.unwrap(),
];
instructions.push(mint_new_edition_from_master_edition_via_token(
program_key,
metadata_key,
edition_key,
master_edition_key,
new_mint_key.pubkey(),
account_authority.pubkey(),
payer.pubkey(),
account_authority.pubkey(),
existing_token_account,
account_authority.pubkey(),
master_metadata_key,
master_metadata.mint,
master_edition.supply + 1,
));
let mut transaction = Transaction::new_with_payer(&instructions, Some(&payer.pubkey()));
let recent_blockhash = client.get_recent_blockhash().unwrap().0;
transaction.sign(&signers, recent_blockhash);
client.send_and_confirm_transaction(&transaction).unwrap();
let account = client.get_account(&edition_key).unwrap();
let edition: Edition = try_from_slice_unchecked(&account.data).unwrap();
(edition, edition_key, new_mint_key.pubkey())
}
fn master_edition_call(
app_matches: &ArgMatches,
payer: Keypair,
client: RpcClient,
) -> (MasterEditionV2, Pubkey) {
let update_authority = read_keypair_file(
app_matches
.value_of("update_authority")
.unwrap_or_else(|| app_matches.value_of("keypair").unwrap()),
)
.unwrap();
let mint_authority = read_keypair_file(
app_matches
.value_of("mint_authority")
.unwrap_or_else(|| app_matches.value_of("keypair").unwrap()),
)
.unwrap();
let program_key = spl_token_metadata::id();
let token_key = Pubkey::from_str(TOKEN_PROGRAM_PUBKEY).unwrap();
let mint_key = pubkey_of(app_matches, "mint").unwrap();
let metadata_seeds = &[PREFIX.as_bytes(), &program_key.as_ref(), mint_key.as_ref()];
let (metadata_key, _) = Pubkey::find_program_address(metadata_seeds, &program_key);
let metadata_account = client.get_account(&metadata_key).unwrap();
let metadata: Metadata = try_from_slice_unchecked(&metadata_account.data).unwrap();
let master_edition_seeds = &[
PREFIX.as_bytes(),
&program_key.as_ref(),
&metadata.mint.as_ref(),
EDITION.as_bytes(),
];
let (master_edition_key, _) = Pubkey::find_program_address(master_edition_seeds, &program_key);
let max_supply = match app_matches.value_of("max_supply") {
Some(val) => Some(val.parse::<u64>().unwrap()),
None => None,
};
let added_token_account = Keypair::new();
let needs_a_token = app_matches.is_present("add_one_token");
let mut signers = vec![&update_authority, &mint_authority];
let mut instructions = vec![];
if needs_a_token {
signers.push(&added_token_account);
instructions.push(create_account(
&payer.pubkey(),
&added_token_account.pubkey(),
client
.get_minimum_balance_for_rent_exemption(Account::LEN)
.unwrap(),
Account::LEN as u64,
&token_key,
));
instructions.push(
initialize_account(
&token_key,
&added_token_account.pubkey(),
&metadata.mint,
&payer.pubkey(),
)
.unwrap(),
);
instructions.push(
mint_to(
&token_key,
&metadata.mint,
&added_token_account.pubkey(),
&payer.pubkey(),
&[&payer.pubkey()],
1,
)
.unwrap(),
)
}
instructions.push(create_master_edition(
program_key,
master_edition_key,
mint_key,
update_authority.pubkey(),
mint_authority.pubkey(),
metadata_key,
payer.pubkey(),
max_supply,
));
let mut transaction = Transaction::new_with_payer(&instructions, Some(&payer.pubkey()));
let recent_blockhash = client.get_recent_blockhash().unwrap().0;
transaction.sign(&signers, recent_blockhash);
client.send_and_confirm_transaction(&transaction).unwrap();
let account = client.get_account(&master_edition_key).unwrap();
let master_edition: MasterEditionV2 = try_from_slice_unchecked(&account.data).unwrap();
(master_edition, master_edition_key)
}
fn update_metadata_account_call(
app_matches: &ArgMatches,
payer: Keypair,
client: RpcClient,
) -> (Metadata, Pubkey) {
let update_authority = read_keypair_file(
app_matches
.value_of("update_authority")
.unwrap_or_else(|| app_matches.value_of("keypair").unwrap()),
)
.unwrap();
let program_key = spl_token_metadata::id();
let mint_key = pubkey_of(app_matches, "mint").unwrap();
let seller_fee_basis_points = match app_matches.value_of("seller_fee_basis_points") {
Some(val) => Some(val.parse::<u16>().unwrap()),
None => None,
};
let primary_sale_happened = match app_matches.is_present("primary_sale_happened") {
true => Some(true),
false => None,
};
let metadata_seeds = &[PREFIX.as_bytes(), &program_key.as_ref(), mint_key.as_ref()];
let (metadata_key, _) = Pubkey::find_program_address(metadata_seeds, &program_key);
let uri = match app_matches.value_of("uri") {
Some(val) => Some(val.to_owned()),
None => None,
};
let name = match app_matches.value_of("name") {
Some(val) => Some(val.to_owned()),
None => None,
};
let new_update_authority = pubkey_of(app_matches, "new_update_authority");
let metadata_account = client.get_account(&metadata_key).unwrap();
let metadata: Metadata = try_from_slice_unchecked(&metadata_account.data).unwrap();
let creators = match app_matches.value_of("creators") {
Some(val) => Some(parse_creators(val, &payer.pubkey())),
None => metadata.data.creators,
};
let new_data = Data {
name: name.unwrap_or(metadata.data.name),
symbol: metadata.data.symbol,
uri: uri.unwrap_or(metadata.data.uri),
seller_fee_basis_points: seller_fee_basis_points.unwrap_or(metadata.data.seller_fee_basis_points),
creators: creators,
};
let instructions = [update_metadata_accounts(
program_key,
metadata_key,
update_authority.pubkey(),
new_update_authority,
Some(new_data),
primary_sale_happened,
)];
let mut transaction = Transaction::new_with_payer(&instructions, Some(&payer.pubkey()));
let recent_blockhash = client.get_recent_blockhash().unwrap().0;
let signers = vec![&update_authority];
transaction.sign(&signers, recent_blockhash);
client.send_and_confirm_transaction(&transaction).unwrap();
let metadata_account = client.get_account(&metadata_key).unwrap();
let metadata: Metadata = try_from_slice_unchecked(&metadata_account.data).unwrap();
(metadata, metadata_key)
}
fn parse_creators(s: &str, signer: &Pubkey) -> Vec<Creator> {
s.split(",").map(|c| {
let t = c.split(":").collect::<Vec<&str>>();
if t.len() != 2 {
panic!("Invalid creator format: {:?}", c)
}
let address = Pubkey::from_str(t[0]).unwrap();
Creator {
address: address,
share: t[1].parse::<u8>().unwrap(),
verified: if *signer == address { true } else { false },
}
}).collect::<Vec<Creator>>()
}
fn create_metadata_account_call(
app_matches: &ArgMatches,
payer: Keypair,
client: RpcClient,
) -> (Metadata, Pubkey) {
let update_authority = read_keypair_file(
app_matches
.value_of("update_authority")
.unwrap_or_else(|| app_matches.value_of("keypair").unwrap()),
)
.unwrap();
let program_key = spl_token_metadata::id();
let token_key = Pubkey::from_str(TOKEN_PROGRAM_PUBKEY).unwrap();
let name = app_matches.value_of("name").unwrap().to_owned();
let symbol = app_matches.value_of("symbol").unwrap().to_owned();
let uri = app_matches.value_of("uri").unwrap().to_owned();
let seller_fee_basis_points = match app_matches.value_of("seller_fee_basis_points") {
Some(val) => val.parse::<u16>().unwrap(),
None => 0,
};
let creators = match app_matches.value_of("creators") {
Some(val) => Some(parse_creators(val, &payer.pubkey())),
None => None,
};
let create_new_mint = !app_matches.is_present("mint");
let mutable = app_matches.is_present("mutable");
let new_mint = Keypair::new();
let mint_key = match app_matches.value_of("mint") {
Some(_val) => pubkey_of(app_matches, "mint").unwrap(),
None => new_mint.pubkey(),
};
let metadata_seeds = &[
PREFIX.as_bytes(),
&program_key.as_ref(),
mint_key.as_ref(),
];
let (metadata_key, _) = Pubkey::find_program_address(metadata_seeds, &program_key);
let mut new_mint_instructions = vec![
create_account(
&payer.pubkey(),
&mint_key,
client
.get_minimum_balance_for_rent_exemption(Mint::LEN)
.unwrap(),
Mint::LEN as u64,
&token_key,
),
initialize_mint(
&token_key,
&mint_key,
&payer.pubkey(),
Some(&payer.pubkey()),
0,
)
.unwrap(),
];
let new_metadata_instruction =
create_metadata_accounts(
program_key,
metadata_key,
mint_key,
payer.pubkey(),
payer.pubkey(),
update_authority.pubkey(),
name,
symbol,
uri,
creators,
seller_fee_basis_points,
update_authority.pubkey() != payer.pubkey(),
mutable,
);
let mut instructions = vec![new_metadata_instruction];
if create_new_mint {
instructions.append(&mut new_mint_instructions)
}
let mut transaction = Transaction::new_with_payer(&instructions, Some(&payer.pubkey()));
let recent_blockhash = client.get_recent_blockhash().unwrap().0;
let mut signers = vec![&payer];
if create_new_mint {
signers.push(&new_mint);
}
if update_authority.pubkey() != payer.pubkey() {
signers.push(&update_authority)
}
transaction.sign(&signers, recent_blockhash);
client.send_and_confirm_transaction(&transaction).unwrap();
let account = client.get_account(&metadata_key).unwrap();
let metadata: Metadata = try_from_slice_unchecked(&account.data).unwrap();
(metadata, metadata_key)
}
fn main() {
let app_matches = App::new(crate_name!())
.about(crate_description!())
.version(crate_version!())
.arg(
Arg::with_name("keypair")
.long("keypair")
.value_name("KEYPAIR")
.validator(is_valid_signer)
.takes_value(true)
.global(true)
.help("Filepath or URL to a keypair"),
)
.arg(
Arg::with_name("json_rpc_url")
.long("url")
.value_name("URL")
.takes_value(true)
.global(true)
.validator(is_url)
.help("JSON RPC URL for the cluster [default: devnet]"),
)
.arg(
Arg::with_name("update_authority")
.long("update_authority")
.value_name("UPDATE_AUTHORITY")
.takes_value(true)
.global(true)
.help("Update authority filepath or url to keypair besides yourself, defaults to normal keypair"),
)
.subcommand(
SubCommand::with_name("create_metadata_accounts")
.about("Create Metadata Accounts")
.arg(
Arg::with_name("name")
.long("name")
.global(true)
.value_name("NAME")
.takes_value(true)
.help("name for the Mint"),
)
.arg(
Arg::with_name("symbol")
.long("symbol")
.value_name("SYMBOL")
.takes_value(true)
.global(true)
.help("symbol for the Mint"),
)
.arg(
Arg::with_name("uri")
.long("uri")
.value_name("URI")
.takes_value(true)
.required(true)
.help("URI for the Mint"),
)
.arg(
Arg::with_name("mint")
.long("mint")
.value_name("MINT")
.takes_value(true)
.required(false)
.help("Pubkey for an existing mint (random new mint otherwise)"),
)
.arg(
Arg::with_name("mutable")
.long("mutable")
.value_name("MUTABLE")
.takes_value(false)
.required(false)
.help("Permit future metadata updates"),
)
.arg(
Arg::with_name("seller_fee_basis_points")
.long("seller-fee-basis-points")
.value_name("POINTS")
.takes_value(true)
.required(false)
.help("Creator royalties total deducted on sales (10000 is 100%)"),
)
.arg(
Arg::with_name("creators")
.long("creators")
.value_name("LIST")
.takes_value(true)
.required(false)
.help("List of creators and %shares. Format: PUBKEY1:SHARE1,PUBKEY2:SHARE2,..."),
)
).subcommand(
SubCommand::with_name("mint_coins")
.about("Mint coins to your mint to an account")
.arg(
Arg::with_name("mint")
.long("mint")
.value_name("MINT")
.required(true)
.validator(is_valid_pubkey)
.takes_value(true)
.help("Mint of the Metadata"),
).arg(
Arg::with_name("destination")
.long("destination")
.value_name("DESTINATION")
.required(false)
.validator(is_valid_pubkey)
.takes_value(true)
.help("Destination account. If one isnt given, one is made."),
).arg(
Arg::with_name("amount")
.long("amount")
.value_name("AMOUNT")
.required(true)
.takes_value(true)
.help("How many"),
)
)
.subcommand(
SubCommand::with_name("update_metadata_accounts")
.about("Update Metadata Accounts")
.arg(
Arg::with_name("mint")
.long("mint")
.value_name("MINT")
.required(true)
.validator(is_valid_pubkey)
.takes_value(true)
.help("Mint of the Metadata"),
)
.arg(
Arg::with_name("uri")
.long("uri")
.value_name("URI")
.takes_value(true)
.required(false)
.help("new URI for the Metadata"),
)
.arg(
Arg::with_name("name")
.long("name")
.value_name("NAME")
.takes_value(true)
.required(false)
.help("new NAME for the Metadata"),
)
.arg(
Arg::with_name("new_update_authority")
.long("new_update_authority")
.value_name("NEW_UPDATE_AUTHORITY")
.required(false)
.validator(is_valid_pubkey)
.takes_value(true)
.help("New update authority"))
.arg(
Arg::with_name("seller_fee_basis_points")
.long("seller-fee-basis-points")
.value_name("POINTS")
.takes_value(true)
.required(false)
.help("Creator royalties total deducted on sales (10000 is 100%)"),
)
.arg(
Arg::with_name("creators")
.long("creators")
.value_name("LIST")
.takes_value(true)
.required(false)
.help("List of creators and %shares. Format: PUBKEY1:SHARE1,PUBKEY2:SHARE2,..."),
)
.arg(
Arg::with_name("primary_sale_happened")
.long("primary-sale-happened")
.value_name("BOOL")
.takes_value(false)
.required(false)
.help("Whether primary sale happened"),
)
).subcommand(
SubCommand::with_name("show")
.about("Show")
.arg(
Arg::with_name("mint")
.long("mint")
.value_name("MINT")
.required(true)
.validator(is_valid_pubkey)
.takes_value(true)
.help("Metadata mint"),
)
).subcommand(
SubCommand::with_name("show_reservation_list")
.about("Show Reservation List")
.arg(
Arg::with_name("key")
.long("key")
.value_name("KEY")
.required(true)
.validator(is_valid_pubkey)
.takes_value(true)
.help("Account key of reservation list"),
)
)
.subcommand(
SubCommand::with_name("create_master_edition")
.about("Create Master Edition out of Metadata")
.arg(
Arg::with_name("add_one_token")
.long("add_one_token")
.value_name("ADD_ONE_TOKEN")
.required(false)
.takes_value(false)
.help("Add a token to this mint before calling (useful if your mint has zero tokens, this action requires one to be present)"),
).arg(
Arg::with_name("max_supply")
.long("max_supply")
.value_name("MAX_SUPPLY")
.required(false)
.takes_value(true)
.help("Set a maximum supply that can be minted."),
).arg(
Arg::with_name("mint")
.long("mint")
.value_name("MINT")
.required(true)
.validator(is_valid_pubkey)
.takes_value(true)
.help("Metadata mint to from which to create a master edition."),
).arg(
Arg::with_name("mint_authority")
.long("mint_authority")
.value_name("MINT_AUTHORITY")
.validator(is_valid_signer)
.takes_value(true)
.required(false)
.help("Filepath or URL to a keypair representing mint authority, defaults to you"),
)
).subcommand(
SubCommand::with_name("mint_new_edition_from_master_edition_via_token")
.about("Mint new edition from master edition via a token - this will just also mint the token for you and submit it.")
.arg(
Arg::with_name("mint")
.long("mint")
.value_name("MINT")
.required(true)
.validator(is_valid_pubkey)
.takes_value(true)
.help("Metadata Mint from which to mint this new edition"),
).arg(
Arg::with_name("account")
.long("account")
.value_name("ACCOUNT")
.required(false)
.validator(is_valid_pubkey)
.takes_value(true)
.help("Account which contains authorization token. If not provided, one will be made."),
).arg(
Arg::with_name("account_authority")
.long("account_authority")
.value_name("ACCOUNT_AUTHORITY")
.required(false)
.validator(is_valid_signer)
.takes_value(true)
.help("Account's authority, defaults to you"),
)
).subcommand(
SubCommand::with_name("puff_unpuffed_metadata")
.about("Take metadata that still have variable length name, symbol, and uri fields and stretch them out with null symbols so they can be searched more easily by RPC.")).get_matches();
let client = RpcClient::new(
app_matches
.value_of("json_rpc_url")
.unwrap_or(&"https://api.devnet.solana.com".to_owned())
.to_owned(),
);
let payer = read_keypair_file(app_matches.value_of("keypair").unwrap()).unwrap();
let (sub_command, sub_matches) = app_matches.subcommand();
match (sub_command, sub_matches) {
("create_metadata_accounts", Some(arg_matches)) => {
let (metadata, metadata_key) = create_metadata_account_call(arg_matches, payer, client);
println!(
"Create metadata account with mint {:?} and key {:?} and name of {:?} and symbol of {:?}",
metadata.mint, metadata_key, metadata.data.name, metadata.data.symbol
);
}
("update_metadata_accounts", Some(arg_matches)) => {
let (metadata, metadata_key) = update_metadata_account_call(arg_matches, payer, client);
println!(
"Update metadata account with mint {:?} and key {:?} which now has URI of {:?}",
metadata.mint, metadata_key, metadata.data.uri
);
}
("create_master_edition", Some(arg_matches)) => {
let (master_edition, master_edition_key) =
master_edition_call(arg_matches, payer, client);
println!(
"Created master edition {:?} with key {:?}",
master_edition, master_edition_key
);
}
("mint_new_edition_from_master_edition_via_token", Some(arg_matches)) => {
let (edition, edition_key, mint) = mint_edition_via_token_call(arg_matches, payer, client);
println!(
"New edition: {:?}\nParent edition: {:?}\nEdition number: {:?}\nToken mint: {:?}",
edition_key, edition.parent, edition.edition, mint
);
}
("show", Some(arg_matches)) => {
show(arg_matches, payer, client);
}
("show_reservation_list", Some(arg_matches)) => {
show_reservation_list(arg_matches, payer, client);
}
("mint_coins", Some(arg_matches)) => {
mint_coins(arg_matches, payer, client);
}
("puff_unpuffed_metadata", Some(arg_matches)) => {
puff_unpuffed_metadata(arg_matches, payer, client);
}
_ => unreachable!(),
}
}
| 38.122807 | 207 | 0.535882 |
6628a107fe2862bf07f2b53d2f0a3c921c73bc0b | 1,706 | css | CSS | talatat-theme.css | seanbradley/Guarnerius | 7bcc4fd73a05c24942629d14dc8b0125e0cc7d2c | [
"Unlicense"
] | null | null | null | talatat-theme.css | seanbradley/Guarnerius | 7bcc4fd73a05c24942629d14dc8b0125e0cc7d2c | [
"Unlicense"
] | null | null | null | talatat-theme.css | seanbradley/Guarnerius | 7bcc4fd73a05c24942629d14dc8b0125e0cc7d2c | [
"Unlicense"
] | null | null | null | #CustomTabWrapper>ul>li {
border: 1px solid #ddd;
border-radius: 4px 4px 0 0;
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
margin: 1px .2em 0 0;
border: 1px solid #d3d3d3;
background: #e6e6e6 url(http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;
font-weight: normal;
}
#CustomTabWrapper>ul>li>a {
margin-right: 0px;
padding: .5em 1em;
}
#CustomTabWrapper>ul>li>a,
#CustomTabWrapper>ul>li>a:link,
#CustomTabWrapper>ul>li>a:visited {
color: #555;
text-decoration: none;
}
#CustomTabWrapper>ul>li>a:hover {
color: #212121;
text-decoration: none;
}
#CustomTabWrapper>ul>li.active {
border-bottom-color: #fff;
margin-bottom: -1px;
padding-bottom: 2px;
border-bottom-width: 0;
background-image: -moz-linear-gradient(bottom, #fff 2px, transparent 2px);
background-image: -o-linear-gradient(bottom, #fff 2px, transparent 2px);
background-image: -webkit-linear-gradient(bottom, #fff 2px, transparent 2px);
background-image: linear-gradient(bottom, #fff 2px, transparent 2px);
}
#CustomTabWrapper>div {
padding: 10px 10px 10px 10px;
}
#CustomTabWrapper>div {
border: 1px solid #ddd;
background: transparent;
border-radius: 0 0 4px 4px;
-webkit-border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
margin-top: -1px;
border-top: transparent
}
.panel_margin {
margin: 15px
}
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
.ng-invalid.ng-dirty{
border-color:#FA787E;
}
.ng-valid.ng-dirty{
border-color:#78FA89;
}
| 24.724638 | 156 | 0.679953 |
f627e52166ff6df6a152766e801ba129eaf5a808 | 989 | sql | SQL | src/main/resources/sql-schema.sql | CelinaQA/celina-ims | 41b27458da352d77a6c2e66bda8742d11f9a9f26 | [
"MIT"
] | null | null | null | src/main/resources/sql-schema.sql | CelinaQA/celina-ims | 41b27458da352d77a6c2e66bda8742d11f9a9f26 | [
"MIT"
] | null | null | null | src/main/resources/sql-schema.sql | CelinaQA/celina-ims | 41b27458da352d77a6c2e66bda8742d11f9a9f26 | [
"MIT"
] | null | null | null | CREATE DATABASE IF NOT EXISTS ims;
CREATE TABLE IF NOT EXISTS ims.customers(customer_id INT UNIQUE NOT NULL AUTO_INCREMENT, first_name VARCHAR(100) NOT NULL, last_name VARCHAR(100) NOT NULL, PRIMARY KEY (customer_id));
CREATE TABLE IF NOT EXISTS ims.orders(order_id INT UNIQUE NOT NULL AUTO_INCREMENT, customer_id INT NOT NULL, date_placed DATETIME DEFAULT NOW() NOT NULL, PRIMARY KEY (order_id), FOREIGN KEY (customer_id) REFERENCES customers(customer_id)) AUTO_INCREMENT=100;
CREATE TABLE IF NOT EXISTS ims.items(item_id INT UNIQUE NOT NULL AUTO_INCREMENT, item_name VARCHAR(100) NOT NULL, price DECIMAL(10,2) NOT NULL, stock INT NOT NULL, PRIMARY KEY (item_id));
CREATE TABLE IF NOT EXISTS ims.orderlines(orderline_id INT UNIQUE NOT NULL AUTO_INCREMENT, order_id INT NOT NULL, item_id INT NOT NULL, quantity INT NOT NULL,total_price DECIMAL(10,2) NOT NULL, PRIMARY KEY (orderline_id), FOREIGN KEY (order_id) REFERENCES orders(order_id), FOREIGN KEY (item_id) REFERENCES items(item_id)); | 197.8 | 323 | 0.805865 |
b307b96a0b154b5c86f42e0cfaa6ebd540dd09e7 | 680 | kt | Kotlin | workflow-runtime/src/test/java/com/squareup/workflow1/RenderingAndSnapshotTest.kt | vng-sq/workflow-kotlin | 88078dd55d2160250cddfae285c2fd28740b0893 | [
"Apache-2.0"
] | 688 | 2020-06-11T16:55:07.000Z | 2022-03-30T08:48:34.000Z | workflow-runtime/src/test/java/com/squareup/workflow1/RenderingAndSnapshotTest.kt | Seanpm2001-Automation/workflow-kotlin | 7c3bdb690e338b19872467bd2dfabb05965cdd19 | [
"Apache-2.0"
] | 489 | 2020-06-11T02:10:32.000Z | 2022-03-31T19:27:48.000Z | workflow-runtime/src/test/java/com/squareup/workflow1/RenderingAndSnapshotTest.kt | Seanpm2001-Automation/workflow-kotlin | 7c3bdb690e338b19872467bd2dfabb05965cdd19 | [
"Apache-2.0"
] | 78 | 2020-06-15T20:32:52.000Z | 2022-03-20T14:16:16.000Z | package com.squareup.workflow1
import org.junit.Test
import kotlin.test.assertEquals
import kotlin.test.assertNotEquals
import kotlin.test.assertSame
class RenderingAndSnapshotTest {
@Test fun destructuring() {
val snapshot = TreeSnapshot(Snapshot.of(0)) { emptyMap() }
val (r, t) = RenderingAndSnapshot("Rendering", snapshot)
assertEquals(r, "Rendering")
assertSame(t, snapshot)
}
@Test fun `identity equality`() {
val snapshot = TreeSnapshot(Snapshot.of(0)) { emptyMap() }
val me = RenderingAndSnapshot("Rendering", snapshot)
val you = RenderingAndSnapshot("Rendering", snapshot)
assertEquals(me, me)
assertNotEquals(me, you)
}
}
| 27.2 | 62 | 0.720588 |
10671e298c18b29cd0ccf8248d781aabb25abe0c | 1,440 | swift | Swift | WeatherApp/Controller/AddLocationViewController/AddLocationViewController+TableView.swift | RicardoBravoA/WeatherApp | 308a3fbd2cc02cd7bc2d5af75ef4feb6ce55a9b1 | [
"Apache-2.0"
] | null | null | null | WeatherApp/Controller/AddLocationViewController/AddLocationViewController+TableView.swift | RicardoBravoA/WeatherApp | 308a3fbd2cc02cd7bc2d5af75ef4feb6ce55a9b1 | [
"Apache-2.0"
] | null | null | null | WeatherApp/Controller/AddLocationViewController/AddLocationViewController+TableView.swift | RicardoBravoA/WeatherApp | 308a3fbd2cc02cd7bc2d5af75ef4feb6ce55a9b1 | [
"Apache-2.0"
] | null | null | null | //
// AddLocationViewController+TableView.swift
// WeatherApp
//
// Created by Ricardo Bravo on 6/07/21.
//
import Foundation
import UIKit
extension AddLocationViewController: UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
let location = fetchedResultsController.object(at: indexPath)
tableView.deselectRow(at: indexPath, animated: true)
performSegue(withIdentifier: "DetailSegue", sender: location)
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
let count = fetchedResultsController.sections?[section].numberOfObjects ?? 0
return count
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "LocationCell", for: indexPath)
let location = fetchedResultsController.object(at: indexPath)
cell.textLabel?.text = location.name
return cell
}
func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) {
if editingStyle == .delete {
let location = fetchedResultsController.object(at: indexPath)
dataController.viewContext.delete(location)
dataController.save()
}
}
}
| 35.121951 | 128 | 0.700694 |
b71272ea69940df2d8a019668bc0f2be0a799a31 | 1,822 | kt | Kotlin | app/src/androidTest/java/com/sergeyrodin/matchesboxes/history/HighlightedItemsTestUtils.kt | rodins/matches-boxes | 719cec50f4e6129d0628598e20e21018b79bb8f6 | [
"Apache-2.0"
] | null | null | null | app/src/androidTest/java/com/sergeyrodin/matchesboxes/history/HighlightedItemsTestUtils.kt | rodins/matches-boxes | 719cec50f4e6129d0628598e20e21018b79bb8f6 | [
"Apache-2.0"
] | null | null | null | app/src/androidTest/java/com/sergeyrodin/matchesboxes/history/HighlightedItemsTestUtils.kt | rodins/matches-boxes | 719cec50f4e6129d0628598e20e21018b79bb8f6 | [
"Apache-2.0"
] | null | null | null | package com.sergeyrodin.matchesboxes.history
import android.graphics.drawable.ColorDrawable
import android.view.View
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.test.internal.util.Checks
import com.sergeyrodin.matchesboxes.R
import org.hamcrest.Description
import org.hamcrest.Matcher
import org.hamcrest.TypeSafeMatcher
fun hasBackgroundColor(colorRes: Int): Matcher<View> {
Checks.checkNotNull(colorRes)
return object: TypeSafeMatcher<View>() {
override fun describeTo(description: Description?) {
description?.appendText("background color: $colorRes")
}
override fun matchesSafely(item: View?): Boolean {
if(item?.background == null) {
return false
}
val actualColor = (item.background as ColorDrawable).color
val expectedColor = ColorDrawable(ContextCompat.getColor(item.context, colorRes)).color
return actualColor == expectedColor
}
}
}
fun hasBackgroundColorAndText(colorRes: Int, text: String): Matcher<View> {
return object: TypeSafeMatcher<View>() {
override fun describeTo(description: Description?) {
description?.appendText("text: $text, background color: $colorRes")
}
override fun matchesSafely(item: View?): Boolean {
if(item?.background == null)
return false
val actualColor = (item.background as ColorDrawable).color
val expectedColor = ColorDrawable(ContextCompat.getColor(item.context, colorRes)).color
val nameTextView = item.findViewById<TextView>(R.id.name_text)
val actualText = nameTextView.text.toString()
return actualColor == expectedColor && text == actualText
}
}
} | 35.72549 | 99 | 0.680571 |
18d9c3ff73b5385aa060ebf3218a82f0d695561b | 10,458 | css | CSS | public/css/custom-301.css | tuanna93/tainghe | 3add91bc212e6b7ca7aa35af605e8e8ecbc089f3 | [
"MIT"
] | null | null | null | public/css/custom-301.css | tuanna93/tainghe | 3add91bc212e6b7ca7aa35af605e8e8ecbc089f3 | [
"MIT"
] | null | null | null | public/css/custom-301.css | tuanna93/tainghe | 3add91bc212e6b7ca7aa35af605e8e8ecbc089f3 | [
"MIT"
] | null | null | null | /*===============================
time:1483609993
================================================================================*/
#jux_memamenu301 #js-mainnav.megamenu .js-megamenu.dropdown-menucssjs-meganav{display:block!important}@media screen and (max-width: 768px){#jux_memamenu301 #js-mainnav.megamenu.horizontal ul.level1 li.submenu-align-right a.haschild.megacss span.menu-title,#jux_memamenu301 #js-mainnav.megamenu.horizontal ul.level1 li.submenu-align-right a.haschild-over.megacss span.menu-title{margin-left:0px}#jux_memamenu301 #js-mainnav .jux-fa.jux-fa-bars{font-size:30px;float:left;color:#FFF;margin-top:-6px;margin-left:4px}#jux_memamenu301 #js-mainnav.megamenu.vertical.right .js-megamenu ul.level0 li.megacss
.childcontent{margin-left:0% !important}#jux_memamenu301 #js-mainnav ul.megamenu li.haschild.megacss:hover>div.childcontent.adddropdown, #jux_memamenu301 .childcontent.open>.dropdown-menu{-moz-animation:none!important;-webkit-animation:none!important;animation:none!important}#jux_memamenu301 #js-mainnav .js-megamenu .childcontent-inner-wrap.dropdown-menu{display:none}#jux_memamenu301 #js-mainnav .js-megamenu .open .childcontent-inner-wrap.dropdown-menu{display:block;background:#f9f9f9}#jux_memamenu301 #js-mainnav.megamenu .js-megamenu{display:none}#jux_memamenu301 #js-mainnav.megamenu
div.megaMenuToggle{display:block;height:15px;cursor:pointer;box-sizing:content-box}#jux_memamenu301 #js-mainnav.megamenu.noJS ul.megamenu li.haschild>div.childcontent{display:block!important}#jux_memamenu301 #js-mainnav.megamenu.noJS ul.megamenu
li{box-shadow:none !important}#jux_memamenu301 #js-mainnav.horizontal ul.level0 li.megacss.submenu-align-center>.childcontent{left:0%!important}#jux_memamenu301 #js-mainnav.noJS.up ul.megamenu li.haschild>div.childcontent{position:static}#jux_memamenu301 #js-mainnav.horizontal ul.level0 li.megacss.submenu-align-left > .childcontent, #jux_memamenu301 #js-mainnav.megamenu.vertical.left .js-megamenu ul.level0 li.megacss .childcontent, #jux_memamenu301 #megamenucss #js-mainnav.noJS ul.megamenu li.haschild>div.childcontent{top:0px !important;left:0px !important;bottom:0px !important;right:0px !important}#jux_memamenu301 #js-mainnav.megamenu.vertical.left .js-megamenu ul.level0 li.megacss
.childcontent{margin-left:0% !important;margin-top:-32px}#jux_memamenu301 #js-mainnav.megamenu.horizontal{border-radius:0px !important}#jux_memamenu301 .megamenu ul.level0 li.megacss
a.megacss{border:none !important}#jux_memamenu301 #js-mainnav.megamenu ul.level1 li.megacss span.megacss, #jux_memamenu301 #js-mainnav.megamenu ul.level1 li.megacss
a.megacss{border:none !important}#jux_memamenu301 #js-mainnav.horizontal ul.level1 li.megacss.submenu-align-right>.childcontent{right:0% !important}#jux_memamenu301 #js-mainnav.horizontal ul.level0 li.megacss.submenu-align-center>.childcontent{left:0%}#jux_memamenu301 #js-mainnav
ul.level0{border:none !important}#jux_memamenu301 .group-title{margin-left:-25px}#jux_memamenu301 #js-mainnav.megamenu #arrow-icon{display:block}#jux_memamenu301 .dropdown-menu{position:inherit;top:-6px;left:0;z-index:1000;display:none;float:left;min-width:100%;padding:0;margin:0;list-style:none;background-color:#fff;border:none;-webkit-border-radius:0px;-moz-border-radius:0px;border-radius:0px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}#jux_memamenu301 #js-mainnav ul.megamenu li.haschild.megacss>div.childcontent{opacity:1;visibility:visible;display:block}#jux_memamenu301 #arrow-icon{position:absolute;font-size:25px;text-decoration:none;right:-2px;margin-top:-44px;color:#fff;padding:10px
30px;z-index:9999999;cursor:pointer}#jux_memamenu301 #js-mainnav.megamenu .open>.dropdown-menu{display:block !important}#jux_memamenu301 ul li ul li div.dropdown-menucss{display:block}#jux_memamenu301 #js-mainnav.megamenu ul li ul li #arrow-icon{display:none}#jux_memamenu301 #js-mainnav.megamenu{border:1px
solid #6c5a5a}#jux_memamenu301 #js-mainnav.megamenu ul.level1 li.megacss
a{padding:10px
8px 10px 8px!important}#jux_memamenu301 .group-title{padding-left:10px!important}}@media screen and (max-width: 480px){#jux_memamenu301 #js-mainnav.megamenu .childcontent-inner-wrap{margin:-2px 0px 6px 0px !important}#jux_memamenu301 #js-mainnav.megamenu #arrow-icon{padding:5px
10px!important}#jux_memamenu301
a{text-decoration:none}}#jux_memamenu301 #js-mainnav .js-megamenu{display:block}@media screen and (max-width: 768px){#jux_memamenu301 .megamenu-sticky{text-align:left}#jux_memamenu301 #js-mainnav.megamenu.noJS #css3-megaMenuToggle,#jux_memamenu301 #js-mainnav.megamenu #js-megaMenuToggle{display:block;padding:12px
15px;cursor:pointer;font-size:10px;text-transform:uppercase;text-align:left}#jux_memamenu301 #js-mainnav.megamenu #js-megaMenuToggle{display:block !important}#jux_memamenu301 #js-mainnav.megamenu.noJS #css3-megaMenuToggle .megaMenuToggle-icon, #jux_memamenu301 #js-mainnav.megamenu #js-megaMenuToggle .megaMenuToggle-icon{display:inline-block;background:rgba(230, 230, 230, 0.7);height:2px;width:16px;position:relative;float:right;margin-top:10px;text-align:left}#jux_memamenu301 #js-mainnav.megamenu{width:100% !important;overflow:hidden}#jux_memamenu301 #js-mainnav.megamenu
ul.level0{float:none !important;font-size:12px}#jux_memamenu301 #js-mainnav.megamenu ul.level0
li.megacss{float:none !important;position:relative;background-image:none !important}#jux_memamenu301 #js-mainnav.megamenu ul.megamenu li.megacss a.megacss span.menu-desc{display:none}#jux_memamenu301 #js-mainnav.megamenu ul.level1 li.megacss span.megacss, #jux_memamenu301 #js-mainnav.megamenu ul.level1 li.megacss
a.megacss{padding-left:20px !important}#jux_memamenu301 #js-mainnav.megamenu ul.level2 li.megacss span.megacss, #jux_memamenu301 #js-mainnav.megamenu ul.level2 li.megacss
a.megacss{padding-left:45px !important}#jux_memamenu301 #js-mainnav.megamenu ul.level3 li.megacss span.megacss, #jux_memamenu301 #js-mainnav.megamenu ul.level3 li.megacss
a.megacss{padding-left:70px !important}#jux_memamenu301 #js-mainnav.megamenu ul.level4 li.megacss span.megacss, #jux_memamenu301 #js-mainnav.megamenu ul.level4 li.megacss
a.megacss{padding-left:90px !important}#jux_memamenu301 #js-mainnav.megamenu ul.level0 li.megacss span.megacss,#jux_memamenu301 #js-mainnav.megamenu ul.level0 li.megacss
a.megacss{padding:15px
10px}#jux_memamenu301 #js-mainnav.megamenu .js-megamenu{font-size:12px}#jux_memamenu301 #js-mainnav.megamenu.megamenu.vertical.right ul.level0 li.megacss
a.megacss{text-align:left !important}#jux_memamenu301 #js-mainnav.megamenu.megamenu.vertical.right .js-megamenu ul.level0 li.megacss
.childcontent{right:0px !important}#jux_memamenu301 #js-mainnav.megamenu .js-megamenu li.megacss
.childcontent{height:100% !important;margin:0
!important;position:relative;width:100% !important;overflow:visible !important;le}#jux_memamenu301 #js-mainnav.megamenu ul.level0 li a.haschild.megacss span.menu-title,#jux_memamenu301 #js-mainnav.megamenu ul.level0 li a.haschild-over.megacss span.menu-title{background:none !important;padding-left:0px !important}#jux_memamenu301 #js-mainnav.megamenu ul.level1 li.haschild, #jux_memamenu301 #js-mainnav.megamenu ul.level1 li.haschild-over{background:none !important}#jux_memamenu301 #js-mainnav.megamenu .childcontent-inner-wrap,#jux_memamenu301 #js-mainnav.megamenu .childcontent-inner, #jux_memamenu301 #js-mainnav.megamenu
.megacol{width:100% !important}#jux_memamenu301 #js-mainnav.megamenu
ul.megamenu{margin:0px
!important}#jux_memamenu301 #js-mainnav.megamenu .megacol,.childcontent-inner{border:none !important;float:none !important}#jux_memamenu301 #js-mainnav.megamenu ul.level0 li.haschild span.arrow-icon,#jux_memamenu301 #js-mainnav.megamenu ul.level0 li.haschild-over span.arrow-icon{display:block;float:right;position:absolute;right:2px;top:2px;z-index:99}#jux_memamenu301 #js-mainnav.megamenu ul.level0 li.haschild span.arrow-icon,#jux_memamenu301 #js-mainnav.megamenu ul.level0 li.haschild-over span.arrow-icon{display:block;cursor:pointer}#jux_memamenu301 #js-mainnav.megamenu ul.level0 li.haschild span.arrow-icon{background:url("../images/arrow_down.html") no-repeat scroll 100% 0px transparent !important;display:block !important;text-indent:9999px;width:40px;height:31px;border:0
none !important;padding:0
!important;margin:0
!important;-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}#jux_memamenu301 #js-mainnav.megamenu ul.level0 li.haschild-over span.arrow-icon{background:url("../images/close.html") no-repeat scroll 100% 0 transparent;display:block !important;height:31px;text-indent:9999px;width:40px;padding:0
!important;margin:0
!important;border:0
none !important;-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}#jux_memamenu301 #js-mainnav.megamenu ul.level1 li.megacss span.arrow-icon{display:none}#jux_memamenu301 #js-mainnav.megamenu ul.level1 li.haschild span.arrow-icon,#jux_memamenu301 #js-mainnav.megamenu ul.level1 li.haschild-over span.arrow-icon{display:block;float:right;position:absolute;right:2px;top:2px;z-index:99}#jux_memamenu301 #js-mainnav.megamenu ul.level0 li.megacss.submenu-align-fullwidth{position:relative !important}#jux_memamenu301 #js-mainnav.megamenu.noJS ul.megamenu
li{padding:0
!important;border-bottom:1px solid rgba(255, 255, 255, 0.3);border-radius:0 !important}#jux_memamenu301 #js-mainnav.megamenu.noJS ul.megamenu li
a{position:relative}#jux_memamenu301 #js-mainnav.megamenu.noJS #css3-megaMenuToggle{display:block;border-radius:5px;padding:15px}#jux_memamenu301 #js-mainnav.megamenu.noJS:hover ul.megamenu
li{display:block}#jux_memamenu301 #js-mainnav.megamenu.noJS ul.megamenu li.haschild>div.childcontent{display:none}#jux_memamenu301 #js-mainnav.megamenu.noJS ul.megamenu li.haschild:hover>div.childcontent{display:block}#jux_memamenu301 #js-mainnav.megamenu.noJS ul.level0 li.megacss.haschild:hover>a.haschild:after{border-top-color:#fff}}#megamenucss #js-mainnav.megamenu ul.level0 li.megacss span.megacss, #megamenucss #js-mainnav.megamenu ul.level0 li.megacss
a.megacss{display:block;line-height:normal;margin:0;padding:12px
10px;text-decoration:none;cursor:pointer}#megamenucss #js-mainnav.megamenu ul.level0 li.megacss span.menu-title{display:block;font-size:15px} | 232.4 | 812 | 0.809619 |
809df290650089feb81d7b18510807c18cb48132 | 551 | lua | Lua | CCLib/src/java/lang/native/Number.lua | YoggiYoghurt/JVML-JIT | 5a4d1673ac6849cdde3504ff32a5f3bc020210a2 | [
"MIT"
] | 21 | 2015-01-04T23:12:15.000Z | 2021-04-21T14:18:29.000Z | CCLib/src/java/lang/native/Number.lua | YoggiYoghurt/JVML-JIT | 5a4d1673ac6849cdde3504ff32a5f3bc020210a2 | [
"MIT"
] | 13 | 2015-01-01T22:36:48.000Z | 2021-03-27T18:55:21.000Z | CCLib/src/java/lang/native/Number.lua | YoggiYoghurt/JVML-JIT | 5a4d1673ac6849cdde3504ff32a5f3bc020210a2 | [
"MIT"
] | 7 | 2015-03-09T20:30:30.000Z | 2021-06-07T09:06:00.000Z | natives["java.lang.Number"] = natives["java.lang.Number"] or { }
natives["java.lang.Number"]["toString(D)Ljava/lang/String;"] = function(value)
return toJString(tostring(value))
end
natives["java.lang.Number"]["toString(J)Ljava/lang/String;"] = function(value)
return toJString(tostring(value))
end
natives["java.lang.Number"]["toString(I)Ljava/lang/String;"] = function(value)
return toJString(tostring(value))
end
natives["java.lang.Number"]["toString(F)Ljava/lang/String;"] = function(value)
return toJString(tostring(value))
end | 34.4375 | 78 | 0.725953 |
c30293b2a6a0b2202853b5bb7677746b36a507c4 | 819 | go | Go | config/data_source.go | ZongweiBai/golang-in-action | 8c1c69e3701a1aea3480ae2d2f1b47fe411deb9a | [
"MIT"
] | null | null | null | config/data_source.go | ZongweiBai/golang-in-action | 8c1c69e3701a1aea3480ae2d2f1b47fe411deb9a | [
"MIT"
] | null | null | null | config/data_source.go | ZongweiBai/golang-in-action | 8c1c69e3701a1aea3480ae2d2f1b47fe411deb9a | [
"MIT"
] | null | null | null | package config
import (
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
"sync"
)
var dsOnce sync.Once
func InitDbConn() {
dsOnce.Do(func() {
var dialet = "postgres"
if (CONFIG.DataSource.Dialect != "") {
dialet = CONFIG.DataSource.Dialect
}
db, err := gorm.Open(dialet, CONFIG.DataSource.Url)
if err != nil {
LOG.Errorf("初始化DB Connection失败", err)
panic(err)
}
//最大连接数
db.DB().SetMaxOpenConns(CONFIG.DataSource.MaxPoolSize)
//最大空闲连接数
db.DB().SetMaxIdleConns(CONFIG.DataSource.MinIdle)
db.LogMode(true)
// set schema here.
gorm.DefaultTableNameHandler = func(db *gorm.DB, tableName string) string {
if CONFIG.DataSource.Scheme != "" {
return CONFIG.DataSource.Scheme + "." + tableName
} else {
return tableName
}
}
DBCONN = db
})
}
| 19.97561 | 77 | 0.67033 |
7f010cd5fb5d1fb435a408db0be82a7815965a1e | 1,422 | go | Go | pkg/rbfs/state/model_bgp_instance_peerings.go | rtbrick/go-rbfs-client | 00c76b40393f32579107545773cb9dd716e932c2 | [
"BSD-3-Clause"
] | null | null | null | pkg/rbfs/state/model_bgp_instance_peerings.go | rtbrick/go-rbfs-client | 00c76b40393f32579107545773cb9dd716e932c2 | [
"BSD-3-Clause"
] | null | null | null | pkg/rbfs/state/model_bgp_instance_peerings.go | rtbrick/go-rbfs-client | 00c76b40393f32579107545773cb9dd716e932c2 | [
"BSD-3-Clause"
] | null | null | null | /*
* RBFS Operational State API
*
* This contract describes the RBFS Operational State API contract defined by RBMS, the RtBrick Management System. This API is a _consumer-driven_ API, which means that all changes to this API **must be approved** by RBMS, the consumer of this API to avoid compatibility issues. The API is kept backwards-compatible and anyone is allowed to _use_ this API. The consumer of the API _must_ ignore additional attributes not explained in this specification. Additional attributes are _not_ considered violating backwards compatibility. In contrary, additional attributes allow extending the API while preserving backward compatibility.
*
* API version: 1.0.0
* Contact: martin@rtbrick.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package state
// BGP peerings grouped by instance.
type BgpInstancePeerings struct {
// BGP instance name
InstanceName string `json:"instance_name,omitempty"`
// The local AS number.
Asn int32 `json:"asn,omitempty"`
// The local router identifier.
RouterId string `json:"router_id,omitempty"`
// The BGP host name.
HostName string `json:"host_name,omitempty"`
// The BGP domain name.
DomainName string `json:"domain_name,omitempty"`
// The BGP cluster ID.
ClusterId string `json:"cluster_id,omitempty"`
Peerings *BgpInstancePeeringsSummary `json:"peerings,omitempty"`
}
| 50.785714 | 633 | 0.765823 |
b1b46da28e6093cd7128c4a8c868b2a7a75d7cc5 | 584 | h | C | RDLib/RDMutex.h | damiandragowski/old-rdp-windows | b9491aa0dc6fc85eeebb7454b8d40fbbdc23f3b3 | [
"MIT"
] | 5 | 2018-10-16T10:08:00.000Z | 2021-10-14T02:12:14.000Z | RDLib/RDMutex.h | damiandragowski/old-rdp-windows | b9491aa0dc6fc85eeebb7454b8d40fbbdc23f3b3 | [
"MIT"
] | null | null | null | RDLib/RDMutex.h | damiandragowski/old-rdp-windows | b9491aa0dc6fc85eeebb7454b8d40fbbdc23f3b3 | [
"MIT"
] | 9 | 2018-10-16T10:08:01.000Z | 2022-03-14T18:05:09.000Z | // RDMutex.h: interface for the RDMutex class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RDMUTEX_H__283046A0_EFDD_4042_9C97_C649BACABF91__INCLUDED_)
#define AFX_RDMUTEX_H__283046A0_EFDD_4042_9C97_C649BACABF91__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "stdafx.h"
class RDMutex
{
public:
void unlock();
void lock();
RDMutex();
virtual ~RDMutex();
private:
CRITICAL_SECTION cs;
};
#endif // !defined(AFX_RDMUTEX_H__283046A0_EFDD_4042_9C97_C649BACABF91__INCLUDED_)
| 22.461538 | 83 | 0.659247 |
a072ce89e29827b72c78fd84b08ff56ce83973c2 | 250 | kt | Kotlin | app/src/main/java/com/czq/kotlinarch/data/viewModel/ChallengeRecomandCircleVm.kt | aer874475222/kotlinArch | 4a1ac0dcd9c6f086413f461d556a61a0abb65cae | [
"MIT"
] | 240 | 2018-12-26T03:33:22.000Z | 2022-01-15T10:55:03.000Z | app/src/main/java/com/czq/kotlinarch/data/viewModel/ChallengeRecomandCircleVm.kt | lb1207087645/kotlinArch | 5ec328821d323b450a115f4987c58d237194b163 | [
"MIT"
] | 3 | 2019-03-08T09:15:36.000Z | 2019-12-22T12:54:49.000Z | app/src/main/java/com/czq/kotlinarch/data/viewModel/ChallengeRecomandCircleVm.kt | lb1207087645/kotlinArch | 5ec328821d323b450a115f4987c58d237194b163 | [
"MIT"
] | 30 | 2019-12-17T14:54:02.000Z | 2021-03-26T08:26:05.000Z | package com.czq.kotlinarch.data.viewModel
class ChallengeRecomandCircleVm {
var id: String? = null
var title: String? = null
var subscribedCount = 0
var challengeCount = 0
var icon: String? = null
var hasSubscribed = false
}
| 22.727273 | 41 | 0.696 |
3e83a03b1ff62d2ca61cc6f74a8b5bfc571daa8b | 4,488 | c | C | src/hg/lib/rikenBest.c | bowhan/kent | 714d060bfe004719bb2465a2fecde52f746ab4fb | [
"IJG"
] | 3 | 2017-10-11T21:10:01.000Z | 2018-03-14T22:19:20.000Z | src/hg/lib/rikenBest.c | bowhan/kent | 714d060bfe004719bb2465a2fecde52f746ab4fb | [
"IJG"
] | null | null | null | src/hg/lib/rikenBest.c | bowhan/kent | 714d060bfe004719bb2465a2fecde52f746ab4fb | [
"IJG"
] | 3 | 2016-10-25T18:19:35.000Z | 2021-03-07T01:46:18.000Z | /* rikenBest.c was originally generated by the autoSql program, which also
* generated rikenBest.h and rikenBest.sql. This module links the database and
* the RAM representation of objects. */
#include "common.h"
#include "linefile.h"
#include "dystring.h"
#include "jksql.h"
#include "rikenBest.h"
void rikenBestStaticLoad(char **row, struct rikenBest *ret)
/* Load a row from rikenBest table into ret. The contents of ret will
* be replaced at the next call to this function. */
{
ret->name = row[0];
ret->orfScore = atof(row[1]);
strcpy(ret->orfStrand, row[2]);
ret->intronOrientation = sqlSigned(row[3]);
ret->position = row[4];
ret->rikenCount = sqlSigned(row[5]);
ret->genBankCount = sqlSigned(row[6]);
ret->refSeqCount = sqlSigned(row[7]);
ret->clusterId = row[8];
}
struct rikenBest *rikenBestLoad(char **row)
/* Load a rikenBest from row fetched with select * from rikenBest
* from database. Dispose of this with rikenBestFree(). */
{
struct rikenBest *ret;
AllocVar(ret);
ret->name = cloneString(row[0]);
ret->orfScore = atof(row[1]);
strcpy(ret->orfStrand, row[2]);
ret->intronOrientation = sqlSigned(row[3]);
ret->position = cloneString(row[4]);
ret->rikenCount = sqlSigned(row[5]);
ret->genBankCount = sqlSigned(row[6]);
ret->refSeqCount = sqlSigned(row[7]);
ret->clusterId = cloneString(row[8]);
return ret;
}
struct rikenBest *rikenBestLoadAll(char *fileName)
/* Load all rikenBest from a tab-separated file.
* Dispose of this with rikenBestFreeList(). */
{
struct rikenBest *list = NULL, *el;
struct lineFile *lf = lineFileOpen(fileName, TRUE);
char *row[9];
while (lineFileRow(lf, row))
{
el = rikenBestLoad(row);
slAddHead(&list, el);
}
lineFileClose(&lf);
slReverse(&list);
return list;
}
struct rikenBest *rikenBestLoadWhere(struct sqlConnection *conn, char *table, char *where)
/* Load all rikenBest from table that satisfy where clause. The
* where clause may be NULL in which case whole table is loaded
* Dispose of this with rikenBestFreeList(). */
{
struct rikenBest *list = NULL, *el;
struct dyString *query = dyStringNew(256);
struct sqlResult *sr;
char **row;
sqlDyStringPrintf(query, "select * from %s", table);
if (where != NULL)
dyStringPrintf(query, " where %s", where);
sr = sqlGetResult(conn, query->string);
while ((row = sqlNextRow(sr)) != NULL)
{
el = rikenBestLoad(row);
slAddHead(&list, el);
}
slReverse(&list);
sqlFreeResult(&sr);
dyStringFree(&query);
return list;
}
struct rikenBest *rikenBestCommaIn(char **pS, struct rikenBest *ret)
/* Create a rikenBest out of a comma separated string.
* This will fill in ret if non-null, otherwise will
* return a new rikenBest */
{
char *s = *pS;
if (ret == NULL)
AllocVar(ret);
ret->name = sqlStringComma(&s);
ret->orfScore = sqlFloatComma(&s);
sqlFixedStringComma(&s, ret->orfStrand, sizeof(ret->orfStrand));
ret->intronOrientation = sqlSignedComma(&s);
ret->position = sqlStringComma(&s);
ret->rikenCount = sqlSignedComma(&s);
ret->genBankCount = sqlSignedComma(&s);
ret->refSeqCount = sqlSignedComma(&s);
ret->clusterId = sqlStringComma(&s);
*pS = s;
return ret;
}
void rikenBestFree(struct rikenBest **pEl)
/* Free a single dynamically allocated rikenBest such as created
* with rikenBestLoad(). */
{
struct rikenBest *el;
if ((el = *pEl) == NULL) return;
freeMem(el->name);
freeMem(el->position);
freeMem(el->clusterId);
freez(pEl);
}
void rikenBestFreeList(struct rikenBest **pList)
/* Free a list of dynamically allocated rikenBest's */
{
struct rikenBest *el, *next;
for (el = *pList; el != NULL; el = next)
{
next = el->next;
rikenBestFree(&el);
}
*pList = NULL;
}
void rikenBestOutput(struct rikenBest *el, FILE *f, char sep, char lastSep)
/* Print out rikenBest. Separate fields with sep. Follow last field with lastSep. */
{
if (sep == ',') fputc('"',f);
fprintf(f, "%s", el->name);
if (sep == ',') fputc('"',f);
fputc(sep,f);
fprintf(f, "%f", el->orfScore);
fputc(sep,f);
if (sep == ',') fputc('"',f);
fprintf(f, "%s", el->orfStrand);
if (sep == ',') fputc('"',f);
fputc(sep,f);
fprintf(f, "%d", el->intronOrientation);
fputc(sep,f);
if (sep == ',') fputc('"',f);
fprintf(f, "%s", el->position);
if (sep == ',') fputc('"',f);
fputc(sep,f);
fprintf(f, "%d", el->rikenCount);
fputc(sep,f);
fprintf(f, "%d", el->genBankCount);
fputc(sep,f);
fprintf(f, "%d", el->refSeqCount);
fputc(sep,f);
if (sep == ',') fputc('"',f);
fprintf(f, "%s", el->clusterId);
if (sep == ',') fputc('"',f);
fputc(lastSep,f);
}
| 26.556213 | 90 | 0.67959 |
b31900332d64b26882e29b129986edd65ea99b76 | 358 | rb | Ruby | test/codecov_runner.rb | rdipardo/tidy_json | a8e2367a79f4915bf139238b56f6b79a0af59456 | [
"MIT"
] | 2 | 2020-09-25T01:02:15.000Z | 2022-03-04T15:13:22.000Z | test/codecov_runner.rb | rdipardo/tidy_json | a8e2367a79f4915bf139238b56f6b79a0af59456 | [
"MIT"
] | null | null | null | test/codecov_runner.rb | rdipardo/tidy_json | a8e2367a79f4915bf139238b56f6b79a0af59456 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
if ENV['COVERAGE']
begin
require 'simplecov'
SimpleCov.start
SimpleCov.command_name 'Unit Tests'
if ENV['CI']
require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov
end
rescue LoadError
warn "Can't locate coverage drivers! Try running: `bundle install` first."
end
end
| 21.058824 | 78 | 0.692737 |
b3da756d6213eb0714f1df14a4d8d5db887f900d | 59 | kt | Kotlin | korio/src/watchosArm64Main/kotlin/com/soywiz/korio/TargetInfo.kt | petrukhnov/korio | 2c18237a39544df4d550f2d211e29eb5234cc9c4 | [
"MIT"
] | null | null | null | korio/src/watchosArm64Main/kotlin/com/soywiz/korio/TargetInfo.kt | petrukhnov/korio | 2c18237a39544df4d550f2d211e29eb5234cc9c4 | [
"MIT"
] | null | null | null | korio/src/watchosArm64Main/kotlin/com/soywiz/korio/TargetInfo.kt | petrukhnov/korio | 2c18237a39544df4d550f2d211e29eb5234cc9c4 | [
"MIT"
] | null | null | null | package com.soywiz.korio
val TARGET_INFO = "watchosArm64"
| 14.75 | 32 | 0.79661 |
bbd66c8113bcf6c9d234229336272502e5292353 | 618 | rs | Rust | build.rs | notgull/breadglx | bd9620059707796daf7c6d53c8d5370c3da41e77 | [
"MIT"
] | 1 | 2021-01-01T10:24:04.000Z | 2021-01-01T10:24:04.000Z | build.rs | notgull/breadglx | bd9620059707796daf7c6d53c8d5370c3da41e77 | [
"MIT"
] | null | null | null | build.rs | notgull/breadglx | bd9620059707796daf7c6d53c8d5370c3da41e77 | [
"MIT"
] | null | null | null | // MIT/Apache2 License
#[path = "build/pci_ids.rs"]
mod pci_ids;
use std::{env, error::Error, fs, path::PathBuf};
fn main() -> Result<(), Box<dyn Error>> {
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rerun-if-changed=build/pci_ids.rs");
// create the "auto" directory
let out_dir = env::var_os("OUT_DIR").unwrap();
let mut auto_path: PathBuf = out_dir.into();
auto_path.push("auto");
fs::create_dir_all(&auto_path)?;
println!(
"cargo:rustc-env=TARGET={}",
env::var("TARGET").unwrap()
);
pci_ids::process_pci_ids(&auto_path)?;
Ok(())
}
| 23.769231 | 56 | 0.613269 |
b70dd76f11536d14389923cad591fd868f7fc931 | 907 | swift | Swift | JLKit/Extensions/Foundation/Dictionary+JLExtension.swift | jangsy7883/JLKit_Swift | 21743b52752f6efb7faa3890a615d54c7871690c | [
"MIT"
] | 1 | 2018-09-05T04:31:13.000Z | 2018-09-05T04:31:13.000Z | JLKit/Extensions/Foundation/Dictionary+JLExtension.swift | jangsy7883/JLKit_Swift | 21743b52752f6efb7faa3890a615d54c7871690c | [
"MIT"
] | null | null | null | JLKit/Extensions/Foundation/Dictionary+JLExtension.swift | jangsy7883/JLKit_Swift | 21743b52752f6efb7faa3890a615d54c7871690c | [
"MIT"
] | null | null | null | //
// Dictionary+JLExtension.swift
// JLKit_Swift
//
// Created by Jangsy on 2018. 3. 20..
// Copyright © 2018년 Dalkomm. All rights reserved.
//
import Foundation
extension Dictionary {
public subscript(keyPath keyPath: String) -> Any? {
var keys = keyPath.components(separatedBy: ".")
guard let first = keys.first as? Key else { return nil }
guard let value = self[first] else { return nil }
keys.remove(at: 0)
if !keys.isEmpty, let subDict = value as? [AnyHashable: Any] {
let rejoined = keys.joined(separator: ".")
return subDict[keyPath: rejoined]
}
return value
}
public func valueForKeys(_ keys: [Key]) -> Any? {
for key in keys {
if let path = key as? String, let value = self[keyPath: path] {
return value
}
}
return nil
}
}
| 27.484848 | 75 | 0.568908 |
9b971a2d7cf726eb053207844229beda7e4180ae | 1,085 | js | JavaScript | src/components/about/About.js | ikeman32/davidhisakson.com | 3c04a8c76f1a3f51b0589e53582598ca107ad87f | [
"MIT"
] | null | null | null | src/components/about/About.js | ikeman32/davidhisakson.com | 3c04a8c76f1a3f51b0589e53582598ca107ad87f | [
"MIT"
] | null | null | null | src/components/about/About.js | ikeman32/davidhisakson.com | 3c04a8c76f1a3f51b0589e53582598ca107ad87f | [
"MIT"
] | null | null | null | import React from "react";
import { layoutGenerator } from "react-break";
import "./about.scss";
import "./aboutMobile.scss";
const About = () => {
//configure responsiveness
const layout = layoutGenerator({
mobile: 0,
phablet: 550,
tablet: 768,
desktop: 992,
});
const OnMobile = layout.is("mobile");
const OnAtLeastTablet = layout.isAtLeast("tablet");
const OnAtMostPhablet = layout.isAtMost("phablet");
const OnDesktop = layout.is("desktop");
return (
<div className="outside">
<OnAtLeastTablet></OnAtLeastTablet>
<OnAtMostPhablet></OnAtMostPhablet>
<OnMobile>
<div className="Mabout_container">
<iframe src="https://resume.creddle.io/embed/1t096pf4ebj" title='resume'
seamless></iframe>
</div>
</OnMobile>
<OnDesktop>
<div className="about_container">
<iframe src="https://resume.creddle.io/embed/1t096pf4ebj" title='resume'
width="850" height="1100" seamless></iframe>
</div>
</OnDesktop>
</div>
);
};
export default About;
| 26.463415 | 82 | 0.629493 |
9d6998b07512b6712a0d0b3b5b1413dc2abf7618 | 564 | kt | Kotlin | app/src/main/java/org/oppia/app/options/OptionsStoryTextViewViewModel.kt | abhinavraj23/oppia-android | 7260f8d5d101704d85f2f93ffdf45210c6cab1b8 | [
"Apache-2.0"
] | 1 | 2020-04-02T23:00:51.000Z | 2020-04-02T23:00:51.000Z | app/src/main/java/org/oppia/app/options/OptionsStoryTextViewViewModel.kt | abhinavraj23/oppia-android | 7260f8d5d101704d85f2f93ffdf45210c6cab1b8 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/org/oppia/app/options/OptionsStoryTextViewViewModel.kt | abhinavraj23/oppia-android | 7260f8d5d101704d85f2f93ffdf45210c6cab1b8 | [
"Apache-2.0"
] | null | null | null | package org.oppia.app.options
import androidx.databinding.ObservableField
/** StoryText size settings view model for the recycler view in [OptionsFragment]. */
class OptionsStoryTextViewViewModel(
private val routeToStoryTextSizeListener: RouteToStoryTextSizeListener
) : OptionsItemViewModel() {
val storyTextSize = ObservableField<String>("")
fun setStoryTextSize(storyTextSizeValue: String) {
storyTextSize.set(storyTextSizeValue)
}
fun onStoryTextSizeClicked() {
routeToStoryTextSizeListener.routeStoryTextSize(storyTextSize.get())
}
}
| 29.684211 | 85 | 0.799645 |
98d3604ef9c004d2408e75c61c91630186b74b62 | 1,422 | html | HTML | index_a06.html | MDVirtualAcademy/LDW_Boot4_2019 | 7532f4476a4a4a740371f8d61b88ca541f831f8c | [
"MIT"
] | null | null | null | index_a06.html | MDVirtualAcademy/LDW_Boot4_2019 | 7532f4476a4a4a740371f8d61b88ca541f831f8c | [
"MIT"
] | null | null | null | index_a06.html | MDVirtualAcademy/LDW_Boot4_2019 | 7532f4476a4a4a740371f8d61b88ca541f831f8c | [
"MIT"
] | 1 | 2021-12-09T01:07:08.000Z | 2021-12-09T01:07:08.000Z | <!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<title>Projeto Bootstrap 4</title>
<!-- CSS para pintar e colocar borda nas colunas -->
<style type="text/css">
</style>
</head>
<body>
<div class="container">
<ul class="list-inline">
<li class="list-inline-item">Item 1</li>
<li class="list-inline-item">Item 2</li>
<li class="list-inline-item">Item 3</li>
<li class="list-inline-item">Item 4</li>
</ul>
</div>
<div class="container">
<img src="img/redbaron.jpg" class="img-fluid rounded" />
</div>
<div class="container">
<img src="img/zero.jpg" class="img-thumbnail" />
</div>
<div class="container">
<img src="img/F4F.jpg" class="img-thumbnail float-right" />
</div>
<div class="container">
<figure class="figure">
<img src="img/HellcatZero.jpg" class="figure-img img-fluid rounded" />
<figcaption class="figure-caption text-right">Hellcat vs Zero</figcaption>
</figure>
</div>
<!-- Scripts -->
<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="js/bootstrap.bundle.min.js"></script>
</body>
</html> | 30.255319 | 92 | 0.583685 |
c5d0eff887da81c4e37711f70e47a0ccfc557ae9 | 393 | swift | Swift | Shared/SharePlay/PlayTogether.swift | Oliver-Binns/cards | 9c44c048f43122778395f5e75426215aad934bd2 | [
"MIT"
] | 2 | 2022-01-30T05:45:01.000Z | 2022-02-03T08:12:30.000Z | Shared/SharePlay/PlayTogether.swift | Oliver-Binns/cards | 9c44c048f43122778395f5e75426215aad934bd2 | [
"MIT"
] | null | null | null | Shared/SharePlay/PlayTogether.swift | Oliver-Binns/cards | 9c44c048f43122778395f5e75426215aad934bd2 | [
"MIT"
] | null | null | null | import Cards
import Foundation
import GroupActivities
struct PlayTogether: GroupActivity {
var metadata: GroupActivityMetadata {
var metadata = GroupActivityMetadata()
metadata.type = .generic
metadata.title = title
return metadata
}
let title: String
var game: Game? = nil
var players: [UUID]? = nil
var names: [UUID: String] = [:]
}
| 21.833333 | 46 | 0.653944 |
163b912045a17d3394acb19de2e062990090b260 | 209 | swift | Swift | NewFile.swift | tirupathiAmz/newPodsLib | aa0fba8619eaf6e1ef067437b5f04d3435330ae4 | [
"MIT"
] | null | null | null | NewFile.swift | tirupathiAmz/newPodsLib | aa0fba8619eaf6e1ef067437b5f04d3435330ae4 | [
"MIT"
] | null | null | null | NewFile.swift | tirupathiAmz/newPodsLib | aa0fba8619eaf6e1ef067437b5f04d3435330ae4 | [
"MIT"
] | null | null | null | //
// NewFile.swift
// newPodsLib
//
// Created by Tirupathi Mandali on 10/19/21.
//
import Foundation
public struct MyClass {
public static func ShowMessage(){
print("I'm here")
}
}
| 13.0625 | 45 | 0.61244 |
6d11dea1d5162455d00c3985bf642e2417a977cb | 3,213 | lua | Lua | server/server.lua | JokeDevil/JD_Prison | abfb08810abe9fa1599eb8abb9a86c2e495b08f9 | [
"Apache-2.0"
] | null | null | null | server/server.lua | JokeDevil/JD_Prison | abfb08810abe9fa1599eb8abb9a86c2e495b08f9 | [
"Apache-2.0"
] | null | null | null | server/server.lua | JokeDevil/JD_Prison | abfb08810abe9fa1599eb8abb9a86c2e495b08f9 | [
"Apache-2.0"
] | 2 | 2021-05-12T06:38:49.000Z | 2021-09-15T22:09:21.000Z | RegisterCommand("jail", function(source, args, rawCommand)
if tablelength(args) > 0 then
local tPID = tonumber(args[1])
local jT = Config.defaultsecs
if tablelength(args) > 1 then
if (args[2] ~= nil) then
jT = tonumber(args[2])
end
end
if jT > Config.maxsecs then
jT = Config.maxsecs
end
if GetPlayerName(tPID) ~= nil then
TriggerClientEvent("sendToJail", tPID, jT, source, 1)
end
end
exports.JD_logs:discord('**'.. GetPlayerName(source) .. '**: ``/' .. rawCommand .. '``', source, 0 , '10592673', 'jail')
end)
RegisterCommand("unjail", function(source, args, rawCommand)
CancelEvent()
if IsPlayerAceAllowed(source, Config.staffAcePerm) then
local tPID = tonumber(args[1])
if GetPlayerName(tPID) ~= nil then
--print("Unjailing ".. GetPlayerName(tPID).. " - cm entered by ".. GetPlayerName(source))
TriggerClientEvent("unJail", tPID, GetPlayerName(source))
end
exports.JD_logs:discord('**'.. GetPlayerName(source) .. '**: ``/' .. rawCommand .. '``', source, 0 , '10592673', 'jail')
else
TriggerClientEvent('sendChatMessage', -1, "You don't have permissions to do this")
end
end)
RegisterCommand("jailme", function(source, args, rawCommand)
CancelEvent()
local jT = Config.defaultsecs
if args[1] ~= nil then
jT = tonumber(args[1])
end
if jT > Config.maxsecs then
jT = Config.maxsecs
end
TriggerClientEvent("sendMeToJail", source, jT, source)
exports.JD_logs:discord('**'.. GetPlayerName(source) .. '**: ``/' .. rawCommand .. '``', source, 0 , '10592673', 'jail')
end)
RegisterCommand("staffjail", function(source, args, rawCommand)
CancelEvent()
if IsPlayerAceAllowed(source, Config.staffAcePerm) then
local jT = Config.defaultsecs
if args[1] ~= nil then
pP = tonumber(args[1])
jT = tonumber(args[2])
end
if tonumber(args[2]) ~= nil then
if jT > Config.maxsecs then
jT = Config.maxsecs
end
TriggerClientEvent("staffMeToJail", pP, jT, source)
exports.JD_logs:discord('**'.. GetPlayerName(source) .. '**: ``/' .. rawCommand .. '``', source, 0 , '10592673', 'jail')
else
TriggerClientEvent('sendChatMessage', -1, "^*^1Use /staffjail [id] [time]^0^r")
end
end
end)
RegisterNetEvent('getChatMessage')
AddEventHandler('getChatMessage', function(id, message)
local _id = id
local _message = message
TriggerClientEvent('sendChatMessage', _id, _message)
end)
RegisterNetEvent('getGlobalChatMessage')
AddEventHandler('getGlobalChatMessage', function(message)
local _message = message
TriggerClientEvent('sendChatMessage', -1, _message)
end)
RegisterNetEvent('getGlobalChatMessageStaff')
AddEventHandler('getGlobalChatMessageStaff', function(message)
local _message = message
TriggerEvent('chat:addMessage', {color = { 230, 77, 67}, args = {"[Staff Jail]",message}})
end)
RegisterNetEvent('serverSendToJail')
AddEventHandler('serverSendToJail', function(id)
local _id = id
TriggerClientEvent('sendToJail', _id)
end)
RegisterNetEvent('ServerESCORT')
AddEventHandler('ServerESCORT', function(id)
local _id = id
TriggerClientEvent('EscortOut', _id)
end)
function tablelength(T)
local count = 0
for _ in pairs(T) do count = count + 1 end
return count
end
| 30.6 | 123 | 0.696234 |
d1f540a77a35b5de031397c6955eb6be547b4274 | 1,353 | kt | Kotlin | domic/api/src/main/kotlin/com/lyft/domic/api/rendering/Renderer.kt | lyft/domic | e18c3b6030efae23009c74fd88b762f63ecf8d3a | [
"Apache-2.0"
] | 482 | 2018-05-08T06:07:51.000Z | 2021-08-19T06:54:43.000Z | domic/api/src/main/kotlin/com/lyft/domic/api/rendering/Renderer.kt | lyft/domic | e18c3b6030efae23009c74fd88b762f63ecf8d3a | [
"Apache-2.0"
] | 25 | 2018-05-08T08:38:02.000Z | 2021-10-08T22:12:50.000Z | domic/api/src/main/kotlin/com/lyft/domic/api/rendering/Renderer.kt | lyft/domic | e18c3b6030efae23009c74fd88b762f63ecf8d3a | [
"Apache-2.0"
] | 24 | 2018-05-09T10:43:03.000Z | 2021-08-19T06:54:46.000Z | package com.lyft.domic.api.rendering
import io.reactivex.Observable
import io.reactivex.disposables.Disposable
interface Renderer {
/**
* "Renders" stream of changes.
*
* Implementation can be opinionated on grouping, and/or ordering of execution.
*
* [Renderer] might use [Change.equals] and [Change.hashCode] to compare [Change]s and optimize
* rendering pipeline based on that, for example render latest equal [Change] arrived
* within same buffering window.
*
* Each [Change]'s [Change.perform] will be called once on proper thread (Main Thread by default).
*
* @return [Disposable] that allows to stop observing the [Observable]. [Renderer] should try
* to remove observed but not yet rendered actions from current buffer.
*/
fun render(changes: Observable<out Change>): Disposable
/**
* "Renders" what is in the buffer at the moment, blocking the caller thread.
*
* Main purpose of this API is to add a way of solving ["First Frame Problem"](https://github.com/lyft/domic/issues/14).
*
* Implementation can be opinionated on threading and throw an exception if called on wrong thread.
*/
fun renderCurrentBuffer()
/**
* Shuts down the [Renderer]. [Renderer] can not be reused after shut down.
*/
fun shutdown()
}
| 35.605263 | 124 | 0.683666 |
faa4fa5ded5b37db7d4499ba81ec77a273bf1415 | 2,087 | swift | Swift | Playground/Array_Playground.playground/Contents.swift | nchkdxlq/SwiftDemo | e73dd09d1f73526e77cd3315e2cc0e4447ca2ca5 | [
"MIT"
] | null | null | null | Playground/Array_Playground.playground/Contents.swift | nchkdxlq/SwiftDemo | e73dd09d1f73526e77cd3315e2cc0e4447ca2ca5 | [
"MIT"
] | null | null | null | Playground/Array_Playground.playground/Contents.swift | nchkdxlq/SwiftDemo | e73dd09d1f73526e77cd3315e2cc0e4447ca2ca5 | [
"MIT"
] | null | null | null | //: Playground - noun: a place where people can play
import UIKit
/********************* Arrar的基本操作 ***********************/
/****** 初始化数组 ******/
var arr = [3, 6, 9]
arr[0] = 1
var doubleArr: Array<Double> = []
var doubleArr1: [Double] = []
var doubleArr2 = [Double]()
var strArr: [String] = ["luoquan", "cookie", "iOS"]
var intArr = Array(repeating: 6, count: 2)
// init an empty array,
/*
初始化数组是一定要指定数组的类型,也就是指定数组元素的类型
*/
var emptyArr: [String] = Array()
var emptyArr1 = [String]()
if emptyArr.isEmpty {
print("is Empty")
}
/***** 数组追加 ******/
// append
var nameArr = [String]()
nameArr.append("luoquan")
nameArr.append("小明")
// 运算符 +
var boys = ["Kang", "David"]
var girls = ["ilas", "rose"]
var boysGirls = boys + girls
// 预运算符 +=
nameArr += boys
nameArr += girls
// insert
// 插入单个元素
girls.insert("小芳", at: 0)
// 插入一个数组
boys.insert(contentsOf: ["小三", "李四"], at: 0)
/******** 删除数组 (返回删除的元素)*********/
nameArr
nameArr.removeLast()
nameArr.removeFirst()
nameArr.remove(at: 0)
//nameArr.removeLast(<#T##n: Int##Int#>)
//nameArr.removeLast(<#T##n: Int##Int#>)
nameArr
nameArr.popLast()
nameArr.removeSubrange(0..<2)
//nameArr.removeAll()
nameArr.removeAll(keepingCapacity: true)
/******* 修改数组 *******/
girls
girls[0] = "美眉"
girls.replaceSubrange(1..<3, with: ["女神", "妹纸"])
/******** 遍历数组 ********/
nameArr += boys
nameArr += girls
for name in nameArr {
print(name)
}
for (index, name) in nameArr.enumerated() {
print("第 \(index) 位同学的名字是:\(name)")
}
nameArr.forEach { (name) in
print("name = \(name)")
}
nameArr
// 什么东西 不懂 ???????
var gene = nameArr.makeIterator()
gene.next()
var enume = nameArr.enumerated()
var enumeGene = enume.makeIterator()
enumeGene.next()
/******* 数组的高阶函数 *********/
var upStr = nameArr.map { (name) -> String in
name.uppercased()
}
var countArr = nameArr.map { $0.characters.count }
print(countArr)
var countGrate2 = countArr.filter { (num) -> Bool in
return num > 2
}
print(countGrate2)
countGrate2 = countArr.filter {$0 > 2}
print(countGrate2)
let range = 0..<4
let range1 = 0...4
| 15.123188 | 58 | 0.603258 |
7032a7bd11bd7df6f236f96a182b01157ad3a9dd | 849 | go | Go | Linkages50.go | figassis/iso20022 | f0ce11630ab532929bf870cdd0b0494d887b58ce | [
"MIT"
] | 1 | 2021-06-06T08:08:08.000Z | 2021-06-06T08:08:08.000Z | Linkages50.go | figassis/iso20022 | f0ce11630ab532929bf870cdd0b0494d887b58ce | [
"MIT"
] | null | null | null | Linkages50.go | figassis/iso20022 | f0ce11630ab532929bf870cdd0b0494d887b58ce | [
"MIT"
] | null | null | null | package iso20022
// Information related to a linked transaction.
type Linkages50 struct {
// When the transaction is to be executed relative to a linked transaction - for information only.
ProcessingPosition *ProcessingPosition23Choice `xml:"PrcgPos,omitempty"`
// Unambiguous identification of a securities settlement transaction as known by the account owner (or instructing party acting on its behalf).
SecuritiesSettlementTransactionIdentification *RestrictedFINMax16Text `xml:"SctiesSttlmTxId"`
}
func (l *Linkages50) AddProcessingPosition() *ProcessingPosition23Choice {
l.ProcessingPosition = new(ProcessingPosition23Choice)
return l.ProcessingPosition
}
func (l *Linkages50) SetSecuritiesSettlementTransactionIdentification(value string) {
l.SecuritiesSettlementTransactionIdentification = (*RestrictedFINMax16Text)(&value)
}
| 35.375 | 144 | 0.823322 |
4945caaaefc2b613b7cc9893a28f1b6cf3a057ee | 5,694 | sql | SQL | bd_tesis_en.sql | JairoLachira/tesis | 9906afbb5256ac0d5a5ef5576cd9428233e6c106 | [
"Apache-2.0"
] | 1 | 2019-09-29T17:34:38.000Z | 2019-09-29T17:34:38.000Z | bd_tesis_en.sql | j4iro/web-nodrys | 9906afbb5256ac0d5a5ef5576cd9428233e6c106 | [
"Apache-2.0"
] | null | null | null | bd_tesis_en.sql | j4iro/web-nodrys | 9906afbb5256ac0d5a5ef5576cd9428233e6c106 | [
"Apache-2.0"
] | 1 | 2019-04-02T22:47:10.000Z | 2019-04-02T22:47:10.000Z | CREATE DATABASE db_tesis_en;
CREATE TABLE categories
(
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
description VARCHAR(100) NULL,
created_at DATETIME,
updated_at DATETIME
);
INSERT INTO categories VALUES (NULL, 'Vegetariano',NULL,CURTIME(),CURTIME()),
(NULL, 'Tradicional',NULL,CURTIME(),CURTIME()),
(NULL, 'Comida Rápida',NULL,CURTIME(),CURTIME());
CREATE TABLE districts(
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(200) NOT NULL,
description TEXT NULL,
created_at DATETIME,
updated_at DATETIME
);
INSERT INTO districts VALUES (NULL, 'Lince',NULL,CURTIME(),CURTIME()),
(NULL, 'Cercado de Lima',NULL,CURTIME(),CURTIME()),
(NULL, 'Miraflores',NULL,CURTIME(),CURTIME()),
(NULL, 'Lima',NULL,CURTIME(),CURTIME());
CREATE TABLE users
(
id INT PRIMARY KEY AUTO_INCREMENT,
role VARCHAR(20) NULL,
name VARCHAR(100) NOT NULL,
surname VARCHAR(200) NOT NULL,
email VARCHAR(255) NOT NULL UNIQUE,
`password` VARCHAR(255) NOT NULL,
telephone VARCHAR(20) NULL,
address TEXT NULL,
image TEXT NULL,
points INT NULL,
state BIT NULL,
district_id INT NULL,
created_at DATETIME,
updated_at DATETIME,
remember_token varchar(255),
CONSTRAINT fk_users_districts FOREIGN KEY(district_id) REFERENCES districts(id)
)ENGINE=InnoDB;
INSERT into users values
(NULL,'user','Jairo','Lachira','jairo@jairo.com','jairo','958051400','Jr Candamo 8562',NULL,0,1,2,CURTIME(),CURTIME(),NULL),
(NULL,'user','Smith','Alama','smith@smith.com','smith','958085711','Jr Torres 250',NULL,0,1,1,CURTIME(),CURTIME(),NULL);
CREATE TABLE restaurants(
id INT PRIMARY KEY AUTO_INCREMENT,
category_id INT NOT NULL,
district_id INT NOT NULL,
name VARCHAR(200) NOT NULL,
slogan TEXT NULL,
address TEXT NOT NULL,
assessment INT NULL,
points INT NULL,
image TEXT NULL,
created_at DATETIME,
updated_at DATETIME,
CONSTRAINT fk_restaurants_categories FOREIGN KEY(category_id) REFERENCES categories(id),
CONSTRAINT fk_restaurants_districts FOREIGN KEY(district_id) REFERENCES districts(id)
);
INSERT INTO restaurants VALUES
(NULL, 1,1,'El buen tomate',NULL,'Manuel Candamo 852',50,100,'el_buen_tomate.jpg',CURTIME(),CURTIME()),
(NULL, 1,1,'Embarcadero 41',NULL,'Juan de Miller 741',50,100,'embarcadero41.jpg',CURTIME(),CURTIME());
INSERT INTO restaurants VALUES
(NULL, 2,2,'Las Palmeras',NULL,'Jr Torres 856 Espaldas Barranco',50,100,'las-palmeras.png',CURTIME(),CURTIME());
INSERT INTO restaurants VALUES
(NULL, 2,2,'Asakusa',NULL,'San Borja Calle 856 Mz 52',50,100,'asakusa.png',CURTIME(),CURTIME());
CREATE TABLE cards(
card_id INT PRIMARY KEY AUTO_INCREMENT,
num_card VARCHAR(255) NOT NULL,
user_id INT NOT NULL,
`month` INT NOT NULL,
`year` INT NOT NULL,
cvc INT NOT NULL,
owner VARCHAR(200) NOT NULL,
country CHAR(3) NOT NULL,
cod_postal INT NOT NULL,
created_at DATETIME,
updated_at DATETIME,
CONSTRAINT fk_cards_users FOREIGN KEY(user_id) REFERENCES users(id)
);
CREATE TABLE orders(
id INT PRIMARY KEY AUTO_INCREMENT,
restaurant_id INT NOT NULL,
user_id INT NOT NULL,
`date` DATE NOT NULL,
`hour` TIME NOT NULL,
n_people INT NOT NULL,
oca_special TEXT NULL,
cod_promo CHAR(10) NULL,
state VARCHAR(20) NOT NULL,
total NUMERIC(20,2) NOT NULL,
created_at DATETIME,
updated_at DATETIME,
CONSTRAINT fk_orders_restaurants FOREIGN KEY(restaurant_id) REFERENCES restaurants(id),
CONSTRAINT fk_orders_users FOREIGN KEY(user_id) REFERENCES users(id)
)
ENGINE=InnoDB;
CREATE TABLE favorites(
favorite_id INT NOT NULL,
user_id INT NOT NULL,
restaurant_id INT NOT NULL,
state BIT NOT NULL,
created_at DATETIME,
updated_at DATETIME,
CONSTRAINT fk_favorites_users FOREIGN KEY(user_id) REFERENCES users(id),
CONSTRAINT fk_favorites_restaurant FOREIGN KEY(restaurant_id) REFERENCES restaurants(id)
);
CREATE TABLE dishes
(
id INT PRIMARY KEY AUTO_INCREMENT,
restaurant_id INT NOT NULL,
name TEXT NOT NULL,
description TEXT NOT NULL,
price NUMERIC(20,2) NOT NULL,
`time` INT NOT NULL,
image TEXT NOT NULL,
created_at DATETIME,
updated_at DATETIME,
type VARCHAR(20) NOT NULL,
CONSTRAINT fk_dishes_restaurants FOREIGN KEY(restaurant_id) REFERENCES restaurants(id)
);
ALTER TABLE dishes ADD COLUMN type VARCHAR(20) NOT NULL;
INSERT INTO dishes VALUES
(NULL, 1,'Arroz con pollo','Pollo traido de las granjas recien fresco',10,5,'arroz_pollo.jpg',CURTIME(),CURTIME(),'second'),
(NULL, 1,'Chancho al cilindro','Chanchito criado por los dioses',50,15,'chancho_cilindro.jpg',CURTIME(),CURTIME(),'second');
INSERT INTO dishes VALUES
(NULL, 2,'Arroz con pato','Pato traido de las granjas recien fresco',15,5,'arroz_pato.jpg',CURTIME(),CURTIME(),'second'),
(NULL, 2,'Cuy al cilindro','Cuy criado por los dioses',25,15,'cuy_asado.jpg',CURTIME(),CURTIME(),'second');
CREATE TABLE menus
(
id INT PRIMARY KEY AUTO_INCREMENT,
dish_id INT NOT NULL,
`date` DATE NOT NULL,
created_at DATETIME,
updated_at DATETIME,
CONSTRAINT fk_menus_dishes FOREIGN KEY(dish_id) REFERENCES dishes(id)
);
CREATE TABLE details_orders
(
detail_id INT PRIMARY KEY AUTO_INCREMENT,
order_id INT NOT NULL,
dish_id INT NOT NULL,
created_at DATETIME,
updated_at DATETIME,
CONSTRAINT fk_details_orders FOREIGN KEY(order_id) REFERENCES orders(id),
CONSTRAINT fk_details_dishes FOREIGN KEY(dish_id) REFERENCES dishes(id)
)
ENGINE=InnoDB;
| 32.169492 | 124 | 0.705304 |
3fc46c654a8bbca0461cc99bd1cefd943a40de7d | 217 | h | C | Example/TrapezoidButton/XinViewController.h | xilanglang/TrapezoidButton | f660a7143c13d6bf68d6f40ebd3fc5e3b3c70a96 | [
"MIT"
] | null | null | null | Example/TrapezoidButton/XinViewController.h | xilanglang/TrapezoidButton | f660a7143c13d6bf68d6f40ebd3fc5e3b3c70a96 | [
"MIT"
] | null | null | null | Example/TrapezoidButton/XinViewController.h | xilanglang/TrapezoidButton | f660a7143c13d6bf68d6f40ebd3fc5e3b3c70a96 | [
"MIT"
] | null | null | null | //
// XinViewController.h
// TrapezoidButton
//
// Created by caoyanan on 06/16/2016.
// Copyright (c) 2016 caoyanan. All rights reserved.
//
@import UIKit;
@interface XinViewController : UIViewController
@end
| 15.5 | 53 | 0.714286 |
54a3d2f84d268b3d51252ba149fbd198f86755b4 | 1,719 | swift | Swift | eul/Store/DiskStore.swift | kawarimidoll/eul | ac7ab2ad2cd8179f1a21c65486b855a9dad7f972 | [
"MIT"
] | null | null | null | eul/Store/DiskStore.swift | kawarimidoll/eul | ac7ab2ad2cd8179f1a21c65486b855a9dad7f972 | [
"MIT"
] | null | null | null | eul/Store/DiskStore.swift | kawarimidoll/eul | ac7ab2ad2cd8179f1a21c65486b855a9dad7f972 | [
"MIT"
] | null | null | null | //
// DiskStore.swift
// eul
//
// Created by Gao Sun on 2020/11/1.
// Copyright © 2020 Gao Sun. All rights reserved.
//
import Foundation
import SharedLibrary
class DiskStore: ObservableObject, Refreshable {
@Published var list: DiskList?
var ceilingBytes: UInt64? {
list?.Containers.reduce(0) { $0 + $1.CapacityCeiling }
}
var freeBytes: UInt64? {
list?.Containers.reduce(0) { $0 + $1.CapacityFree }
}
var usageString: String {
guard let ceiling = ceilingBytes, let free = freeBytes else {
return "N/A"
}
return ByteUnit(ceiling - free, kilo: 1000).readable
}
var usagePercentageString: String {
guard let ceiling = ceilingBytes, let free = freeBytes else {
return "N/A"
}
return (Double(ceiling - free) / Double(ceiling)).percentageString
}
var freeString: String {
guard let free = freeBytes else {
return "N/A"
}
return ByteUnit(free, kilo: 1000).readable
}
var totalString: String {
guard let ceiling = ceilingBytes else {
return "N/A"
}
return ByteUnit(ceiling, kilo: 1000).readable
}
@objc func refresh() {
// APFS will be good from Catalina
let plistString = shell("diskutil apfs list -plist") ?? ""
let propertiesDecoder = PropertyListDecoder()
if
let data = plistString.data(using: .utf8),
let list = try? propertiesDecoder.decode(DiskList.self, from: data)
{
self.list = list
} else {
list = nil
}
}
init() {
initObserver(for: .StoreShouldRefresh)
}
}
| 24.557143 | 79 | 0.575916 |
0bc5d90a07dcc1750d1ff39e64887ceed3c8a8c2 | 1,900 | js | JavaScript | app/routes/submit.js | baylee-d/ember-preprints | 4fbc0ee317a93680e7b40a7f399460de16d14699 | [
"Apache-2.0"
] | 23 | 2017-11-16T04:14:26.000Z | 2021-08-11T03:14:07.000Z | app/routes/submit.js | baylee-d/ember-preprints | 4fbc0ee317a93680e7b40a7f399460de16d14699 | [
"Apache-2.0"
] | 261 | 2017-10-10T21:09:38.000Z | 2022-03-23T19:49:46.000Z | app/routes/submit.js | fabmiz/ember-preprints | a1be3a22888cae24ea377dc005460f63b9dfa3a5 | [
"Apache-2.0"
] | 16 | 2017-10-25T13:47:49.000Z | 2021-06-11T14:22:00.000Z | import { computed } from '@ember/object';
import { inject as service } from '@ember/service';
import Route from '@ember/routing/route';
import CasAuthenticatedRouteMixin from 'ember-osf/mixins/cas-authenticated-route';
import ConfirmationMixin from 'ember-onbeforeunload/mixins/confirmation';
import ResetScrollMixin from '../mixins/reset-scroll';
import SetupSubmitControllerMixin from '../mixins/setup-submit-controller';
/**
* @module ember-preprints
* @submodule routes
*/
/**
* Creates a preprint record
* @class Submit Route Handler
*/
export default Route.extend(ConfirmationMixin, ResetScrollMixin, CasAuthenticatedRouteMixin, SetupSubmitControllerMixin, { // eslint-disable-line max-len
store: service(),
i18n: service(),
currentUser: service('currentUser'),
panelActions: service('panelActions'),
confirmationMessage: computed('i18n', function() {
return this.get('i18n').t('submit.abandon_preprint_confirmation');
}),
model() {
// Store the empty preprint to be created on the model hook for page. Node will be fetched
// internally during submission process.
return this.get('store').createRecord('preprint', {
subjects: [],
});
},
afterModel() {
return this.get('theme.provider').then(this._getPageNotFound.bind(this));
},
setupController(controller, model) {
this.setupSubmitController(controller, model);
controller._setCurrentProvider();
return this._super(...arguments);
},
isPageDirty() {
// If true, shows a confirmation message when leaving the page
// True if the user already created/chosen a project node
return this.controller.get('hasDirtyFields');
},
_getPageNotFound(provider) {
if (!provider.get('allowSubmissions')) {
this.replaceWith('page-not-found');
}
},
});
| 36.538462 | 153 | 0.681053 |