- Noise: Unity editor has lots of temporary files that we don’t want git to track
- Broken object references: Unity keeps track of objects created by using random GUIDs, and if they aren’t tracked using .meta files then there can be conflicts that really break your project
- Unresolvable merge conflicts: files like scene files that are written in confusing languages (like YAML) that are supposed to be translations of Unity editor actions into code. Most likely, you cannot resolve using Git, and the only way to resolve merge conflicts is to open it in a text editor and resolve them manually while hoping you don't mess anything up because these files are confusing and not meant to be manipulated directly.
- Large files: Sometimes assets are large and take up a lot of storage space
- 欧版 Bootloader 可以直接解锁,美版里V版不行,需要找奸商解锁。
- 其实只要 1)解锁 Bootloader,2)按照 ex. 刷入 modemst,就可以完成电信破解(已测试 Android 8.1)。
- 暂时不清楚 modemst 是否是各版本通用的。
解锁教程:http://bbs.gfan.com/android-8404948-1-1.html
platform-tools 地址: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
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
#!/usr/bin/bash | |
DIR=/path/to/www/public | |
DATA=/path/to/pms5003.rrd | |
TIME=$1 | |
time=$(date '+%H\:%M\:%S') | |
rrdtool graph $DIR/pm-$TIME.svg \ | |
--imgformat SVG \ |
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
int Kmp(const std::string& a, const std::string& b) { | |
if (b.empty()) { | |
return 0; | |
} | |
int n = (int)b.size(); | |
std::vector<int> p(n); | |
if (n > 1) { | |
p[1] = 0; | |
} | |
for (int i = 2, j = 0; i < n; i++) { |
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
import os | |
import upyun | |
from progressbar import * | |
# http://stackoverflow.com/questions/1192978/python-get-relative-path-of-all-files-and-subfolders-in-a-directory | |
myFolder = "/podcast/pod/podcasts/" | |
os.chdir(myFolder) | |
fileSet = set() |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.