V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  chuhades  ›  全部回复第 6 页 / 共 13 页
回复总数  243
1  2  3  4  5  6  7  8  9  10 ... 13  
2016-01-21 18:32:52 +08:00
回复了 strahe 创建的主题 Linux 求推荐自带 Linux 的超级本
现在是 x1 + kubuntu 挺爽的
2016-01-17 17:15:55 +08:00
回复了 BSD 创建的主题 互联网 这群江西人胆好大,花炮炸鱼。。。。。
看标题猜到评论...
2015-11-23 21:02:14 +08:00
回复了 chuhades 创建的主题 Go 编程语言 Go 如何动态调用函数?
@moro 我 google 了下 不能反射包呀?
2015-11-23 19:03:48 +08:00
回复了 chuhades 创建的主题 Go 编程语言 Go 如何动态调用函数?
或者问题可以转化成:怎么获取一个包中的所有 struct ?
2015-08-04 12:45:42 +08:00
回复了 Livid 创建的主题 macOS Stand.app
输入负数会怎样
try alias
```
➜ ~ export CC="ifconfig en0"
➜ ~ $CC
zsh: command not found: ifconfig en0
➜ ~ alias CC="ifconfig en0"
➜ ~ CC
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether d0:e1:40:9a:63:3c
inet6 fe80::d2e1:40ff:fe9a:633c%en0 prefixlen 64 scopeid 0x4
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=1<PERFORMNUD>
media: autoselect
status: active
```
2015-07-13 01:00:26 +08:00
回复了 q5we66fg 创建的主题 程序员 你们身边有木有使用终端时老是输入 ls 的人。。。
总是 clear...
```
➜ ~ history | awk '{CMD[$2]++;count++;} END { for (a in CMD )print CMD[ a ]" " CMD[ a ]/count*100 "% " a }' | grep -v "./" | column -c3 -s " " -t |sort -nr | nl | head -n10
1 1006 10.061% cd
2 933 9.33093% ls
3 559 5.59056% go
4 419 4.19042% python2
5 382 3.82038% curl
6 285 2.85029% python
7 283 2.83028% brew
8 279 2.79028% rm
9 231 2.31023% cat
10 208 2.08021% sudo
```
2015-05-23 19:38:37 +08:00
回复了 chuhades 创建的主题 Ruby 无法安装 bundler
把项目删除,重新clone了下,然后重装了ruby,就可以了,不知道为什么。
感谢楼上各位~
2015-05-22 04:00:05 +08:00
回复了 chuhades 创建的主题 Ruby 无法安装 bundler
@046569 加了梯子也还是不行,shadowsocks...
http://ww3.sinaimg.cn/large/a7839d61jw1escibscqbjj20pm07cafh.jpg
2015-05-22 03:12:27 +08:00
回复了 chuhades 创建的主题 Ruby 无法安装 bundler
@046569 不是的,试过了8.8.8.8,和alidns,都还是不行。
2015-05-22 03:02:32 +08:00
回复了 chuhades 创建的主题 Ruby 无法安装 bundler
报错是 no such name,感觉很疑惑,附相信错误信息:
➜ metasploit-framework git:(master) gem install bundler --debug
Exception `LoadError' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/resolv.rb:169 - LoadError
Exception `Resolv::DNS::Config::NXDomain' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/resolv.rb:547 - _rubygems._tcp.ruby.taobao.org
Exception `Resolv::DNS::Config::NXDomain' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/resolv.rb:547 - _rubygems._tcp.ruby.taobao.org.local
Exception `Resolv::ResolvError' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/resolv.rb:492 - DNS result has no information for _rubygems._tcp.ruby.taobao.org
Exception `Errno::EEXIST' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /Users/chu/.gem/specs/ruby.taobao.org%443
Exception `SocketError' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/net/http.rb:879 - getaddrinfo: Invalid value for ai_flags
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/rubygems/remote_fetcher.rb:283 - no such name (https://ruby.taobao.org/latest_specs.4.8.gz)
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/rubygems/spec_fetcher.rb:268 - no such name (https://ruby.taobao.org/latest_specs.4.8.gz)
Exception `Gem::SpecificGemNotFoundException' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/rubygems/dependency_installer.rb:297 - Could not find a valid gem 'bundler' (>= 0) locally or in a repository
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://ruby.taobao.org/ - no such name (https://ruby.taobao.org/latest_specs.4.8.gz)
Exception `Errno::EEXIST' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /Users/chu/.gem/specs/ruby.taobao.org%443
Exception `SocketError' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/net/http.rb:879 - getaddrinfo: Invalid value for ai_flags
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/rubygems/remote_fetcher.rb:283 - no such name (https://ruby.taobao.org/prerelease_specs.4.8.gz)
Exception `Errno::EEXIST' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /Users/chu/.gem/specs/ruby.taobao.org%443
Exception `SocketError' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/net/http.rb:879 - getaddrinfo: Invalid value for ai_flags
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/rubygems/remote_fetcher.rb:283 - no such name (https://ruby.taobao.org/specs.4.8.gz)
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/chu/.rbenv/versions/2.1.6/lib/ruby/2.1.0/rubygems/spec_fetcher.rb:268 - no such name (https://ruby.taobao.org/specs.4.8.gz)
2015-05-10 02:24:45 +08:00
回复了 wzqcongcong 创建的主题 macOS 秀一下你们的 brew list
➜ ~ brew list
autoconf gengetopt jpeg makedepend phantomjs readline tcptraceroute
automake gettext libdnet masscan pkg-config ruby-build tree
byacc git libevent mongodb postgresql scapy wget
cmake gmp libnet mysql proxychains-ng scons wxmac
cowsay go libpng node pypcap sqlite wxpython
curl hexedit libssh openssl python sslscan xz
ettercap hydra libtiff ossp-uuid python3 subversion
gdbm icu4c libtool pcre rbenv swig
2015-05-04 14:05:12 +08:00
回复了 falcon05 创建的主题 程序员 大家如何管理代码片段?
gitst and codebox
2015-04-09 13:09:00 +08:00
回复了 mrhero 创建的主题 程序员 2015 年度 晒桌面
2015-04-02 15:32:08 +08:00
回复了 chuhades 创建的主题 Python 线程中再开线程会出现问题吗?
感谢诸位,理解了
2015-03-16 18:48:12 +08:00
回复了 bleaker 创建的主题 Apple Mac Mini or MacBook Pro
如果能接受得了的话,直接 rmbp
1  2  3  4  5  6  7  8  9  10 ... 13  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2389 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 33ms · UTC 16:05 · PVG 00:05 · LAX 08:05 · JFK 11:05
Developed with CodeLauncher
♥ Do have faith in what you're doing.