snipt

Ctrl+h for KB shortcuts

HTML

Nagłówek HTML5 z RDF

1
2
3
4
5
6
<!DOCTYPE html>
<!--[if IEMobile 7]><html class="iem7" lang="pl" dir="ltr"><![endif]-->
<!--[if lte IE 6]><html class="lt-ie9 lt-ie8 lt-ie7" lang="pl" dir="ltr"><![endif]-->
<!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8" lang="pl" dir="ltr"><![endif]-->
<!--[if IE 8]><html class="lt-ie9" lang="pl" dir="ltr"><![endif]-->
<!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html lang="pl" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema#"><!--<![endif]-->
https://snipt.net/embed/3d5f6663a7cc4aefb4d6c1ebbbf4d203/
/raw/3d5f6663a7cc4aefb4d6c1ebbbf4d203/
3d5f6663a7cc4aefb4d6c1ebbbf4d203
html
HTML
6
2019-07-18T22:06:45
True
False
False
/api/public/snipt/51039/
nagowek-html5-z-rdf
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;!DOCTYPE html&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="c">&lt;!--[if IEMobile 7]&gt;&lt;html class=&quot;iem7&quot; lang=&quot;pl&quot; dir=&quot;ltr&quot;&gt;&lt;![endif]--&gt;</span> </span><span id="L-3"><a name="L-3"></a><span class="c">&lt;!--[if lte IE 6]&gt;&lt;html class=&quot;lt-ie9 lt-ie8 lt-ie7&quot; lang=&quot;pl&quot; dir=&quot;ltr&quot;&gt;&lt;![endif]--&gt;</span> </span><span id="L-4"><a name="L-4"></a><span class="c">&lt;!--[if (IE 7)&amp;(!IEMobile)]&gt;&lt;html class=&quot;lt-ie9 lt-ie8&quot; lang=&quot;pl&quot; dir=&quot;ltr&quot;&gt;&lt;![endif]--&gt;</span> </span><span id="L-5"><a name="L-5"></a><span class="c">&lt;!--[if IE 8]&gt;&lt;html class=&quot;lt-ie9&quot; lang=&quot;pl&quot; dir=&quot;ltr&quot;&gt;&lt;![endif]--&gt;</span> </span><span id="L-6"><a name="L-6"></a><span class="c">&lt;!--[if (gte IE 9)|(gt IEMobile 7)]&gt;&lt;!--&gt;</span><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&quot;pl&quot;</span> <span class="na">dir</span><span class="o">=</span><span class="s">&quot;ltr&quot;</span> <span class="na">prefix</span><span class="o">=</span><span class="s">&quot;content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema#&quot;</span><span class="p">&gt;</span><span class="c">&lt;!--&lt;![endif]--&gt;</span> </span></pre></div> </td></tr></table>
HTML5, RDF, head, html

ApacheConf

Przekierowanie z subdomeny www

RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule (.*) http://%1%{REQUEST_URI} [R=301,L,QSA]
https://snipt.net/embed/b5ece811f78e258fd7c635176e87231e/
/raw/b5ece811f78e258fd7c635176e87231e/
b5ece811f78e258fd7c635176e87231e
apacheconf
ApacheConf
2
2019-07-19T02:43:41
True
False
False
/api/public/snipt/48138/
przekierowanie-z-subdomeny-www
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nb">RewriteCond</span> %{HTTP_HOST} ^www\.(.*) </span><span id="L-2"><a name="L-2"></a><span class="nb">RewriteRule</span> (.*) http://%1%{REQUEST_URI} [R=301,L,QSA] </span></pre></div> </td></tr></table>
Apache, www