- Download latest Miniconda for Python 2.7
https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
-
Open terminal
-
Change to download folder location
https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
Open terminal
Change to download folder location
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <!-- ... --> | |
| <!-- Add this section: --> | |
| <key>CFBundleURLTypes</key> | |
| <array> | |
| <dict> |
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js
| isReading = false; | |
| isWishing = false; | |
| isRead = false; | |
| xmlHttp = new XMLHttpRequest(); | |
| trySyncGoodReads(); | |
| state = document.getElementsByClassName("mr10")[0]; | |
| if (state == undefined) | |
| { |
#前言 由于大家都懂的, 国内使用go get的时候, 经常会各种失败, 如果有vpn的话, 打开vpn, 问题就解决了, 但vpn其实挺不灵活的.
相对来说shadowsock则灵活得多.
#解决方案 shadowsock + Privoxy
思路就是, 使用shadowsock建立一个本地sock5代理, 但因为go get 需要http代理, 所以需要使用privoxy把sock5代理转为http代理.
| <!doctype html> | |
| <html lang=en> | |
| <head> | |
| <meta charset=utf-8> | |
| <title>Copy To Clipboard Example</title> | |
| </head> | |
| <body> | |
| <input id="txtToCopy" type="text"> | |
| <button id="btnCopy">Copy!</button> |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParentWhen contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
使用公钥私钥来登陆而不是账号密码,公钥私钥需要简单的在本地生成一下。Github 的生成 SSH 公钥私钥的教程:Generating SSH keys
可能需要使用 -i 参数选择一下本地的私钥,一个示例的 ssh 连接如下: