Editing Existing SSIS Packages using BIDS: Thank you, Patrick LeBlanc!

I’ve been learning a lot at the new job. Last week, I got to figure out how to edit an existing SSIS package on SQL Server. (Read: I needed to figure out what a package was and what an existing one was doing.)

This article was awesome and aided me upon my quest: http://www.bidn.com/blogs/PatrickLeBlanc/ssis/591/editing-saved-packages

More on Business Intelligence Development Studio (BIDS): http://msdn.microsoft.com/en-us/library/ms173767%28v=sql.105%29.aspx#StartPage

 

Displaying Code in a WordPress Post

“While WordPress.com doesn’t allow you to use potentially dangerous code on your blog, there is a way to post source code for viewing. We have created a shortcode you can wrap around source code that preserves its formatting and even provides syntax highlighting for certain languages”

http://en.support.wordpress.com/code/posting-source-code/

-code language=”css”-
your code here
-/code-

Note: replace dashes with [ ] brackets.

The following languages are supported:
•actionscript3
•bash
•clojure
•coldfusion
•cpp
•csharp
•css
•delphi
•erlang
•fsharp
•diff
•groovy
•html
•javascript
•java
•javafx
•matlab (keywords only)
•objc
•perl
•php
•text
•powershell
•python
•r
•ruby
•scala
•sql
•vb
•xml

If the language parameter is not set, it will default to “text” (no syntax highlighting).

WordPress: make the page with a single post display differently than the page with a list of posts

This requires conditional tags:
http://codex.wordpress.org/Conditional_Tags

I ended up using the following code in the content.php file (inside the “article” element):

<?php if ( is_single() ) { ?>
    //your stylesheet for single

<?php } elseif ( is_home() ) { ?>
    //Your stylesheet for home

<?php } else { ?>
    //Your everything else stylesheet

<?php }?>

http://stackoverflow.com/questions/9520281/else-if-statement-wordpress