V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  zeroday  ›  全部回复第 41 页 / 共 51 页
回复总数  1004
1 ... 37  38  39  40  41  42  43  44  45  46 ... 51  
我一般用pyodbc
2014-03-18 00:56:22 +08:00
回复了 zeroday 创建的主题 问与答 SQLServer2005 数据库创建索引一半时计算机被强制关机
我自己想的恢复方式是用二分法找到关机前数据库中还没创建索引的表,然后继续创建索引。不知道有没有更好的方式呢?
2014-03-16 12:24:37 +08:00
回复了 zeroday 创建的主题 问与答 在校大学生现在要去报名驾校吗?
@fuxkcsdn
@xiaosong
@shawn_gong
@fanzheng
@cchange
@jiandan
@taresky
@yuelang85
@awebird
@sb1984
@beakey
@tyhunter
@fityme
@kevinroot
@baocaixiong
@dancercl
@davepkxxx
@lj0014
@ETiV
@hengzhang
@Sherlocker
@haruhi
@loniper
@xiluo
@rockpine
@falconeye
@ushuz
@kachens 感谢大家的建议,已经过了科目一,就是我的驾照教练貌似是挂名到某个驾校下的,感觉效率很低,有点坑。考科目一的时候是前一天晚上11点半发的短信通知,中间什么也没有和我们说,上周四才体检,并且体检的时候,我们问他,什么时候考科目一,他才和我们说,大概两三周考科目一,问他什么时候教科目二,他只回了一句“等他电话”。遇到这种情况,请问大家要怎么解决好呢?
@lerry
@cxe2v
@Killian
@GordianZ
@qiayue
@Owenjia
2014-03-15 15:20:56 +08:00
回复了 zeroday 创建的主题 问与答 make static 错误
@cbsw 哦,原来'Server()'内可以提交参数的,这次提问收获很多,你是一个乐于助人的人,谢谢你的帮助。
2014-03-15 01:34:16 +08:00
回复了 zeroday 创建的主题 问与答 make static 错误
@cbsw 谢谢你的建议,给我很大的启发。也很感谢你花时间为我解决问题。我的问题解决了,是用另一种方法,解决方法是使用ngrok将Vagrant的web服务映射到公网中。修改june的Flask监听ip为0.0.0.0真的不会,还请指教。
2014-03-14 13:56:16 +08:00
回复了 zeroday 创建的主题 问与答 make static 错误
@cbsw 修改了manager.py结果404了

(venv)vagrant@vagrant-ubuntu-ruby2:/vagrant/www/june$ python manager.py createdb
* Running on http://0.0.0.0:5000/
66.66.66.1 - - [14/Mar/2014 02:54:40] "GET / HTTP/1.1" 404 -
66.66.66.1 - - [14/Mar/2014 02:54:42] "GET / HTTP/1.1" 404 -
2014-03-14 00:10:13 +08:00
回复了 zeroday 创建的主题 问与答 怎么高效地查询.MDF 数据库的信息?
@senghoo 就是需要连接多个数据库查询
2014-03-13 13:25:04 +08:00
回复了 zeroday 创建的主题 问与答 make static 错误
@cbsw

这是我的vagrant配置,没发现有什么问题?

#This is my Vagrantfile

Vagrant.configure("2") do |config|
config.vm.box = "ubuntu64-ruby2"
config.vm.box_url = "https://dl.dropboxusercontent.com/s/o5i10hcu57jamg8/ubuntu64-ruby2.box"

config.vm.network :private_network, ip: "66.66.66.10"
config.vm.network :forwarded_port, guest: 5000, host: 5000
config.ssh.forward_agent = true
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory",[ENV['DISCOURSE_VM_MEM'].to_i, 1024].max]
end

end
2014-03-13 00:23:33 +08:00
回复了 zeroday 创建的主题 问与答 make static 错误
@cbsw 配置应该没问题了,就是浏览器无法链接到服务器,我是在Vagrant上运行的。

