Resolving duplicate serial numbers for macOS Virtual Machines.
Nishizhen | 杂七杂八 | 2019-05-20
Some Virtual Machines will use the serial number of the host computer as the VM serial number. This causes an issue with Watchman Monitoring, which will report the VM as a duplicate record. Modifying the serial number with the steps detailed below will eliminate the duplicate computer record and prompting in your Watchman Mo... [阅读全文]
修改Gradle的Maven镜像地址
Nishizhen | C#JavaWebLinuxPhpSqlDelphiRorAndroidFlex, 杂七杂八 | 2016-03-15
allprojects{
repositories {
def REPOSITORY_URL = 'http://maven.oschina.net/content/groups/public'
all { ArtifactRepository repo ->
if(repo instanceof MavenArtifactRepository){
def url = repo.url.toString()
if (url.startsWith('https://repo1.maven.org/mave... [阅读全文]
锂离子电池介绍 (包含充放电特性和判断方法)
Nishizhen | 杂七杂八 | 2016-01-20
1. 锂离子电池介绍
1.1 荷电状态 (State-Of-Charge;SOC)
荷电状态可定义为电池中可用电能的状态,通常以百分比来表示。因为可用电能会因充放电电流,温度及老化现象而有不同,所以
荷电状态的定义也区分为两种:绝对荷电状态(Absolute State-Of-Charge;ASOC)及相对荷电状态(Relative State-Of-Charge;
RSOC)。通常相对荷电状态的范围是 0% ... [阅读全文]
Angular中$http异步请求, 当请求结束使用返回值的办法~
Nishizhen | Web技术 | 2015-02-10
from:https://docs.angularjs.org/api/ng/service/$q
使用$q解决异步问题。
// for the purpose of this example let's assume that variables `$q` and `okToGreet`
// are available in the current lexical scope (they could have been injected or passed in).
function asyncGreet(name) {
var deferred = $q.defer();
setTimeout... [阅读全文]
让AngularJS的$http像jQuery.ajax()一样提交数据
Nishizhen | Web技术 | 2015-02-09
From:http://victorblog.com/2012/12/20/make-angularjs-http-service-behave-like-jquery-ajax/
把json变换为param形式数据提交
// Your app's root module...
angular.module('MyModule', [], function($httpProvider) {
// Use x-www-form-urlencoded Content-Type
$httpProvider.defaults.headers.post['Content-Type'] = 'applicat... [阅读全文]
[转]Linux软RAID的技术概要及实现
Nishizhen | Linux | 2014-10-17
1 什么是RAID,RAID的级别和特点 ;
什么是RAID呢?全称是 “A Case for Redundant Arrays of Inexpensive Disks (RAID)”,在1987年,由加州大学伯克利大学发表的论文而来,其实就是这个标题的缩写就是RAID;中译为“磁盘阵列”;
RAID就是把几个物理磁盘组合在一起成为一个大的虚拟物理磁盘,主要目的和用途主要有:把若干小容量物理磁盘组成一个大容量虚... [阅读全文]
敏捷文档编制路线图
Nishizhen | 软件工程 | 2014-07-30
作者 Ester F. Gonçalves ,译者 李清玉 发布于 2014年7月29日
来源:http://www.infoq.com/cn/articles/roadmap-agile-documentation?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
介绍一下我的朋友Jane和John。
John是一家大型公司的长期分析师,负责捕获新的软件产品及现有软件产品的需求... [阅读全文]
LaTeX新人教程,30分钟从完全陌生到基本入门
Nishizhen | 杂七杂八 | 2014-07-17
LaTeX新人教程,30分钟从完全陌生到基本入门
by Nan
对于真心渴望迅速上手LaTeX的人,可以只看正文。
曾经在缝缝补补中变得长长的“前言”被我丢到了正文后面当“后记”。
后记部分可以跳过不看或只看粗体。
=============================================
下面是教程正文。(正文最后应大家要求增添了附录)
注: 文章里的代码我自己测试是可... [阅读全文]
Microsoft Security Essentials 更新失败解决方法
Nishizhen | Windows | 2013-10-30
Microsoft Security Essentials 会自动配合 Microsoft Update 确保将您的病毒和间谍软件定义始终保持在最新状态。
症状
关于自动更新的一些常见问题:
出现错误消息,指出更新失败。
当您检查寻找更新时,出现错误消息,指出无法检查、下载或安装病毒和间谍软件定义更新。
即便您已连接 Internet,依然无法更新。
无法按照计划自动安装更新。
原因
更... [阅读全文]
最新评论(Recent Comments):