This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ' Code lifted and adjusted from: http://superuser.com/questions/71786/can-i-create-a-link-to-a-specific-email-message-in-outlook | |
| ' You may have to enable links in Outlook if these links are destined for Outlook itself - http://www.davidtan.org/outlook-2007-adding-outlook-url-protocol/ | |
| ' Reference: http://www.davidtan.org/create-hyperlinks-to-outlook-messages-folders-contacts-events/ | |
| ' To Assign Keyboard Shortcut to your new Macro: http://stackoverflow.com/questions/57075/how-do-i-assign-a-keyboard-shortcut-to-a-vba-macro-in-outlook-2007 | |
| 'Adds a link to the currently selected message to the clipboard | |
| Sub AddLinkToMessageInClipboard() | |
| Dim objMail As Outlook.MailItem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* =IE7 & IE8 hax | |
| ---------------------------------------------- */ | |
| #heroku-header { | |
| min-width/*\**/: 991px\9; | |
| } | |
| /* ------------------------------------------- */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $string = '123-23-1234'; | |
| $pattern = '^\d{3}-\d{2}-\d{4}^'; | |
| preg_match($pattern, $string, $matches); | |
| print_r($matches); | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Provides a device_scale class on iOS devices for scaling user | |
| // interface elements relative to the current zoom factor. | |
| // | |
| // http://37signals.com/svn/posts/2407-device-scale-user-interface-elements-in-ios-mobile-safari | |
| // Copyright (c) 2010 37signals. | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// Folder Name (For Preparing Folders to be Moved to SharePoint) | |
| /// You cannot use the following characters anywhere in a folder name or a server name: ~ # % & * { } \ : < > ? / | " | |
| /// Cannot be longer than 128 characters | |
| /// You cannot use the period character consecutively in the middle of a folder name | |
| /// You cannot use the period character at the end of a folder name | |
| /// You cannot start a folder name with the period character | |
| /// </summary> | |
| /// <param name="folderName">vomit</param> | |
| /// <returns>vomit</returns> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>author</key> | |
| <string>Michael Sheets</string> | |
| <key>name</key> | |
| <string>Twilight</string> | |
| <key>settings</key> | |
| <array> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B367 Safari/531.21.10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # first you'll want to create a gist then `git clone` the private url | |
| # second you'll want to run this script in the gist's directory | |
| loop do | |
| `git commit -a -m save && git push origin master` | |
| sleep 60 * 4 | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defaults write com.macromates.textmate OakDocumentDisableFSMetaData 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .gitignore for .NET projects | |
| # Thanks to Derick Bailey | |
| # http://www.lostechies.com/blogs/derickbailey/archive/2009/05/18/a-net-c-developer-s-gitignore-file.aspx | |
| # Additional Thanks to | |
| # - Alexey Abramov | |
| # Standard VS.NET and ReSharper Foo | |
| obj | |
| bin | |
| *.csproj.user |