Search results

  1. S

    Regex match before pattern, stepping back until '}'

    There we go... textEditor.Text = Regex.Replace(textEditor.Text, "(?<=})([0-9a-zA-Z])*(?=({[a-fA-F0-9-]{36}}))", "\n\n$0\n"); Well I hope this helps someone else! I spent too many hours on this yesterday! Peace!
  2. S

    Regex match before pattern, stepping back until '}'

    Looks like I got it! (?<=})([0-9a-zA-Z])*(?=({[a-fA-F0-9-]{36}})) Now using it in my C# I've tried textEditor.Text = Regex.Replace(textEditor.Text, "(?<=})([0-9a-zA-Z])*(?=({[a-fA-F0-9-]{36}}))", "\n\n$1"); But the problem is that it works perfect for the first hit, but then each hit after...
  3. S

    Regex match before pattern, stepping back until '}'

    Hey super smart Hardforum peeps! Anyone happen to be good with Regex? I'm using C#, and am looking for an expression that will find a set pattern. then match all characters all the way backwards until it meets the first } So I have this, but it's obviously just grabbing 5 characters back...
  4. S

    Thoughts on password manager

    I switched from Keeper to LastPass and haven't looked back. I'm super paranoid about my passwords, but the number of passwords I was writing down or making too simple so I could remember was getting out of hand. As for breaches, so far LastPass has been exemplary in terms of fast response and...
  5. S

    OpenVPN All Internet, not LAN

    Hey all, So I've installed OpenVPN on an Ubuntu 16 VPS. I used https://github.com/Nyr/openvpn-install to do the install. (Don't judge me...) So I can use OpenVPN GUI for Windows and connect with NO problem! I get my VPS' external IP and all is well. Except... I can't access my local Apache web...
  6. S

    Ubuntu 16 dead RAID drive

    I just got the chance to work on it last night. Definitely a member drive. Put it in a hard drive USB dock and as soon as it powers up, loud ticking. Serves me right for using a Seagate 7200.12 drive :( So the members are all 1TB and all I had kicking around was a 2TB. Figured I would try...
  7. S

    Ubuntu 16 dead RAID drive

    so my ubuntu 16.04 server (added desktop GUI) will not boot. OS on 1x 500gb drive Raid 5 on 4x1TB (ubuntu mdadm software raid) Raid member Seagate 7200.12 died (loud obnoxious clicking noise) Can't boot into OS. Keeps taking me to emergency mode. I would think I should've able to at least...
  8. S

    VPN on VPS to circumvent double NAT

    Okay so I have this ALMOST there! Took a while to get around to it... I used openvpn-install from: https://github.com/Nyr/openvpn-install on the VPS Created 2 client profiles (must be different in order to be assigned separate IP addresses. Can't use the same for both remote device and the...
  9. S

    VPN on VPS to circumvent double NAT

    Hey guys/gals, I want to ask your opinion as i haven't thought this through entirely, but thought it might work. My internet is double NAT'ed. I can open all the ports I want on my firewall, but my WAN IP is a private IP from my ISP. They offer no service around this until they implement IPv6...
  10. S

    Windows 10 Web Credentials Location?

    Thanks, but I'm wondering where the data is stored on the hard drive itself. I'll have a look for 7/8 to see if that's documented somewhere.
  11. S

    Windows 10 Web Credentials Location?

    More specifically for MS Edge. Does anyone know where they are stored? In a file? or a registry entry? Thanks!
  12. S

    C++ command arguments and a redirect

    Okay to get around it, I made interactive mode its own argument. -i for interactive mode. Providing no option gives an error asking to select a valid option and provides a list of options. Good enough for me! I hope this helps someone :)
  13. S

    C++ command arguments and a redirect

    Hey all, I have a small program that takes one of two argument switches and then runs. If no argument is given, it runs in interactive mode and asks you which option you would like. My problem is that if I want to redirect the output to a txt file using >> the program reads it as an argument...
  14. S

    Simple file upload for family - PHP

    Thanks michalrz. I ended up going with a manual process. I really just wanted a single clean page for uploading. The gallery in Piwigo is pretty good but even that is too busy looking so I'm going to migrate to Lychee. So family uploads to me, using the upload page and I then add the photos I...
  15. S

    Simple file upload for family - PHP

    I have a simple piwigo photo gallery set up so family can acess photos. I want to set up a php page for them to easily upload files (photos, videos, etc) to me from family functions. I was hoping to have a single login for everyone and just a place to drop files. Nothing more. I tried...
  16. S

    Self hosted photo gallery with contributors and comments

    Decided to go with Piwigo with the "Community" plugin. Pretty easy. Works well and has a decent mobile version. Hope this helps anyone else who may have the same requirement. Thanks!
  17. S

    Self hosted photo gallery with contributors and comments

    So I tried a couple wordpress plugins like WP Photo Album plus and Nextgen, but they weren't very attractive or didn't have the front-end upload I was looking for. Koken looks nicer as a media manager, except one thing. I have it installed on my Ubuntu 14 server to test it, but I can't get...
  18. S

    Self hosted photo gallery with contributors and comments

    Hey all, A friend of mine just had a child. They have family that live far away. He wants to share photos with family who don't have Facebook, but in a similar fashion with passwords, contributors and comments. I'm looking at some wordpress plugins like Envira, but have yet to find one...
  19. S

    Best free backup software for Windows 8.1

    Interesting.. I'll have a look at it tomorrow. It's a work computer and I can't remember what I configured exactly. Someone else took over maintenance on that machine. Thinks! I will report back!
  20. S

    Best free backup software for Windows 8.1

    Wow... I am amazed at how well Microsoft can obfuscate useful features. It turns out "File History" is what I need. I was mistakenly thinking "File History" was just a fancy new name for "Previous Versions" from Windows 7. Turns out "File History" is ACTUALLY the renamed version of "Backup and...
  21. S

    Best free backup software for Windows 8.1

    Hey all, I'm sorry if there is a sticky thread somewhere, but I can't find it... I'm basically looking for a Time-Machine like backup utility for Windows 8.1. The following are my expectations: complete system image stored on a USB 3.0 portable HDD backs up every hour or set amount...
  22. S

    How to catch the process accessing specific IP

    Wow sorry for the incredibly vague question. I guess mentioning the OS would be helpful! It's Windows Server 2008. R2. I ended up using powershelgl to run a script called "Get-NetworkStatistics.ps1". It can be downloaded from MS TechNet. I then wrote a tiny powershell script to run...
  23. S

    How to catch the process accessing specific IP

    Do you know how much log the Resource meter keeps though? Like I said, I can't predict when it will happen. So other than sitting in front of the monitor all day, I don't think I'll be able to catch it.
  24. S

    How to catch the process accessing specific IP

    The connection is already being blocked by the firewall. My goal however is to find the problem and understand how it got there. I wasn't thinking of netstat as a logging tool, but I suppose you're right. If I can write a bath file that can run netstat and save a log each time a process tries...
  25. S

    How to catch the process accessing specific IP

    Hey all, I have a computer on my network that is reaching out to a questionable IP address. My firewall's advanced threat detection says it could be a bonnet C&C server. Can I run something like TCPView, but have it alert me when a process tries to contact this IP address? Or log the...
  26. S

    Generate fillable PDF from MySQL

    Hi Dogs, Thank you for such a detailed reply. I'm sorry I didn't respond sooner to at least let you know that I acknowledge and considered your advice. Unfortunately, I can't make this a public web service. All the contained data should remain in house. Not that email is any more secure than...
  27. S

    Generate fillable PDF from MySQL

    Hi all, I didn't want to make the subject line too long, but I know that I can generate a PDF by pulling data from MySQL. That part is easy. What I need to do is generate a PDF that has the information from the database in the top half but make the bottom half a fillable form. I'm...
  28. S

    Update Ubuntu 14 only updates wo restart

    That's great info thank you. I just didn't want to end up in a Wind0ze situation where you can't do a thing without rebooting.
  29. S

    Update Ubuntu 14 only updates wo restart

    Hey all, Is there a way to apply only Ubuntu updates that do not require restart? Either command line or GUI? I was hoping to keep the system up to date every couple of days, but only apply major updates that require restart on a specific day of the week/month during down time. This...
  30. S

    Cheapest way to get Adobe Muse

    Hey all, I recently took up a pro bono job updating a charity website. The original developer used Adobe Muse and now I'm left with the muddled code of Muse. Not wanting to rebuild the entire site, I downloaded the trial and have taught myself what I need. and have completed a few requests...
  31. S

    Ubuntu 14 04 can't access downloads via cli

    Hey all, I recently upgraded my Ubuntu server from 12.04 to 14.04. It was a major pain to get GRUB back working but now I have a new problem. Any files I download via Firefox can't be accessed by command line. I.E: I downloaded owncloud-7.0.2.tar.bz. I then open terminal. I type: "tar...
  32. S

    Vista backup onto new Windows 8.1

    Okay so it looks like I was over-thinking it. Solution: Simply selected ALL the zip files form the latest backup. Right-Click > 7-zip > Extract files... Choose a folder. So it should extract all the files into their old folder structure under the desired folder. then I'll go in and pull the...
  33. S

    Vista backup onto new Windows 8.1

    I understand that. What I'm trying to do is recover files from her Windows Backup that was made before the laptop died onto an external hard drive. Windows Vista saves the backup in this folder structure full of WBCAT and zip files. I've tried accessing these files on my Windows 7 machine and...
  34. S

    Vista backup onto new Windows 8.1

    I should have been clearer... I don't have the other laptop and can't get access to it. She also mentioned it doesn't boot anymore so could be a hdd problem. She can maybe get it in a month or so if all else fails. What I do have is a folder from her old back-up drive named "Jess-PC" inside...
  35. S

    Vista backup onto new Windows 8.1

    Hello all, I have a friend's new laptop here as she would like me to transfer her files from her old Windows Vista laptoip onto the new Windows 8.1 laptop. I'm having a hard time finding any way for 8.1 to access the backup and extract the files needed. Any advice? Is there a "Windows...
  36. S

    Trusted sources for security news? i.e. ShellShock, Heartbleed, etc...

    Hey all, Just curious... where do you go when things like ShellShock hit the news and your boss is all like "OMG are we affected? What does it do? How does it work? Can we squish this bug?" Google gives you news articles filled with FUD, but I was able to find a few articles. Cheers...
  37. S

    Would this PHP file be subject to php script time-out?

    Okay I figured it out... one of the tables was 2 GB in size and guess what... it wasn't even needed! It was a log table. I used the --ignore-table option and all is right in the world. rest of the db was only 40MB Thanks for your help!
  38. S

    Would this PHP file be subject to php script time-out?

    Actually I found that the file is not complete. It ends with that line because the INSERT command got cut off. So it looks like the dump is dying early. Any other options? Maybe I can dump the tables in packs of 5 or so to shorten the time the command needs to run.
  39. S

    Would this PHP file be subject to php script time-out?

    Hey all, I'm trying to move a website for a friend from one sharred hosting platform to another. Unfortunately the old hosting platform's administrator has decided to ignore my emails. I can't get him to give me ssh access or anything. So I need to dump 2 databases without taking the site...
Back
Top