Skip to content

Instantly share code, notes, and snippets.

@dearmark
dearmark / 0_reuse_code.js
Last active August 29, 2015 14:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@dearmark
dearmark / proxy.pac
Last active February 24, 2016 03:18
// Generated by gfwlist2pac
// https://github.com/clowwindy/gfwlist2pac
var domains = {
"ggpht.com":1,
"gimpshop.com": 1,
"directcreative.com": 1,
"speedpluss.org": 1,
"mingpaovan.com": 1,
"wikinews.org": 1,
rustup component add rust-src
export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
@dearmark
dearmark / form-index.vue
Created November 19, 2021 03:20
[vben 表单数据填充] vben代码记录 #vue #vben
onMounted(async () => {
// const data = await accountInfoApi();
if (taskId.value !== undefined) {
const data = await getTask(taskId.value);
// task.then((result) => {
// bodyList = result.body;
// });
setFieldsValue(data);
}
});
@dearmark
dearmark / mypoly.json
Last active May 18, 2022 06:22
poly.json
[
{
"id": "1",
"title": "Carpet",
"shape": "poly",
"name": "1",
"fillColor": "#00ff194c",
"strokeColor": "black",
"coords": [264, 332, 319, 320, 328, 332, 338, 386, 276, 402, 264, 332],
"polygon": [
@dearmark
dearmark / Readme.md
Created September 8, 2022 05:14 — forked from OlivierLDff/Readme.md
🚀 Git Bash Emojis (Windows)

Open git bash with admin privilege.

cd "C:/Program Files/Git/usr/share/mintty"
mkdir -p emojis
cd emojis
curl https://raw.githubusercontent.com/wiki/mintty/mintty/getemojis > getemojis
./getemojis -d