This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// npm install 之后先使用 | |
// serve-with-gojs/build-with-gojs | |
// 对 node_module 中相关的文件进行处理 | |
// 去除开源版本的 gojs 自带的水印 | |
const fs = require('fs') | |
const path = require('path') | |
const file_js = path.join(__dirname, './node_modules/gojs/release/go.js') | |
const file_mjs = path.join(__dirname, './node_modules/gojs/release/go.mjs') | |
const file_module = path.join(__dirname, './node_modules/gojs/release/go-module.js') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Reset Parallels Desktop's trial and generate a casual email address to register a new user | |
rm /private/var/root/Library/Preferences/com.parallels.desktop.plist /Library/Preferences/Parallels/licenses.xml | |
jot -w pdu%[email protected] -r 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <avr/boot.h> | |
void print_val(char *msg, uint8_t val) | |
{ | |
Serial.print(msg); | |
Serial.println(val, HEX); | |
} | |
void setup(void) | |
{ |