ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. PenguinWrangler
    3. Posts
    • Profile
    • Following 1
    • Followers 1
    • Topics 20
    • Posts 861
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: What Are You Doing Right Now

      @nerdydad said in What Are You Doing Right Now:

      @dafyre said in What Are You Doing Right Now:

      @penguinwrangler said in What Are You Doing Right Now:

      Woke up and thought today was Friday till about 10 minutes before I left for work. I hate that.

      Nothing ruins your Friday like realizing that it is Thursday Not Friday

      FTFY 😉

      The worst part is vacation is next week.

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: What Are You Doing Right Now

      Woke up and thought today was Friday till about 10 minutes before I left for work. I hate that.

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: What Are You Watching Now

      @jaredbusch said in What Are You Watching Now:

      @kelly said in What Are You Watching Now:

      @black3dynamite said in What Are You Watching Now:

      @coliver said in What Are You Watching Now:

      @black3dynamite said in What Are You Watching Now:

      How It Ends on Netflix.

      That sounded interesting.

      It was ok but I wouldn't spend a dime to go see this at the theater.

      Frankly I'm getting tired of the steady diet of apocalyptic/post-apocalyptic movies/tv shows.

      They come and go in cycles like everything from Hollywood. Most suck.

      Revolution was an interesting concept. But the science behind it was so horribly unbelievable.
      Nanites suppressing EMF? How do the maintain their own power? How do they communicate with the satellites and each other? Just WTF.

      Then the whole magic pendant that suppresses them locally. When it turns off to check in generator that has not run in years can suddenly run on? WTF?

      Most apocalyptic movies deal with the most prevalent fears at the time. This can be seen in Zombie movies for example. What causes people to become Zombies has shifted over time. When I was growing up during the cold war it was always radiation, i.e. a fear of Nuclear war. Then it shifted to biological causes, i.e. fear of a bioweapon in the hands of a terrorist. Read a great paper by two grad students, one was studying psychology and one was a film student who highlighted this trend, this was years ago. Applicable to all disaster/end of the world movies? Probably not but still it was pretty easy to see the trend they highlighted.

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: What Are You Doing Right Now

      I have a question I want to pose to all of you. I am getting ready to go on vacation with the family. I like to have pictures but I don't like having my phone out and I am just never impressed with my pictures from my phone. Am I the only one that likes to have a dedicated point and shoot camera to take pictures with, especially on vacation?

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: What Are You Doing Right Now

      @rojoloco said in What Are You Doing Right Now:

      So we're having a burger and a beer, and I looked up at one if the TVs and saw....

      CORNHOLE. ON ESPN.
      .
      .
      .

      The Ocho has become a reality.

      I was at Texas Roadhouse enjoying prime rib and that is what was on too! My wife and I had a long conversation about the implications of this.

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: What Are You Watching Now

      @scottalanmiller said in What Are You Watching Now:

      Still working through DS9. But it does get better.

      If you like Star Trek, especially the Next Generation, watch Chaos on the Bridge, it's on Netflix. It is a documentary about the business/production of it and how they had to wrestle control of it away from Roddenberry.

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: What Are You Doing Right Now

      @dustinb3403 said in What Are You Doing Right Now:

      Everyone, please welcome my daughter Diana into the world.

      She arrived at 7:26am today!

      0_1531855826365_Diana.png

      Awesome Congrats

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: What Are You Doing Right Now

      @travisdh1 we are just using our Unifi Controller.

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: Weekend Plans

      @rojoloco said in Weekend Plans:

      @jmoore said in Weekend Plans:

      @murtlap Yeah today is my birthday so happy birthday to both of us lol. Have fun!

      Hooray for all the July birthdays! Mine is Saturday!

      July has some good birthdays in it, but it really is just the prelude to the best month. It's all downhill after August.

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: What Are You Doing Right Now

      We are switching out our old switches for the Ubiquiti Unifi 48 Port 500 W POE switches. Installing a 10 GB backbone throughout the office.

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: I’d rather be....

      @scottalanmiller said in I’d rather be....:

      @penguinwrangler Dry Tortugas looks really cool.

      I am a huge history buff, I am actually only a semester away from my history degree (maybe I will finish someday). Dry Tortugas (called dry because there is no freshwater there) was where the conspirators of the Lincoln Assination were kept. I grew up and still live in Illinois and anything to do with Lincoln I find interesting.

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: What Are You Doing Right Now

      Vacation next week. Motivation this week: 0

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: Text file manipulation into CSV

      Okay actually this is what it ended up being. I didn't realize it but I had the long and lat reversed(everything kept showing up in the antartic so I knew something was amiss), so I had to add a line to reverse them.

      for i in *.txt
      do 
      sed -i '1d;2d;3d;4d;5d;6d;7d;8d;9d;10d;11d;14d;15d;16d;17d' $i
      sed -i 's/Longitude: //g' $i
      sed -i 's/Latitude: /,/g' $i
      tac $i | sponge $i
      tr '\n\r' ' ' < $i | sponge $i
      sed -i 's/[[:blank:]]//g' $i
      sed -i 's/[[:space:]]//g' $i
      sed -i '1i\
      <kml><Placemark><Point><gx:drawOrder>1</gx:drawOrder><coordinates>
      ' $i
      sed -i '${s/$/0\<\/coordinates\>\<\/Point\>\<\/Placemark\>\<\/kml\>/}' $i
      mv "$i" "$i".kml
      done
      
      posted in IT Discussion
      PenguinWranglerP
      PenguinWrangler
    • RE: Text file manipulation into CSV

      Got it. First off thanks to @JaredBusch for suggesting sed. Thanks to everyone that suggested something as well. Don't know if it is the best way of doing it but here is what worked

      for i in *.txt
      do 
      sed -i '1d;2d;3d;4d;5d;6d;7d;8d;9d;10d;11d;14d;15d;16d;17d' $i
      sed -i 's/Longitude: /,/g' $i
      sed -i 's/Latitude: //g' $i
      tr '\n\r' ' ' < $i | sponge $i
      sed -i 's/[[:blank:]]//g' $i
      sed -i 's/[[:space:]]//g' $i
      sed -i '1i\
      <kml><Placemark><Point><gx:drawOrder>1</gx:drawOrder><coordinates>
      ' $i
      sed -i '${s/$/0\<\/coordinates\>\<\/Point\>\<\/Placemark\>\<\/kml\>/}' $i
      mv "$i" "$i".kml
      done
      
      posted in IT Discussion
      PenguinWranglerP
      PenguinWrangler
    • RE: Text file manipulation into CSV

      So I think I am going to do this: Use sed to remove everything but the two cordinates and then get them transposed. Then take them and insert them into a new file in this format:

      <kml>
              <Placemark>
      		<Point>
      			<gx:drawOrder>1</gx:drawOrder>
      			<coordinates>45.0022544,35.35499874654,0</coordinates>
      		</Point>
      	</Placemark>
      </kml>
      

      Then save it as a KML file that google earth can read. Should have this down today now. Thanks guys!

      posted in IT Discussion
      PenguinWranglerP
      PenguinWrangler
    • RE: Text file manipulation into CSV

      @jaredbusch said in Text file manipulation into CSV:

      @penguinwrangler said in Text file manipulation into CSV:

      I found datamash right before I posted and I had been playing with it. In the text file what I am really trying to pull out are Longitude and Latitude coordinates.

      Longitude: 38.6270
      Latitude: 90.1994

      then I need them to be

      Longitude,Latitude
      38.6270,90.1994

      datamash transpose gives me:
      Longitude: 38.6270 Latitude: 90.1994

      sed

      I will give it a try.

      posted in IT Discussion
      PenguinWranglerP
      PenguinWrangler
    • RE: I’d rather be....

      Dry Tortugas National Park, Fort Jefferson. This is on my bucket list of places to go to.

      0_1531491865081_Tortugas3-1000x480.jpg

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • RE: Text file manipulation into CSV

      I found datamash right before I posted and I had been playing with it. In the text file what I am really trying to pull out are Longitude and Latitude coordinates.

      Longitude: 38.6270
      Latitude: 90.1994

      then I need them to be

      Longitude,Latitude
      38.6270,90.1994

      datamash transpose gives me:
      Longitude: 38.6270 Latitude: 90.1994

      posted in IT Discussion
      PenguinWranglerP
      PenguinWrangler
    • Text file manipulation into CSV

      I have several text files that are organized like below

      X: Y
      B: C
      G: F

      and I need them to go into a csv file and look like
      X,B,G
      Y,C,F

      Several rows of information separated by a ":" I need to take what is on the left make them into the top row of a CSV and then what is on the right into the CSV data. I am not a huge PowerShell scripting guy and this is time sensitive or else I would figure this out on my own and I haven't done a lot of manipulating text in Linux. This can be a Linux or Windows solution. I am researching this but if any of you have a solution that would be great. I am getting close but like I said time sensitive matter. Also, I have thousands of files I need to process so doing this by hand is out of the question.

      posted in IT Discussion powershell bash
      PenguinWranglerP
      PenguinWrangler
    • RE: Fitness and Weightloss

      Was really stressed lately and so I fell off the diet. My wife was under stress as well so she fell off with me. I went to weigh myself and wow, I still lost three pounds! I didn't tell my wife. She asked me "how much did you gain?" I avoided the question. She then kept pestering me. So finally I said, I lost three pounds. At which point she just turned around grabbed her stuff for work and promptly flipped me off and left.

      posted in Water Closet
      PenguinWranglerP
      PenguinWrangler
    • 1 / 1