process.env.PORT process.env.IP
mkdir data echo 'mongod --bind_ip=$IP --dbpath=data --nojournal --rest "$@"' > mongod chmod a+x mongod mongod --smallfiles --nojournal
{"lastUpload":"2020-09-29T15:44:08.124Z","extensionVersion":"v3.4.3"} |
{"lastUpload":"2020-09-28T23:49:53.031Z","extensionVersion":"v3.4.3"} |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web.Http; | |
using Umbraco.Core; | |
using Umbraco.Web; | |
namespace ProductInfoSPA.Controllers | |
{ | |
// Define the initial path for the API. |
charMap = ""; | |
for (i=33;i<65500;i++) { | |
charMap += "<span title='&#"+i+";'>&#"+i+";</span> "; | |
} | |
document.body.innerHTML = charMap; |
<style type="text/css"> | |
color: green\9; /* all ie */ | |
color: green\0/; /* lte ie8 */ | |
*color: green; /* lte ie7 */ | |
_color: green; /* ie6 */ | |
</style> |
element.className.replace(/(?:^|\s)disabled(?!\S)/g,''); |
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xslt="http://xml.apache.org/xslt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" encoding="UTF-8" xslt:indent-amount="2" /> | |
<!-- Technique #1 --> | |
<xsl:template match="@*|node()"> | |
<xsl:copy> | |
<xsl:apply-templates select="@*|node()"/> |
$("a[href='#']").click(function(e) { | |
e.preventDefault(); | |
}); |
if(window.navigator.appName == "Microsoft Internet Explorer") { | |
window.console.log("MSIE console output"); | |
} else { | |
console.log("WebKit and Gecko console output"); | |
} |