Tag Info

Hot answers tagged

7

If there are any core-to-core communications then you'll find that generally a quad-core will be faster, sometimes significantly so, than two dual-cores. The reason is that the bandwidth and/or latency between cores on the same die can often be very much faster than any external connections. That said you don't mention specific processors so you could be ...


6

For reasons unknown, a great many of the (Windows XP SP3) computers I manage have recently started creating a new pseudoprinter object, called Microsoft XPS Document Writer, seemingly out of nowhere. If I read things correctly the original version of XPS Document Writer and related components for Windows XP shipped as part of .NET Framework ...


5

XML parsing in MS Powershell is easier than any parsing mechanism I've seen in any other language or environment I've personally encountered. Given some XML file (test.xml): <root> <one>I like applesauce</one> <two>You sure bet I do!</two> </root> You can easily access, modify and append nodes, values and ...


5

Make sure your string is valid XML (ie add </Event> to the end of what you've posted above, and then cast that string as XML: $xml = [xml]$yourStringHere Then you can pull out the TargetLogonId like this: $xml.Event.SelectSingleNode("//*[@Name='TargetLogonId']") | select -ExpandProperty '#text' Thanks to Shay Levy and this post: ...


4

Unfortunately no. That must be a full physical path. As long as you don't plan to change your site path often, a static path shouldn't be a problem. If you change your path often to different site instances you may want to consider using appcmd to script the change so that it gets all subfolders.


4

Two approaches that I use are (a) to canonicalize both XML files and then compare their serializations, and (b) to use the XPath 2.0 deep-equal() function. Both approaches are OK for telling you whether the files are the same, but not very good at telling you where they differ. A commercial tool that specializes in this problem is DeltaXML. If you have ...


3

You asked a similar question last month, and I provided instructions on where to go on HP's Web site to get the tools you needed. Here are exact links: You can get CPQLOCFG.EXE (as suggested by sleske) here. You can get HPLOCFG.EXE (a similar tool) here. You can get sample XML files and the Perl locfg.pl utility here. I suggest also looking over the ...


3

They are XML-based but still compressed to ZIP files making them binary as far as SharePoint is concerned. Considering that SharePoint doesn't recognise the Office 2007 formats unless you configure them yourself or install the Microsoft Filter Pack, it looks like this feature wasn't ready for SharePoint 2007 RTM.


3

telnet nc (netcat) wget --post-file perl python ruby c java c++ etc I'd probaly look at nc or wget Also you could try googling "send xml to web service" which will get you these to as the first two hits: http://stackoverflow.com/questions/4454918/how-to-send-xml-messages-to-web-services ...


2

@ewwhite it's a propriety application with very limited distribution. Well, in situations like this, where you have an application with an archaic licensing scheme, you're going to be limited in your options as hardware progresses. Dual-core CPUs are all but obsolete in the modern processor offerings from the major manufacturers. Quad-core CPUs are also ...


2

Your question is rather vague. What status data do you want? Please provide some examples. That said, iLO offers scripting interfaces (via HP's tool CPQLOCFG.EXE, or via Perl). See the HP documentation on iLO for details.


2

look at this sample of PS3 <--> XP http://www.braham.org/playfile.txt filter 'tcp.port == 2869 && http.response' and right click decode as HTTP all the http that has: 'Content-Type: text/xml' in their header show the xml just fine if you have code that send xml in http without say so in the header, it's not nice... (in the this sample only ...


2

You are right, there is no reason it would care which web server is serving the content. There is something different between the two that is preventing SMSPrinter from retrieving the page. Sadly there just isn't enough information to give an answer on how to fix it. Here are some things I'd start troubleshooting with. I'd start pay making sure you are able ...


2

If it's a .xlsx file like the Windows version uses, that's just a renamed .zip of XML and other content. For example, a spreadsheet with the following values in Sheet1: If you rename the .xlsx to a .zip, you'll find the numeric data exposed in a file xl\worksheets\sheet1.xml in the following tree: <worksheet> <sheetData> <row r="1" ...


2

If you are given just the raw XML, you can load up the XML document. Since you posted an XML fragment, I'll assume that it was exported from the log and has a <Events> root tag. The tricky part is the namespace. $xml = [xml](get-content "PathToXml.xml") $xmlns = New-Object -TypeName System.Xml.XmlNamespaceManager -ArgumentList $xml.NameTable ...


1

If the nic drivers are not installed you should be able to add them to your winpe disk. If the NIC drivers are installed and you set the sections of WAIk PersistAllDeviceInstalls it won't clean them up. Also, the setting of DoNotCleanUpNonPresentDevices will leave any devices you installed but are not connected when you run sysprep. Here are instructions to ...


1

Is there a reason that you auto-logon 5 times during specialize? Unattended installations don't like being rebooted during the specialize pass, if you're actually logging in 5 times, you should do it in the oobe phase instead. Try removing the entire <AutoLogon> <Password> <Value>[removed]</Value> ...


1

you'll generally get that type error when directory permissions are wrong, do all your xml files happen to be in the same directory? check the permissions on the XML files, see if you can load another type [html] file from that directory see if you can load an xml file from another directory or site. I have a feeling it is file permissions [did you ...


1

Your Apache Allow/Deny directives are configured to forbid access to the file you're trying to get. These directives will likely be in your <VirtualHost> configuration, or an .htaccess file. Please edit your question with this info and we can assist in straightening out the rules.


1

You can do this with awk. awk -F\t will tell awk to use the tab character as the field separator. $1 would become Table Name, $2 would become Quant of Rows, and so on. Also, $0 refers to the entire line, while $NF is always the last field. cat data | awk -F\t '{printf("<xml-tag-1>%s</xml-tag-1>\n<xml-tag-2>%s</xml-tag2>\n", $1, $2 ...


1

#!/bin/sh mysql -u root -pmysql --xml > /home/test/Desktop/temp.xml << eof SELECT TABLE_NAME AS "Table Name", table_rows AS "Quant of Rows", ROUND((data_length + index_length)/1024/1024,2) AS "Total Size Mb" FROM information_schema.TABLES WHERE information_schema.TABLES.table_schema='database_name'; eof


1

Are you creating the unattend file with Windows SIM (Part of WAIK)? I put your file into WSIM (I added it to another complete unattend file) and it validated fine. The only problem I can see at this point is that you are trying to make 2 partitions active, when you can only have 1. WSIM can make creation of unattend files much easier. Have you checked the ...


1

There are two things here. One is server-side, the other is client-side. On the server (AWS RDS), check your parameter group to ensure local_infile is set to 1. By default it is enabled in RDSland for 5.1 and 5.5. Second, assuming you are using the mysql commandline, start it with the local-infile option: mysql --local-infile -hhostname -uusername -p ...


1

Why do you want to? There is absolutely no need for what you're trying to do. The reason that --disable-dom appears in the phpinfo() is that on Red Hat, PHP and its modules are generally built separately; PHP actually gets built three times (or maybe it's four) during the RPM build process to account for each SAPI. Once the resulting binaries are installed ...


1

Python-based xmldiff looks like a very attractive solution; it claims to "extract differences between two xml files and to return a set of primitives to apply on source tree to obtain the destination tree." Example: a1.xml <root> </root> a2.xml <root attr="test1"> </root> xmldiff a1.xml a2.xml: [append-first, /, <root ...


1

This simple XSLT: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0"> <xsl:output omit-xml-declaration="no" indent="yes"/> <xsl:strip-space elements="*"/> <!-- TEMPLATE #1 --> <xsl:template ...


1

I have nothing definitive here....but here are some things that I might try in your situation. Anything on the HP support sites? What does HP say? I know that when I have had such a problem on other systems, there is a reset button on the card for resetting the ILO to a default configuration. You need physical access to the machine of course. Is the ...


1

All of HP's example scripts use <RIBCL VERSION="2.0">, but that's the only difference I see. I'm also not sure whether renaming a user in this way will actually work, so maybe that's it. Try just changing the password: <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="Administrator" PASSWORD="does-not-matter"> <USER_INFO ...


1

I have this problem too. It appears that report.xsl is buggy in a way that older IE versions tolerate, but newer browsers don't. My Visual Studio reports: C:\Working\report.xsl (52,13): error: Variable 'i' has not been declared C:\Working\report.xsl (1182,36): error: The variable or parameter 'rowId' is either not defined or it is out of scope. ...


1

On further investigation I came across an answer to this on Stack Overflow: http://stackoverflow.com/questions/8671194/using-xpath-starts-with-or-contains-functions-to-search-windows-event-logs So it looks like it's not possible to do wildcard searches in the event log.



Only top voted, non community-wiki answers of a minimum length are eligible