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
USE [DatabaseName] | |
GO | |
-- Searcj all Tables for a given Column Name | |
-- Refine WHERE Clause to suit your needs | |
SELECT t.name AS table_name, | |
SCHEMA_NAME(schema_id) AS schema_name, | |
c.name AS column_name | |
FROM sys.tables AS t |
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 snippet --> | |
<div class="form-group"> | |
<div class="col-md-12 text-center"> | |
<span class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span> | |
</div> | |
</div> |
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
/* Source: http://stackoverflow.com/questions/16310985/add-border-to-circle-image */ | |
img.circle-border { | |
width: 126px; | |
height: 126px; | |
border: 5px solid #fff; | |
border-radius: 150px; | |
-webkit-border-radius: 150px; | |
-moz-border-radius: 150px; | |
box-shadow: 0 0 8px rgba(0, 0, 0, .8); | |
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8); |
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
// NOTE: This requires a USING clause for System.Web.Mvc | |
var selectListItems = new List<SelectListItem>(); | |
// Add Default Selection | |
selectListItems.Add(new SelectListItem | |
{ | |
Text = "-- Make a Selection --", | |
Value = "0", | |
Selected = true | |
}); |
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
input { | |
text-transform: uppercase; | |
} | |
::-webkit-input-placeholder { /* WebKit browsers */ | |
text-transform: none; | |
} | |
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ | |
text-transform: none; | |
} | |
::-moz-placeholder { /* Mozilla Firefox 19+ */ |
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
// On Key Up Event Handler to ensure Numeric Inputs adhere to their Max Length | |
$('input[type=number]').on('keyup', function (event) { | |
var maxlength = $(this).attr('maxlength'); | |
if (this.value.length > maxlength) { | |
this.value = this.value.slice(0, maxlength); | |
} | |
}); |
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
// Source Discussion: https://github.com/twbs/bootstrap/issues/5169 | |
$('#do-modal').click(function(e) { | |
e.stopPropagation(); | |
$('#foo .modal-body').load(this.href, function(response, status, xhr) { | |
/* do something cool */ | |
$('#foo').modal(); | |
}); | |
}); |
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
<system.webServer> | |
<staticContent> | |
<!-- Remove any potential Web Server Settings for Web Fonts to be used --> | |
<remove fileExtension=".eot" /> | |
<remove fileExtension=".otf" /> | |
<remove fileExtension=".ttf" /> | |
<remove fileExtension=".woff" /> | |
<remove fileExtension=".woff2" /> | |
<!-- Define Web Font Mime Types that will be used --> |
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
.carousel-control.left | |
{ | |
background: none; | |
} | |
.carousel-control.right | |
{ | |
background: none; | |
} |