How to specify the EFI bootloader path in the EFI firmware?
I want to single boot Ubuntu on my MacBookAir. I've deleted the HFS+ partition and replaced it with a EXT4 and installed Ubuntu 10 with grub EFI. I thought the EFI firmware would automatically look in /boot/grub/efi... but it doesn't... How can I configure the EFI firmware? Or even where is the EFI firmware stored? When I boot while pressing option it doesn't show up the efi screen.
The MacBook Air is great hardware but I don't like the MacOSX and HFS+
You should look at the Ubuntu MacTelSupportTeam pages here:
https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation
Similar Messages
-
How to specify the database file path when create FDM application
Dear All,
How to specify the database file path (MSSQL) when create FDM application?
Right now, all data file are placed in the D:\ . I want to specify the database files (log and mdf file) in other place. How to do it?
Thanks.Where is the highS2.xml located on the disk? If you add it to your project you should set its Build Action to Content and its Copy To Output Directory to Always in Visual Studio:
Please remember to close your threads by marking helpful posts as answer once your issue has been solved and then start a new thread if you have a new question. -
Numbers to CSV export script: how to specify the encoding?
Hi,
I'm using the following script to export a Numbers document to CSV:
# Command-line tool to convert an iWork '09 Numbers
# document to CSV.
# Parameters:
# - input: Numbers input file
# - output: CSV output file
# Attik System, Philippe Lang
# Creation date: 31 mai 2012
# Modification date:
on run argv
# We retreive the path of the script
set myPath to (path to me)
tell application "Finder" to set myFolder to folder of myPath
# We get the command line parameters
set input_file to item 1 of argv
set output_file to item 2 of argv
# We retreive the extension of the file
set theInfo to (info for (input_file))
set extname to name extension of (theInfo)
# Paths
set input_file_path to (myFolder as text) & input_file
set output_file_path to (myFolder as text) & output_file
if extname is equal to "numbers" then
tell application "Numbers"
open input_file_path
save document 1 as "LSDocumentTypeCSV" in output_file_path
close every window saving no
end tell
end if
end run
It works fine, except that I don't know how to specify the encoding of the text in the CSV file (Latin1, MacRoman, Unicode). This option is available in the export dialog of Numbers. Any hint on how to do that is welcome. (GUI Scripting?)
Where can I find documentation on the iWork "vocabulary" available? Is there a definitive documentation somewhere? I tried to record an manual export in the script editor, without success. Script is more or less empty.
Thanks!
Philippe LangA further note from Yvan. He's made some revisions to the script sent earlier.
--{code}
--[SCRIPT export to CSV with selected encoding]
I added some features.
(1) Defining the encoding thru the preferences file apply only if
the application is not in use because the file is read only once in a session.
A test urge you to quit Numbers if it is running.
(2) info for is deprecated so it may be removed by Apple tomorrow.
I no longer use it.
(3) just for the fun, I added a piece of code allowing you to select the encoding on the fly.
Thanks to the property chooseEncodingInScript, at this time the script use Unicode (UTF-8)
(4) I'm wondering which tool is used to launch this script,
I don't know the way to pass arguments when I run one.
Yvan KOENIG (VALLAURIS, France)
2012/06/13
property chooseEncodingInScript : false
true = the script will ask you to select the encoding
false = the script use the embedded encoding
on run argv
set input_file to (item 1 of argv) as text
set output_file to (item 2 of argv) as text
set myPath to (path to me) as text
tell application "System Events"
set theProcesses to name of every application process
set myFolder to path of container of (disk item myPath)
set input_file_path to myFolder & input_file
set output_file_path to myFolder & output_file
set extname to name extension of (disk item input_file)
end tell
if extname is "numbers" then
if "Numbers" is in theProcesses then error "Please, quit “Numbers” before running this script !"
if chooseEncodingInScript then
set theList to {"Mac OS Roman", "Unicode (UTF-8)", "Windows Latin 1"}
set maybe to choose from list theList with prompt "Choose the default encoding applying to export as CSV"
if maybe is false then
error number -128
else if item 1 of maybe is item 1 of theList then
30 -- Mac OS Roman
else if item 1 of maybe is item 2 of theList then
4 -- Unicode (UTF-8)
else
12 -- Windows Latin 1
end if
else
4 -- Unicode (UTF-8)
end if
do shell script "defaults write com.apple.iWork.Numbers CSVExportEncoding -int " & result
tell application "Numbers"
open input_file_path
save document 1 as "LSDocumentTypeCSV" in output_file_path
close every window saving no
end tell
end if
end run
--{code}
Regards,
Barry -
How to specify the target name while deploying a code in OSB-- Plz Help
Hi all,
Am working in creating a cluster environment. For my testing i created a new managed server(OSB_Server) in 9001 port in the admin console itself and that server started running. The default managed server(Admin_Server) is in 7001 port. So when i deploy a code in 7001 sb console the WSDL gets exposed in 7001 because the default admin server port is 7001. While deploying a code in service bus admin console we are not specifying the target name. So how to specify the target name while deploying the code in service bus admin console. Plz help me.
Regards
PrabhuHi Prabhu,
There are three kind of server architecture possible for OSB -
1. Single server - Everything gets deployed on Admin server itself
2. Admin Server + Single Managed Server for OSB -- OSB configuration gets deployed on OSB managed server. OSB resources (proxy service, WSDL, Schema) will remain available on OSB managed server port only and NOT on admin server port
3. Admin Server + OSB cluster -- OSB configuration gets deployed on OSB cluster. OSB resources (proxy service, WSDL, Schema) will remain available on OSB Cluster port(s) only and NOT on admin server port
Converting one type of server architecture to any other type, requires a manual tedious process, so it is suggested that you create domain accordingly i.e. if you need clusters then while creating domain itself, create OSB cluster, so that all OSB applications gets deployed to OSB cluster. I will suggest you to create a clustered domain from scratch and import the configuration from your existing domian to this new clustered domain.
You may refer-
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15022/toc.htm
Regards,
Anuj -
How to specify the type of table in the form parameters
How to specify the type of table in the form parameters. for example, how to specify the type of table "vacancies".
FORM getcertainday
USING
vacancies TYPE STANDARD TABLE
efirstday LIKE hrp9200-zfirst_day
lfristday LIKE hrp9200-zfirst_day.Hi
Are you asking about subroutine program to declare a variable for perform statement etc
if it so check this coding
DATA: NUM1 TYPE I,
NUM2 TYPE I,
SUM TYPE I.
NUM1 = 2. NUM2 = 4.
PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
NUM1 = 7. NUM2 = 11.
PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
FORM ADDIT
USING ADD_NUM1
ADD_NUM2
CHANGING ADD_SUM.
ADD_SUM = ADD_NUM1 + ADD_NUM2.
PERFORM OUT USING ADD_NUM1 ADD_NUM2 ADD_SUM.
ENDFORM.
FORM OUT
USING OUT_NUM1
OUT_NUM2
OUT_SUM.
WRITE: / 'Sum of', OUT_NUM1, 'and', OUT_NUM2, 'is', OUT_SUM.
ENDFORM.
If your issue is some other can u explain me clearly
Regards
Pavan -
How to specify the file path while doing bdc recording
hi guys,
using recording we specify transaction code where we enter all the details for the screen after that we get the recording program .....i have a doubt where can we specify the path for uploading a program from a local pc.......if possible can anyone provide a simple program to explain recording to upload an excel file from the system using recordingHi Gokul,
You can use the following code to upload excel data into internal table.
PARAMETERS: P_FILE LIKE RLGRAP-FILENAME.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = P_FILE
FILETYPE = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = IT_FILE
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TABLE_WIDTH = 4
INVALID_TYPE = 5
NO_BATCH = 6
UNKNOWN_ERROR = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
CLEAR IT_FILE.
ENDIF.
In SAP Enterprise edition, You can use FM : GUI_UPLOAD.
From internal table, Data will be moved to BDCDATA and continue with BDC coding.
Reward, if useful.
Thanks,
USR -
How to Specify the environment variable JCE_POLICY_ZIP and restart
Hello All,
I am installing the ABAP SAP NetWeaver 7.01 SR1 ABAP Trial Version.
sapinst.exe installed successfully.
I am installing the sapinstgui.exe but I got the following message:
Program is starting... Please wait!
Path: C:\Users\George\AppData\Local\Temp\sapinst_exe.6220.1246290325
jre\bin\java.exe
For the requested processing mode java policy
files within the used SAP JVM are needed.
Specify the environment variable JCE_POLICY_ZIP and restart.
See also SAP note 1238121.
Exit status of child: 10
JRE is installed in C:\Program Files\Java\j2re1.4.2_19
How do I specify the environment variable JCE_POLICY_ZIP?
Thanks
George
Edited by: George King on Jun 29, 2009 9:01 PMHi everyone,
I had the same problem and found the solution !
I was trying to setup the GUI thanks to sapinstgui.exe from the trial download folder and I got the exact same message,
The problem is not the policies but the installation file.
The installation file for the GUI is located at :
<extract_folder_SAP_trial_version>\GUI\SAP_GUI_FOR_WINDOWS(...)\SAP_GUI_for_windows_(...)_Components.exe
Hope it helps !
Nicolas -
How to specify the directory in which we want to store the uploaded files
Hello !!
I am using apache commonfile upload for uploading my files.I followed the user guide and tried to run a program,but my problem is I am not able to understand as to how to mention the directory in which the uploaded file will be saved..My code is given below :
package r;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
import java.util.*;
import org.apache.commons.fileupload.*;
import org.apache.commons.fileupload.servlet.*;
import org.apache.commons.fileupload.disk.*;
import org.apache.commons.io.*;
import java.lang.Exception;
public class fileupload extends HttpServlet
public void doGet(HttpServletRequest request,HttpServletResponse response)throws IOException,ServletException
// Check that we have a file upload request
boolean isMultipart = ServletFileUpload.isMultipartContent(request);
System.out.println(isMultipart);
if (ServletFileUpload.isMultipartContent(request))
// Create a factory for disk-based file items
FileItemFactory factory = new DiskFileItemFactory();
// Create a new file upload handler
ServletFileUpload upload = new ServletFileUpload(factory);
// Parse the request
try {
List items= upload.parseRequest(request);
Iterator iter = items.iterator();
while (iter.hasNext())
FileItem item = (FileItem) iter.next();
if (item.isFormField()) //NORMAL FORM FIELD
String name = item.getFieldName();
String value = item.getString();
System.out.println(value);
else
String fileName = item.getName();
System.out.println(fileName);
String contentType = item.getContentType();
File saveTo = new File("/info/upload_files/myFile.jpeg");
try
item.write(saveTo);
System.out.println("File written" );
catch(Exception e)
System.out.println("File not written");
// InputStream fs= item.getInputStream();
fileName = FilenameUtils.getName(fileName);
System.out.println(fileName);
}//end of try
catch (Exception e) { }
public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
doGet(request,response);
The problem is that the control doesn't reach the try statement and I get " File not written" on the console because it enters catch everytime..Please tell me how the path to the directory should be given...Rest of the code is working fineNo, the problem is that when an Exception is thrown, you ignore it completely and throw away all the information associated with it. That leaves you to guess at what the problem is. So instead of answering your guess at a good question, I'm going to suggest that in all of your catch blocks you put this code:e.printStackTrace();Then you can look at the output in the log file and see what the problem is. Start from there.
-
How to specify the AI version which file shall be compatible with?
With AI 12.0.0 I need to save AI files so that they are compatible with AI version 10.
Adobe help Center says:
"Illustrator format options: When you save artwork to Illustrator format, you can set the following options: Version
Specifies the version of Illustrator with which you want your file to be compatible."
However, when I try to save the AI file I see no format options at all, so I cannot specify the desired AI version.
How do I get access to the saving options?
ArnoldIn AI 12 (CS2), you do not
export, you
save as. (The 'export' dalliance was instituted for v11 and abandoned for V12 as too confusing.)
At the first save dialog (wherein you give your file a name), hitting 'Save' should get you to a second dialog. Choose the version you desire from the dropdown at top: -
Hi all,
I just started doing the XML Xquery programming in my SQL Server 2012 Management Studio. I executed the following code:
--query the XML Blob using a CTE (pulling from the XML file each time) Products
WITH XmlFile (Contents) AS (
SELECT CONVERT (XML, BulkColumn)
FROM OPENROWSET (BULK 'H:\Products.xml', SINGLE_BLOB) ) AS XmlData
SELECT *
FROM XmlFile
GO
I got the the following Msg:
Msg 491, Level 16, State 1, Line 4
A correlation name must be specified for the bulk rowset in the from clause.
How can I specify the correction name for the bulk rowset in my project?
Please kindly help, advise and respond.
Thanks in advance,
Scott ChangHello Scott,
You have to assign a table alias for the OPENROWSET =>
--query the XML Blob using a CTE (pulling from the XML file each time) Products
WITH XmlFile (Contents) AS (
SELECT CONVERT (XML, BulkColumn)
FROM OPENROWSET (BULK 'H:\Products.xml', SINGLE_BLOB) AS MyXML ) AS XmlData
SELECT *
FROM XmlFile
GO
Olaf Helper
[ Blog] [ Xing] [ MVP] -
How to specify the font in a JList?
My application has four columns of data represented in a JList. The default font style does proportional spacing.
I need to specify a fixed width font to control column alignment in the JList. Unless there's something like tab positions? If I can specify a fixed width font, I can format the display strings appropriately.
I think I need to use a cell renderer to control the actual drawing of each cell in the JList?
Also, where do I find a list of the font types?
Thanks in advance!I don't think you need a cell renderer. You find out how to specify font names by (oddly enough) looking in the API documentation for the Font class; the info for the most usable-looking constructor tells you what you want to know.
-
How can specify the max width of uix pages in a browser
If I have 7 tabs in my jheadstart application. This
works fine on a 1200X1000 resolution but on a
1024X720 resolution the users have a scrollbar
how can i specify the max resolution in jheadstartTnx Steven "God" Davelaar ;-)
Edwin:
When you are about to edit the tab-bars (any level),
make sure you disable the tabbar generation (service-
level). Each uix-page calls this tabbar with a parameter
for selected-tab (0 to n). If you edit the *tabbar.uit
and for example, merge 2 tabbars into 1 (with a level 2
globalheader for further navigation), don't just delete
the code in the uit-file, but simply set one of them to
rendered=false (instead of
data:rendered=groupname@infoTable:something). This will
not screw up the selected-tab settings on all pages where
the selected tabbar is on the right (higher number) of
your merged one.
And have fun with UIX (I know you will) -
How to specify the File PathName from a Sequence Call in C++?
Hi!
I've written a C++ program that creates a new sequence file.
I insert a new step (Sequence Call) and I also want to specify the module.
I want to add the File PathName. How can I make it?
I get a new property:
TS:ropertyObject *property = stepObj->AsPropertyObject();
I put a comment:
property->PutComment("comment");
And now I want to add "TS.SData.SFPath"
How can I make it? With 'property->NewSubProperty(..)'or 'property->SetValString(..)'
Who can help me?
Thanks in advance!!I found a solution.
-
Stop trigger, how to specify the analogy trigger channel?
Dear All,
In fact, I am using DAQ2204 cards from ADLINK, which is more or less equivalent to NI E-series muttifuntion board. However, I have some problems with regard to my data acquisition program. Basically, it is about a middle/stop trigger application, which means data acquisition will be starting once the specified analogy channel (for example, channel 0) exceeds a prescribed value.And, data both before and after trigger will be acquired. However, I do not quite understand how to physically make the I/O connection and specify the analog trigger channel and level.
According to the board User's Guide, 'SRC1 can be used for all trigger modes while SRC2 can only be used for post and delay trigger modes'. I have come across similar description with NI examples before. It would therefore be very appreciated if anybody can help. Thanks in advance.Hi dragondriver,
I'm providing below links to 2 documents that discuss wiring considerations that are applicable to your device. Hopefully this information is helpful!
E Series User Manual
http://www.ni.com/pdf/manuals/370503k.pdf
Field Wiring and Noise Considerations for Analog Signals
http://www.ni.com/white-paper/3344/en#toc5
Josh B
Applications Engineer
National Instruments -
How to specify the IP address in ORB server with multiple IPs
I'm working on a platform using corba to communicate with each other. For some purpose the server use stringification method (http://www.javaworld.com/javaworld/jw-02-1999/jw-02-enterprise.html?page=2) to tell the client the reference of the remote object. The ior string contains the ip address information of the server. The problem is if I have two network interfaces installed in my machine (ex an ethernet plus an wireless card ) How can I specified the ip address used by the IOR?
Arumugam.M wrote:
I saw a forum with netsh for changing the ip address of local system,,,, but noe i couldn't find out that,,,, if any one know please post it,,,Please read the responses in http://forums.sun.com/thread.jspa?threadID=5336317&tstart=0 .
Maybe you are looking for
-
Re-install using my startup disc
I spoke with apple support, for a problem that I was having. The problem was the spinning wheel, whenever I clicked on something (not all the time) the wheel would spin for about 5-10 seconds which is annoying. I did use disk warrior to no avail. I c
-
Where Web Dynpro Java version of Adobe Forms are used in ESS MSS
Hi, SDN Expert. I am working on research the use of Adobe Interactive Forms in the current processes of HCM ESS MSS. We are on ECC5.0, EP7.0, and ESS MSS SP21. We are in the midst of upgrading to ECC6.0. Do you know where Web Dynpro Java version of
-
SQL Developer 3.1 and Oracle11g problem
Hello I have SQL developer 3.1, oracle client 9 and database Oracle 11g that I can't connect to. Previosly I used 10g and it was working fine. Now when I try to connect to 11g I am getting the following message: IO error: network adapter could not es
-
Hal 0.5.13-3 breaks volume mounting
I -Syu'd today and hal got upgraded to 0.5.13-3 and I found that hal no longer wanted to mount my drives. PCManFM just gave me a long and weird error message. I built the 0.5.13-2 package, and it worked fine again. Then I see: upgpkg: hal 0.5.13-3 Di
-
Avid DNxHD into Premiere Pro CS5.5?
Howdy. New to Premiere Pro and trying the demo. Unfortunately I'm having a issues right off the bat. I'm trying to import Avid DNxHD 36 media from Media Composer 5.5. But I get some issue saying that the codec isn't supported. Am I wrong that DNxHD i