Skip to content

Commit

Permalink
Site updated: 2017-08-26 22:13:47
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly9 committed Aug 26, 2017
1 parent 8e463fd commit 1ed4038
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 226 deletions.
88 changes: 7 additions & 81 deletions 2017/08/22/HTML标记/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
<link rel="dns-prefetch" href="http://yoursite.com">
<title>HTML标记 | Jelly</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="##HTML常用标记总结标记D:单标记其它未注明的为双标记,即有始标记&amp;lt;mark&amp;gt;和尾标记&amp;lt;/mark&amp;gt;组成 标记 含义 &amp;lt;html&amp;gt; html文档 &amp;lt;head&amp;gt; 文档头部 &amp;lt;body&amp;gt; 文档主体 &amp;lt;title&amp;gt; 文档标题,写于文档头部,在浏览器标题栏中显示 &amp;lt;style&amp;gt; 定义文档样">
<meta name="description" content="##HTML常用标记总结标记D:单标记其它未注明的为双标记,即有始标记&amp;lt;mark&amp;gt;和尾标记&amp;lt;/mark&amp;gt;组成">
<meta name="keywords" content="HTML">
<meta property="og:type" content="article">
<meta property="og:title" content="HTML标记">
<meta property="og:url" content="http://yoursite.com/2017/08/22/HTML标记/index.html">
<meta property="og:site_name" content="Jelly">
<meta property="og:description" content="##HTML常用标记总结标记D:单标记其它未注明的为双标记,即有始标记&amp;lt;mark&amp;gt;和尾标记&amp;lt;/mark&amp;gt;组成 标记 含义 &amp;lt;html&amp;gt; html文档 &amp;lt;head&amp;gt; 文档头部 &amp;lt;body&amp;gt; 文档主体 &amp;lt;title&amp;gt; 文档标题,写于文档头部,在浏览器标题栏中显示 &amp;lt;style&amp;gt; 定义文档样">
<meta property="og:updated_time" content="2017-03-11T07:31:35.797Z">
<meta property="og:description" content="##HTML常用标记总结标记D:单标记其它未注明的为双标记,即有始标记&amp;lt;mark&amp;gt;和尾标记&amp;lt;/mark&amp;gt;组成">
<meta property="og:updated_time" content="2017-08-26T14:13:19.513Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="HTML标记">
<meta name="twitter:description" content="##HTML常用标记总结标记D:单标记其它未注明的为双标记,即有始标记&amp;lt;mark&amp;gt;和尾标记&amp;lt;/mark&amp;gt;组成 标记 含义 &amp;lt;html&amp;gt; html文档 &amp;lt;head&amp;gt; 文档头部 &amp;lt;body&amp;gt; 文档主体 &amp;lt;title&amp;gt; 文档标题,写于文档头部,在浏览器标题栏中显示 &amp;lt;style&amp;gt; 定义文档样">
<meta name="twitter:description" content="##HTML常用标记总结标记D:单标记其它未注明的为双标记,即有始标记&amp;lt;mark&amp;gt;和尾标记&amp;lt;/mark&amp;gt;组成">

<link rel="alternative" href="/atom.xml" title="Jelly" type="application/atom+xml">

Expand Down Expand Up @@ -174,81 +174,7 @@ <h1 class="article-title" itemprop="name">

<div class="article-entry" itemprop="articleBody">

<p>##HTML常用标记总结标记<br><strong>D:单标记</strong><br><strong>其它未注明的为双标记,即有始标记</strong><code>&lt;mark&gt;</code><strong>和尾标记</strong><code>&lt;/mark&gt;</code><strong>组成</strong></p>
<table>
<thead>
<tr>
<th><strong>标记</strong></th>
<th><strong>含义</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>&lt;html&gt;</code></td>
<td>html文档</td>
</tr>
<tr>
<td><code>&lt;head&gt;</code></td>
<td>文档头部</td>
</tr>
<tr>
<td><code>&lt;body&gt;</code></td>
<td>文档主体</td>
</tr>
<tr>
<td><code>&lt;title&gt;</code></td>
<td>文档标题,写于文档头部,在浏览器标题栏中显示</td>
</tr>
<tr>
<td><code>&lt;style&gt;</code></td>
<td>定义文档样式信息</td>
</tr>
<tr>
<td><code>&amp;nbsp D</code></td>
<td>空格</td>
</tr>
<tr>
<td><code>&lt;br&gt; D</code></td>
<td>换行</td>
</tr>
<tr>
<td><code>&lt;p&gt;</code></td>
<td>段落</td>
</tr>
<tr>
<td><code>&lt;hr&gt;</code> D</td>
<td>水平线</td>
</tr>
<tr>
<td><code>&lt;!--.注释--&gt;</code></td>
<td>注释</td>
</tr>
<tr>
<td><code>&lt;img&gt;</code></td>
<td>插入图片</td>
</tr>
<tr>
<td><code>&lt;form&gt;</code></td>
<td>表单标记</td>
</tr>
<tr>
<td><code>&lt;table&gt;</code></td>
<td>表格标记</td>
</tr>
<tr>
<td><code>&lt;td&gt;</code></td>
<td>表格中列</td>
</tr>
<tr>
<td><code>&lt;tr&gt;</code></td>
<td>表格中的行</td>
</tr>
<tr>
<td><code>&lt;a&gt;</code></td>
<td>链接(herf)</td>
</tr>
</tbody>
</table>
<p>##HTML常用标记总结标记<br><strong>D:单标记</strong><br><strong>其它未注明的为双标记,即有始标记</strong><code>&lt;mark&gt;</code><strong>和尾标记</strong><code>&lt;/mark&gt;</code><strong>组成</strong><br><a id="more"></a><br><strong>标记</strong> | <strong>含义</strong><br>——- | ——-<br><code>&lt;html&gt;</code>|html文档<br><code>&lt;head&gt;</code>|文档头部<br><code>&lt;body&gt;</code>|文档主体<br><code>&lt;title&gt;</code>|文档标题,写于文档头部,在浏览器标题栏中显示<br><code>&lt;style&gt;</code>|定义文档样式信息<br><code>&amp;nbsp D</code>|空格<br><code>&lt;br&gt; D</code>|换行<br><code>&lt;p&gt;</code>|段落<br><code>&lt;hr&gt;</code> D|水平线<br><code>&lt;!--.注释--&gt;</code>|注释<br><code>&lt;img&gt;</code>|插入图片<br><code>&lt;form&gt;</code>|表单标记<br><code>&lt;table&gt;</code>|表格标记<br><code>&lt;td&gt;</code>|表格中列<br><code>&lt;tr&gt;</code>|表格中的行<br><code>&lt;a&gt;</code>|链接(herf)</p>



Expand Down Expand Up @@ -488,11 +414,11 @@ <h1 class="article-title" itemprop="name">
<ul class="article-tag-list" q-show="showTags">

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
</li>

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
</li>

<li class="article-tag-list-item">
Expand Down
14 changes: 7 additions & 7 deletions 2017/08/22/LInux文件与目录的权限/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<link rel="dns-prefetch" href="http://yoursite.com">
<title>Linux下目录和文件的权限 | Jelly</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="在Linux系统内文件有三种身份(owner、group、others),而且每种身份有三种权限(r(read)、w(write)、x(execute)),我们可以使用chmod、chown、chgrp去修改这 些权限,也可以用ls -l查看他们的权限与属性,那么这些权限对于一般文件和目录文件有什么不同呢。 ##文件的权限一般文件可以记录数据。计算机中文件有一般文本文件(txt、word等)、图片">
<meta name="description" content="在Linux系统内文件有三种身份(owner、group、others),而且每种身份有三种权限(r(read)、w(write)、x(execute)),我们可以使用chmod、chown、chgrp去修改这 些权限,也可以用ls -l查看他们的权限与属性,那么这些权限对于一般文件和目录文件有什么不同呢。">
<meta name="keywords" content="Linux">
<meta property="og:type" content="article">
<meta property="og:title" content="Linux下目录和文件的权限">
<meta property="og:url" content="http://yoursite.com/2017/08/22/LInux文件与目录的权限/index.html">
<meta property="og:site_name" content="Jelly">
<meta property="og:description" content="在Linux系统内文件有三种身份(owner、group、others),而且每种身份有三种权限(r(read)、w(write)、x(execute)),我们可以使用chmod、chown、chgrp去修改这 些权限,也可以用ls -l查看他们的权限与属性,那么这些权限对于一般文件和目录文件有什么不同呢。 ##文件的权限一般文件可以记录数据。计算机中文件有一般文本文件(txt、word等)、图片">
<meta property="og:description" content="在Linux系统内文件有三种身份(owner、group、others),而且每种身份有三种权限(r(read)、w(write)、x(execute)),我们可以使用chmod、chown、chgrp去修改这 些权限,也可以用ls -l查看他们的权限与属性,那么这些权限对于一般文件和目录文件有什么不同呢。">
<meta property="og:image" content="http://i.imgur.com/QpWlHhR.png">
<meta property="og:image" content="http://i.imgur.com/0Vq7nog.png">
<meta property="og:image" content="http://i.imgur.com/gp9aevO.png">
Expand All @@ -25,10 +25,10 @@
<meta property="og:image" content="http://i.imgur.com/549NhLD.png">
<meta property="og:image" content="http://i.imgur.com/16fjpG0.png">
<meta property="og:image" content="http://i.imgur.com/LoLBXnf.png">
<meta property="og:updated_time" content="2017-03-22T14:22:39.365Z">
<meta property="og:updated_time" content="2017-08-26T14:12:26.951Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Linux下目录和文件的权限">
<meta name="twitter:description" content="在Linux系统内文件有三种身份(owner、group、others),而且每种身份有三种权限(r(read)、w(write)、x(execute)),我们可以使用chmod、chown、chgrp去修改这 些权限,也可以用ls -l查看他们的权限与属性,那么这些权限对于一般文件和目录文件有什么不同呢。 ##文件的权限一般文件可以记录数据。计算机中文件有一般文本文件(txt、word等)、图片">
<meta name="twitter:description" content="在Linux系统内文件有三种身份(owner、group、others),而且每种身份有三种权限(r(read)、w(write)、x(execute)),我们可以使用chmod、chown、chgrp去修改这 些权限,也可以用ls -l查看他们的权限与属性,那么这些权限对于一般文件和目录文件有什么不同呢。">
<meta name="twitter:image" content="http://i.imgur.com/QpWlHhR.png">

