Skip to content

Instantly share code, notes, and snippets.

View loongmxbt's full-sized avatar

Saint Asky loongmxbt

View GitHub Profile
@loongmxbt
loongmxbt / AxMath and AxGlyph Changelog.txt
Last active July 1, 2018 12:15
AxMath and AxGlyph Changelog
[AxMath V2.6] Updated on June 12, 2018:
Modified the length limit for LaTeX compilation;
--------------------------------------------
[AxGlyph V1.31] Updated on June 10, 2018:
Add new figures;
--------------------------------------------
[AxMath V2.6] May 28, 2018 Update:
Fixed a bug where some symbols on the symbol panel could not display syntax hints;
Corrected the bug that the result of the copying and pasting of the calculation result was incomplete;
Add several binary operators;
@loongmxbt
loongmxbt / local-filesystem.js
Last active August 29, 2015 14:19
Orion local filesystem based on cfs
orion.config.add('UPLOAD_PATH', 'filesystem');
var upload_path = orion.config.get('UPLOAD_PATH') || 'uploads';
// TODO: how to get folder name, how to use folder name?
// e.g. images from editor, folder is frola/images
var base = "";
if (Meteor.isServer) {
@loongmxbt
loongmxbt / gist:0a24aae21b562aac9547
Created December 30, 2014 12:51
Agilent 4294A 阻抗分析仪 Am-Ph 数据批处理
1.删除 1-21行
2.保留 22-822行 (记为A区块,3列数字,由tab分割)
3.删除 823-828行
4.保留 829-1629行 (记为B区块,3列数字,由tab分割)
5.将 B区块的第2列 替换掉 A区块的第3列,然后删除B区块
选取A区块的1、2列(频率、幅值)和B区块的第2列(相角)合并为一个新区块,导出文本文件(频率、幅值、相角)。
cd 你的文件所在目录
mkdir -p ../output
@loongmxbt
loongmxbt / hhvm block
Last active August 29, 2015 14:07
docker.hhvm 被墙解决方案
由于 hhvm.com 全线被墙,局域网内安装含 hhvm 的 docker 会出错,如下:
```
wget: unable to resolve host address 'dl.hhvm.com'
```
以 [docker.hhvm](https://github.com/nikolaplejic/docker.hhvm) 为例,解决方法为修改源。找到 Dockerfile 的 Line 27-28,
```
RUN wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -