Sunday, July 1, 2012
Pro jQuery - Chapter 4 (JavaScript Primer)
So it uses a lot of console logging, and created objects for its own demonstrations. It went into how you'd add a method onto a function, which is very different from how you would in c#. It was actually very good at explaining how to determine if an object has a property, explaining the differences between null and undefined. I spent a good portion of my time on this since it is a little different from c#.
The book did touch on array methods, but didn't go into depth. I'm glad about this because as I said earlier, it was longer than it needed to be.
So they had to put this chapter in for sure, but I feel that it was still a little long. It isn't really going to be of any assistance if you have a problem. You're going to need to go to another JavaScript reference and look at it there.
I am excited though because I see the next part is called "Working with jQuery".
Sunday, June 24, 2012
Syntax Highlighter - Show code directly in your Blog
Friday, June 22, 2012
RadioButtonGroup Across Multiple Rows in a Gridview
Loop through every row, and find the radio button you want, then turn it off. Go back to the radio button that was originally selected, and then select it. We can do this because we can go back to the sender, find it, and modify it. Here's the code that does it:
protected void rdoPolicy_CheckedChanged(object sender, EventArgs e) { DeselectRBButtons(); RadioButton sendingRB = (RadioButton)sender; sendingRB.Checked = true; } private void DeselectRBButtons() { int x = 0; foreach (var gridviewRow in grdPolicies.Rows) { var rb = (RadioButton)grdPolicies.Rows[x].FindControl("rdoPolicy"); rb.Checked = false; x++; } }
Monday, June 4, 2012
Improving the quality of software using Code Reviews
Friday, June 1, 2012
My Favorite Chrome Extensions
Adblock Plus
Adblock Plus prevents advertisements from being displayed to you. Nearly any big time website now has advertisements on it, and when you visit them regularly, you’re going to become annoyed and get a lot of the same advertisements regularly. It doesn’t matter if it is a video, a banner, text link or even pop up – it gets blocked.I understand that advertisements help fund the websites I visit. I understand that advertisements help inform me of products that are available. However there are simply too many. Without Adblock Plus, I get advertisements for hockey and software related products all the time. When I go to YouTube I have to watch an advertisement that is longer than the video itself.
Copy Link Text
Copy Link Text is a very simple, but effective extension for copying and pasting links. While I don’t use it regularly, when I do use it, it saves me a lot of time. Rather than having to highlight the link (which can be difficult based on how the browser behaves sometimes), then copying it, I can just right click on the link and select “Copy Link Text” and the text displayed is what goes to my clip board. I use it regularly when in my bug tracking system at work.Firebug Lite
Firebug Lite is a great tool when it comes to development. I use it a lot when it comes to styles so I can examine the styles being applied, where they’re coming from, as well as modify them right in the browser to see what rules I need.However, The DOM explorer, as well as script viewer also makes this tool extremely beneficial to anyone doing front-end web development. There is a console tab as well that looks like a glorified console for JavaScript debugging and logging but I have yet to use it.
TweetDeck
A popular tool for your social media needs. TweetDeck allows you to log into multiple twitter accounts, and maintain them all in one area. It is great for people who run different online brands, and don’t want to have to log into many different accounts. Simply compose your update, select which account(s) you want that update posted to and go.You can also schedule posts, post images, use their auto link shortener, follow trends, and a few other interesting little tools.
Checker Plus for Google Calendar
The newest addition to my extensions is CheckerPlus for Google Calendar. This extension is fairly powerful and integrates with Google Calendar. In the corner of your screen, a small notification will show up when you’er coming up on an appointment. You can snooze it if you like but it will come back. It is a lot like the notifications for Outlook, but using Google Chrome.You can also schedule new events in your calendar right from your browser by clicking a button. While there are a ton of configuration settings, it makes it very powerful and a bit overwhelming at first. But once you set the settings to how you want them, you really never go back into it.
Sunday, May 20, 2012
Pro jQuery - Chapter 1-3
Monday, March 26, 2012
Creating a Comma Delimited String from an Array
Saturday, March 24, 2012
Using Gmail/Google Apps for your Email
One issue I've always had with hosting websites is the email. I've never liked having to deal with mail servers, configuration, spam blocking, and so on. Google has come out with Google Apps. Google Apps is a suite of web based office tools, offered to businesses for basic organization. Tools like email, spreadsheets, calendars, and so on are just a few of the main tools available.
I'm using this for my personal site, so as long as I stay within a few reasonable limits, I don't have to pay to use this service. I was excited to get this started, and here are the steps to set this up.
1. Go to the Google Apps Home Page. Click on Begin Free Trial.
2. Enter in your domain name in the first box. I assume you've gotten a domain from GoDaddy, or Dotster, or some other registrar.
3. Fill in the remaining information, accept the terms and service, and click the create my account button at the bottom.
4. You may get a message about you being logged into a different Google account, but you'll want to switch to the new account you just made for your domain. It will be considered the Administrator account for your mail.
5. I went with the Express setup, so click Express. Then click next. Click next.
6. Download the HTML Verification file, and post it into the root directory of your website. By putting it there, Google can confirm you own that domain. Go back to the Google wizard, and click Verify.
7. Click the radio button No, and then click next. Click Next. Click Next. You're going to want to use Google's servers for routing, and click next.
8. Find your domain host in the drop down list (I had to select other).
9. Add the MX records to your domain. If you don't know how to do this, contact your registrar for help. You can do some Googling too to find out how to do this. What this does is have all of your mail go to Google's servers.
10. Click next. Make sure yes is selected, and click next. This screen tells you if you did it correctly, but is kind of useless because it'll take your changes quite a while to propagate through the internet. Usually 24 hours is the rule. Click Next.
11. Unless you want Google Calendar right away, click Do this later.
12. Unless you want Google Docs right away, click Do this later.
That's it. There are a lot of tools that you aren't using, but my goal was to get you up and running with your email pointed to Gmail as fast as I could. Any time you want to go in and make changes, like adding users, or setting up other services across your entire domain, you can go to the login for Google Apps, and select Sign In at the top.