(venv)vagrant@vagrant-ubuntu-ruby2:/vagrant/www/june$ make static
make[1]: Entering directory `/vagrant/www/june/assets'

install : component/jquery@master
install : lepture/bootstrap@master
install : lepture/yue.css@master
complete : lepture/yue.css
complete : lepture/bootstrap
complete : component/jquery

compiled index.css
make[1]: Leaving directory `/vagrant/www/june/assets'
(venv)vagrant@vagrant-ubuntu-ruby2:/vagrant/www/june$ python manager.py createdb
Traceback (most recent call last):
File "manager.py", line 5, in <module>
from flask_script import Manager, Server
ImportError: No module named flask_script
(venv)vagrant@vagrant-ubuntu-ruby2:/vagrant/www/june$ source venv/bin/activate
(venv)vagrant@vagrant-ubuntu-ruby2:/vagrant/www/june$ python manager.py createdb
(venv)vagrant@vagrant-ubuntu-ruby2:/vagrant/www/june$ python manager.py runserver
* Running on http://127.0.0.1:5000/
* Restarting with reloader


浏览器输入:66.66.66.10:5000,显示无法链接
2014-03-12 19:41:24 +08:00
回复了 zeroday 创建的主题 问与答 make static 错误
@cbsw 哈哈,我看到了你提交的pull request了。
2014-03-12 19:26:46 +08:00
回复了 zeroday 创建的主题 问与答 make static 错误
@cbsw 还是报错。

(venv)vagrant@vagrant-ubuntu-ruby2:/vagrant/www/june$ make static
make[1]: Entering directory `/vagrant/www/june/assets'

install : component/jquery@master
install : lepture/bootstrap@master
install : lepture/yue.css@master


module.js:340
throw err;
^
Error: Cannot find module 'nib'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at /usr/local/lib/node_modules/stylus/bin/stylus:633:10
at Array.forEach (native)
at usePlugins (/usr/local/lib/node_modules/stylus/bin/stylus:630:11)
at /usr/local/lib/node_modules/stylus/bin/stylus:537:9
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
make[1]: *** [stylus] Error 8
make[1]: Leaving directory `/vagrant/www/june/assets'
make: *** [static] Error 2
2014-03-12 13:41:34 +08:00
回复了 zeroday 创建的主题 问与答 npm install -g 错误
@11
@RIcter 加个sudo还需要挂个VPN就可以成功安装了。
2014-03-12 13:33:36 +08:00
回复了 cedared 创建的主题 Atom 两个 atom 邀请,要的请留邮箱
@vainly 已发。
2014-03-12 03:08:10 +08:00
回复了 zeroday 创建的主题 问与答 npm install -g 错误
vagrant@vagrant-ubuntu-ruby2:/vagrant/www/june$ vim npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'stylus' ]
2 info using [email protected]
3 info using [email protected]
4 verbose cache add [ 'stylus', null ]
5 verbose cache add name=undefined spec="stylus" args=["stylus",null]
6 verbose parsed url { protocol: null,
6 verbose parsed url slashes: null,
6 verbose parsed url auth: null,
6 verbose parsed url host: null,
6 verbose parsed url port: null,
6 verbose parsed url hostname: null,
6 verbose parsed url hash: null,
6 verbose parsed url search: null,
6 verbose parsed url query: null,
6 verbose parsed url pathname: 'stylus',
6 verbose parsed url path: 'stylus',
6 verbose parsed url href: 'stylus' }
7 silly lockFile 27c0f414-stylus stylus
8 verbose lock stylus /home/vagrant/.npm/27c0f414-stylus.lock
"npm-debug.log" 258L, 16268C
2014-03-12 00:55:30 +08:00
回复了 cedared 创建的主题 Atom 两个 atom 邀请,要的请留邮箱
@Muninn Success! [email protected] will be invited.
2014-03-11 22:06:57 +08:00
回复了 cedared 创建的主题 Atom 两个 atom 邀请,要的请留邮箱
谢谢了,我有两个名额了,需要的@我,我继续接力。
2014-03-11 16:27:57 +08:00
回复了 cedared 创建的主题 Atom 两个 atom 邀请,要的请留邮箱
mountainsea#outlook.com
1 ... 37  38  39  40  41  42  43  44  45  46 ... 51  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   991 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms · UTC 19:05 · PVG 03:05 · LAX 11:05 · JFK 14:05
♥ Do have faith in what you're doing.