1. 中文输入法:英文版ubuntu中需先在language support中安装中文,然后在keyboard input method中添加中文拼音到input method
2. 安装deb的包:dpkg path/to/deb -i
墨衍会员
·
AI 创作全网分发
墨衍智能分发
本文由作者通过墨衍一键同步至各平台
1分发平台
200+累计阅读
285平均单平台
已同步平台
优快云
微信公众号
微博
知乎
掘金
百家号
博客园
抖音
小红书
你的文章也可以这样分发
墨衍会员 ¥399起/年,写一次发全网
我也要 →
码龄17年
1. 中文输入法:英文版ubuntu中需先在language support中安装中文,然后在keyboard input method中添加中文拼音到input method
2. 安装deb的包:dpkg path/to/deb -i
【Linux】基于韦东山imx6ull pro开发板 QT移植操作备忘
走了一些弯路,现在记录下可行的方式。 1.使用韦东山提供的根文件系统Buildroot_2020.02.x,在ubuntu进行编译,生成有100ask-imx6ull-pro-512d-systemv-v1.img 完整烧录文件。 2.使用韦东山提供的烧录工具100ask_imx6ull_flashing_tool_v4.0,并将上述文件改名为emmc.img,烧录进开发板。 3.在ubuntu编译tslib,按照教程拷贝到开发板。 cp /mnt/tslib-1.21/tmp/lib/*so*
Ubuntu下安装MySQL
Linux新手,常常为现在源码 编译 安装感到迷茫,今天在Ubuntu官方上找到简易安装MySQL的方法,以便以后配置开发环境做备忘录.以下是通过Ubuntu的终端通过远程源来安装MySQL。之前最好更改系统的源为中国源, 1 更改到中国源 系统的顶端菜单 系统--更新管理器--(底下左边)设置(输入管理员root密码)--Ubuntu软件--下载自 其他站点--中国的 mirro
ZYNQ LINUX开发笔记——交叉编译器备忘总结
提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档 ZYNQ LINUX开发笔记——交叉编译器备忘总结交叉编译器设置C APP编译指令C APP编译注意事项 交叉编译器设置 来源于: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842547/Install+Xilinx+Tools ZYNQ7000 source /opt/Xilinx/Vivado/2018.2/settings64.sh export ARCH=ar
整体文章导航
一名Android系统工程师,记录一些平时用到的知识以作备忘,同时也希望可以帮到大家,有问题欢迎留言。
Clock Gating设计陷阱:为什么你的ICG cell总是导致setup violation?(附解决方案)
本文深入分析了数字IC设计中ICG(Integrated Clock Gating)单元导致setup时序违规的常见问题,包括时钟偏斜和数据路径过长两大核心原因。通过量化分析影响因素,提供了逻辑重组、寄存器重定时等优化策略,并介绍了预防性设计方法和物理实现阶段的优化技巧,帮助工程师有效解决ICG相关的setup violation问题。
VulnHub系列之BadStore_123渗透测试
BADSTORE: 1.2.3 早期网商系统漏洞鉴赏(2004)
Ubuntu/Linux搭建STM32开发环境
本人所用 的Ubuntu版本为 Ubuntu 22.04。
别再手动挂载NPU了!手把手教你用Ascend-Docker-Runtime一键启动昇腾AI容器
本文详细介绍了如何使用Ascend-Docker-Runtime一键启动昇腾AI容器,大幅简化NPU设备挂载流程。通过环境变量ASCEND_VISIBLE_DEVICES,开发者可以灵活指定NPU设备,提升开发效率。文章还提供了安装配置指南、高级使用技巧和常见问题排查方法,帮助开发者快速掌握这一高效工具。
构建高效脚本备忘录:从环境配置到最佳实践的开发效率指南
在软件开发与自动化运维中,脚本是连接环境配置、任务执行和系统集成的关键工具。其核心原理在于通过预定义的命令序列,将重复性操作自动化,从而提升开发与部署效率。脚本的技术价值不仅体现在减少人工操作错误,更在于实现复杂工作流的标准化与可重复性。无论是Shell脚本的系统管理、Python脚本的数据处理,还是特定工具(如报表设计器)的内嵌脚本,其应用场景已渗透到部署、测试、数据处理等各个环节。本文聚焦于如何系统化构建脚本备忘录,以解决环境变量配置、依赖管理等常见问题,并融入shell脚本和python脚本等热词的实
绿联NAS使用docker部署immich【pro系统】
随后去绿联你想要存放immich的地方创建一个文件夹,便于区分,如图,我创建了一个immich的文件夹。1.进入文件夹后面是有斜杠的(tips:只需要敲击前面几个字母,按tab键自动补全)cd:进入路径,1.可以是当前的下一层相对路径 2.也可以是完整的全路径。前言:好像没有绿联的教程,刚好自己也有需求,就顺便记录了。如果你的挂载实战情况比较复杂,接下来是喂到胃里的知识点。】下载文件(群晖的,别慌,能用),两份,红框的就是。首先,没什么好说的,去immich官网【点击1.终端,2.新增,3.确定。
版电力系统故障录波_故障录波识图与典型故障波形分析
1、设置故障录波的目的故障录波装置是对电力系统运行状况进行监控的一种自动化设备。系统正常运行时,录波装置不启动录波,当系统发生故障时,通过启动录波装置迅速启动录波器录波,直接记录反应故障装置安装处系统故障的电气量。2、故障录波的作用(1)正确评价继电保护和自动装置的工作。(2)正确分析事故的原因并研究防止对侧。(3)发现继电保护和自动装置缺陷。(4)发现一次设备缺陷,及时消除隐患。(5)帮助寻找故...
linux(ubuntu)下ruby开发环境搭建
env setuplinux(ubuntu)下ruby开发环境搭建,包括一些常见问题解决 注意,本文只是我在搭建ruby学习环境时的一些笔记,因为是用gedit编辑的,所以格式化不是很好,另外,只是备忘而已。2010.1.191. install ruby$ tar xzf ruby-1.8.7-p248.tar.gz $ mv ruby-1.8.7-p248
电商秒杀场景下,如何用Redis+Lua脚本实现原子性库存扣减(附完整代码)
本文针对电商秒杀场景下的高并发与超卖难题,详细解析了如何利用Redis的原子性命令与Lua脚本实现可靠的库存扣减。通过对比多种方案,阐述了Redis+Lua作为黄金搭档的技术原理,并提供了从基础扣减到预扣减模型的完整代码实现,确保在高并发下数据的一致性与系统性能。
[备忘]linux qt(eclipse) 开发环境搭建
qt这东西让nokia买了,刚好公司做nokia单子的,所以留着备忘一下。 Precondition: ubuntu 9.04(http://ubuntu.com) eclipse-cpp-galileo-linux-gtk.tar.gz(http://eclipse.org) qt-sdk-linux-x86-opensource-2009.03.1.bin(http://qt.
反激电源占空比为何必须小于0.5?次谐波振荡与斜坡补偿详解
在开关电源设计中,峰值电流模式控制因其优异的动态响应和逐周期限流保护而被广泛应用。其工作原理是通过采样电感电流的峰值,与误差电压比较来控制开关管的导通与关断。然而,这种控制方式在反激等隔离拓扑中,当占空比超过50%时,会面临一个固有的稳定性挑战——次谐波振荡。这是由于电流扰动会在相邻开关周期内被放大而非衰减,导致系统在开关频率一半处发生振荡,严重影响输出纹波和可靠性。为解决这一问题,工程上引入了斜坡补偿技术,通过向控制信号叠加一个固定斜率的斜坡,改变环路增益条件,从而在宽输入电压或高占空比需求下维持系统稳定
YOLOv8架构革命:通过EfficientViT融合实现精度-速度的帕累托突破
目标检测领域长期存在精度与速度的权衡难题。视觉Transformer(ViT)的引入解决了长距离依赖问题,但其巨大的计算复杂度制约了实时应用。最新研究表明,将轻量级ViT与YOLO架构融合,可在几乎不损失推理速度的前提下,将mAP提升3-8个百分点。这种架构改进方案已在工业检测、自动驾驶、安防监控等多个领域得到验证,在保持实时性的同时显著提升了复杂场景下的检测可靠性。通过模块化设计,可以灵活适配不同规模的YOLOv8模型,为实际应用提供精度-速度的帕累托最优解。
备忘录
备忘录说明 说明 记录一些好的博客,方便自己查阅 IDEA配置类和方法注释模板 Linux系统SSH客户端断开后保持进程继续运行配置方法 安装装 Git 如果你在基于 Debian 的发行版上,如 Ubuntu,请使用 apt: $ sudo apt install git-all 阿里云服务器安装Ubuntu18.04系统及桌面环境 更新库列表和库 apt-get update apt-get upgrade 安装远程连接的服务xrdp apt-get install tightvncser
ssm框架搭建
这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载
C++/linux开发备忘录
linux线程性能优化、cpu性能查询与修改、linux系统设置、linux硬件查询命令、ubuntu下qt开发、ubuntu卸载mysql、DNS域名解析顺序、WinSCP、putty64、MobaXterm、sqliteman、cheese、SSH、alsamixer、linux安装火狐浏览器和谷歌chrome浏览器、安装微信QQ等、SCP,远程拷贝,依赖SSH、pstack、perf、tcpdump、iftop、Gtest、glog、linux系统设置。
NTscan扫描工具
ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。
蓝牙模块HM-10手册
蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。
开发环境的 Ubuntu Desktop 18.04LTS 开发环境配置备忘
由于习惯了使用苹果电脑,上下班又懒得带回家。于是又跟公司同事要了一台X260。换了一块IPS高清屏幕,换了一块512G的SSD,装了Win10和Ubuntu 18.04LTS双系统。Win10 主要用来维护老项目(.net framework2.0)和上课讲PPT用。Ubuntu系统则作为在家开发使用。因为短期内已经安装了2次Ubuntu了,毕竟Linux的便捷性还是不如Windows的,所以做一...
深度学习工具包 DeepLearningToolbox
深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[](https://bitdeli.com/free "Bitdeli Badge")
Ubuntu 下降 Linux Kernel 的版本备忘
此处以 ubuntu 22.04 为示例系统,来降低其 Linux kernel 的版本。
Linux 【学习备忘】
Linux
android swstnw cn,Android应用开发之ubuntu14.04编译ijkplayer备忘
本文将带你了解Android应用开发之ubuntu14.04编译ijkplayer备忘,希望本文对大家学Android有所帮助1. i|VIhzkKCf#3UUnstall gi[e-RkYJ4]it, yasm本文已加入保护代码,请勿转载!!!---by cjz010cjz@cjz-16~zKrw[^?a,buK^O|]GYmN^lJB@bldl-+uNjMpifntQ0bg1z039T7y...
Ubuntu备忘录
来源于:https://blog.youkuaiyun.com/qq_19998189/article/details/78566486 1 基本命令输入 可以在终端窗口中运行命令,也可以在控制台中输入命令。使用 Ctrl+Alt+[F1-F6] ,可以切换到1~6号控制台,然后使用 Ctrl+Alt+F7 可以返回图形界面 2Windows中的路径 Windows 下,在D盘建立了一个名为 path的目录,...
gsd-core 修复 state prune 误报 “Only 0 phases“:frontmatter 阶段回退解析的实现与演进
`gsd state prune` 是 gsd-core 中负责治理 `.planning/STATE.md` 无界增长的维护型命令,它会按当前阶段号计算裁剪线(cutoff),把旧决策、已完成的摘要、已解决的阻断项与旧的性能指标表行归档到 `STATE-ARCHIVE.md`。本指南以 PR #3477 的修复为核心(changeset 记录于 [.changeset/archived/stea
linux怎么回退网卡驱动,ubuntu安装备忘录
一、升级和回退内核1. 安装ubuntuandroid开发环境建议使用稳定的内核版本,建议安装ubuntu12.042. 升级内核版本由于ubuntu12.04很容易出现卡死现象,建议升级内核到kernel 3.5使用如下命令升级即可:apt-get install linux-generic-lts-quantal xserver-xorg-lts-quantal3. 回退内核版本如果在升级内核...
WSL2 linux下做C++开发(Ubuntu18.04)
近期上海疫情持续,笔者也是在家办公2个多月了,平时都是用的家里的台式机远程办公,但是也想自己捣鼓点开源项目学习学习。由于电脑系统是windows11,没有linux开发环境还是有点头疼,于是捣鼓了下win10之后就出来的windows子系统,WSL2。下面是自己的一些操作笔记,作为备忘,以防日后还会用到。 1、安装Ubuntu18.04 1)首先需要打开卸载程序的地方,控制面板\程序\程序和功能,把“适用于Linux的Windows子系统”勾选上,勾选上之后重启。 2)第二步就是直接重启电脑,然后
7200
1782
1983
1126

被折叠的 条评论
为什么被折叠?



