- 下载镜像
qinghua mirror setup - 调整镜像位置
/etc/pacman.d/
- 基础配置与安装
msys2 get started
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if pwd | grep /mnt/c > /dev/null; then | |
exec git.exe "$@" | |
else | |
exec /usr/bin/git "$@" | |
fi |
-
First you select development build for Android.(Build Settings-> Android -> check Develop Build box)
-
Here is the guide from Unity doc: https://docs.unity3d.com/Manual/ProfilerWindow.html
-
Before the 'adb forward' you should check the port(34999) first using:
netstat -a -o -n | find "34999"
-
Kill the process that alreay take the port "34999" using:
taskkill /F /PID process_id
-
adb forward --remove-all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global https.proxy http://127.0.0.1:1080 | |
git config --global https.proxy https://127.0.0.1:1080 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
npm config delete proxy |
- HTTP 形式:
git clone https://github.com/owner/git.git
- SSH 形式:
git clone [email protected]:owner/git.git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**/.vs | |
**/Library | |
**/obj | |
**/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using Debug = UnityEngine.Debug; | |
namespace Locality | |
{ | |
class ProcessHelper | |
{ | |
public static int RunWinCmd(string cmd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--helper funcs | |
function desc(descp,sep,charn) | |
sep=sep or "-" | |
charn= charn or 80 | |
charn= (charn>=#descp) and 80 or #descp | |
leftseps= math.floor((charn-#descp)/2) | |
rightseps= charn-leftseps-#descp | |
writeNChar(leftseps,sep) |
NewerOlder