ERROR: Could not find a valid gem ‘redis‘ (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (https://rubygems.org/latest_specs.4.8.gz)
Error fetching http://ruby.taobao.org/:
server did not return a valid file (http://ruby.taobao.org/specs.4.8.gz)
Error fetching https://rubygems.org:
SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (https://rubygems.org/specs
分类:
其他好文 时间:
2020-03-06 19:44:22
阅读次数:
72
``` cpp#include using namespace std;#define int long long// Input: n,x[],y[]// Method: solve(x)// Output: f(x) (returned)namespace lag {const int N=20... ...
分类:
其他好文 时间:
2020-02-24 15:31:45
阅读次数:
75
报错如下: [*] Bundler failed to load and returned this error: 'cannot load such file -- bundler/setup'[*] You may need to uninstall or upgrade bundler 解决如 ...
分类:
其他好文 时间:
2020-02-23 13:09:47
阅读次数:
123
/** * Note: The returned array must be malloced, assume caller calls free(). */ int* decompressRLElist(int* nums, int numsSize, int* returnSize){ if ( ...
分类:
其他好文 时间:
2020-02-03 10:05:20
阅读次数:
86
在用apt-get安装软件包的时候遇到E: Sub-process /usr/bin/dpkg returned an error code (1)问题,解决方法如下: cd /var/lib/dpkg/ sudo mv info/ info_bak # 现将info文件夹更名 sudo mkdir ...
分类:
其他好文 时间:
2020-02-02 22:06:05
阅读次数:
105
Given a string s. Return all the words vertically in the same order in which they appear in s.Words are returned as a list of strings, complete with s ...
分类:
其他好文 时间:
2020-01-22 11:08:48
阅读次数:
104
题目如下: Given a string s. Return all the words vertically in the same order in which they appear in s.Words are returned as a list of strings, complete ...
分类:
其他好文 时间:
2020-01-20 15:11:48
阅读次数:
121
jenkins持续构建遇到问题 Hook executed successfully but returned HTTP 403 解决方法: 选择 --配置 构建触发器 高级--generate 然后复制生成的密钥。 然后粘贴至gitlab的web-hook的Secret Token ...
分类:
Web程序 时间:
2020-01-13 10:39:11
阅读次数:
181
? 最近凯哥在调凯哥优惠淘公众号(领取优惠券的公众号)的时候,发现以前好好的程序,突然不能用了。于是就本地断点,发现了如下错误: ? 程序通过httpClient访问一个地址的时候,提示:server returned HTTP Response code :400 fro URL:XXXX这个错误 ...
分类:
其他好文 时间:
2020-01-04 22:34:58
阅读次数:
86
启动程序无法输入,然后崩溃报错Process returned -1073741571 (0xC00000FD) 原因: 栈溢出了 栈的默认内存空间为1M,如果函数中定义的数组太大会导致内存溢出。 解决办法: 加static后数组改为在静态区。 或者自己申请(new),在堆区。 int * aa= ...
分类:
编程语言 时间:
2019-12-28 09:56:40
阅读次数:
653