小编zta*_*tic的帖子

在OSX上将Python升级到2.7

如何在osx上将Python从2.6升级到2.7?

python macos

13
推荐指数
3
解决办法
5万
查看次数

无法在此计算机上安装MacPorts-2.0.0

当我尝试在Lion上安装macports时,我收到以下消息:

MacPorts-2.0.0 can’t be installed on this computer.
Xcode is not installed, or was installed with UNIX Development (10.5+) or Command Line Support (10.4) deselected.
Run Code Online (Sandbox Code Playgroud)

即使我通过应用商店升级到Lion后安装了Xcode.

知道我需要做什么吗?

xcode macports xcode4 osx-lion

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

如何使用Modernizr输入type = datetime?

我为HTML输入字段和属性创建了一个自定义构建,并将其包含在我的页面中,<head>但这不起作用.我还需要做什么?

html javascript datetime modernizr

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

找不到存在的ColdFusion组件

当我在本地使用以下内容进行开发时,它可以工作,当它在生产中时它大部分时间都可以工作,但是每次使用这段代码我们都会得到以下错误:

CreateObject("component", "model.mThing.Thing");
Run Code Online (Sandbox Code Playgroud)

现在model映射是在路径中创建的,Application.cfc因此model.mThing.Thing路径应始终指向存在的cfc,并且ww应该永远不会出现以下错误.那么这里有什么问题?

环境是CF8使用fusebox和coldspring,这个错误只在我们开始使用coldspring存储我们的工厂cfcs后才开始发生,这些执行CreateObject上面的代码会导致下面的错误.

错误:

"Error","jrpp-839","02/xx/12","xx:yy:zz","appName","Could not find the ColdFusion Component or Interface model.mThing.Thing.  Ensure that the name is correct and that the component or interface exists. The specific sequence of files included or processed is: Z:\domains\x.y.com\root\index.cfm, line: 11 "
coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion Component or Interface model.mThing.Thing.                                                                                                                                                                                  
               at coldfusion.runtime.TemplateProxyFactory.getResolvedFile(TemplateProxyFactory.java:1173)                                                                                                                                                                                                       
               at coldfusion.runtime.TemplateProxyFactory.getTemplateFileHelper(TemplateProxyFactory.java:1346)                                                                                                                                                                                                 
               at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:1289)                                                                                                                                                                                                           
               at coldfusion.cfc.ComponentProxyFactory.getProxy(ComponentProxyFactory.java:38)                                                                                                                                                                                                                  
               at coldfusion.runtime.ProxyFactory.getProxy(ProxyFactory.java:65)                                                                                                                                                                                                                                
               at coldfusion.runtime.CFPage.createObjectProxy(CFPage.java:4707)                                                                                                                                                                                                                                 
               at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4552)                                                                                                                                                                                                                                      
               at cfThingFactory2ecfc633415381$funcCREATEthings.runFunction(Z:\domains\x.y.com\approot\_Model\mThing\ThingFactory.cfc:11)                                                                                                                                                                       
               at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)                                                                                                                                                                                                                                       
               at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360) …
Run Code Online (Sandbox Code Playgroud)

coldfusion coldspring fusebox application.cfc coldfusion-8

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

手动安装python包

我想使用https://github.com/erikvold/Github-to-Lighthouse-Issue-Migrator/blob/master/migrator.py,但在第8行的评论中,它说:

# pip install lighthouse-python-api (probably have to do this manually)
Run Code Online (Sandbox Code Playgroud)

但是当我尝试时,我收到以下错误:

$ pip install lighthouse-python-api
Downloading/unpacking lighthouse-python-api
  Could not find any downloads that satisfy the requirement lighthouse-python-api
No distributions at all found for lighthouse-python-api
Storing complete log in /Users/erikvold/.pip/pip.log
Run Code Online (Sandbox Code Playgroud)

所以我想我需要手动安装包..那么有人可以解释或链接到解释如何做到这一点的文档吗?

python packages pip

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

使用ffmpeg w /帧之间的暂停来构建视频

我想要一个ffmpeg命令在帧更改之间x用一y秒钟的暂停来制作视频,这样人们就可以实际看到图像了.根据我读过的内容,下面的命令似乎很接近,但我可以找到如何添加我想要的暂停..

ffmpeg -f image2 -i img%01d-0.jpg -y test.mpg
Run Code Online (Sandbox Code Playgroud)

知道如何添加暂停吗?

video ffmpeg image

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

从递归查询创建存储过程

我想创建一个mssql存储过程来运行如下所示的查询:

SELECT thingID FROM things WHERE thingParentID = #arguments.id#

递归地,thingID在列表中累积s,然后由存储过程返回.

有没有人知道这样的例子,他们可以链接到?或者一些可能对我有帮助的文件?

谢谢.

sql sql-server stored-procedures sql-server-2005

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

无故障ColdFusion应用程序更新过程

当使用svn或git更新ColdFusion网站时,有一个时刻会更新一半的repo,而另一半则不会,在此期间可能会发生请求,这可能意味着epic在某些情况下会失败.

因此,当svn/git更新网站源所在的文件夹时,我似乎需要一种暂停请求的方法.在此之后,我可以使用更新的版本号触发应用程序在响应任何请求之前自行更新.

这是一个很短的时间,但可能会导致许多不同的问题,具体取决于应用程序.

有没有人有任何有用的建议?

coldfusion

2
推荐指数
2
解决办法
132
查看次数