So I had a post

by stephen mcgroarty 8/7/2008 10:51:51 PM

So I had a blog post all done up and good to go, when my computer blue screened. It is my own fault, I just plugged a hard drive into it so that I could work from it today instead of killing laptop batteries. I just cant remember what I had typed out.

So for that you get nothing other then my first real perl script

#!/usr/bin/perl

use strict;
use warnings;

my $word = "Times";
my $number = 12;

print "$number $word $number is ", $number * $number "\n";

yup that's it.Simple, to the point, and does something. It is a begining and that is the important part. I am not trying to be a perl expert or anything, I am just trying to get the basics of it, after all these years.

I think I am also going to work on some powershell scripting as well sooner or later.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

General

Running in circles

by Stephen McGroarty 7/29/2008 11:28:00 AM

I know I said I would update more regularly, but I had an interesting issue, or three.

First issue for fun and enjoyment, my laptop died. Dead. Kapoot. I can get the data off of it, which is good because it had a lot of my stuff on there, but it would not charge at all. The charger works, and no I didn’t lick it to find out. It would just not charge or turn. So reset in peace Annonymous. For a replacement I am using an iBook G4, it is actually a really nice replacement for 90% of the simple things that I do. I read email, try to respond to it, look at web pages, I tried to do a blog update but couldn’t type overly well on it, REALLY small keyboard.

 

I also got another car, I need to post a pic or two of it, maybe Angsto will want to run downtown this weekend and take a couple pics of it. It is an 1998 Honda Civic CX. The manufacture color is “Dark Amethyst Metallic Pearl” that means it is a pretty shiny purple color. Although to be honest and fair to it, the car does look blue in some lights, grey in some lights, and purple in direct sunlight. The idea behind it is to save gas, it gets about 35MPG so keep the moding on it to things that will only improve MPG I should be good.

I am trying to find a tip that is helpful and when asking a couple of people they had some interesting ones, today we are going with Kolbold’s choices of commands:

Tree – shows you a tree view of all the folders on your computer.

Attrib – allows you to view and change the attributes on a file or folder

Assoc – shows you the file association view, by extention

Find – allows you to locate files form the command line.

 

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Cars

Time for an overhaul

by Stephen McGroarty 7/14/2008 1:15:00 PM

I think it is time to start expanding my web site. But this will wait till after the in-laws leave. They are visiting from Canada. But some items I think need changing.

  • Rotating odd links - put back the random links
  • blog rolls - find out what they are and if i actually want to use them
  • news feeds - everyone else is doing it
  • removal of the Silverlight photo gallery - not everyone has silverlight

This is just a short list and I am not going to redesign the entire site, I really like the look and feel and I thank angsto for the nice background pic.

Other randomness - a 1997 Honda Civic gets better gas mileage then most new cars, including the Hyundai Accent, Scion Xd, Mazda 3, and 2007 Honda Civic http://www.fueleconomy.gov/ 

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Something Quick

by stephen mcgroarty 7/9/2008 2:24:41 AM

So a quick one for you all. Windows Find command. It is a nice simple command and it helps find files and folders on a computer, but it can also work kind of like grep for linux. It can read the output of another command and find what you are looking for.

C:\Users\smcgroarty>netstat -ano | find  /i "135"
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       832
  TCP    [::]:135               [::]:0                 LISTENING       832

When used with the /i switch it tells it to ignore case so it will just match what is in the double quotes.

C:\Users\smcgroarty>systeminfo | find /i "Boot time"
System Boot Time:          7/8/2008, 11:44:04 PM

C:\Users\smcgroarty>systeminfo | find "Boot time"

So that is my tip of the week.

Next time I am going to try for terminal services.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Weekly Tip

Something Topical

by stephen mcgroarty 7/2/2008 1:08:23 AM

Ok Kolbold, you have a point, I have all this knowledge in my brain, and I should start sharing some of it.

Something topical about IIS 6.0. Some people don't know how to configure a simple web site with ASP.NET v2.0 so I am going to touch on that with a couple of screen shots.

Start with Opening IIS Manager and expand the IIS Server > Web Sites and then Right Click on it and select New > Web Site

image

Select Next on the first screen and you will have to give it a description, this description will be what you see when you look at the Web Sites on IIS.

image

 

The next couple of options can be fun for all.

image

The IP Address is what IP on the server you want the site to respond to, be default it will try to answer on all IP Addresses on the server, if you leave the IP address as All Unassigned it will answer to either All the IP Addresses on the server if it is the first site on the server.

TCP Port this Web site should use is defaulted to the standard web port of 80. If you change this you have  remember to use the colon and the port number in your web browser, such as http://www.google.com:8080 (this doesnt work, google answers on port 80)

The last part of this page is the Host header, this is the address that the web site will answer to. If you use this part you either need to have your DNS setup correctly to resolve to this site/server or edit your local hosts file. If you do not have a Fully Qualified Domain Name then it is best to leave this blank.

