Author: jbmurphy
-
PowerShell is great
Okay, I drank the Kool-Aid. PowerShell is awesome. The first thing I wanted to do was make sure my $profile is always the most current no matter what machine was on. In the past I had a batch file that I would run that would open my command prompt the way I wanted. I modified…
-
Using a sub-select to find machines that do not have the most recent version of a package.
Many people have blogged about this – how to find machines that don’t have the most recent version of a package installed. First we write a query to show machines that don’t have the software installed (in this case firefox) Next we write a query to show the machines that have the most recent software…
-
How I created a “Copy to new item” functionality for a SharePoint list – Part 2
Second part. First Part can be found here. On the second page (NewForm.aspx), I grabbed out of the querystring the values for the source list item and the name of the list. I used this person’s query string parser. Then I used the following SOAP query : In the last three lines I changed the…
-
How I created a “Copy to new item” functionality for a SharePoint list – Part 1
I wanted to create a “copy to new item” functionality for a SharePoint list. Steps I came up with: The first thing I had to do was add a link to the context menu (I learned that it is called an ECB) and have it point to the NewForm.aspx. Once I got that, I could…
-
How to get into Web Part Page Maintenance mode
For when you screw up a CEWP with bad code, you can use the query string “contents=1” to remove the offending webpart.
-
How to add a webpart to a Sharepoint “NewForm.aspx”
I wanted to put a hidden CEWP on top of a standard SharePoint input form (you know when you click “NEW” too add an item to a list). The edit page was grayed out. I added to the querystring “NewForm.aspx?ToolPaneView=2” and I can add the CEWP to the top of the page. Once I added…
-
BASH (readline) keyboard shortcuts
I was just in training and the instructor was a command line keyboard shortcut wizard. He was magically making words disappear and reappear. So i fond this list of shortcuts. Many of them did not work in my OS X BASH prompt.I fond I had to go into the terminal.app preferences and select “use option…
-
ip_conntrack_ftp renamed to nf_conntrack_ftp?
Have they renamed ip_conntrack_ftp? Is it now nf_conntrack_ftp?
-
I am a RHCE!
Now I need to update my MCSE to MCITP
-
Create a blank floppy image in Mac OSX 10.6
dd if=/dev/zero bs=1024 count=1440 > floppy.img Disk Utility -> File -> Open Disk Image -> floppy.img (you will get an error like no mountable filesystems) Select floppy.img in Disk Utility, and the erase tab Select MS-DOS FAT as the format. Eject floppy.img
