Home

Github 出品-好用的编辑器和IDE

github.dev 在任意 github repo 下,按 . (或更改 github.com 到 github.dev)即可快速进入编辑模式,且支持语法高亮、代码自动补全、markdown 预览等功能。 且支持 git 等功能,可以直接提交。 codespaces 对于有运行需求或编译需求的同学来说,只是编辑的话并不够用。那么可以在此页面选择进入 codespaces, 即可使用 github 提供的 4 核心, 8 Gb 内存,32 Gb 存储空间的 Docker container, 且支持自定义 container. 人间良心

Read more

Oracle Cloud Ubuntu 装 宝塔以后 no route to host 的解决办法

卸载 ufw , 恢复路由表 sudo apt remove ufw sudo iptables-restore < /etc/iptables/rules.v4 安装 firewalld,并开放端口 sudo apt install firewalld sudo firewall-cmd --permanent --zone=public --add-port=80/tcp sudo firewall-cmd --permanent --zone=public --add-port=443/tcp sudo firewall-cmd --reload 此外,如果使用的是 CentOS,想添加 IPV6 时 dhclient -6 一直没反应,那应该是 fire...

Read more

linux 下 ps 批量转换成 png

安装 从 http://www.imagemagick.org/script/download.php 下载安装包并安装. 脚本 #!/bin/sh ######################## ## using “convert” from ImageMagick to do ps convert into PNG ######################### echo PS convert to PNG, please wait the process for INP in *.ps do newname=`basename $INP .ps` convert -density 150 -geometry 100% $INP $newname%02d.png e...

Read more

cpgplot输出到png文件

语法 if ( (newgraph == 1) || (newgraph == 3) ) { if (device == 0x0) device = "?" ; int ier = cpgbeg(0, device, nxpage, nypage) ; if (ier != 1) { cout << "problem in opening PGPLOT display !" << endl ; } } 可用的device list Graphics device/type (? to see list, default /Xserve): ? PGPLOT v5.2.2 Copyright 1997 Cal...

Read more

Welcome

If you see this page, that means you have setup your site. enjoy! :ghost: :ghost: :ghost: You may want to config the site or writing a post next. Please feel free to create an issue or send me email if you have any questions.

Read more