The next part is the path, you can browse for the location or you can create a new location.

image

If you have not uploaded/copied your files to your web server then it is best to create the location at this step.

Also if you plan on allowing just anyone to connect to this location, like every other site on the internet, you will want to leaved the box for Allow Anonymous access checked.

When you click next, you will be given a couple of more choices.

image

By default the Read option is checked, this is so others can view your web site
Run scripts is mainly for older scripts such as asp and java scripts, depending on your site usage you can leave it unchecked or check it.
Execute is for perl or CGI applications.
Write: you really dont want to check this, in fact you want to do everything possible to keep from checking this box. This allows people to write to your website, change files, and upload new content, all to your website.
Browse allows people to browse the files of your site, this listing would generally come up if someone goes to the top of a directory, if you do not have a default document.

It is ok to just the default Read checked.
Then Next and you are finished

Notice nothing about the ASP.NET version to use, or even a configuration on it. That part is next

In IIS Manager, you will see the your web that you just created. Now Right Click on it and select Properties. You will notice serveral tabs on this page, select ASP.NET and choose your version.

image 

Somehow I lost ASP.NET v1, so currently i have only one choice, but yours should have two or three choices.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Administration

General Randomness

by Stephen McGroarty 6/27/2008 11:34:00 AM

So I have a Zune now, and I am really loving it. I have discovered podcasts for the first time ever. They are really neat and simple and fun. The nice part about having a dedicated media player is that there is a centrel location to get podcasts. Some of the ones that I really like and have found lately are Coffee Break Spanish, Hak5 and some of the G4TV stuff. Yeah G4 doesnt get a link, they can find themselves.

This post is a bit different as I am not using Microsoft's Live Writer, but actually logged into the web site to do an update. Not like Live writer was doing anything other then telling me when I had mispelled words. It didnt really help with grammer (thanks for pointing that one out Kolbold) So back to the randomness that is me being bored at work.

Actually my question is, do blogs actually help people? I am using google analytics and I am seeing I am getting google results for things like
headless windows 2008 install
nothing special about me
adding bluetooth to yukon denali
Based on those things, my blog is useless. So far I am just a talker and not really showing much in the way of technology, I can do a lot and would offer answers if someone emails me directly, but in general I just babble about useless information, just like every other blog. So I think it will be time to get starting and actually do some things and show how to do things.

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

General

Less Then Regular Updates

by stephen mcgroarty 6/19/2008 1:17:08 AM

Ok so I need to work out an actual blogging schedule, just to keep things lively. I also need to check my email more regularly, seems I have a few unread email messages.

I did a computer upgrade this weekend, it has been about two years since I got new hardware so I went slightly over the top with an Intel e8400 and Gigabyte EP-35DS3L motherboard, It is just fast. It is a 64bit CPU and as my first personal one, it is nice. It is just smooth and fast and quite. I had a Shuttle PC prior to this, and yes it was cute and small, but it was OMG loud, It also generated a lot of heat, the CPU temp was an average of 59 Celsius, while this one is 40 at idle. I have a co-worker who put OSX on his but I havent tried that yet, I am just getting to Vista x64, it is smooth and fast, and has some fun issues, such as Flash doesn't work with the 64bit web browser. I haven't gotten any father then that yet but I am still dinking with it.

On an amusing note I just found out about Leeroy Jenkins!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

General

Exchange has wow factors

by stephen mcgroarty 6/11/2008 1:58:51 AM

So I have been working with Exchange 2007 and it has a lot of advancements over previous versions. One thing that I feel it is missing is in the area of Unified Messaging. It can interact with a few PBXes and IP PBXs out of the box, and a few motivated people have been able to use sipX as a Sip Proxy to pass the traffic from an asterisk server to the Exchange server. It is actually really simple if you follow these instructions by Ryan Newington. It is a bit older, and some things you have to guess at because they have changed, such as trixbox configurations and layouts, but over all you can swap out trixbox for other asterisk distributions, just remember to RTFM.  It does help to have a familiar with Linux in general, there is a lot done on this with Red Hat distros, such as Fedora or CentOS. I had some interesting issues trying to get the trixbox virtual machine running, such as I had to re-install GRUB, and use VMWare Converter (thanks Kobold) to convert the machine image from an ESX image to a VMware Server image. At the moment though, my system is stuck at the authentication stage from one server to the sipX proxy. I can call from the trixbox to the exchange server, but I can not call from the outside to the exchange server. I will try to work this out tomorrow.

I am tired and starting to ramble so I will just leave it at this for tonight.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , , , , ,

email

News of the World

by stephen mcgroarty 6/7/2008 12:06:40 AM

