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="well" style="position: fixed; bottom: 0; left: 0; display: inline-block; height: auto; z-index: 99999"> | |
<div class="visible-xs text-center text-danger"> | |
<b>xs (extra small)</b> | |
</div> | |
<div class="visible-sm text-center text-warning"> | |
<b>sm (small)</b> | |
</div> | |
<div class="visible-md text-center text-primary"> | |
<b>md (middle)</b> | |
</div> |
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
NodeList.prototype.forEach = function(fn){ | |
var list = this; | |
for(var i = 0; i < list.length; i++){ | |
fn.call(list[i], list[i], i, list); | |
} | |
}; | |
HTMLCollection.prototype.forEach = NodeList.prototype.forEach; |
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
/** | |
* Object.prototype.watch polyfill | |
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/watch | |
* | |
* Known limitations: | |
* - `delete object[property]` will remove the watchpoint | |
* | |
* Based on Eli Grey gist https://gist.github.com/eligrey/384583 | |
* Impovements based on Xose Lluis gist https://gist.github.com/XoseLluis/4750176 | |
* This version is optimized for minification |
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
.text-xs-left { | |
text-align: left !important; | |
} | |
.text-xs-right { | |
text-align: right !important; | |
} | |
.text-xs-center { | |
text-align: center !important; |
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
SET DIRECTORY_NAME="C:\OldWindows" | |
TAKEOWN /f %DIRECTORY_NAME% /r /d y | |
ICACLS %DIRECTORY_NAME% /reset /T | |
PAUSE |
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
.col-xs-five, | |
.col-sm-five, | |
.col-md-five, | |
.col-lg-five { | |
position: relative; | |
min-height: 1px; | |
padding-right: 10px; | |
padding-left: 10px; | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<clear /> | |
<rule name="TempRewriteToWeb" stopProcessing="false"> | |
<match url="^(web/)?(.*)$" /> | |
<action type="Rewrite" url="web/{R:2}" logRewrittenUrl="true" /> | |
</rule> |
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
.container.no-gutters { | |
padding-left: 0; | |
padding-right: 0; | |
} | |
.container.no-gutters .row { | |
margin-right: 0; | |
margin-left: 0; | |
} |
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
function replaceElementTag(targetSelector, newTagString) { | |
$(targetSelector).each(function(){ | |
var newElem = $(newTagString, {html: $(this).html()}); | |
$.each(this.attributes, function() { | |
newElem.attr(this.name, this.value); | |
}); | |
$(this).replaceWith(newElem); | |
}); | |
} |
OlderNewer