Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wp-file-.../lib/codemirr.../mode/dockerfi...
File: index.html
<!doctype html>
[0] Fix | Delete
[1] Fix | Delete
<title>CodeMirror: Dockerfile mode</title>
[2] Fix | Delete
<meta charset="utf-8"/>
[3] Fix | Delete
<link rel=stylesheet href="../../doc/docs.css">
[4] Fix | Delete
[5] Fix | Delete
<link rel="stylesheet" href="../../lib/codemirror.css">
[6] Fix | Delete
<script src="../../lib/codemirror.js"></script>
[7] Fix | Delete
<script src="../../addon/mode/simple.js"></script>
[8] Fix | Delete
<script src="dockerfile.js"></script>
[9] Fix | Delete
<style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
[10] Fix | Delete
<div id=nav>
[11] Fix | Delete
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
[12] Fix | Delete
[13] Fix | Delete
<ul>
[14] Fix | Delete
<li><a href="../../index.html">Home</a>
[15] Fix | Delete
<li><a href="../../doc/manual.html">Manual</a>
[16] Fix | Delete
<li><a href="https://github.com/codemirror/codemirror">Code</a>
[17] Fix | Delete
</ul>
[18] Fix | Delete
<ul>
[19] Fix | Delete
<li><a href="../index.html">Language modes</a>
[20] Fix | Delete
<li><a class=active href="#">Dockerfile</a>
[21] Fix | Delete
</ul>
[22] Fix | Delete
</div>
[23] Fix | Delete
[24] Fix | Delete
<article>
[25] Fix | Delete
<h2>Dockerfile mode</h2>
[26] Fix | Delete
<form><textarea id="code" name="code"># Install Ghost blogging platform and run development environment
[27] Fix | Delete
#
[28] Fix | Delete
# VERSION 1.0.0
[29] Fix | Delete
[30] Fix | Delete
FROM ubuntu:12.10
[31] Fix | Delete
MAINTAINER Amer Grgic "amer@livebyt.es"
[32] Fix | Delete
WORKDIR /data/ghost
[33] Fix | Delete
[34] Fix | Delete
# Install dependencies for nginx installation
[35] Fix | Delete
RUN apt-get update
[36] Fix | Delete
RUN apt-get install -y python g++ make software-properties-common --force-yes
[37] Fix | Delete
RUN add-apt-repository ppa:chris-lea/node.js
[38] Fix | Delete
RUN apt-get update
[39] Fix | Delete
# Install unzip
[40] Fix | Delete
RUN apt-get install -y unzip
[41] Fix | Delete
# Install curl
[42] Fix | Delete
RUN apt-get install -y curl
[43] Fix | Delete
# Install nodejs & npm
[44] Fix | Delete
RUN apt-get install -y rlwrap
[45] Fix | Delete
RUN apt-get install -y nodejs
[46] Fix | Delete
# Download Ghost v0.4.1
[47] Fix | Delete
RUN curl -L https://ghost.org/zip/ghost-latest.zip -o /tmp/ghost.zip
[48] Fix | Delete
# Unzip Ghost zip to /data/ghost
[49] Fix | Delete
RUN unzip -uo /tmp/ghost.zip -d /data/ghost
[50] Fix | Delete
# Add custom config js to /data/ghost
[51] Fix | Delete
ADD ./config.example.js /data/ghost/config.js
[52] Fix | Delete
# Install Ghost with NPM
[53] Fix | Delete
RUN cd /data/ghost/ && npm install --production
[54] Fix | Delete
# Expose port 2368
[55] Fix | Delete
EXPOSE 2368
[56] Fix | Delete
# Run Ghost
[57] Fix | Delete
CMD ["npm","start"]
[58] Fix | Delete
</textarea></form>
[59] Fix | Delete
[60] Fix | Delete
<script>
[61] Fix | Delete
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
[62] Fix | Delete
lineNumbers: true,
[63] Fix | Delete
mode: "dockerfile"
[64] Fix | Delete
});
[65] Fix | Delete
</script>
[66] Fix | Delete
[67] Fix | Delete
<p>Dockerfile syntax highlighting for CodeMirror. Depends on
[68] Fix | Delete
the <a href="../../demo/simplemode.html">simplemode</a> addon.</p>
[69] Fix | Delete
[70] Fix | Delete
<p><strong>MIME types defined:</strong> <code>text/x-dockerfile</code></p>
[71] Fix | Delete
</article>
[72] Fix | Delete
[73] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function