So with the new job I get time to actually do things. I figured out the certificate services thing I was working on, and kind of depressed about it because it was not the resolution that we, as a company, were looking for. I think I might revisit it in a few weeks. Since then I have moved on to Exchange Server 2007, more specifically Unified Messaging, where you can get email, voicemail, and calendar events all in one location. I know, you can get that with a smart phone as well, but what if your phone is not a smart phone? And what if your out of cellular range? you an use a pay phone/calling card and dial up your extension to check everything at once. The technical back end of this is odd as well The requirements for Microsoft Exchange Server 2007 are monstrous, but then again exchange server has always had high requirements. There are some other neat feature of the new exchange server as well, what MicroSoft is calling an Edge server. It is a server that sits in the DMZ that has a list of allowed email addresses and domains, users can set their own blacklists and whitelists. Again that is PER USER not per domain, and one users rules won't effect anothers. The edge server also does not need to be connected to the domain directly, it can not user the ADAM transport services to get just the information that it needs, this is for those ultra paranoid people out there. When setting up the edge transport it will configure ADAM for you so there is no need to get overly technical on that subject. In the new exchange server you are also able to easily set up rules, such as one department not being allowed to email another, for reason I wont go into, but this is done with a few mouse clicks.

I know I am missing a lot of the normal screen shots I like to take, I will try to get some later, right now I am still in my test mode so it is just a general overview of how things work. Another part of how exchange works it can integrate with your phone system, there is a recommended and supported list, but we are already using Asterisk for ours so we had to be creative. There is a blog entry that goes over the details, and I have been able to get this to mostly work on my test lab, I have one last part to connect and that is the asterisk system to sipX, it should be pretty simple though. I say simple like I am an expert with VOIP and Exchange, I actually not that knowledgeable with either, I have actually just learned most of my knowledge with this one project.

Next in News of the world, my shuttle looks like it is dying, every time I tried to sync my Zune with it, it shuts down, this is not a happy thing. It has had problems with the USB ports for a while, I think this is just setting it off completely. It is an older machine, it was about a year old when I bought it two years ago. So I started looking around NewEgg for bits and pieces, I do not want to get another shuttle though. It is just LOUD, it is actually louder then the two 1U servers. It has been a good computer, I have been able to run EVERY operating system on it, including Linux (ubuntu, Fedora, CentOS, Slackware, and E-Live) Windows XP and Vista, and OSX. So it has been a good computer, and has been running Vista since about November without issue, well with Minor issues, such as video drivers (damn nvidia) not working correctly, and random smaller issues that have since been resolved one way or another.

I am now a proud owner of a Red 8GB Microsoft Zune, I am such a Microsoft Whore. It is nice, it does not have the video out feature that I really wanted, need to learn to read all the details, but it does work by hooking the A/V cables to the AUX input in my factor DVD player in my SUV, and the cables are long enough to give me easy control while driving. It will also hook up to the DVD player in my Sonoma. The Zune Marketplace also has PodCasts, no apple doesn't own that term, and I have found some neat things with it. There is Coffee Break Spanish, the G4 stuff, Slashdot Review (yes i am this big a geek), and Microsoft TechNet Radio are the first ones I have found. Fun stuff to listen to while on the way to work. Also I signed up for their Unlimited Access pass, and that is amusing. Most stuff is covered under that, like songs and albums, if they have them, but videos, and Disney songs are not. I just cant figure out why the Disney stuff is extra.

Things that I missed in this post, Got the SUV back, I need to take some pictures of what is now different on it. It went to Vegas on a road trip and I won a long distance trophy from the New Ground show.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , , , , ,

General

A whole lot of nothing

by stephen mcgroarty 5/27/2008 1:31:17 AM

So not a whole lot going on, I finally updated Californi Cruizers web site, check the location, no longer at Ricky and Ronnie's, now we are at the Super K-Mart on Figueroa and Torrance in Carson. The location is a lot roomier then where we were at, but it isn't as cool as Ricky and Ronnie's was. To be honest though, we outgrew that spot about 2 years ago, it does not hold more then 75 cars and we would get more then 120 in there.

I have been trying to study for the next certification but work has been getting in the way. So far I have found out how to setup a Microsoft Certificate Server and a Private Key Infrastructure. It is actually a neat idea, to have resources controlled by certificates and either expire or issue them to the computer based on the user, computer, or a combination of the two.

That is about the only is I am planing a road trip to Vegas this weekend for a New Ground 702 car show. It is my brother's club. It should be fun and interesting.

Wow I really do not have a lot to talk about. I think it might be partly cause I am trying to quit smoking and my brain isnt functioning fully at the moment, it hasnt been all weekend. But my scene of smell has gone way up. I can smell things that I couldn't smell last week. It is driving me crazy actually.

Ok that is it for me.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

General

Powered by BlogEngine.NET 1.3.0.0
Theme by Mads Kristensen
Hacked by Stephen McGroarty
Content © Stephen McGroarty


About the author

Stephen Mcgroarty - Avatar Stephen McGroarty

I am a Microsoft Certified Professional with Windows 2003 Server. I have a firm understanding of Linux, Windows, and everything needed for both workstation and servers.

E-mail me Send mail

Calendar

<<  August 2008  >>
SuMoTuWeThFrSa
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456

View posts in large calendar

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008