Search Results

Search: Posts Made By: metallica1973
1,868
Posted By metallica1973
I tried all the tricks under the sun. No matter...
I tried all the tricks under the sun. No matter what I do, I cant get any of these combinations to work:
pdfgrep -i -PB 20 -A 20 "audit\:" ./Oracle-12.pdf | gawk '{IGNORECASE=1;} /select/,/\;/...
1,868
Posted By metallica1973
Thank you for your response. When I run the...
Thank you for your response. When I run the one-liner, its doesnt apply the regex and produce the entire SQL statement like:
SELECT AUD.POLICY_NAME, AUD.AUDIT_OPTION, AUD.AUDIT_OPTION_TYPE
FROM...
1,868
Posted By metallica1973
Finding The Complete SQL statement Using PDFGREP Or Grep
Linux Gods,

I am simply attempting to parse SQL statements from a PDF doc in creating a base SQL script at a later time but for the life of me, am having a tough time extracting this data.This...
3,443
Posted By metallica1973
mdadm --create /dev/md127 --assume-clean...
mdadm --create /dev/md127 --assume-clean --level=1 --verbose --chunk=64 --raid-devices=2 --metadata=1.2 /dev/sda6 /dev/sdb6

NAME SIZE FSTYPE TYPE MOUNTPOINT
sda ...
3,443
Posted By metallica1973
I changed machines to a raspberry pi. Could it be...
I changed machines to a raspberry pi. Could it be that when I assembled the array, I did it as raid 0 when it needed to be raid 1? The reason I ask this is because I see this from lsblk as in:
sudo...
3,443
Posted By metallica1973
Sorry about the typo. I did do that. I changed it...
Sorry about the typo. I did do that. I changed it to what it was caca. So:


sudo mount -t ntfs-3g /dev/md123 /mnt/caca
3,443
Posted By metallica1973
Gentleman, thanks for the response: **...
Gentleman,

thanks for the response: ** Moderator - sorry about the php tags **


lsblk -f

NAME FSTYPE LABEL UUID MOUNTPOINT
sda...
3,443
Posted By metallica1973
Revive RAID 0 Array From Buffalo Duo NAS
Thank you in advanced,

I had a Buffalo DUO crap out on me that was setup as RAID 0. I dont belive it was the drives but rather the controller in the DUO unit. I bought another external HDD...
Forum: Programming 06-07-2017
3,619
Posted By metallica1973
I cross referenced the html file with the output...
I cross referenced the html file with the output urls and its correct. Most of the html files do contain multiple duplicate urls as in:

http://www.blah.org
http://www.blah.org...
Forum: Programming 06-06-2017
3,619
Posted By metallica1973
Thanks for all the replies it is a...
Thanks for all the replies



it is a comma-delimited string of URLs

---------- Post updated at 02:30 PM ---------- Previous update was at 02:05 PM ----------

Thanks durden_tyler,

I...
Forum: Programming 06-06-2017
3,619
Posted By metallica1973
Python Web Page Scraping Urls Creating A Dictionary
I have thrown in the towel and cant figure out how to do this. I have a directory of html files that contain urls that I need to scrape (loop through) and add into a dictionary. An example of the...
Forum: Programming 04-24-2017
878
Posted By metallica1973
Python Changing Default Mutable Value After Import
Is it possible to change a (just a snippet of all the code):


Class Setup(object):
def __init__(self, localm = 'http://127.0.0.1:1414', remotem = 'https://10.0.0.160:1414',
license = "blah\n"...
Forum: Programming 04-15-2016
1,394
Posted By metallica1973
Best Method For Query Content In Large JSON Files
I wanted to know what is the best way to query json formatted files for content? Ex. Data
https://usn.ubuntu.com/usn-db/database-all.json.bz2
When looking at keys as in:
import json
json_data =...
Forum: Programming 02-15-2016
1,633
Posted By metallica1973
RHN Package List
We have a Redhat subscriptions and wanted to know how one could view the latest package name/list of a versions of RHEL 5,6,7. I am aware of getting what I need via:
...
Forum: Programming 02-01-2016
3,862
Posted By metallica1973
Simply Awesome. Many thanks
Simply Awesome. Many thanks
Forum: Programming 01-27-2016
3,862
Posted By metallica1973
Python re.search vs re.sub
I am having trouble understanding why these two commands differ with one producing the desire results and the other not. An example:
capture_str = 'xserver-xorg-video-qxl-dbg (0.1.1-2+b2 [s390x],...
Forum: Programming 01-27-2016
6,945
Posted By metallica1973
Python re.findall inverse Match
I ask of you but yet another simplistic question that I hope can be answered. Its better explained showing my code. Here is my list(tmp_pkglist), which contains a list of all Debian (Jessie)...
Forum: Programming 11-09-2015
5,511
Posted By metallica1973
Thanks for pointing me in the right direction....
Thanks for pointing me in the right direction. Here is a snippet of what I did to help anyone else out who is trying to do the samething:

dest=open('wp.h', 'a+')
dest.write('struct {\n')...
Forum: Programming 10-22-2015
5,511
Posted By metallica1973
Awesome, I will give you an update when its all...
Awesome, I will give you an update when its all said and done. Thanks
Forum: Programming 10-22-2015
5,511
Posted By metallica1973
balajesuri, thank you for your response. So...
balajesuri, thank you for your response. So essentially just treat it as regular output and just redirect the output to a regular file (ex. versions.h) so it can be used by the existing C code in...
Forum: Programming 10-21-2015
5,511
Posted By metallica1973
Python Results Converted To C Struct Header File
I created python code that produce output in the form of:

moses-red-sea=1.00.03
genesis-snake=2.03
deliverance=5.0.010

I need to take this output and create a "C" header file and have it look...
Forum: Programming 10-08-2015
1,963
Posted By metallica1973
As always thank you for your reply , So...
As always thank you for your reply ,

So scraping 34 pages, using random request times, you think isnt that bad. I thought the same but management didnt like the idea of creating noisy traffic to...
Forum: Programming 10-08-2015
1,963
Posted By metallica1973
Popular Plugins && SVN
Forgive me if this is a rather stupid but I am writing some code using Python for a project at work and was wondering if there was a way to download the entire "Popular" plugins directory in a single...
Forum: Programming 08-28-2015
2,784
Posted By metallica1973
Aia, I still cant unhide the methods under...
Aia, I still cant unhide the methods under wppscaper or wpscaper with any return or restructuring this in anyway:

class WP(seleniumrequests.PhantomJS):

def...
Forum: Programming 08-26-2015
2,784
Posted By metallica1973
awesome explanation. When you say return back to...
awesome explanation. When you say return back to inside the method, can you show me an example? What would I return it back too?
Showing results 1 to 25 of 218

 
All times are GMT -4. The time now is 04:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy