原创 使用Jenkins搭建構建機(一) 部署Jenkins

使用Jenkins的初衷是搭建一臺讓任何人都可以使用的打包機. 1,安裝 從Jenkin下載安裝,我搭建的是Win版本 2,部署基本配置,以及比較方便的插件 安裝完成後可以在瀏覽器中輸入:http://localhost:8080/訪

原创 Mac、Windows下git log中文亂碼

Windows 在cmd中輸入下面命令: git config --global core.quotepath false git config --global gui.encoding utf-8 git config --g

原创 黑羣暉各種問題修正

轉載自https://blog.csdn.net/sachin_woo/article/details/100066529 洗白 首先應明白洗白是否必要,洗白有兩個作用,一是可以使用QuickConnect;二是可以使用Vi

原创 shell 接受鍵盤輸入 read命令

命令 read [options] [var] Key Value -p 指定要顯示的提示 -s 靜默輸入,一般用於密碼 -n # 指定輸入的字符長度最大值# -d ‘字符’ 輸入結束符,當你輸入的內容

原创 通過gradle動態配置版本號

def appVersionName = '0.0.1' def appVersionCode = 1 android { compileSdkVersion 29 buildToolsVersion "29.0.

原创 ios構建 xcode-select: error: tool xcodebuild requires Xcode 錯誤

報錯xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/Command

原创 xcode打包簽名訪問失敗errSecInternalComponent

錯誤信息 xxxxxxxxxxxxxxxxxxxxx errSecInternalComponent 原因 鑰匙串沒有授權,訪問簽名失敗 https://stackoverflow.com/questions/24023639/

原创 pip源修改

pip config list # 查看當前 pip 的配置 pip config set global.index-url http://mirrors.aliyun.com/pypi/simple/ pip config

原创 Python使用RSA進行超長字符串加密 ValueError: Plaintext is too long.錯誤

原文 https://blog.csdn.net/orangleliu/article/details/72964948 問題 使用pycrypto進行rsa加密解密,padding模式是RSA_PKCS1_PADDING,加

原创 Python正則表達式:只要整數和小數

def isNumReg(str): regInt='\d+'#能匹配123、123.63、123eabd、abc236等所有包含了數字的字符串 regInt2='\d+$'#能匹配123、123.63、abc23

原创 c#中使用python語法的正則表達式.

轉載請註明出處:http://blog.csdn.net/zxsean 因爲項目需求,現在需要在c#中使用python的正則,最開始採用的方法是ironpython. 但是在ios上面編譯無法通過.好在ironpython是一個開源項目

原创 [Unity3d][NGUI] NGUI所見即所得之UIRoot

原文地址:http://dsqiu.iteye.com/blog/1964679   UIRoot是NGUI最根本和最重要的腳本,在實際UI開發過程中都是以UIRoot爲根的GameObject樹,那他的作用到底是什麼,先看下UIR

原创 覆蓋拷貝文件夾

/// <summary> /// 將整個文件夾複製到目標文件夾中。 /// </summary> /// <param name="srcPath">源文件夾</param> /// <param

原创 [Unity3d][NGUI]打包NGUI預製件成Assetbundle 兩種思路.

接上文,項目中因爲需要UI熱更新,所以我使用了AssetBundle這個解決方案. 一般來說,我們使用AssetBundle生成資源包常用的方案是如下這麼用: using UnityEngine; using UnityEditor;

原创 使用Jenkins搭建構建機(二) Unity構建接口

上一文講解了Jenkins的基本配置 這裏開始講解如何在Unity中實現構建函數 我項目中使用的打包命令 -quit -batchmode -projectPath ${WORKSPACE} -logFile ${WORKSPACE}\