list indicator - l1 - ○
list indicator - l2 - ●
list indicator - l3 - ■
narrow non-break space -
// Reference: https://www.cnblogs.com/hejianchun/articles/3108954.html | |
public class HPBar : MonoBehaviour { | |
public GameObject hpBar; // 获取血条信息。 | |
public GameObject camera; // 获取主摄像机 | |
public Vector3 offset; // 血条和人物坐标的差值,也就是血条在人物的上中方...之类的.这样理解 | |
void Update () { | |
Vector3 relativePos = transform.position - camera.transform.position; | |
Quaternion rotation = Quaternion.LookRotation(relativePos); |
list indicator - l1 - ○
list indicator - l2 - ●
list indicator - l3 - ■
narrow non-break space -
Fix Error unable to start ssh-agent service, error: 1058(xxxx)
win + R, Go To services.msc
Find And Check Is OpenSSH Authentication Agent
Service Running
修复 The system cannot find the path specified
/系统无法找到制定路径
的错误
win + R -> 运行 -> regedit -> 编辑注册表
清空 HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
清空 HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
## Reference: https://stackoverflow.com/questions/45585542/detecting-when-user-scrolls-to-bottom-of-div-with-react-js | |
function isBottom(el) { | |
return el.getBoundingClientRect().bottom <= window.innerHeight; | |
} | |
function trackScrolling() { | |
const wrappedElement = document.querySelector(<target>); | |
if (isBottom(wrappedElement)) { | |
console.log('header bottom reached'); | |
document.removeEventListener('scroll', this.trackScrolling); |
var newSequence = originalSequence.Select(x => {translation}); | |
// OR | |
var newSequence = from x in originalSequence | |
select {translation}; |
var list = new List<string> {"A", "B", "C"}; | |
list.Where(x => x != "A") |
rm /etc/apt/sources.list.d/sources-aliyun* | |
vim /etc/apt/sources.list.d/sources-aliyun-0.list | |
deb http://mirrors.163.com/debian/ jessie main non-free contrib | |
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib | |
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib | |
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib | |
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib | |
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib | |
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib | |
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib |