自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (8)
  • 收藏
  • 关注

原创 Android 在Gradle中上传AAR, APK至Maven/FTP的脚本

Android Studio Gradle Maven 上传AAR,APK,JavaDoc,Source在Gradle中上传Android AAR, APK的Maven脚本说明使用方法参数配置实现脚本在Gradle中上传Android AAR, APK的Maven脚本说明用于在构建基于Gradle的Android Application/Library时,向APK/AAR中添加构建信息,打包...

2018-10-16 09:29:39 884 1

原创 Rocky Linux或者Red Hat Enterprise Linux 9 终端乱码

从上图我们可以看到这次不是中文乱码,而是当前终端就是en_US.UTF-8,网上搜索处理的方向和这次遇到的不一样。这个问题网上搜索处理的方法基本上都无效,比如设置LANG,感兴趣的可以查看下面链接。

2023-06-27 15:02:13 568

原创 Ubuntu下创建Android Studio启动图标

Ubuntu下创建Android Studio启动图标问题解决方法脚本问题Linux发行版的Android Studio没有启动图标解决方法直接修改了SmartGit带的一个脚本(add-menuitem.sh),感兴趣的可以下载个smartgit/bin下看看这个脚本。脚本保存下面的脚本到android-studio-2020.3.1.25-linux/android-studio/bin目录下面,名称随意,当然可以直接还叫 add-menuitem.sh ,在当前目录打开终端执行下就好了,顺

2021-11-27 22:41:34 2128

原创 修复MacOS Big Sur 下 Android模拟无法运行

修复MacOS Big Sur 下 Android模拟无法运行系统版本:MacOS Big Sur 11.3Android emulator版本:30.5.5表现系统升级后Android模拟器无法运行,通过命令行启动模拟器运行报错如下:% emulator -feature HVF -avd Pixel_2_API_29 handleCpuAcceleration: feature check for hvfemulator: INFO: QtLogger.cpp:68: Warn

2021-04-28 15:48:20 1770 2

OAuth 2.0 协议

OAuth 2.0 授权框架

2018-09-29

MQTT V3.1协议规范.docx

MQTT V3.1协议规范 MQ 遥测传输 (MQTT) 是轻量级基于发布/订阅模型的消息传输协议,设计思想是开放、简单、轻量、易于实现。这些特点使它适用于受限环境

2018-09-29

VMware Unlocker for OS X 2.0.4

