Skip to content

Instantly share code, notes, and snippets.

View abearxiong's full-sized avatar
💭
coding

熊潇 abearxiong

💭
coding
  • china
View GitHub Profile
@abearxiong
abearxiong / a
Last active May 4, 2022 14:01
文字
孔曰成仁,孟曰取义。惟其义尽,所以仁至。
读圣贤书,所学何事?而今而后,庶几无愧。
@abearxiong
abearxiong / load-url.js
Created March 13, 2022 10:46
webpack load
var inProgress = {};
var dataWebpackPrefix = "kevisual:";
// loadScript function to load a script via script tag
__webpack_require__.l = (url, done, key, chunkId) => {
if(inProgress[url]) { inProgress[url].push(done); return; }
var script, needAttach;
if(key !== undefined) {
var scripts = document.getElementsByTagName("script");
for(var i = 0; i < scripts.length; i++) {
var s = scripts[i];
@abearxiong
abearxiong / cloudSettings
Last active April 2, 2020 01:43
code配置插件同步
{"lastUpload":"2020-04-02T01:43:45.269Z","extensionVersion":"v3.4.3"}
@abearxiong
abearxiong / index.html
Last active November 3, 2019 16:21
js文件上传 剪贴板 拖拽 选择
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta charset="utf-8">
<!-- Begin styles -->
<link rel="stylesheet" href="./styles/main.min.css" type="text/css">
@abearxiong
abearxiong / listNew.js
Last active October 28, 2019 15:54
关于浏览器端js到底部刷新的问题!
document.write("hhh")
let max = 0
for(let i=0;i<20;i++){
document.write(i+"<br/>")
max = i
}
localStorage.setItem("lodding", false)
window.addEventListener("scroll",function(){
let scrollHeight = document.documentElement.scrollHeight
let scrollTop = document.documentElement.scrollTop
@abearxiong
abearxiong / 致美化鼠标主题.ipynb
Created October 23, 2019 00:48
爬虫/致美化鼠标指针/致美化鼠标主题.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<template>
<div class="equip">
<b-input v-model="searchEquip"/>
<b-checkbox-group>
<b-checkbox v-for="(kind,index) in kinds" :key="index" v-model="selectKinds" :value="kind.id" :title="kind.property">{{ kind.name }}</b-checkbox>
</b-checkbox-group>
<div v-if="equips">
<b-card v-for="(equip, index) in equips.equip" :key="index" :hidden="!equip.show">
<b-img-lazy v-bind="equipPicProps" :src="'https://wegame.gtimg.com/tgp_act/release/wegame/equips/images/'+equip.id+'.png'" :title="equip.property"></b-img-lazy>
@abearxiong
abearxiong / FileResource.java
Created July 10, 2019 09:09
schedulerR的记录,关于文件上传的记录
extension
@abearxiong
abearxiong / a使用方式.txt
Last active September 13, 2020 15:59
毕业生电子离校单,爬取,获得,显示结果。
方法1:
# 1. 复制根目录,不需要安装任何东西(看到这个就是已经属于复制好了)
# 2. 打开powershell,转到(cd)到src目录,
# 3. 在src里面的目录运行
..\envir\Scripts\python.exe -m http.server 8000
# 4. 访问浏览器 http://127.0.0.1:8000
# 静态文件的url是 名字.html
# 查找自己名字,选择即可
mutation CreateIssuePayload{
addReaction(input:{subjectId:"MDU6SXNzdWU0NDI5OTAxODU=",content:HOORAY}){
reaction{
content
}
subject{
id
}
}
}