自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Peace

Frank

  • 博客(647)
  • 收藏
  • 关注

原创 GRUB and the Boot Process on UEFI-based x86 Systems

【代码】GRUB and the Boot Process on UEFI-based x86 Systems。

2024-02-17 21:47:36 979

原创 BIOS and UEFI

Notes:1. 两者都是主板上的firmware.2. 两者的作用都包括开机后检查硬件,从硬盘上寻找bootloader(用于加载操作系统,例如GRUB).

2024-02-17 21:04:54 765

原创 Python: pip install -e

该命令会执行当前目录下的setup.py文件,将当前项目以安装;

2024-02-07 18:09:07 755

原创 Python的setup.py - ongoing

What is setup.py in Python? - GeeksforGeeksIn Python, setup.py is a module used to build and distribute Python packages. It typically contains information about the package, such as its name, version, and dependencies, as well as instructions for building

2024-02-07 18:08:42 880

原创 Agile Initiative, Epic, and Story/Task

OFFICIAL :Epics, Stories, Themes, and Initiatives | Atlassian

2024-02-07 15:42:28 320

原创 Linux Terminator工具: 保存窗口布局 & 执行默认启动指令

How do I get Terminator to start up with my custom layout? - Ask Ubuntu

2024-02-07 15:23:39 318

原创 Git显示git stash的具体内容: -p

首先,git stash list显示所有的stash记录;

2024-02-07 15:19:00 149

原创 Git 消除对某个文件的追踪

参考: (尚未验证他的该方法)

2024-02-07 15:16:19 614

原创 Git合并多个commit

则执行git rebase -i commitId4. 注意是4,不是3.然后,pick最老的commit (commit id 3).假设想要合并最后3个commit, git log显示。

2024-02-07 15:05:39 696

原创 Git 删除远程分支

git push origin --delete branchName

2024-02-07 14:53:30 69

原创 Jupyter environment

【代码】Jupyter environment。

2023-06-04 19:13:32 176

原创 How To Install and Configure VNC Server on Ubuntu 20.04

HI

2022-06-25 13:20:29 649 1

原创 Ubuntu install vncserver

baby

2022-06-25 11:21:33 448

原创 web python

web

2022-06-04 20:21:47 218 1

原创 miscellaneous linux bash cmd

&& vs ;ls && mkdir nightDir : The second will be executed only when the first is successfully executed;ls ; mkdir nightDir : The second will be executed no matter the first is successfully executed or not.

2022-05-29 00:47:33 114

原创 Linux bash and source command

Oh, dotthe primary use of source command is to refresh environment variables.source filename [options]You can also use . (dot) instead of source command like this:. filename [options]Source vs BashIf you’ve been around Linux for a ...

2022-05-29 00:32:34 134

原创 Linux bash重定向

重定向标准输出和错误输出>和1>只能将正常信息重定向2> 只能将错误信息重定向&>可以将错误信息或者正常信息都重定向输出如下, ls 1>a.txt,可将ls指令的输出引入a.txt,而不是打印到屏幕;如下,ls >a.txt同ls 1>a.txt如下,ls 2>a.txt只能将错误信息重定向到a.txt如下,ls &>a.txt能将所有信息重定向到a.txt重定向到/dev/null.

2022-05-29 00:11:52 318

原创 顺时针打印个数组

顺时针打印个N*N数组: code:Just like state machine.#include <thread>#include <mutex>#include <list>#include <cstdlib>#include <iomanip>#include <iostream>#include <vector>using namespace std;enum Dir {

2022-05-22 10:54:23 120

原创 github and gitee personal website

step1:新建一个public repo,repo名字为"github用户名.github.io", 然后,上传index.html到repo顶层目录;step2:进入repo主要页面,点击setting,进入pages设置,然后可以看到your site is published at xxxx,该链接对应你的master分支上的index.html;可能要等待几分钟才能正常访问这个链接;Other: 发布普通repo中的index.html向re...

2022-05-20 00:35:14 190

原创 c++ ref在thread和bind中的使用

std::ref对std::threadstd::mutex删除了拷贝构造函数。构造std::thread时,给线程函数传参时默认采用的是值传递(即使线程函数的入参为引用形式,这样设计应该时考虑到多个线程同时引用一个变量时的生命周期安全问题吧), 所以被传参数对应的是含有mutex成员的类的实例时,编译不通过,需要使用std::ref。#include <iostream>#include <thread>#include <mutex>#includ..

2022-05-08 18:30:03 904

原创 Linux 查看动态库和可执行程序依赖库

一. ldd xxxlinux 查看动态库和可执行程序依赖库_帅的没朋友~的博客-CSDN博客

2022-04-23 16:18:31 477

原创 Ubuntu apt sources.list

So the operating system needs a mechanism to install packages easily as needed.Then the extra packages are hosted on a webserver or FTP server of the Linux distribution from where users can download and install it. These webservers or FTP servers are cal

2022-04-22 20:20:44 1451

原创 Python subprocess.popen()

Python subprocess.popen() Tutorial – PythonTecthttps://pythontect.com/python-subprocess-popen-tutorial/Python provides the subprocess module in order to create and manage processes. The subprocess.popen() is one of the most useful methods which is used to

2022-04-21 19:11:58 965

