对安卓设备使用 rsync
现如今智能手机,平板在我们生活中使用得越来越多,使用一段时间后我们总会面临这样一个问题, 剩余空间越来越少,所以我们必须定期对这些设备进行清理工作,本文介绍了如何使用 rsync 来备份数据
继续阅读现如今智能手机,平板在我们生活中使用得越来越多,使用一段时间后我们总会面临这样一个问题, 剩余空间越来越少,所以我们必须定期对这些设备进行清理工作,本文介绍了如何使用 rsync 来备份数据
继续阅读Usually, we will encounter some compiling problems, when implementing cross-platform c++ codes on Visual Studio. Codes compile without errors on windows, while other platform not, this time is about arguments passing of std thread constructor
继续阅读Usually, we will encounter some compiling problems, when implementing cross-platform c++ codes on Visual Studio. Codes compile without errors on windows, while other platform not, this time is about arguments passing of std thread constructor
继续阅读在使用 Visual Studio 上写跨平台 c++,经常会遇到一些问题,在 windows 下没有问题, 换个平台编都编不过,这次遇到的问题是有关线程库构造函数的参数传递
继续阅读Local screen will be locked down if we log in the machine remotely, and the machine keeps locked down until someone log in this machine locally. This is for security reason, but not very convenient sometimes. Take the In-Home Streaming from Steam for example, if the machine is locked down, we can only see secure desktop in stead of the streaming game scenes, when we try to stream the game to other machine. Is there a way to terminate remote session without locking down the machine locally?
继续阅读Local screen will be locked down if we log in the machine remotely, and the machine keeps locked down until someone log in this machine locally. This is for security reason, but not very convenient sometimes. Take the In-Home Streaming from Steam for example, if the machine is locked down, we can only see secure desktop in stead of the streaming game scenes, when we try to stream the game to other machine. Is there a way to terminate remote session without locking down the machine locally?
继续阅读我们远程登录 Windows PC 时,该主机的屏幕会被自动锁定,直到有人从本地登入这台电脑, 屏幕才会被解锁,这当然是基于安全的考量,但是有时候这也会造成不便, 比如 steam 的 In-Home Streaming功能,如果处于锁屏状态,那么我们只能看到安全桌面, 而不是游戏串流画面,那么有没有办法可以在退出远程登录时不锁定屏幕呢
继续阅读At times, we need to run some batch files which require administrator privilege. In order to do this, we have to right click the file, then click run as admin. Errors will be shown if we run the batch file directly without elevated privilege. Is there a way to make the batch file elevate itself, if it doesn't have admin privilege?
继续阅读At times, we need to run some batch files which require administrator privilege. In order to do this, we have to right click the file, then click run as admin. Errors will be shown if we run the batch file directly without elevated privilege. Is there a way to make the batch file elevate itself, if it doesn't have admin privilege?
继续阅读很多时候,执行一些需要管理员权限的批处理文件时我们需要右击,然后选择 使用管理员权限运行 后, 批处理文件才能正确运行,如果我们忘记了提升权限而直接运行,这些批处理文件会因为没有权限而报错, 那么有没有办法让批处理文件自己检查权限,并且在没有权限时提示我们是否赋予权限呢
继续阅读MFC is a class library provided by Microsoft, from 1990s, which is pretty convenient to create simple win32 styled GUI apps with the help of visual studio. This article is going to introduce how to create a bitmap button using CBitmapButton
继续阅读MFC is a class library provided by Microsoft, from 1990s, which is pretty convenient to create simple win32 styled GUI apps with the help of visual studio. This article is going to introduce how to create a bitmap button using CBitmapButton
继续阅读MFC 是微软提供的一个类库,以 c++ 的方式封装了 windows API,虽然是一个年代比较久远的工具,但是在 VS 的配合下还是可以很方便的创建一些简单的 win32 风格的应用程序界面,本文介绍了如何使用 MFC 中提供的 CBitmapButton 类来创建一个基于图片的按钮
继续阅读Hello! This is the first post from tricks 1
We will post tricks about digital life, and programming sometimes
继续阅读