powershell modifies the path of user profile, and outlook defaults to the path of OST file
In the actual operation and maintenance, the user configuration and outlook default OST file path are on Disk C, which often leads to insufficient space on Disk C, system crash or other problems that result in the inability to access the desktop, documents, favorites and other data under disk C. It's OK to manually cut configuration and config ...
Posted by scm24 on Sun, 26 Apr 2020 08:13:44 -0700
Recovery method of deleted files in Linux system (ext4)
This document gives a method to recover the files deleted by mistake in ext4 file system. The software to be used is extundelete, which has a high recovery success rate for ext4 file system and is worth having!
[root@localhost ~]# rm -Rf / #Execution failed!
rm: stay"/" Recursive operation is very dangerous
rm: Use --no-preserve-root Option ...
Posted by kaje on Sat, 25 Apr 2020 13:20:52 -0700
How to use Python to grab QQ music data (the third play)
[I. project objectives]
adopt How to use Python to grab QQ music data (the first play) We have realized to obtain the song name, album name and play link of the songs with the specified page number in the single ranking of the specified singer of QQ music.
adopt How to use Python to grab QQ music data We have realized to obtain the lyrics of t ...
Posted by markthien on Sat, 25 Apr 2020 13:13:05 -0700
Powershell EWS API delete mixed deployment Office365 and Exchange messages
Environment requirements: Powershell 5.0, plus domain computer
Install EWS API to default locationhttps://www.microsoft.com/en-us/download/details.aspx?id=42951
For permission configuration, add the ApplicationImpersonation role in the Exchange management center of Office365 and the Exchange management center and administrator role, and add ...
Posted by darkfunkel on Sat, 25 Apr 2020 08:09:23 -0700
CreateEvent process synchronization
CreateEvent inter process synchronization
CreateEvent can create or open a named or unnamed event object.
HANDLE CreateEvent(
LPSECURITY_ATTRIBUTES lpEventAttributes, // pointer to security attributes
BOOL bManualReset, // flag for manual-reset event
BOOL bInitialState, // flag for initial state
LPCTSTR lpName // pointer to event-objec ...
Posted by Oaquasis on Sun, 19 Apr 2020 09:42:44 -0700
A lock lock can distinguish the low, medium and high level programmers' ways to deal with problems
When it comes to lock lock, I'm sure you will not use it if you don't have it, and you know how to use it correctly. But let them talk about why they can lock it. They all say that people are divided into groups. There are probably three types of people with low, medium and high levels.
Group 1
Define the lock object as static, so that multiple ...
Posted by chefou on Thu, 16 Apr 2020 09:10:34 -0700
Python 3 uses multiprocessing and multithreading to check network status
Demand setting: The broadband at home is very unstable recently. When the master comes to visit, he always feels that there is a problem. Write a script, every N seconds to connect the network, to see if there is a drop.
Implementation plan: python3, using requests library online, Use the self-contained logging module and write it to the loggi ...
Posted by drdapoo on Wed, 15 Apr 2020 09:45:29 -0700
How to use Redis service in Golang
During development, if there is a need for caching, you may need to add a Redis block to the background. The core package is open-source
github.com/garyburd/redigo
This package provides the connection of redis service and encapsulates various command functions of redis
1. First, install redis service for the comput ...
Posted by agga.gaag on Fri, 10 Apr 2020 08:36:39 -0700
How to use Redis service in Golang
During development, if there is a need for caching, you may need to add a Redis block to the background. The core package is open-source
github.com/garyburd/redigo
This package provides the connection of redis service and encapsulates various command functions of redis
1. First, install redis service for the comput ...
Posted by trilbyfish on Fri, 10 Apr 2020 08:36:20 -0700
On the pit of pop-up dialog in Service
1, Mobile phone version problem, most articles do not cover this point, resulting in their code can not be used normally
Type > Application > overlay required for version M and above
AlertDialog.Builder builder=new AlertDialog.Builder(getApplicationContext()); builder.setTitle("Tips"); builder.setMessage("service Elastic frame"); builder ...
Posted by nagalenoj on Thu, 09 Apr 2020 08:06:19 -0700