Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 339

Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 392

Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 394
Joyber 的博客

ls -l 显示年份
默认情况下ls -l命令只显示月和日,不显示年份:

$ ls -l
lrwxrwxrwx 1 root root 7 Feb 27 16:12 bin -> usr/bin

如要要显示年份,就要使用--time-style参数,该参数有几个选项

  • full-iso 精确显示年月日时分秒纳秒及时区
  • long-iso 显示年月日时分
  • iso 默认就是iso,显示月日时分
  • locale 按当前系统环境区域设置显示

+Format 自定义格式显示

所以要显示年份可以使用full-iso、long-iso、+Format这几种参数选项。

$ ls -l --time-style=full-iso
lrwxrwxrwx 1 root root 7 2016-02-27 16:12:03.185940151 +0800 bin -> usr/bin
$ ls -l --time-style=long-iso
lrwxrwxrwx 1 root root 7 2016-02-27 16:12 bin -> usr/bin
$ s -l --time-style="+%Y-%m-%d %H:%I:%S" 
lrwxrwxrwx 1 root root 7 2016-02-27 16:04:03 bin -> usr/bin

--time-style=full-iso有一个替代参数--full-time,可以直接用这个参数来显示精确的时间:

$ ls --full-time
lrwxrwxrwx 1 root root 7 2016-02-27 16:12:03.185940151 +0800 bin -> usr/bin

/www/server/nginx/conf

proxy_temp_path /www/server/nginx/proxy_temp_dir;
proxy_cache_path /www/server/nginx/proxy_cache_dir levels=1:2 keys_zone=cache_one:20m inactive=1d max_size=5g;
client_body_buffer_size 512k;
proxy_connect_timeout 60;
proxy_read_timeout 60;
proxy_send_timeout 60;
proxy_buffer_size 32k;
proxy_buffers 4 64k;
proxy_busy_buffers_size 128k;
proxy_temp_file_write_size 128k;
proxy_next_upstream error timeout invalid_header http_500 http_503 http_404;
proxy_cache cache_one;

原文章链接:
https://juejin.cn/post/7010944239609577508

文字渐变+描边


    .form-title{
        background-image: linear-gradient(#FFCF02, #FF7352);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent; /*需要文字透明*/
        -webkit-text-stroke: 2px #fff; /*描边*/
    }
    .form-title::before{
        content: attr(data-title);
        position: absolute;
        background-image: linear-gradient(#FFCF02, #FF7352);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 0;
    }
    <div class="h3 text-center margin-bottom-sm form-title" data-title="浪漫惊喜信息确认">浪漫惊喜信息确认</div>

CSS 文字描边

.text::before{
    content: attr(data-title);
    position: absolute;
    background-image: linear-gradient(#FFCF02, #FF7352);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
}
.text{
    -webkit-text-stroke: 6px #333;
}
<p class="text" data-title="为你定制 发现精彩">为你定制 发现精彩</p>

SVG 文字渐变

.text{
  text-anchor: middle;
  dominant-baseline: middle;
  fill: url(#gradient);
}
<svg>
  <defs>
    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0%"  stop-color="#FFCF02"/>
      <stop offset="100%"  stop-color="#FF7352"/>
    </linearGradient>
  </defs>
  <text class="text">为你定制 发现精彩</text>
</svg>

SVG 文字描边

.text{
  /*其他*/
  stroke-width: 4px;
  stroke: #333;
  paint-order: stroke; /*先描边*/
}

圆角描边

.text{
  /*其他*/
  stroke-width: 4px;
  stroke: #333;
  paint-order: stroke; /*先描边*/
  stroke-linejoin: round; /*路径转角为圆角*/
}