科学网

 找回密码
  注册
[转载]通过ssh登录到手机 Termux
侯燕青 2020-6-12 22:54
转载自 https://www.cnblogs.com/abeen/p/9911987.html 亲测有效。 手机息屏时ssh断开,可以做如下修改: 手机管家--应用启动管理--找到Termux,不让他自动管理,选择允许后台运行 应该就可以了。 配置多个ssh 公钥密钥对。 https://www.cnblogs.com/yu-hailong/p/11458782.html
个人分类: 计算机|2710 次阅读|1 个评论
[转载]Termux 入门教程:架设手机 Server 下载文件
侯燕青 2020-6-12 08:16
亲测有效,原文链接 http://www.ruanyifeng.com/blog/2019/07/termux-tutorial.htmlhttp://www.ruanyifeng.com/blog/2019/07/termux-tutorial.htmlhttp://www.ruanyifeng.com/blog/2019/07/termux-tutorial.htmlhttp://www.ruanyifeng.com/blog/2019/07/termux-tutorial.htmlhttp://www.ruanyifeng.com/blog/2019/07/ter ...
个人分类: 计算机|4781 次阅读|没有评论
qt pro文件中指定mac平台
侯燕青 2019-7-19 18:21
macx{ #指定macos平台 LIBS += -lpthread CONFIG -= app_bundle #excute from command line } https://doc.qt.io/qt-5/macos.html
个人分类: 计算机|3148 次阅读|没有评论
替换多个文件中的字符串
侯燕青 2019-3-28 20:34
将所有文件中的字符串 oldword 替换为 newword sed -i.bu 's/oldword/newword/' *.* rm *.bu
个人分类: 计算机|1734 次阅读|没有评论
从command line 新建repository并上传至GitHub
侯燕青 2019-2-23 23:18
1.在GitHub建立一个新的repository,如 ffrtsimulation 2.在~/.ssh/下生成一对key rsd和rsd.pub,并将rsd.pub拷贝到GitHub中 3.执行如下命令: git init git add *.c git commit -m first commit git remote add origin git@github.com:YanqingHou/ffrtsimulation.git git push -u origin master ...
个人分类: 计算机|1893 次阅读|没有评论
在matlab中使用c语言函数
侯燕青 2019-1-25 00:34
最近在超算上做大规模的蒙特卡洛仿真,发现自己的matlab代码非常耗时,利用matlab的profiler工具分析代码,发现耗时的原因是一个没办法vectorizing的函数海量执行for循环。查找matlab优化代码方法,网上给的建议是关键代码用c语言实现,然后混合编程。网上搜索混合编程方法,发现大多数讲的都太偏mex的使用了,还有人说mex ...
个人分类: 计算机|4789 次阅读|没有评论
在shell中快速查看数据图像,使用gnuplot
侯燕青 2019-1-17 21:56
cat dada.txt | gnuplot -e set terminal dumb; plot 'cat'
个人分类: 计算机|2095 次阅读|没有评论
rtkplot_qt在Mac OS下的编译问题
侯燕青 2018-11-8 10:41
RTKLIB2.4.3 P31版具有qt图形编程的版本(下载链接 https://github.com/tomojitakasu/RTKLIB/tree/rtklib_2.4.3) 在mac或者linux平台下,终于可以使用rtkplot了。下面详述如何在mac或者linux下面编译rtkplot_qt。以Mac为例。 首先确认系统中是否安装了Qt,在shell中输入which qmake,如果没有输出,就是没 ...
个人分类: 计算机|3630 次阅读|没有评论
Xcode debug打印数组
侯燕青 2017-11-11 22:30
使用LLDB进行调试时,如何打印一个数组: For example, if you have a int* ptr, and you want to view it as an array of ten integers, you can do p *(int(*) )ptr 或者是从ptr的第3个元素开始显示10个元素 p *(int(*) )ptr memory read -t double -c 10 ptr+3 在gdb中 p *ptr@10
个人分类: 计算机|5420 次阅读|没有评论
Clion怎么从vim编辑器转换到默认文本编辑器
侯燕青 2017-10-12 12:02
在tools里面,关闭vim emulator。不再preference里面设置。
个人分类: 计算机|7898 次阅读|没有评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-20 23:51

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部