extract

How to extract ONLY the contents of the JDK installer

青春壹個敷衍的年華 提交于 2019-12-03 11:58:10
问题 I just downloaded the Java SDK/JDK versions 5 and 6, and I just need the development tools (and some libraries) contained in the installation packages, I don't need to perform an installation and that's why I was only looking for a zip package at first (for Windows there is only an exe installation file), I only need to extract the contents of the installation packages, I think this can be done from the command line but so far I haven't found how to do this (I already considered WinRar and 7

Fastest de-interleave operation in C?

♀尐吖头ヾ 提交于 2019-12-03 11:34:05
I have a pointer to an array of bytes mixed that contains the interleaved bytes of two distinct arrays array1 and array2 . Say mixed looks something like this: a1b2c3d4... What I need to do is de-interleave the bytes so I get array1 = abcd... and array2 = 1234... . I know the length of mixed ahead of time, and the lengths of array1 and array2 are equivalent, both equal to mixed / 2 . Here is my current implementation ( array1 and array2 are already allocated): int i, j; int mixedLength_2 = mixedLength / 2; for (i = 0, j = 0; i < mixedLength_2; i++, j += 2) { array1[i] = mixed[j]; array2[i] =

Flatten vector graphics inside pdf and extract using java

守給你的承諾、 提交于 2019-12-03 08:26:12
I am trying to get sizes (width and depth) of images embedded in a PDF file. The images in the PDF are all high resolution vector images. I tried using PDFBox. PDFBox libraries extract images perfectly for normal graphics. But, when it gets vector images, it extracts different layers as different images. I have also read about iText. But iText can convert the whole page as rasterized image. Whereas, my PDF page is actually consisting multiple images and I need to extract/get size of all of them differently. I am attaching my PDFBox image extraction code here. Please let me know, how can I get

Extract public key from certificate in DER format [closed]

空扰寡人 提交于 2019-12-03 06:06:06
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I have a .cer certificate file, and need to extract the Public Key. I can only extract to PEM format. The "outform" parameter does nothing . openssl x509 -inform PEM -in certificate.cer -outform DER -pubkey -noout > publickey.der Is it possible to extract in DER format? Solved decoding the base64 PEM file: openssl x509 -in certificate.cer -pubkey -noout | openssl enc -base64 -d > publickey.der Any other idea is welcome.

Excel - extracting data based on another list

纵饮孤独 提交于 2019-12-03 05:53:09
I have an Excel worksheet with two columns (name/ID) and then another list that is a subset of the names only from the larger aforementioned list. I want to go through the subset list and then pull the data from the larger list (name/ID) and put it somewhere else...essentially only grabbing the data from the larger list if the name is on the subset. I tried using Filters, but couldn't get it work. Thoughts? Thanks. l0b0 New Excel versions =IF(ISNA(VLOOKUP(A1,B,B,1,FALSE)),"",A1) Older Excel versions =IF(ISNA(VLOOKUP(A1;B:B;1;FALSE));"";A1) That is: "If the value of A1 exists in the B column,

Extract only coefficients whose p values are significant from a logistic model

这一生的挚爱 提交于 2019-12-03 04:28:42
问题 I have run a logistic regression, the summary of which I name. "score" Accordingly, summary(score) gives me the following Deviance Residuals: Min 1Q Median 3Q Max -1.3616 -0.9806 -0.7876 1.2563 1.9246 Estimate Std. Error z value Pr(>|z|) (Intercept) -4.188286233 1.94605597 -2.1521921 0.031382230 * Overall -0.013407201 0.06158168 -0.2177141 0.827651866 RTN -0.052959314 0.05015013 -1.0560154 0.290961160 Recorded 0.162863294 0.07290053 2.2340482 0.025479900 * PV -0.086743611 0.02950620 -2

Extract a region of a PDF page by coordinates

谁都会走 提交于 2019-12-03 03:40:30
I am looking for a tool to extract a given rectangular region (by coordinates) of a 1-page PDF file and produce a 1-page PDF file with the specified region: # in.pdf is a 1-page pdf file extract file.pdf 0 0 100 100 > out.pdf # out.pdf is now a 1-page pdf file with a page of size 100x100 # it contains the region (0, 0) to (100, 100) of file.pdf I could convert the PDF to an image and use convert , but this would mean that the resulting PDF would not be vectorial anymore, which is not acceptable (I want to be able to zoom). I would ideally like to perform this task with a command-line tool or a

How to extract ONLY the contents of the JDK installer

不想你离开。 提交于 2019-12-03 03:23:09
I just downloaded the Java SDK/JDK versions 5 and 6, and I just need the development tools (and some libraries) contained in the installation packages, I don't need to perform an installation and that's why I was only looking for a zip package at first (for Windows there is only an exe installation file), I only need to extract the contents of the installation packages, I think this can be done from the command line but so far I haven't found how to do this (I already considered WinRar and 7-Zip, but I really want to find how to do it without using these tools) Have you done this before and

How can I untar a tar.bz file in unix?

妖精的绣舞 提交于 2019-12-02 21:51:42
I've found tons of pages saying how to untar tar.bz2 files, but how would one untar a tar.bz file? use the -j option of tar . tar -xjf /path/to/archive.tar.bz According to the man pages for bzip2 If the file does not end in one of the recognised endings, .bz2, .bz, .tbz2 or .tbz, bzip2 complains that it cannot guess the name of the original file, and uses the original name with .out appended. Based on this, I'm guessing that '.bz' is considered a valid suffix for bzip2 compressed files. Also, keep in mind that the original file name was probably generated by hand, something like this: tar jcf

extract cab file and execute the exe file(inside the cab file) automatically

你说的曾经没有我的故事 提交于 2019-12-02 18:41:51
问题 I have a cab file(w/ an executable file inside) embedded on my webpage. When the user access the page the cab file will be automatically extracted and the executable file inside should be executed as well. Is this possible? My hunch is that this will be configured in my inf file but I don't know how. I would appreciate your help in this. 回答1: You need to use the hook&run values, like in this sample [version] signature="$CHICAGO$" AdvancedINF=2.0 [Add.Code] time.ocx=time.ocx msvcrt.dll=msvcrt