<link rel="alternative" href="/atom.xml" title="Jelly" type="application/atom+xml">
Expand Down Expand Up @@ -185,7 +185,7 @@ <h1 class="article-title" itemprop="name">

<div class="article-entry" itemprop="articleBody">

<p><img src="http://i.imgur.com/QpWlHhR.png" alt=""><br>在Linux系统内文件有三种身份(owner、group、others),而且每种身份有三种权限(r(read)、w(write)、x(execute)),我们可以使用<code>chmod</code><code>chown</code><code>chgrp</code>去修改这 些权限,也可以用<code>ls -l</code>查看他们的权限与属性,那么这些权限对于一般文件和目录文件有什么不同呢。</p>
<p><img src="http://i.imgur.com/QpWlHhR.png" alt=""><br>在Linux系统内文件有三种身份(owner、group、others),而且每种身份有三种权限(r(read)、w(write)、x(execute)),我们可以使用<code>chmod</code><code>chown</code><code>chgrp</code>去修改这 些权限,也可以用<code>ls -l</code>查看他们的权限与属性,那么这些权限对于一般文件和目录文件有什么不同呢。<a id="more"></a></p>
<p>##文件的权限<br>一般文件可以记录数据。计算机中文件有一般文本文件(txt、word等)、图片、可执行文件(exe)、等等,那么权限对于这些文件来说有什么意义? 如下:</p>
<ol>
<li>读r(read): 可以读取此文件的实际内容,比如文本文件的文字内容等。</li>
Expand Down Expand Up @@ -459,11 +459,11 @@ <h1 class="article-title" itemprop="name">
<ul class="article-tag-list" q-show="showTags">

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
</li>

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
</li>

<li class="article-tag-list-item">
Expand Down
7 changes: 4 additions & 3 deletions 2017/08/22/string类/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<meta property="og:url" content="http://yoursite.com/2017/08/22/string类/index.html">
<meta property="og:site_name" content="Jelly">
<meta property="og:description" content="###不强调效率,以时间换空间,可读性差1234567891011121314151617181920class String&amp;#123;public: String():_str(new char[1])&amp;#123;*_str = &amp;apos;\0&amp;apos;;&amp;#125; String(const char* s):_str(new char[strlen(s)+1])&amp;#123;strcpy">
<meta property="og:updated_time" content="2017-03-14T10:49:15.640Z">
<meta property="og:updated_time" content="2017-08-26T14:12:58.880Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="20行的string类(一行可以写完的代码为什么要写两行 +_+!)">
<meta name="twitter:description" content="###不强调效率,以时间换空间,可读性差1234567891011121314151617181920class String&amp;#123;public: String():_str(new char[1])&amp;#123;*_str = &amp;apos;\0&amp;apos;;&amp;#125; String(const char* s):_str(new char[strlen(s)+1])&amp;#123;strcpy">
Expand Down Expand Up @@ -175,6 +175,7 @@ <h1 class="article-title" itemprop="name">
<div class="article-entry" itemprop="articleBody">

