小编Pra*_*dav的帖子

挂起git子模块更新

按照官方readme.md在kali 2016.2上安装pupy

克隆pupy来自https://github.com/n1nj4sec/pupy.git

git clone https://github.com/n1nj4sec/pupy.git
Run Code Online (Sandbox Code Playgroud)

更改目录

cd pupy
Run Code Online (Sandbox Code Playgroud)

然后:

git submodule init
Run Code Online (Sandbox Code Playgroud)

更新子模块时

git submodule update
Run Code Online (Sandbox Code Playgroud)

它坚持下去

Cloning into '/root/pupy/pupy/external/LaZagne'...
Run Code Online (Sandbox Code Playgroud)

我等了2个小时但没有任何事情发生,再试一次,但结果相同.

导致子模块更新失败的原因.

git github

6
推荐指数
1
解决办法
580
查看次数

; 预期的第9行colum 45

我从预先编写的项目开发应用程序,同时构建解决方案我得到错误:

;预期 在第9行colum 45

VS IDE为第9行的"=>"添加红色下划线

我正在使用visual studio 2008,我不明白哪里有错.

这是我的代码:

using System;
using System.Net;
using Newtonsoft.Json.Linq;

namespace Main.Tools
{
    internal static class Blockr
    {
        private static string BlockrAddress => "http://btc.blockr.io/api/v1/";
        internal static double GetPrice()
        {
            var request = BlockrAddress + "coin/info/";
        var client = new WebClient();
        var result = client.DownloadString(request);

        var json = JObject.Parse(result);
        var status = json["status"];
        if ((status != null && status.ToString() == "error"))
        {
            throw new Exception(json.ToString());
        }

        return json["data"]["markets"]["coinbase"].Value<double>("value");
    }

    internal static double GetBalanceBtc(string address)
    { …
Run Code Online (Sandbox Code Playgroud)

c# visual-studio

1
推荐指数
1
解决办法
113
查看次数

标签 统计

c# ×1

git ×1

github ×1

visual-studio ×1