Skip to content

Instantly share code, notes, and snippets.

View xgqfrms's full-sized avatar
💭
🎉 👻 💻 🕵️‍♂️

xgqfrms xgqfrms

💭
🎉 👻 💻 🕵️‍♂️
View GitHub Profile
@xgqfrms
xgqfrms / 东华大学松江校区.md
Created June 6, 2023 08:26
东华大学松江校区

松江大学城 东华大学 面积最大的大学

东华大学松江校区

东华大学松江校区占地面积约 1500亩,已有建筑面积近33万平方米,拥有图书馆、体育馆、多媒体教室、基础与专业实验室、分析测试中心、会议中心、影剧院、活动室和多功能餐厅等先进的教学、科研及生活用设施,现共有近1万名博士、硕士和本科生在松江校区学习生活。

https://www.dhu.edu.cn/sjxq/list.psp

东华大学松江校区坐落在松江新城区,位于松江大学园区的东北部,北临佘山国家旅游度假区,南倚历史文化名镇——松江。松江大学园区距上海市中心30公里, 周围有沪杭高速公路、沪青平高速公路、318 国道、轨道交通9号线等道路纵横交错, 交通十分便捷。

@xgqfrms
xgqfrms / pip3 install pybluez error logs.md
Last active May 18, 2023 09:02
pip3 install pybluez error logs
$ sudo pip3 install pybluez
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pybluez
  Using cached PyBluez-0.23.tar.gz (97 kB)
Building wheels for collected packages: pybluez
  Building wheel for pybluez (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sp5zsw6l/pybluez_39a2c4c92aad407bbba7674cb2f4adc3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sp5zsw6l/pybluez_39a2c4c92aad407bbba7674cb2f4adc3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-elixy4eu
       cwd: /tmp/pip-install-sp5zsw6l/pybluez_39a2c4c92aad407bbba7674cb2f4adc3/
@xgqfrms
xgqfrms / ifconfig.md
Created April 26, 2023 08:27
ifconfig
$ ifconfig

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
        inet 127.0.0.1 netmask 0xff000000 
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
        nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
@xgqfrms
xgqfrms / app.js
Created April 22, 2023 09:06
app.js
// app.js ❌
/*
import { autoReport, manualReport, } from "./index.js";
if(autoReport && manualReport) {
console.log(`app ✅`);
autoReport();
@xgqfrms
xgqfrms / app.js
Last active May 23, 2023 09:53
ESM export modules demos
// import { autoReport, manualReport, } from "./index.js";
import Metrics, { autoReport, manualReport, } from "./index.js";
if(autoReport && manualReport) {
console.log(`app ✅`);
autoReport();
manualReport();
console.log(`Metrics ✅`);
Metrics.autoReport();
Metrics.manualReport();
@xgqfrms
xgqfrms / a Raspberry Pi rc.local file.md
Last active April 16, 2023 19:24
Raspberry Pi /etc/rc.local file in Action

Raspberry Pi /etc/rc.local file in Action

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
@xgqfrms
xgqfrms / use the .gitattributes file to ignore some language's types.md
Last active April 15, 2023 12:58
use the .gitattributes file to ignore some language's types
@xgqfrms
xgqfrms / 白天为什么会看到月亮.md
Created April 2, 2023 10:17
白天为什么会看到月亮

白天为什么会看到月亮

@xgqfrms
xgqfrms / freecodecamp All In One.md
Created March 23, 2023 15:25
freecodecamp All In One