Using my fun Google Analyitics Bash Script
July 9151
June 8171
May 7352
April 5027
March 3966
February 3160
January 2741
Using my fun Google Analyitics Bash Script
July 9151
June 8171
May 7352
April 5027
March 3966
February 3160
January 2741
In this post, I showed how to put a delegate control at the top over every page, and in the control add the links to the jQuery libraries. This is nothing new, there are many articles that show how to do this. I took this a step further and I included code to do the following:
For example if I am browsing to http://sharepoint.company.com/Lists/Announcements/AllItems.aspx, and there is a file in the desiganted Document library named “_lists_announcements_allitems.txt” then it’s contentens will show up in the addition page header.
Some of the benefits I have found with my methods
Here is the code I am using in the Delegate Control (ascx)
string CurrentSiteRelativeURL = CurrentUrl.ToLower().Replace(CurrentWeb.Url.ToLower(), "");
string CustomFileName = CurrentSiteRelativeURL.Replace("/", "_");
string PageSpecificHeaderIncludes = CurrentWeb.Url + "/DocumentLibraryWithCodeInIt/" + CustomFileName.Replace(".aspx", ".txt");
Response.Write("<!--PageSpecificHeaderIncludes:" + PageSpecificHeaderIncludes + "-->");
if (CurrentWeb.GetFile(PageSpecificHeaderIncludes).Exists == true)
{
SPFile tempFile = CurrentWeb.GetFile(PageSpecificHeaderIncludes);
StreamReader reader = new StreamReader(tempFile.OpenBinaryStream());
string myText = reader.ReadToEnd();
reader.Close();
Response.Write(myText);
}
Anyone else doing anything like this? Thoughts?
I wanted to hide a column and I found this simple way to do that in jQuery. Can’t find where I originally came across it. Sorry if you figured it out first.
$('th:nth-child(5),td:nth-child(5),th:nth-child(6),td:nth-child(6)').hide()
This hides the 5th and 6th columns. I am going to use this in a SharePoint list where I want to hide the column and put the contents in a jQuery dialog box. More on that in a bit (I hope).
Update: found my source for this
I wanted to remove a mailto and leave just the email address:
$('a[href^="mailto:"]').contents().unwrap();
Been working with @xrobx99 on this one. We had a request for TweetDeck to be installed on a couple of user’s machines. We feared that word would get out and everyone would have to have it. So we have been looking into deploying TweeDeck silently through SCCM. Using my SCCM PowerShell install script (which is basically just a wrapper for the msi commands) we have observerd the following issues below:
When run silently with the command: msiexec /i TweetDeck.msi /q /norestart /l c:\Temp\TweetDeck.log
Other Non-enterprise ready issues that we have observed:
It is entirely possible that I am doing something wrong, but those are my findings.
UPDATE I realized that I can use the ALLUSERS=1 parameter and the program will be installed for all users, then the Icons and Add remove programs will be correct. Maybe the packagers need to include ALLUSERS=1 in their packaging software? Updated install string:
msiexec /i TweetDeck.msi ALLUSERS=1 /q /norestart /l c:\Temp\TweetDeck.log
I can never remember this. More of a note to myself. I just got the new iPad (thanks wife!) and when I added my google apps account as an Exchange server, my delegate calendars did not show (for example, the shared family calendar).
All I needed to do was to visit m.google.com/sync from the iPad, log in, and I can select what calendars my device sees.
I have worked on Solaris and RedHat/CentOS (although Solaris was many years ago, so I should just admit that I no longer know where anything is). I find Debian to be a different dialect than RedHat. This post is going to serve as my translation cheat sheet.
complete -W "$(sed -e 's/^ *//' -e '/^#/d' -e 's/[, ].*//' -e '/\[/d' ~/.ssh/known_hosts | sort -u)" ssh ping
I am constantly having to look this up. What is a vBulletin’s form’s rss feed?
http://www.myforum.com/external.php?type=rss&forumids=1
Obviously the admin has to enable it. Have not tested against all versions