自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

rthero的博客

一个小学生

  • 博客(7)
  • 资源 (2)
  • 收藏
  • 关注

原创 对于自己有用的资料合集整理

tensorflow机器学习术语表:https://developers.google.cn/machine-learning/glossary/?hl=zh-CN

2018-04-24 14:34:57 110

原创 vim设置tab等于4个空格,以及vim设置显示行号

命令行输入 vim ~/.vimrc 打开配置文件后写入:set ts=4set nu完成后按Esc  : wq 退出即可

2018-04-24 15:37:10 236

原创 计蒜客刷题之5:矩阵翻转 Python

Python3 实现lines, column, diration = input().strip('').split(' ')lines = int(lines)column = int (column)diration = int (diration)#创建对应行列的二维数组(矩阵)matrix = [[0 for i in range(column)]for i in rang...

2018-04-22 22:25:27 456

原创 计蒜客刷题之4:判断质数 Python

对于大于 11 的数,如果除了 11 和它本身,它不能再被其它正整数整除,那么我们说它是一个质数。晓萌想判断一个数是不是质数,希望找你写个程序,帮助她进行判断。输入格式输入包括一行,为一个整数 N(1<N≤1000),正是晓萌给出你让你判断的数字。输出格式输出包括一行,如果晓萌给出的整数 N为质数,那么输出YES;如果 N 不是质数,那么输出NO。n = int(input())val =...

2018-04-22 18:49:53 239

原创 计蒜客刷题之3:整除问题 Python

判断一个数是否能被另一个整数整除是一个挺简单的问题,一般一个模运算就可以搞定了,懒惰的晓萌还是不想自己做,于是找到你帮他写代码,你就帮帮他吧。输入格式输入包括两个由空格分开的整数 M 和 N(1≤M,N≤500)。输出格式输出包括一行,如果 M 可以被 N整除就输出YES,否则输出NO(结果大小写敏感)。Python3 实现a, b = input().split(' ')if int(b) ...

2018-04-22 17:06:17 427

原创 计蒜客刷题之2:斐波那契数列实现 Python

斐波那契数列是一种非常有意思的数列,由 00 和 11 开始,之后的斐波那契系数就由之前的两数相加。用数学公式定义斐波那契数列则可以看成如下形式:F_0=0F_1=1F_n=F_{n-1}+F_{n-2}我们约定 F_n 表示斐波那契数列的第 n 项,你能知道斐波那契数列中的任何一项吗?输入包括一行,包括一个整数 N(0≤N≤50)输出包括一行,包括一个整数,为斐波那契数列的第 N项的值。Pyth...

2018-04-21 22:53:44 425

原创 计蒜客刷题之1:A+B+C问题 Python+Java

这是一个非常简单的题目,意在考察你编程的基础能力。千万别想难了哦。输入为一行,包括了用空格分隔的三个整数 A、B、C(数据范围均在-40 ~ 40 之间)。输出为一行,为“A+B+C”的计算结果。Python3实现sum = 0for n in input().split(' '): sum = sum + int(n) print(sum)Java语言实现:import ja...

2018-04-21 21:20:39 265

廖雪峰python3教程

廖雪峰python3教程,PDF,可以离线看,减少上网的麻烦

2018-05-07

unlocker211

在vmvare中安装macOS所需的破解工具。正版,前csdn上文件有错。 macOS Unlocker for VMware V2.1 ============================== +-----------------------------------------------------------------------------+ | IMPORTANT: | | ========== | | | | Always uninstall the previous version of the Unlocker before using a new | | version. Failure to do this could render VMware unusable. | | | +-----------------------------------------------------------------------------+ 1. Introduction --------------- Unlocker 2 is designed for Workstation 11/12/14, Player 7/12/14, and Fusion 7/8/10. If you are using an earlier product please continue using Unlocker 1. Version 2 has been tested against: * Workstation 11/12/14 on Windows and Linux * Workstation Player 7/12/14 on Windows and Linux * Fusion 7/8/10 on macOS Sierra The patch code carries out the following modifications dependent on the product being patched: * Fix vmware-vmx and derivatives to allow macOS to boot * Fix vmwarebase .dll or .so to allow Apple to be selected during VM creation * Download a copy of the latest VMware Tools for macOS 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 11 and Player 7. The vmwarebase code does not need to be patched on macOS systems 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 written in Python as it makes the Unlocker easier to run and maintain on ESXi. 2. Prerequisites ---------------- The code requires Python 2.7 to work. Most Linux distros and macOS ship with a compatible Python interpreter and should work without requiring any additional software. Windows Unlocker has a packaged version of the Python script using PyInstaller, and so does not require Python to be installed. 3. Limitations -------------- If you are using VMware Player or Workstation on Windows you may get a core dump. Latest Linux products are OK and do not show this problem. +-----------------------------------------------------------------------------+ | IMPORTANT: | | ========== | | | | If you create a new VM using version 11, 12 or 13 hardware VMware may 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" | | | +-----------------------------------------------------------------------------+ 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 win-update-tools.cmd - retrieves latest macOS guest tools 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 lnx-update-tools.cmd - retrieves latest macOS guest tools 6. macOS -------- On macOS 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 macOS. You may need to ensure the macOS scripts have execute permissions by running chmod +x against the 2 files. osx-install.sh - patches VMware osx-uninstall.sh - restores VMware 7. ESXi ------- ESXi is no longer supported as there are too many errors on newer versions due to VMware hardening the ESXi image. 8. Thanks --------- Thanks to Zenith432 for originally building the C++ unlocker and Mac Son of Knife (MSoK) for all the testing and support. Thanks also to Sam B for finding the solution for ESXi 6 and helping me with debugging expertise. Sam also wrote the code for patching ESXi ELF files and modified the unlocker code to run on Python 3 in the ESXi 6.5 environment. History ------- 10/10/17 2.1.0 - New version to support ESXi 6.5, Workstation/Player 14 and Fusion 10 - Removed support for ESXi 6.0 - Added ESXi boot option to disable unlocker (nounlocker) 11/10/17 2.1.1 - Removed all support for ESXi 6.x (c) 2011-2017 Dave Parsons

2018-04-29

空空如也

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

TA关注的人

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