Mac OS X Unlocker for VMware V2.0 ================================= 1. Introduction --------------- Unlocker 2 is designed for Workstation 11, Player 7 and Fusion 7. If you are using an earlier product please continue using Unlocker 1 Version 2 has been tested against: * Workstation 11 on Windows and Linux * Player 7 on Windows and Linux * Fusion 7 on Mavericks and Yosemite * (Currently is does not work on ESXi 6.0) The patch code carries out the following modifications dependent on the product being patched: * Fix vmware-vmx and derivatives to allow Mac OS X to boot * Fix vmwarebase .dll or .so to allow Apple to be selected during VM creation * A copy of the latest VMware Tools for OS X is included Note that not all products recognise the darwin.iso via install tools menu item. You will have to manually mount the darwin.iso for example on Workstation and Player. The vmwarebase code does not need to be patched on OS X so you will see a message on those systems telling you that it will not be patched. In all cases make sure VMware is not running, and any background guests have been shutdown. The code is now Python as it makes the Unlocker easier to run and maintain on ESXi. There are some challenges to write the code as ESXi has a subset of Python 2.7 which constrains some modules that can be used. 2. Prerequisites ---------------- The code requires Python 2.7 to work. Most Linux distros and OS X ship with a compatible Python interpreter and should work without requiring any additional software. Windows has a packaged version of the Python script using PyInstaller, and so does not require Python to be installed. 3. Limitations -------------- The Unlocker currently does not work on ESXi 6. Work continues to find solutions to the limitations. 4. Windows ---------- On Windows you will need to either run cmd.exe as Administrator or using Explorer right click on the command file and select "Run as administrator". win-install.cmd - patches VMware win-uninstall.cmd - restores VMware 5. Linux --------- On Linux you will need to be either root or use sudo to run the scripts. You may need to ensure the Linux scripts have execute permissions by running chmod +x against the 2 files. lnx-install.sh - patches VMware lnx-uninstall.sh - restores VMware 6. Mac OS X ----------- On Mac OS X you will need to be either root or use sudo to run the scripts. This is really only needed if you want to use client versions of Mac OS X. You may need to ensure the OS X scripts have execute permissions by running chmod +x against the 2 files. osx-install.sh - patches VMware osx-uninstall.sh - restores VMware 7. Notes -------- +-----------------------------------------------------------------------------+ | IMPORTANT: | | ========== | | | | If you create a new VM using version 11 hardware VMware will stop and | | create a core dump.There are two options to work around this issue: | | | | 1. Change the VM to be HW 10 - this does not affect performance. | | 2. Edit the VMX file and add: | | smc.version = "0" | | | +-----------------------------------------------------------------------------+ To remove the check for server versions for OS X Leopard and Snow Leopard (10.5 and 10.6) you must use a replacement EFI firwmare module from the firmware folder. If you are using a 32-bit installation of OS X: 1. Copy efi32-srvr.rom to guest folder. 2. Edit the vmx file and add: efi32.filename = "efi32-srvr.rom" If you are using a 64-bit installation of OS X: 1. Copy efi64-srvr.rom to guest folder. 2. Edit the vmx file and add: efi64.filename = "efi64-srvr.rom" 8. Thanks --------- Thanks to Zenith432 for originally building the C++ unlocker and Mac Son of Knife (MSoK) for all the testing and support. History ------- 12/12/14 2.0.0 - First release 13/13/14 2.0.1 - Removed need for Python for Windows 13/13/14 2.0.2 - darwin.iso was missing from zip file 02/01/15 2.0.3 - Added EFI firmware files to remove Server check - Refactored Python code 07/01/15 2.0.4 - Added View USB Service to Windows batch files - Fixed broken GOS Table patching on Linux (c) 2011-2015 Dave Parsons What's New in Version 2.0.4 (See full changelog) 12/12/14 2.0.0 - First release 13/13/14 2.0.1 - Removed need for Python for Windows 13/13/14 2.0.2 - darwin.iso was missing from zip file 02/01/15 2.0.3 - Added EFI firmware files to remove Server check - Refactored Python code 07/01/15 2.0.4 - Added View USB Service to Windows batch files - Fixed broken GOS Table patching on Linux

2015-03-24

VMware Unlocker for OS X 1.3.0

