问题列表 - 第39414页

如何为Mac OS X制作可启动DVD?

HI,

我有MAC OS X 10.6.4 dmg文件.我想制作可引导的DVD.

我必须将其转换为ISO吗?或者只是刻录dmg文件会怎么做?

还需要做些什么才能让它可以启动?

请告诉我.

谢谢!

macos osx-snow-leopard

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

自动运行适用于Mac?

我有一台Flash投影机,我计划在CD上发行.我正在为Mac和Windows制作投影仪.我知道如何在Windows上进行自动运行,但我也想在Mac上进行自动运行.

这是如何运作的?

macos autorun projector

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

为什么没有显式COLLATE覆盖数据库排序规则?

我在SQL Server 2008 R2 dev上,服务器默认排序规则是Cyrillic_General_CI_AS

执行
SSMSSELECT'éÉâÂàÀëËçæà'COLLATE Latin1_General_CS_AS

SELECT 'éÉâÂàÀëËçæà' COLLATE Latin1_General_CI_AI   
Run Code Online (Sandbox Code Playgroud)

输出

  • eEaAaAeEc?使用默认排序规则Cyrillic_General_CI_AS打开(使用/ use dbName的ocntext)数据库
  • éÉâÂàÀëËçæà在数据库上使用默认排序规则Latin1_General_CI_AS

为什么?

sql sql-server collation internationalization codepages

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

Android中的JavaScript

是否可以在Android中使用JavaScript?如果是这样,怎么样?请提供一些例子.

谢谢.

javascript java android

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

半径的最大数据包大小

RADIUS 是否有最大数据包大小?我的一个应用程序需要发送签名的生物特征图像以进行身份​​验证,我不确定radius 是否能够处理它。

authentication radius packet

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

来自twitter API的JSON包含\ u2019

这是我通过twitter API获取的JSON文件的一部分:

"文字":"科学家发现研究分子的新方法:女王研究人员已经发现了研究方法...... http://bit.ly/chbweE "

我正在为我的项目使用PHP.

在使用json_decode函数之后,\ u2019被转换为',这基本上非常烦人.

我尝试使用$raw_json = preg_replace("u2019","'",$raw_json),但然后该json_decode函数返回NULL.

有没有其他方法可以将\ u2019转换成'?

谢谢


编辑:

这就是我获取JSON的方式:

// create curl resource
    $ch = curl_init();

    // set url
    curl_setopt($ch, CURLOPT_URL, "http://search.twitter.com/search.json?q=from%3Agizmodo&rpp=10");

    //return the transfer as a string
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

    // $output contains the output string
    $raw_json = curl_exec($ch);

    // close curl resource to free up system resources
    curl_close($ch);
Run Code Online (Sandbox Code Playgroud)

php mysql twitter json

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

Windows上的Ant编码问题 - UTF-8文件但在变音符号上吐出垃圾

不知怎的,我无法让我的UTF-8资源与Ant玩得很好.

我得到了很多"警告:编码ascii的不可映射的字符".我真的很疯狂.小时,小时和小时.顺便说一句,我注意到有5个人已经疯狂地使用了标签.:-)

是的,我已经读过这个,这个和其他人.Google也是(至少3个或4个不同搜索的前5页结果).有javac选项.我试过了.还有一些预设或东西(对不起,凌晨3点).也没用.

我正在使用Ant生成Android apk文件.我不能使用Eclipse,所以没有.顺便说一句,ant文档对我来说是胡言乱语.这些例子完全没用.我已经不记得我尝试了多少.

我尝试使用Dfile.encoding选项,尝试将其与CHCP 65001 Windows命令混合使用.做了所有的组合,它甚至让Ant(Javac我猜)停止吐痰错误,但它仍然没关系.我的代码仍然以垃圾carachters(一堆??而不是á,í等)结束.

java ant character-encoding

26
推荐指数
4
解决办法
4万
查看次数

为什么以及如何在C++中使用命名空间?

我以前从来没有为我的代码使用名称空间.(除了使用STL功能)

  1. 除了避免名称冲突之外,还有其他原因要使用命名空间吗?
  2. 我是否必须在命名空间范围内包含声明和定义?

c++ namespaces

27
推荐指数
3
解决办法
2万
查看次数

间歇性SQLException:OALL8处于不一致状态

我间歇性地得到以下错误.

ERROR Exception occured while fetching the available subscriptions from the database - Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC rollback failed    
org.springframework.transaction.TransactionSystemException: Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC rollback failed    
Caused by: org.hibernate.TransactionException: JDBC rollback failed    
       at org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:204)
           at org.springframework.orm.hibernate3.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:676)    
       ... 80 more    
Caused by: java.sql.SQLException: No more data to read from socket    
java.sql.SQLException: Closed Connection    
ERROR org.hibernate.transaction.JDBCTransaction 17/11/2010 20:49:41 - JDBC rollback failed
java.sql.SQLException: Io exception: Broken pipe
ERROR …
Run Code Online (Sandbox Code Playgroud)

java oracle spring hibernate sqlexception

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

requestFocus跳过下一个EditText

我在控制聚焦方面遇到了一些问题.我的界面定义如下:

源(RadioGroup /可选)目标(EditText)数量(EditText)传输(按钮)

我正在将"源"的可见性更改为我的代码.当我没有显示它的时候,焦点会自动转到"数量",我希望它是"目的地".我不知道我错过了什么.我怀疑它可能是一个Android bug,我不知道.有人知道如何解决这个问题吗?

谢谢

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <RadioGroup android:id="@+id/source"
     android:layout_width="fill_parent"
   android:layout_height="wrap_content"
   android:orientation="vertical"
   android:visibility="gone">
   <RadioButton android:id="@+id/default"
    android:checked="false"
    android:text="@string/default"/>
 </RadioGroup>

 <TableLayout
  android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:stretchColumns="1">
     <TableRow>
   <TextView 
    android:text="@string/destination"
    android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:textSize="16sp"
       android:textColor="#ffffff"
       android:paddingRight="10sp"
       android:layout_weight="1"/>

      <EditText android:id="@+id/destination"
       android:layout_width="fill_parent" 
       android:layout_height="wrap_content"
       android:layout_weight="1"
       android:singleLine="true"><requestFocus/></EditText>
  </TableRow>

  <TableRow>
   <TextView 
    android:text="@string/quantity"
    android:layout_width="wrap_content" 
       android:layout_height="wrap_content"
       android:textSize="16sp"
       android:textColor="#ffffff"
       android:paddingRight="10sp"
       android:layout_weight="1"/>

      <EditText android:id="@+id/quantity"
       android:layout_width="fill_parent" 
       android:layout_height="wrap_content"
       android:layout_weight="1"
       android:singleLine="true"/>
  </TableRow>
 </TableLayout>

 <Button android:id="@+id/transfer"
  android:layout_width="fill_parent" 
     android:layout_height="wrap_content"
     android:text="@string/transfer"/>
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)

android focus android-edittext

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