This file contains hidden or 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
version: 1.0.{build} | |
install: | |
- ps: >- | |
$gitData = ConvertFrom-StringData (git log -1 --format=format:"commitId=%H%nmessage=%s%ncommitted=%aD" | out-string) | |
if ($gitData['message'] -eq "") { $gitData['message'] = "No commit message available for $($gitData['commitid'])" } | |
# View the data with Write-Output @gitData | |
Update-AppveyorBuild @gitData |
This file contains hidden or 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 http.proxy http://127.0.0.1:8087 | |
git config --global https.proxy http://127.0.0.1:8087 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
set_proxy() { | |
git config http.proxy 127.0.0.1:8087 | |
git config https.proxy 127.0.0.1:8087 | |
git config http.sslVerify false |
This file contains hidden or 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
function str2arr(str){ | |
var array_=new Array(); | |
for(var i = 0; i < str.length; ++i){ | |
array_[i]=str.charCodeAt(i);}; | |
return array_; | |
} | |
function hex2arr(str){ | |
var b_=new Uint8Array(); | |
eval("b_=["+str+"]"); |