原创 數據庫基礎整理

MySQL 登錄:mysql -uroot -p 退出:exit; 啓動:/etc/inint.d/mysqld start 停止:/etc/inint.d/mysqld stop 重啓:/etc/inint.d/mysqld

原创 使用Clion運行ROS項目

使用Clion運行ROS項目 打開終端,進入ros的catkin的工作空間,運行 catkin_make 執行 source devel/setup.bash 運行 ./clion.sh (注意需要命令行啓動) 點擊 Import

原创 PIP源使用鏡像,飛一般的下載速度

國內鏡像: 清華:https://pypi.tuna.tsinghua.edu.cn/simple 阿里雲:https://mirrors.aliyun.com/pypi/simple 中國科技大學 https://pypi.mirro

原创 Ubuntu16.04 安裝Qt5

下載安裝包 官網下載:http://download.qt.io/archive/qt/,打開如下: 我選擇的是5.4.1 linux64版本 終端運行 sudo ./qt-opensource-linux-x64-5.4.1.ru

原创 第一個ROS程序

創建工作空間 (home目錄下) mkdir -p ~/catkin_ws/src cd ~/catkin_ws/src 創建功能包 catkin_create_pkg hello_ros 包內創建hello.cpp文件 cd

原创 ROS 創建點雲數據,使用rviz顯示

環境:ubuntu16.04、ros(kinetic)、pcl 新建工程 mkdir -p catkin_ws/src cd catkin_ws/src catkin_create_pkg chapter6_tutorials pcl_

原创 Andriod Studio3 遇到問題及解決方案

目錄 問題:Access can be package-private 問題:OPPO手機調試無法安裝 代碼檢查功能:https://blog.csdn.net/u013719138/article/details/79276370 問題

原创 Ubuntu16 卸載 安裝mysql5.7

轉自:https://www.jianshu.com/p/c76b31df5d09 卸載mysql: sudo apt-get remove mysql-* 查詢卸載殘留文件: sudo find  / -name mysql -pr

原创 ROS、PCL遇到的一些錯誤

問題: find_package(catkin) failed. catkin was neither found in the workspace nor in the CMAKE_PREFIX_PATH. One reason ma

原创 FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; 解決方案

BUG: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it w

原创 Ubuntu 切換默認python版本

ubuntu一般默認安裝兩個python版本,一個2.7、一個3.5,有時需要我們選擇需要的python版本來使用。 查看當前默認python版本: python -V 修改默認python版本: sudo update-altern

原创 ubuntu16.04 腳本備份mysql數據庫

  創建保存備份文件的目錄:/home/lp01/mysql_data sudo mkdir mysql_data 創建腳本文件 touch mysql_databak.sh 備份單個數據庫 #!/bin/bash DATE=`d

原创 python 判斷兩個文件夾有無重複文件

  import os """判斷兩個文件夾裏是否有相同文件名的文件""" def fileList(path): filelist = {} n = 0 for root, folders, files

原创 YUMI 製作多系統u盤啓動盤

前言:通常我們一個U盤只能製作成一個系統的引導啓動盤,比如製作好一個 Win10 啓動盤,日後想要用到 Linux、WinPE 等啓動盤時,只能又得重新去製作一遍,非常浪費時間。加上現在U盤容量都很大,只放一個系統實在可惜。而 YUMI 

原创 Ubuntu16.04 安裝NVIDIA驅動、Anaconda3、Tensorflow

目錄 安裝NVIAID驅動 安裝Anaconda3 安裝Tensorflow 安裝NVIAID驅動 檢查是否有nvidia顯卡 lspci | grep -i nvidia #刪除原有驅動(可選) sudo apt-get remov