<p>###不强调效率,以时间换空间,可读性差<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div></pre></td><td class="code"><pre><div class="line">class String</div><div class="line">&#123;</div><div class="line">public:</div><div class="line"> String():_str(new char[1])&#123;*_str = &apos;\0&apos;;&#125;</div><div class="line"> String(const char* s):_str(new char[strlen(s)+1])&#123;strcpy(_str, s);&#125;</div><div class="line"> String(const String&amp; s):_str(new char[strlen(s._str)+1])&#123;strcpy(_str, s._str);&#125;</div><div class="line"> ~String()&#123;delete[] _str;&#125;</div><div class="line"> String&amp; operator=(String s)&#123;std::swap(_str,s._str);return *this;&#125;</div><div class="line"> size_t Size()const&#123;return strlen(_str);&#125;</div><div class="line"> size_t Lengh()const&#123;return strlen(_str);&#125;</div><div class="line"> bool operator&gt;(const String&amp; s)&#123;return((strcmp(_str,s._str)==1)?1:0);&#125;</div><div class="line"> bool operator&lt;(const String&amp; s)&#123;return((strcmp(_str,s._str)==-1)?1:0);&#125;</div><div class="line"> bool operator&gt;=(const String&amp; s)&#123;return((strcmp(_str,s._str)!=(-1))?1:0);&#125;</div><div class="line"> bool operator&lt;=(const String&amp; s)&#123;return((strcmp(_str,s._str)!=(1))?1:0);&#125;</div><div class="line"> bool operator==(const String&amp; s)&#123;return((strcmp(_str,s._str)==0)?1:0);&#125;</div><div class="line"> bool operator!=(const String&amp; s)&#123;return!(*this==s);&#125;</div><div class="line"> char operator[](size_t i)&#123;return *((*this)._str+i);&#125;</div><div class="line">private:</div><div class="line"> char* _str;</div><div class="line">&#125;;</div></pre></td></tr></table></figure></p>
<a id="more"></a>
<p>###未调用系统函数版,可读性差<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">bool operator&gt;(const String&amp; s)&#123;if((_str!=NULL)||(s._str!=NULL))&#123;char* s1=_str,*s2=s._str;while((*s1!=&apos;\0&apos;)&amp;&amp;(*s2!=&apos;\0&apos;))&#123;if(*s1&lt;*s2||*s1==*s2)return 0;s1++;s2++;&#125;return (*s2==&apos;\0&apos;);&#125;return 0;&#125;</div><div class="line">bool operator&lt;(const String&amp; s)&#123;return !((*this&gt;s)||(*this==s));&#125;</div><div class="line">bool operator==(const String&amp; s)&#123;if((_str!=NULL)&amp;&amp;(s._str!=NULL))&#123;char*s1=_str,*s2=s._str;while((*s1!=&apos;\0&apos;)&amp;&amp;(*s2!=&apos;\0&apos;))&#123;if(*s1!=*s2)return 0;s1++;s2++;&#125;return 1;&#125;return 0;&#125;</div><div class="line">bool operator!=(const String&amp; s)&#123;return (!(*this==s));&#125;</div></pre></td></tr></table></figure></p>


Expand Down Expand Up @@ -415,11 +416,11 @@ <h1 class="article-title" itemprop="name">
<ul class="article-tag-list" q-show="showTags">

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
</li>

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
</li>

<li class="article-tag-list-item">
Expand Down
4 changes: 2 additions & 2 deletions 2017/08/26/文件time的意义/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,11 @@ <h1 id="2-mtime"><a href="#2-mtime" class="headerlink" title="2. mtime"></a>2. m
<ul class="article-tag-list" q-show="showTags">

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
</li>

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
</li>

<li class="article-tag-list-item">
Expand Down
4 changes: 2 additions & 2 deletions archives/2017/08/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,11 @@ <h1 itemprop="name">
<ul class="article-tag-list" q-show="showTags">

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
</li>

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
</li>

<li class="article-tag-list-item">
Expand Down
4 changes: 2 additions & 2 deletions archives/2017/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,11 @@ <h1 itemprop="name">
<ul class="article-tag-list" q-show="showTags">

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
</li>

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
</li>

<li class="article-tag-list-item">
Expand Down
4 changes: 2 additions & 2 deletions archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,11 @@ <h1 itemprop="name">
<ul class="article-tag-list" q-show="showTags">

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
</li>

<li class="article-tag-list-item">
<a href="javascript:void(0)" class="js-tag color5">HTML</a>
<a href="javascript:void(0)" class="js-tag color1">Linux</a>
</li>

<li class="article-tag-list-item">
Expand Down
Loading

0 comments on commit 1ed4038

Please sign in to comment.