Mac OS X Unlocker for VMware ============================ 1. Introduction --------------- The package is a combination of the Unlocker code written by Zenith432 plus some fixes and scripts written by myself that wrap the actual unlocker code. It has been tested against: * Workstation 8/9/10 on Windows and Linux (32 & 64-bit versions) * Player 4/5/6 on Windows and Linux (32 & 64-bit versions) * Fusion 4/5/6 on Snow Leopard, Lion, Mountain Lion and Mavericks * ESXi 5.0/5.1/5.5 The patch code carries out the following modifications dependent on the product being patched: * Fix vmware-vmx and derivatives to allow Mac OS X to boot * Fix vmwarebase .dll or .so to allow Apple to be selected during creation * Copy darwin.iso if needed to VMware folder Note that not all products recognise the darwin.iso via install tools menu item. You will have to manually mount the darwin.iso for example on Workstation. Also Player is missing vmware-vmx-debug and vmware-vmx-stats files and so an error is shown during patching as the files are not found. This can be safely ignored. OS X guests on ESXi patched hosts cannot be controlled from vCenter, only from the ESXi host itself. This means power operations have to be run directly on the server. The vmwarebase code does not need to be patched on ESXi or OS X so you will see a message on those systems telling you that it will not be patched. In all cases make sure VMware is not running, and any background guests have been shutdown. 2. Windows ---------- On Windows you will need to either run cmd.exe as Administrator or using Explorer right click on the command file and select "Run as administrator". install.cmd - patches VMware and copies darwin.iso tools image to VMware uninstall.cmd - restores VMware and removes darwin.iso tools image from VMware 3. Linux --------- On Linux you will need to be either root or use sudo to run the scripts. You may need to ensure the contents of the linux folder have execute permissions by running chmod +x against the 4 files. install.sh - patches VMware and copies darwin.iso tools image to VMware uninstall.sh - restores VMware and removes darwin.iso tools image from VMware 4. Mac OS X ----------- On Mac OS X you will need to be either root or use sudo to run the scripts. This is really only needed if you want to use client versions of Mac OS X. You may need to ensure the contents of the osx folder have execute permissions by running chmod +x against the 3 files. install.sh - patches VMware uninstall.sh - restores VMware 5. ESXi ------- You will need to transfer the zip file to the ESXi host either using vSphere client or SCP. Once uploaded you will need to either use the ESXi support console or use SSH to run the commands. Use the unzip command to extract the files. <<< WARNING: use a datastore volume to run the scripts >>> Please note that you will need to reboot the host for the patches to become active. The patcher is embbedded in a shell script local.sh which is run at boot from /etc/rc.local.d. You may need to ensure the contents of the esxi folder have execute permissions by running chmod +x against the 3 files. install.sh - patches VMware uninstall.sh - restores VMware Note: 1. System should have a persistent scratch partition - should be OK except for stateless and USB boot on drives less than 4GB http://kb.vmware.com...ernalId=1033696 http://www-01.ibm.co...id=isg3T1013015 http://www.vreferenc...ch-persistence/ 2. Any changes you have made to local.sh will be lost. If you have made changes to that file, you will need to merge them into the supplied local.sh file. 3. This option runs at boot time to patch the releavant files and it now survives an upgrade or patch to ESXi as local.sh is part of the persisted local state. 6. Zenith432's Unlocker ----------------------- In all cases the unlocker can be run without the scripts but you would need to carry out additional actions which the scripts encapsulate for you especially on ESXi. If you want to run the unlocker directly the parameters are: Usage: Unlocker [-h] [-u] [target_directory] -h: print help -u: remove the patch target_directory: customize location of vmx executables On all platforms you must run it with administrator or root privileges. The source code is provided and Zenith432 makes it freely available for modification. I have modified the code and it is available as per Zenith432's original statement. Thanks to Zenith432 for building the unlocker and Mac Son of Knife for all the testing and support. History ------- 11/10/11 1.0.0 - First release 07/11/11 1.0.1 - Fixed typo in Windows command files 07/12/11 1.0.2 - Updated patcher and tools for latest release WKS 8.0.1 & FUS 4.1.1 10/05/12 1.1.0 - Changed the patching mechanism for vmwarebase .dll or .so & tested against ESXi 5.0 U1 and Tech Previews. 13/07/13 1.1.1 - Changed ESXi scripts to ensure not deleting root /bin folder - Fixed vmwarebase patching on 32-bit Linux - Some other code clean-up in Unlocker.cpp 18/09/13 1.2.0 - Updated vmwarebase pattern matching for WKS 10.0.0 & FUS 6.0.0 25/03/14 1.3.0 - New method to run patcher on ESXi - Fixes crashes when using vCenter - Tested against ESXi 5.5 - Darwin guest tools from Fusion 6.0.2 - Zip file preserves file attributes for Posix based systems © 2011-2014 Dave Parsons

2014-09-19

《SQL 参考手册》中文版 .chm

《SQL 参考手册》中文版 .chm 用于sql编程参考,

2010-01-18

css中文完全手册css中文完全手册

css参考手册.chm css中文完全手册 网页制作,美化网页 css中文完全手册css中文完全手册

2010-01-18

mysql-5.1 中文手册

MySQL 的必备工具,在MySQL数据库开发中你一定用得到

2009-12-12

SLIC_Dump_TooKit

SLIC检验工具 可以查看本机的slic表,以及证书等信息

2009-11-26

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除