240
笔下虽有千言,胸中实无一策

随笔分类 -  Cheatsheet

摘要:Step 1: GPU Instance and AMI The first thing we'll do is select the AMI and an instance with a GPU: Top Left: Service -> EC2 Left Side Bar: Spot Reque 阅读全文
posted @ 2018-01-14 12:43 CasperWin 阅读(141) 评论(0) 推荐(0)
摘要:rsync -avhu --progress /source/folder/* /target/folder/* 阅读全文
posted @ 2017-08-11 05:06 CasperWin 阅读(237) 评论(0) 推荐(0)
摘要:Compress an Entire Directory or a Single File Use the following command to compress an entire directory or a single file on Linux. It’ll also compress 阅读全文
posted @ 2017-05-13 07:34 CasperWin 阅读(208) 评论(0) 推荐(0)
摘要:The command : Will only list hidden files . Explain : 阅读全文
posted @ 2017-04-01 02:09 CasperWin 阅读(166) 评论(0) 推荐(0)
摘要:# 安装Git $ sudo apt install git # 配置个人信息 $ git config --global user.name "Your Name" $ git config --global user.email "email@example.com" # 切换目录初始化 $ g 阅读全文
posted @ 2017-03-29 08:37 CasperWin 阅读(307) 评论(0) 推荐(0)
摘要:Executive Summary Delete Local Branch To delete the local branch use: Note: The -d option is an alias for --delete, which only deletes the branch if i 阅读全文
posted @ 2017-03-23 08:57 CasperWin 阅读(372) 评论(0) 推荐(0)
摘要:If you have named a branch incorrectly AND pushed this to the remote repository follow these steps before any other developers get a chance to jump on 阅读全文
posted @ 2017-03-21 02:48 CasperWin 阅读(278) 评论(0) 推荐(0)
摘要:Installing TCMalloc for use in experiments. This should slightly speed up runs. First part of this is for TCMalloc use when using tensorflow and the s 阅读全文
posted @ 2017-03-21 01:25 CasperWin 阅读(194) 评论(0) 推荐(0)
摘要:Copy Folder Copy the content of a folder /source to another existing folder /dest 阅读全文
posted @ 2017-03-11 07:07 CasperWin 阅读(351) 评论(0) 推荐(0)
摘要:新配的PC上,ssd硬盘总是因为访问权限问题不能随意读写,每次都要超级用户模式才可以。 如果因为安全缘故只能维持这种方式的话,临时获取读写权限可以用: 如果想一次获得永久读写权限,则可以用下面的命令: 阅读全文
posted @ 2017-02-15 01:29 CasperWin 阅读(1454) 评论(0) 推荐(0)
摘要:under /usr/share or .local/share/applications/ create a desktop file like You can learn more about .desktop files here. 阅读全文
posted @ 2017-02-03 10:31 CasperWin 阅读(191) 评论(0) 推荐(0)
摘要:Bug: Some day I updated my openCV to the latest version 2.4.13, while recently I found I always get "2.4.8" when I check the version in python2.7. It 阅读全文
posted @ 2017-01-26 03:06 CasperWin 阅读(246) 评论(0) 推荐(0)
摘要:Same problem as in https://github.com/Ultimaker/Cura/issues/385 Fix: My PR #387 based on #131 fixes the problem + installing python3-opengl (1) (2) su 阅读全文
posted @ 2017-01-10 11:40 CasperWin 阅读(162) 评论(0) 推荐(0)
摘要:Say we have a latest Blender extracted from the download package. We want to create a launcher for Blender so that we can start it from the Unity Dash 阅读全文
posted @ 2017-01-06 02:25 CasperWin 阅读(221) 评论(0) 推荐(0)
摘要:Problem: Ever since I have installed Conda, ROS does not seem to work. And predictably it is because Conda has changed my Python environment. I run RO 阅读全文
posted @ 2016-12-31 10:30 CasperWin 阅读(690) 评论(0) 推荐(0)
摘要:Say we have installed qt programs and we want to run qtcreator from the command line. What we need here is only to put a soft link to the qtcreator we 阅读全文
posted @ 2016-12-21 07:32 CasperWin 阅读(218) 评论(0) 推荐(0)
摘要:When you want to show an URL of remote branches, try: 阅读全文
posted @ 2016-12-15 08:36 CasperWin 阅读(118) 评论(0) 推荐(0)
摘要:Say you want to search for files with keyword as "keyword". 阅读全文
posted @ 2016-12-15 06:54 CasperWin 阅读(122) 评论(0) 推荐(0)
摘要:Problem "No module named catkin_pkg.package" on catkin_make w/ Indigo I have the problem after anaconda is installed. I get an error because of the di 阅读全文
posted @ 2016-12-15 02:19 CasperWin 阅读(1865) 评论(0) 推荐(0)
摘要:This document covers the SSH client on the Linux Operating System and other OSes that use OpenSSH. What is SSH? There are a couple of ways that you ca 阅读全文
posted @ 2016-11-09 09:14 CasperWin 阅读(444) 评论(0) 推荐(0)