原创 About the path used to find python package

import xxx, the default path that pyhon used to find the xxx package is sys.path。The script:import osimport sysimport pythonApi# your own python pkgprint(sys.executable) #python解释器的路径print(sys.path) # python包的搜索路径 ------------line #print(type

2022-04-21 19:06:16 690

原创 How to get and set environment variables in Python

Read Environment Variables in Python:The os module will require to import to read the environment variables. The os.environ object is used in Python to access the environment variable. The coder can set and get the value of any environment variable by us

2022-04-21 18:52:22 822

原创 Next Generation Simulation (NGSIM)

Traffic Analysis Tools: Next Generation Simulation - FHWA Operationshttps://ops.fhwa.dot.gov/trafficanalysistools/ngsim.htmGoalTo develop a core of open behavioral algorithms in support of traffic simulation with a primary focus on microscopic modeli..

2022-04-14 19:51:48 1714

原创 Jenkins and Jenkins X

JenkinsJenkins X - Cloud Native CI/CD Built On KubernetesJenkins自动化服务器一直都是DevOps工具链的重要组成部分,并且已发展成为开源持续集成和持续部署(CI&CD)软件的领导者。在Jenkins高速发展的同时,云计算和容器技术的发展也不断重塑云时代的基础设施,软件架构,部署发布,研发过程和组织文化:Kubernetes在容器编排领域的一枝独秀,微服务和云原生应用解决方案也日臻成熟,应用架构的细分和服务间的解耦使得服务..

2022-04-09 12:14:44 1148

原创 Combination Sum

Solution1:State Space TreeFirstly, we find all combitions that contain only one element. For example, if the candidates is [2,3,5], they are three combination: [2], [3], [5]. If the sum of a combination is equal to target, we store this combin...

2022-03-25 20:12:57 501

原创 Introduction to state-space by Matlab

State Space - MATLAB Access for Everyone - MATLAB & SimulinkMATLAB Tech Talks - Controls - MATLAB & Simulink

2022-03-20 15:46:37 360

原创 Model Predictive Control

一个模型预测控制(MPC)的简单实现 - 知乎

2022-03-16 21:55:13 716

原创 数组中和最大的连续子数组

给定一个数组array,求其连续子数组,该子数组的元素和最大。Method1: 暴力搜索int FindGreatestSumOfSubArray(vector<int> array) { const int sie = array.size(); if(size<1){ return -999999999; } int maxSum = array[0];

2022-03-10 21:27:39 7685

原创 C++ placement new --geeksforgeeks

Placement new operator in C++ - GeeksforGeeksA Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

2022-03-06 17:49:30 460

原创 Pybinder

目录A really good project.Export Cpp to python uner Linux platformA really good project.https://github.com/pybind/pybind11https://github.com/pybind/pybind11The meaning of this project:pybind11is a lightweight header-only library that exposes C+.

2022-03-05 17:25:41 984

原创 OpenMp

Home - OpenMPhttps://www.openmp.org/C++ with OpenMP:需要 -fopenmp 选项:gcc -fopenmp anyname.c -o anyname.out #include <iostream>#include <omp.h>int main() { std::cout << "starting ..." << std::endl; #pragma omp paralle.

2022-03-03 00:44:06 185

原创 windows ping linux - unreachable host

windows pc and a linux pc, both connected to the same subnetwork. when ping a machine from another, "Unreachable host" ...Related reasons:1) windows firewall2) Power off router and restart. !!!Quick Answer: How do I fix host unreachable? - Choosin.

2022-02-27 17:11:42 244

原创 Gcc tips

利用Address Sanitizer工具检查内存gcc从4.8版本起,集成了Address Sanitizer工具,可以用来检查内存访问的错误(编译时指定“-fsanitize=address”)。以a.c程序为例:gcc -fsanitize=address -g -o a a.c利用Address Sanitizer工具检查内存访问错误 | 100个gcc小技巧介紹 | 100个gcc小技巧...

2022-02-27 11:59:01 90

原创 Python-OpenCV

1 Add Picturecv.add() can be used to add 2 picture.import cv2import numpy as npprint('Testing .........')picture1_path = 'C:/Users/xxx/Desktop/temp/bibble.JPG'picture2_path = 'C:/Users/xxx/Desktop/temp/bird.JPG'image1 = cv2.imread(picture1_path)

2022-02-27 11:48:46 2465

原创 Ubuntu Screen recorder tool - Simple Screen Recorder

sudo add-apt-repository ppa:maarten-baert/simplescreenrecordersudo apt-get updatesudo apt-get install simplescreenrecorderUbuntu(Linux)使用Simple Screen Recorder录屏_pd很不专业的博客-CSDN博客

2022-02-27 11:18:57 276

原创 ROS-Stage机器人仿真

stage_ros - ROS Wiki

2022-02-27 10:12:45 388

原创 PhysX Visual Debugger (PVD)

PhysX Visual Debugger (PVD) — NVIDIA PhysX SDK 4.1 Documentationhttps://gameworksdocs.nvidia.com/PhysX/4.1/documentation/physxguide/Manual/VisualDebugger.htmlThe PhysX Visual Debugger (PVD) provides a graphical view of the PhysX scene and includes variou

2022-02-20 16:59:47 1118

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除