by joe.pesch
30. August 2015 15:13
When using Font Awesome with bundling and optimization you need to add the CssRewriteUrlTransform() to the font awesome bundle (as shown below).
BundleTable.EnableOptimizations = true;
bundles.Add(new StyleBundle("~/bundles/css/font-awesome").Include(
"~/css/font-awesome.min.css", new CssRewriteUrlTransform()
));
3017e8b6-3705-4842-8143-2fdea39e3c37|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
CSS
by joe.pesch
30. August 2015 12:03
div.carousel-wrapper{
width: 80%; /* for example */
margin: auto;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img{
width: 100%; /* use this, or not */
margin: auto;
}
25803c8f-2c86-4b19-bbd1-230df791d126|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
CSS
by joe.pesch
30. August 2015 12:03
div.carousel-wrapper{
width: 80%; /* for example */
margin: auto;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img{
width: 100%; /* use this, or not */
margin: auto;
}
a08be03b-3242-4e9d-953d-8f260baf8325|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
CSS | Bootstrap
by joe.pesch
20. August 2015 07:04
declare @d1 datetime, @d2 datetime
select @d1 = '8/1/2015', @d2 = '8/20/2015'
select datediff(dd, @d1, @d2) - (datediff(wk, @d1, @d2) * 2) -
case when datepart(dw, @d1) = 1 then 1 else 0 end +
case when datepart(dw, @d2) = 1 then 1 else 0 end
bbea0457-8a4d-4955-89f5-b5848f7e0fbc|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
SQL Server
by joe.pesch
2. August 2015 09:46
Run CMD as administrator and run the following commands:
POWERCFG -X -hibernate-timeout-dc 0
POWERCFG -X -hibernate-timeout-ac 0
POWERCFG -H OFF
69a714b1-c551-4dc2-9b57-321a729239fc|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags: