This file contains 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
string apiKey = ConfigurationManager.AppSettings["SendGrid.ApiKey"]; | |
var sendGrid = new SendGridClient(apiKey); | |
var msg = new SendGridMessage(); | |
msg.SetFrom(new EmailAddress("noreply@yourdomain.com", "No Reply")); | |
msg.AddTo(new EmailAddress("reciever@theirdomain.com", "Joe Dirt")); | |
msg.SetSubject("Hello World"); | |
msg.AddContent(MimeType.Text, "Hello World"); | |
msg.AddContent(MimeType.Html, <html><body>My Body</body></html>); |
This file contains 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
$('#flickr-carousel').twbsFlickrCarousel( | |
{ | |
tagsToSearchFor: 'mvpsummit,mvp2013,mvp13', | |
flickrApiKey: 'insert your key here', | |
paginationSelector: '#flickr-pagination' | |
} | |
); |
This file contains 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
<html lang="en"> | |
<head> | |
<!-- Bootstrap core CSS --> | |
<link rel="stylesheet" | |
href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> | |
<link rel="stylesheet" | |
href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"> | |
<link id="bootstrapTheme" rel="stylesheet" | |
href="http://netdna.bootstrapcdn.com/bootswatch/3.1.1/cerulean/bootstrap.min.css"> | |
<link rel="stylesheet" |
This file contains 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
<div class="container"> | |
<div class="navbar-header"> | |
<button class="navbar-toggle"> | |
<span class="sr-only">Toggle navigation</span> | |
</button> | |
<a class="navbar-brand" href="index.html">Intro to Twitter Bootstrap</a> | |
</div> | |
<div class="collapse navbar-collapse"> | |
<ul class="nav navbar-nav"> | |
<li class="dropdown"><a class="dropdown-toggle" href="#">Bootstrap Site </a> |
This file contains 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
$().ready(function() { | |
/* For theme switching */ | |
var themeName = $.cookie("themeName"); | |
var themePath = $.cookie("themePath"); | |
if (themeName !== undefined) { | |
setTheme(themeName, themePath); | |
} | |
}); | |
function setTheme(themeName, themePath) { |
This file contains 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
<%@ Register Src="~/ViewSwitcher.ascx" TagPrefix="friendlyUrls" TagName="ViewSwitcher> | |
<!– Add this where you want the control displayed –/> | |
<friendlyUrls:ViewSwitcher ID="ViewSwitcher1" runat="server" /> |
This file contains 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
data-ajax="false" |
This file contains 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
$("#venue").foursquareAutocomplete({ | |
'latitude': 47.22, | |
'longitude': -122.2, | |
'oauth_token': "your oauth token", | |
'minLength': 3, | |
'search': function (event, ui) { | |
$('#venue-name').html(ui.item.name); | |
$('#venue-id').val(ui.item.id); | |
$('#venue-address').html(ui.item.address); | |
$('#venue-cityLine').html(ui.item.cityLine); |
This file contains 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
[Extension( | |
"Adds the Google Plus One to your blog Posts", | |
"1.0", | |
"<a href=’https://www.josephguadagno.net’>Joseph Guadagno</a>", | |
800)] |
This file contains 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
var settings = new ExtensionSettings(ExtensionName) | |
{Help = "Adds Google Plus One to your Post Home page and Post page", IsScalar = true}; | |
settings.AddParameter("size", "Size", 20, false, false, ParameterType.ListBox); | |
settings.AddValue("size", new[] { "standard", "small", "medium", "tall" }, 'standard'); | |
ExtensionSettings = ExtensionManager.InitSettings(ExtensionName, settings); |
OlderNewer