Author Archives: Robins

docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled

sudo docker run hello-world
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See ‘docker run –help’.
Modify docker image source:
The default source of Docker is foreign official source, the download speed is slow, can be changed to domestic, speed up
Plan a
Modify or add /etc/docker/daemon.json
# vi /etc/docker/daemon.json
{
“registry-mirrors”: [“http://hub-mirror.c.163.com”]
}
systemctl restart docker.service
Scheme 2
Modified or new/etc/sysconfig/docker, additional parameters after the OPTIONS variable – registry-mirror=https://docker.mirrors.ustc.edu.cn
# vi /etc/sysconfig/docker
OPTIONS=’–selinux-enabled –log-driver=journald –registry-mirror=https://docker.mirrors.ustc.edu.cn’
Domestic source description of Docker:
Docker official China
https://registry.docker-cn.com
netease
http://hub-mirror.c.163.com
University of Science and Technology of China
https://docker.mirrors.ustc.edu.cn
Ali cloud
https://pee6w651.mirror.aliyuncs.com
Finally, I solved the problem with the following solution:
Into the/etc/docker
Check for daemon.JSON. This is the default configuration file for Docker.
If it is not new, if it is, change it.
Json
[root@zengmg docker]# vi daemon. Json
{
“registry-mirrors”: [“https://registry.docker-cn.com”,”http://hub-mirror.c.163.com”]
}
Save exit.

restart the docker service
service docker restart
Success!
 

MacOS Mojave uses SMB LAN share as backup disk of timemachine time machine. Disk does not support time machine backups. (error 45)

Refer to the tutorial on the Web and use disk Tools to create a “sparse Disk image” in the Shared folder, then use the command to set it to the target disk of the TimeMachine.

sudo tmutil setdestination -a /Volumes/SMBTimeMachine

But the error:

/Volumes/SMBTimeMachine: Disk does not support Time Machine backups. (error 45)
The backup destination could not be added.

For a long time, Google did not find a solution, but finally found a solution sharing method with Apple’s help, and finally solved it smoothly:
1, use the command line tool to create a “sparse binding disk image”, not “Disk Tools”, I tried using “Disk Tools” still does not work, there is no problem with the command line.

sudo hdiutil create -size 260g -type SPARSEBUNDLE -nospotlight -volname "SMBTimeMachine" -fs "Case-sensitive Journaled HFS+" -verbose /Volumes/yanghl/HaiLong_Mac_TimeMachine.sparsebundle

“SMBTimeMachine” is the label of the newly created disk image, followed by the path saved to the disk image file, “-size 260g” is the size of the disk image, these parameters can be changed.
command run output reference:

Initializing...
Creating...
DIDiskImageCreatorProbe: interface  1, score     1000, CSparseBundleDiskImage
DIDiskImageCreatorProbe: interface  2, score    -1000, CSparseDiskImage
DIDiskImageCreatorProbe: interface  3, score    -1000, CRawDiskImage
DIDiskImageCreatorProbe: interface  7, score    -1000, CWOUDIFDiskImage
DIDiskImageCreatorProbe: interface  9, score    -1000, CCFPlugInDiskImage
DIDiskImageCreateWithCFURL: CSparseBundleDiskImage
CBSDBackingStore::createProbe directory, not a valid image file.
DIBackingStoreCreatorProbe: interface  0, score    -1000, CBSDBackingStore
DIBackingStoreCreatorProbe: interface  1, score     1000, CBundleBackingStore
DIBackingStoreCreatorProbe: interface  2, score        0, CRAMBackingStore
DIBackingStoreCreatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreCreatorProbe: interface  5, score     -100, CCURLBackingStore
DIBackingStoreCreateWithCFURL: CBundleBackingStore
DIFileEncodingCreatorProbe: interface  2, score    -1000, CEncryptedEncoding
DIBackingStoreCreatorProbe: interface  0, score      100, CBSDBackingStore
DIBackingStoreCreatorProbe: interface  1, score    -1000, CBundleBackingStore
DIBackingStoreCreatorProbe: interface  2, score        0, CRAMBackingStore
DIBackingStoreCreatorProbe: interface  3, score      100, CCarbonBackingStore
DIBackingStoreCreatorProbe: interface  5, score     -100, CCURLBackingStore
DIBackingStoreCreateWithCFURL: CBSDBackingStore
DIBackingStoreCreateWithCFURL: creator returned 0
DIBackingStoreCreateWithCFURL: creator returned 0
DIDiskImageCreateWithCFURL: creator returned 0
DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000007 seconds
Formatting...
near completion...
created: /Volumes/yanghl/HaiLong_Mac_TimeMachine.sparsebundle
hdiutil: create: returning 0

2. When finished, find the disk image file in the Finder and double-click to load it. Then use the command:

sudo tmutil setdestination -a /Volumes/SMBTimeMachine/

3. The command was successfully executed without any output. Go to system Settings -& GT; “TimeMachine”, you can see that “SMBTimeMachine” has been set as the target disk.
This should allow the TimeMachine to proceed normally.
Note: It is currently found that this method must be backed up all at once. If the backup is interrupted, the SparseBundle disk image, once unmounted, can no longer be loaded because the file is incomplete and cannot be reloaded without a backup

The article published at the same time in my Jane books: https://www.jianshu.com/p/9f56587af82c

Provider: SQL network interfaces, error: 25 http://www.itsvse.com/thre


SQL 2008 R2 prompts for error (Provider: SQL Network Interfaces, Error: 25 – Connection string is invalid)

This is my first link string, so it doesn’t seem wrong

string strConn = “server=ip:1433; database=db; uid=sa; pwd=123456;”

Finally, I found that the port after IP is not separated by:, but separated by:, so the correct way to write it is:

string strConn = “server=ip,1433; database=db; uid=sa; pwd=123456;”

– this article from the architect, the original address: http://www.itsvse.com/thread-1732-1-1.html

A new virtual machine cannot be connected to the network (error fetching interface information device not found),

After virtual machine cloning, it was found that the network could not be connected. The network was connected by bridge mode.

network card validates service network restart
Report error Interface information device not found

check the MAC address of two virtual machines is different, this is ok.

Google last error interface information device not found
detected a place in the file vim /etc/udev/rules.d/70-persistent net-net

has two lines. The first line is the network card Settings of the original virtual machine and the second is the network card Settings of the cloned machine. Remove the first line and change it to eth0.
After modification and preservation,
reboot,
B: Ping www.baidu.com will do.
Because of eth0 network configuration elsewhere.


About how to solve the 8050800c error when Windows Update updates the definition of Windows Defender

Description:
Under Windows 7 X64, when using Windows Update to Update the system, the relevant Update defined by Windows Defender malware could not be installed, and 8050800C error was always returned. At this point, when Windows Defender updates the definition, he will also report that the definition cannot be updated.
Solutions:
The following solution source: https://social.technet.microsoft.com/Forums/en-US/7b44be83-8a2e-4e3e-a851-cbc3076e4817/error-8050800c?forum=w7itprosecurity
1. Save the following as a batch file and run it in administrator mode:

@echo off

net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc

Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
Ren %systemroot%\system32\catroot2 catroot2.bak
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
cd /d %windir%\system32
regsvr32.exe atl.dll /s
regsvr32.exe urlmon.dll /s
regsvr32.exe mshtml.dll /s
regsvr32.exe shdocvw.dll /s
regsvr32.exe browseui.dll /s
regsvr32.exe jscript.dll /s
regsvr32.exe vbscript.dll /s
regsvr32.exe scrrun.dll /s
regsvr32.exe msxml.dll /s
regsvr32.exe msxml3.dll /s
regsvr32.exe msxml6.dll /s
regsvr32.exe actxprxy.dll /s
regsvr32.exe softpub.dll /s
regsvr32.exe wintrust.dll /s
regsvr32.exe dssenh.dll /s
regsvr32.exe rsaenh.dll /s
regsvr32.exe gpkcsp.dll /s
regsvr32.exe sccbase.dll /s
regsvr32.exe slbcsp.dll /s
regsvr32.exe cryptdlg.dll /s
regsvr32.exe oleaut32.dll /s
regsvr32.exe ole32.dll /s
regsvr32.exe shell32.dll /s
regsvr32.exe initpki.dll /s
regsvr32.exe wuapi.dll /s
regsvr32.exe wuaueng.dll /s
regsvr32.exe wuaueng1.dll /s
regsvr32.exe wucltui.dll /s
regsvr32.exe wups.dll /s
regsvr32.exe wups2.dll /s
regsvr32.exe wuweb.dll /s
regsvr32.exe qmgr.dll /s
regsvr32.exe qmgrprxy.dll /s
regsvr32.exe wucltux.dll /s
regsvr32.exe muweb.dll /s
regsvr32.exe wuwebv.dll /s


netsh winsock reset

netsh winhttp reset proxy

net start bits
net start wuauserv
net start appidsvc
net start cryptsvc



wuauclt /Updatenow

2. Manually download from here the latest definition library for the corresponding native system version of Windows Defender to install. Note: it is normal for downloaded files to run without any prompt.
3. Manually download the corresponding local system version of KB3177467 patch from here for installation.
4. Manually download the Windows Update troubleshooter from here and run it until it runs out.
5. After running all the above steps, restart the computer.
6. Open Windows Update in the control panel and repeatedly check for updates until no updates are available

Attempted import error: ‘mobx-react‘ does not contain a default export (imported as ‘observer‘).

We introduced this one here in the React

import observer from "mobx-react"
@observer

The following error is then reported:
Mobx-react ‘does not contain a default export (imported as’ observer’).
Let me put curly braces, and I’ll do it like this

 import {observer from} "mobx-react"
@observer

You won’t get an error

Error checking for updates: unable to start update checking (error code is 4:0x80070005 – system level)

Update check cannot be started (error code: 4: 0x80070005 — System level). It is likely that the Chrome update service has been disabled, so I need to adjust to manual boot.
The

run

Win + R

open

services. MSC

Google Update Service (Gupdatem), Google Update Service (GupDate)
Go to Google Update Service (Gupdatem), Google Update Service (GupDate), change to manual, and then go to update Chrome.
Transfer: http://xiedexu.cn/chrome-update-error-code-4-0x80070005-system-level%EF%BC%89.htm

Reproduced in: https://www.cnblogs.com/itxdm/p/check_update_error_unable_to_start_the_update_inspection_error_code_40_x80070005__system_level.html

Could not find appears when JDK is configured java.dll Could not find Java se runtime environment problems

Error: could not find java.dll
Error: could not find Java Runtime Environment after installing the JDK before and after installing the new version.
There are two ways to do it

    rename C:\Program Files (x86)\Common Files\Oracle\Java\javapath java.exe put the system variable in the Path of %JAVA_HOME%\bin; Put in front of C:\Program Files (x86)\Common Files\Oracle\Java\javapath

I saw some bloggers who said that 1 didn’t work and 2 worked, but I used 1 and 2 didn’t work, so I could try both

Keil :error: identifier “int8_ T “is undefined

I spent the whole evening looking for mistakes:
Here is the error message:

*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'F:\Keil\ARM\ARMCC\Bin'
Rebuild target 'Target 1'
assembling startup_stm32f10x_hd.s...
compiling system_stm32f10x.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\CMSIS\system_stm32f10x.c: 0 warnings, 6 errors
compiling core_cm3.c...
compiling misc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c: 0 warnings, 6 errors
compiling stm32f10x_adc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c: 0 warnings, 6 errors
compiling stm32f10x_bkp.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c: 0 warnings, 6 errors
compiling stm32f10x_crc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c: 0 warnings, 6 errors
compiling stm32f10x_cec.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_cec.c: 0 warnings, 6 errors
compiling stm32f10x_can.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c: 0 warnings, 6 errors
compiling stm32f10x_dbgmcu.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.c: 0 warnings, 6 errors
compiling stm32f10x_dac.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.c: 0 warnings, 6 errors
compiling stm32f10x_exti.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c: 0 warnings, 6 errors
compiling stm32f10x_dma.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c: 0 warnings, 6 errors
compiling stm32f10x_gpio.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c: 0 warnings, 6 errors
compiling stm32f10x_i2c.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c: 0 warnings, 6 errors
compiling stm32f10x_flash.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c: 0 warnings, 6 errors
compiling stm32f10x_fsmc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_fsmc.c: 0 warnings, 6 errors
compiling stm32f10x_pwr.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_pwr.c: 0 warnings, 6 errors
compiling stm32f10x_iwdg.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_iwdg.c: 0 warnings, 6 errors
compiling stm32f10x_rcc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c: 0 warnings, 6 errors
compiling stm32f10x_rtc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rtc.c: 0 warnings, 6 errors
compiling stm32f10x_spi.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c: 0 warnings, 6 errors
compiling stm32f10x_sdio.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.c: 0 warnings, 6 errors
compiling stm32f10x_tim.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c: 0 warnings, 6 errors
compiling stm32f10x_usart.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c: 0 warnings, 6 errors
compiling main.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\User\main.c: 0 warnings, 6 errors
compiling stm32f10x_wwdg.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c: 0 warnings, 6 errors
compiling stm32f10x_it.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\User\stm32f10x_it.c: 0 warnings, 6 errors
".\Objects\BH-F103.axf" - 156 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:10

I’ve been focusing on the identifier “int8_t” is undefined,
should actually start with the error check on the first line.
is
… H (474): error: #7: unrecognized token
* @}
will be fine once this problem is solved.

PS open prompt AMT subsystem failure solution

Ims Failure when using green version PS open, prompt AMT ims Failure
I do not know why, only after checking can I know that a Service does not turn on
but starts “FLEXnet Licensing Service” Service.
The first step
Right – click [Computer/my computer] to open and enter [Administration].

The second step
Expand services and applications into service management.

The third step
Go to FLEXnet Licensing Service in the Service and click [Start].

The other path
You can open the service by typing the command Services.msc in the run box.
open the control panel and find the administration tool.
open [service] in the admin tool

Git solves pull origin error: the following untracked working tree files would be rewritten by merge

error: The following untracked working tree files would be overwritten by merge:

bin/AndroidManifest. XML

Please move or remove them before you can merge.

Aborting

scheme 1:

git clean-d-fx “”

one of them

x — deleting ignored files is no longer recognized by git

d — deletes files not added to git’s path

F — Forced operation
Scheme 2:

The following error occurred in git pull on the server today:
error: Your local changes to the following files would be overwritten by merge:
application/config/config. PHP
application/controllers/home. PHP
Please, commit your changes or stash them before you can merge.
Aborting
I do not know what causes the code conflict, the solution is as follows:
If you want to keep the changes made on the production server, simply incorporate the new configuration item:
git stash
git pull
git stash pop
You can then use Git diff-w + file names to verify that the code is automatically merged.
If you want to completely overwrite the local working version with files from the code base, do so as follows:
git reset –hard
git pull

Solution 3:

Problem 1: Fix GIT repositories that are out of sync
Appear today when performing git pull:

 
    [root@gitserver /data/work/www/rest/lib/Business/Inventory]# git pull  Enter passphrase for key '/root/.ssh/id_rsa':  Updating 70e8b93..a0f1a6c  error: Your local changes to the following files would be overwritten by merge:          rest/lib/Business/Inventory/ProductStatus.php  Please, commit your changes or stash them before you can merge.  Aborting 

The solution :
executes git checkout-f, and then pulls git checkout again

 
    [root@gitserver /data/work/www/rest/lib/Business/Inventory]# git checkout -f  Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded. 

When git pull is performed, it is ready:

 
    [root@gitserver /data/work/www/rest/lib/Business/Inventory]# git pull  Enter passphrase for key '/root/.ssh/id_rsa':  Updating 70e8b93..a0f1a6c  Fast-forward  rest/lib/Business/Inventory/ProductStatus.php |    1 +   1 files changed, 1 insertions(+), 0 deletions(-)   mode change 100644 => 100755 rest/lib/Business/Inventory/ProductStatus.php 

 
Second problem: the default location of Git Pull.
1. When Git is under the branch of master, the default remote is origin;
2. When using git pull under the master brach, specify remote and merge, use the default remote and merge.

but for your own project, and push to the remote server, there is no such thing, you need to configure yourself.
if you directly run git pull, you will get the following results:
Tips after executing Git Pull:

 
    $ git pull  Password:  You asked me to pull without telling me which branch you  want to merge with, and 'branch.master.merge' in your configuration file does not tell me, either. Please  specify which branch you want to use on the command line and try again (e.g. 'git pull <repository> <refspec>').  See git-pull(1) for details.     If you often merge with the same branch, you may want to use something like the following in your configuration file:     [branch "master"]   remote = <nickname>   merge = <remote-ref>     [remote "<nickname>"]   url = <url>   fetch = <refspec>     See git-config(1) for details. 

The solution is to configure git Config as follows.

 
    git remote add -f origin [email protected]:rest.git  git config branch.master.remote origin  git config branch.master.merge refs/heads/master 

Plan 3 from “ritto ‘s blog” blog, please be sure to keep this from http://ritto.blog.51cto.com/427838/741342