This commit is contained in:
chenyan 2024-02-17 16:28:34 +08:00
parent bc65033093
commit a698f81a90
21 changed files with 201 additions and 70 deletions

View File

@ -0,0 +1,40 @@
<div>
<div class="uk-width-small-1-1 uk-width-medium-1-1 uk-width-large-1-3 uk-text-small uk-text-muted"
style="padding-left:10px; padding-top: 10px;float:left;">
{% if page.url contains "/pages/" or page.url contains "/rank/" %}
{% else %}
<input id="shy-footer-checkbox" class="uk-hidden" type="checkbox">
<label class="uk-label" for="shy-footer-checkbox" style="float: right;margin-right: 20px;"
data-uk-tooltip
title="害羞的Footer一般不会被看到相当于去广告页面更干净<br/><br/>翻翻网页源代码你会知道怎么让Footer害羞起来。">
害羞的Footer:
<span id="shy-footer-on" style="display: none;"></span>
<span id="shy-footer-off" style="display: none;">未生效</span>
</label>
{% endif %}
<span>最新构建于: {{ site.time | date: "%Y-%m-%d %H:%M" }}</span><br><br>
<span>
<a href="http://beian.miit.gov.cn" rel="nofollow">闽ICP备17033777号</a>
</span><br><br>
<span>开源地址: https://gitee.com/apihub/feling.net</span>
</div>
{% if page.url contains "/pages/" or page.url contains "/rank/" %}
<script>
// (adsbygoogle = window.adsbygoogle || []).push({});
</script>
{% else %}
<script>
if (localStorage.shyFooter == 'true') {
$('#content').css('min-height', 'calc(100% - 40px - 10px - 10px)')
$('footer').hide()
$('#shy-footer-on').show()
$('#shy-footer-off').hide()
} else {
// (adsbygoogle = window.adsbygoogle || []).push({});
$('#shy-footer-on').hide()
$('#shy-footer-off').show()
}
</script>
{% endif %}
</div>

View File

@ -1,6 +1,7 @@
<div>
<div class="uk-visible-large uk-width-large-2-3" style="float:right;">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3779740765441924"
crossorigin="anonymous"></script>
{% if page.url contains "/json/" %}
<!-- feling-footer-json -->
<ins class="adsbygoogle"
@ -9,6 +10,14 @@
data-ad-slot="3443485710"></ins>
{% endif %}
{% if page.url contains "/jwt/" %}
<!-- feling-footer-jwt -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-3779740765441924"
data-ad-slot="4655968870"></ins>
{% endif %}
{% if page.url contains "/base64/" %}
<!-- feling-footer-base64 -->
<ins class="adsbygoogle"
@ -76,9 +85,9 @@
<span>开源地址: https://gitee.com/apihub/feling.net</span>
</div>
{% if page.url contains "/pages/" or page.url contains "/rank/" %}
<!-- <script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script> -->
</script>
{% else %}
<script>
if (localStorage.shyFooter == 'true') {
@ -87,7 +96,7 @@
$('#shy-footer-on').show()
$('#shy-footer-off').hide()
} else {
// (adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
$('#shy-footer-on').hide()
$('#shy-footer-off').show()
}

View File

@ -4,16 +4,16 @@
<meta name="description" content="陈焰的笔记本.{{page.description}}">
<meta name="keywords" content="{{ page.keywords | join: ',' }},{{ page.tags | join: ',' }}">
<meta name="robots" content="all">
<meta name="author" content="feling.net">
<meta name="author" content="陈焰的笔记本">
<title>
{% if page.title %}
{{ page.title }} -- {{ site.title }}
{{ page.title }}
{% else %}
{{ site.title }}
{% endif %}
</title>
<link rel="stylesheet" href="//cdn.feling.net/css/uikit.min.css" media="all">
<link rel="stylesheet" href="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/css/uikit.min.css" media="all">
{% include css_markdown.html %}
@ -74,16 +74,16 @@ footer {
<script src="//cdn.apihub.net/js/vue.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script> -->
<script src="//cdn.feling.net/js/uikit.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/uikit.min.js"></script>
<link rel="stylesheet" href="//cdn.feling.net/css/components/tooltip.min.css" media="all">
<script src="//cdn.feling.net/js/components/tooltip.min.js"></script>
<link rel="stylesheet" href="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/css/components/tooltip.min.css" media="all">
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/components/tooltip.min.js"></script>
<link rel="stylesheet" href="//cdn.feling.net/css/components/notify.min.css" media="all">
<script src="//cdn.feling.net/js/components/notify.min.js"></script>
<link rel="stylesheet" href="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/css/components/notify.min.css" media="all">
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/components/notify.min.js"></script>
<script src="//cdn.feling.net/js/hotkeys.min-3.3.8.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/hotkeys.min-3.3.8.js"></script>
<script>
var WithFParams = {
apiHost: 'https://api.feling.net',

View File

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="zh-CN" class="uk-height-1-1">
<head>
{% include head.html %}
</head>
<style>
#content {
min-height:calc(100% - 95px - 40px - 1px - 20px);
}
</style>
<body>
<header>
{% include no-ie.html %}
{% include the-gfw.html %}
{% include header.html %}
{% include goTop.html %}
</header>
<hr style="margin:0">
<div id="content">
{{content}}
</div>
<footer>
{% include footer-no-ad.html %}
</footer>
{% include baidu_tongji.html %}
</body>
</html>

View File

@ -2,7 +2,7 @@
layout: default
---
<script src="//cdn.feling.net/js/components/sticky.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/components/sticky.min.js"></script>
<style>
#x-left-box {
min-width: 336px;
@ -140,9 +140,9 @@ layout: default
style="display:inline-block;width:336px;height:280px"
data-ad-client="ca-pub-3779740765441924"
data-ad-slot="6169161876"></ins>
<!-- <script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script> -->
</script>
</li>
</ul>
</div>
@ -229,8 +229,8 @@ layout: default
$('#x-left-content').show();
</script>
<!-- <link rel="stylesheet" href="//cdn.feling.net/css/gitalk.css">
<script src="//cdn.feling.net/js/gitalk.min.js"></script>
<!-- <link rel="stylesheet" href="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/css/gitalk.css">
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/gitalk.min.js"></script>
<script>
var gitalk = new Gitalk({
clientID: '588f86d430e6e626e4ed',

View File

@ -24,7 +24,7 @@ Android 原生的开发也太庞大了。
## 环境
这是 [sl4a_r6.apk](//cdn.feling.net/download/sl4a_r6.apk),从 google code 搬到 github 上以后,安装包就不太好找了,居然找不到下载链接。
这是 [sl4a_r6.apk](//cdn-feling-net.oss-cn-beijing.aliyuncs.com/download/sl4a_r6.apk),从 google code 搬到 github 上以后,安装包就不太好找了,居然找不到下载链接。
## 上代码

View File

@ -9,10 +9,7 @@ tags: [zsh]
## .zshrc
```sh
plugins=(
git
extract
)
plugins=(git extract encode64 urltools sudo)
```
@ -34,7 +31,7 @@ local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT='${ret_status}%m %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}%1{%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
```

View File

@ -22,15 +22,6 @@ certbot certonly --manual \
只能手动 renew
## xxx
```
➜ bj ~
cat /etc/letsencrypt/live/feling.io-0001/fullchain.pem
cat /etc/letsencrypt/live/feling.io-0001/privkey.pem
certbot --nginx # ocarina-diary.com
阿里云 cdn
```
* 文章目录
{:toc}

View File

@ -7,7 +7,7 @@ lastModifiedDate: 2018-01-01
<audio controls loop autoplay
style="height:50px;"
src="//cdn.feling.net/audio/knowledge-is-power.mp3" ></audio>
src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/audio/knowledge-is-power.mp3" ></audio>
## 酝酿一下感情
@ -51,7 +51,7 @@ lastModifiedDate: 2018-01-01
welog 这项目可以说是 0业务复杂度的了:
![](//cdn.feling.net/images/welog.svg)
![](//cdn-feling-net.oss-cn-beijing.aliyuncs.com/images/welog.svg)
- 通过 logback 的自定义 appender 来收集日志,
1. 不关心日志格式

View File

@ -10,11 +10,11 @@
<meta name="robots" content="all">
<meta name="author" content="feling.net">
<title>base64图片base64编码解码json格式验证</title>
<link rel="stylesheet" href="//cdn.feling.net/css/uikit.min.css" media="all">
<link rel="stylesheet" href="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/css/uikit.min.css" media="all">
<link rel="icon" type="image/png" href="//cdn.apihub.net/img/favicon.png">
<script src="//cdn.apihub.net/js/jquery-3.3.1.min.js"></script>
<script src="//cdn.apihub.net/js/vue.min.js"></script>
<script src="//cdn.feling.net/js/uikit.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/uikit.min.js"></script>
</head>
<body class="uk-height-1-1">

View File

@ -1,7 +1,7 @@
---
title: Base64 解码 编码 图片
title: Base64 解码 编码 图片 在线工具
layout: default_tool
keywords: [base64图片, base64编码, base64解码, base64转图片]
keywords: [base64图片, base64编码, base64解码, base64转图片, 在线工具]
description: 在线 Base64 编码、解码。支持文字、图片。智能适应“data:image/…”前缀,有无前缀都能解码出图片。实时显示结果,无需手动确认。自动保存偏好设置。开源的纯本地应用,保证数据安全。
---
@ -89,7 +89,7 @@ description: 在线 Base64 编码、解码。支持文字、图片。智能适
</div>
<div class="uk-width-1-2 fl-box uk-height-1-1">
<div id="drop_box" class="uk-height-1-1" style="overflow: auto;" v-on:dragenter="ignoreDrag" v-on:dragover="ignoreDrag" v-on:drop="drop" v-on:click="clickDropBox">
<p style="width:100%;height:100%;text-align:center;line-height:320px;"
<p style="width:100%;height:100%;text-align:center;line-height:320px;margin:0"
v-show="base64 === ''">拖拽图片到此处 / 点击上传图片</p>
<img alt="结果图片0" style="max-height:512px;" v-bind:src="base64" v-if="base64.startsWith('data:image') || base64.startsWith('http')"></img>
<img alt="结果图片1" style="max-height:512px;" v-bind:src="'data:image;base64,' + base64" v-if="base64 != '' && !base64.startsWith('data:image') && !base64.startsWith('http') "></img>

View File

@ -7,11 +7,11 @@
<meta name="hostname" content="feling.net">
<title>花边记账</title>
<link rel="stylesheet" href="//cdn.feling.net/css/uikit.min.css" media="all">
<link rel="stylesheet" href="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/css/uikit.min.css" media="all">
<style>
.uk-grid{margin-left:0}
.al-spinner {
background-image: url(https://cdn.feling.net/spinner.png);
background-image: url(https://cdn-feling-net.oss-cn-beijing.aliyuncs.com/spinner.png);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
@ -28,14 +28,14 @@
}
</style>
<link rel="icon" type="image/png" href="//cdn.feling.net/favicon.png">
<link rel="icon" type="image/png" href="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/favicon.png">
<script src="//cdn.feling.net/js/jquery-3.3.1.min.js"></script>
<script src="//cdn.feling.net/js/vue.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/jquery-3.3.1.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/vue.min.js"></script>
<script>
var DateFormat={};!function(a){var b=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],d=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e=["January","February","March","April","May","June","July","August","September","October","November","December"],f={Jan:"01",Feb:"02",Mar:"03",Apr:"04",May:"05",Jun:"06",Jul:"07",Aug:"08",Sep:"09",Oct:"10",Nov:"11",Dec:"12"},g=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.?\d{0,3}[Z\-+]?(\d{2}:?\d{2})?/;a.format=function(){function a(a){return b[parseInt(a,10)]||a}function h(a){return c[parseInt(a,10)]||a}function i(a){var b=parseInt(a,10)-1;return d[b]||a}function j(a){var b=parseInt(a,10)-1;return e[b]||a}function k(a){return f[a]||a}function l(a){var b,c,d,e,f,g=a,h="";return-1!==g.indexOf(".")&&(e=g.split("."),g=e[0],h=e[e.length-1]),f=g.split(":"),3===f.length?(b=f[0],c=f[1],d=f[2].replace(/\s.+/,"").replace(/[a-z]/gi,""),g=g.replace(/\s.+/,"").replace(/[a-z]/gi,""),{time:g,hour:b,minute:c,second:d,millis:h}):{time:"",hour:"",minute:"",second:"",millis:""}}function m(a,b){for(var c=b-String(a).length,d=0;c>d;d++)a="0"+a;return a}return{parseDate:function(a){var b,c,d={date:null,year:null,month:null,dayOfMonth:null,dayOfWeek:null,time:null};if("number"==typeof a)return this.parseDate(new Date(a));if("function"==typeof a.getFullYear)d.year=String(a.getFullYear()),d.month=String(a.getMonth()+1),d.dayOfMonth=String(a.getDate()),d.time=l(a.toTimeString()+"."+a.getMilliseconds());else if(-1!=a.search(g))b=a.split(/[T\+-]/),d.year=b[0],d.month=b[1],d.dayOfMonth=b[2],d.time=l(b[3].split(".")[0]);else switch(b=a.split(" "),6===b.length&&isNaN(b[5])&&(b[b.length]="()"),b.length){case 6:d.year=b[5],d.month=k(b[1]),d.dayOfMonth=b[2],d.time=l(b[3]);break;case 2:c=b[0].split("-"),d.year=c[0],d.month=c[1],d.dayOfMonth=c[2],d.time=l(b[1]);break;case 7:case 9:case 10:d.year=b[3],d.month=k(b[1]),d.dayOfMonth=b[2],d.time=l(b[4]);break;case 1:c=b[0].split(""),d.year=c[0]+c[1]+c[2]+c[3],d.month=c[5]+c[6],d.dayOfMonth=c[8]+c[9],d.time=l(c[13]+c[14]+c[15]+c[16]+c[17]+c[18]+c[19]+c[20]);break;default:return null}return d.date=d.time?new Date(d.year,d.month-1,d.dayOfMonth,d.time.hour,d.time.minute,d.time.second,d.time.millis):new Date(d.year,d.month-1,d.dayOfMonth),d.dayOfWeek=String(d.date.getDay()),d},date:function(b,c){try{var d=this.parseDate(b);if(null===d)return b;for(var e,f=d.year,g=d.month,k=d.dayOfMonth,l=d.dayOfWeek,n=d.time,o="",p="",q="",r=!1,s=0;s<c.length;s++){var t=c.charAt(s),u=c.charAt(s+1);if(r)"'"==t?(p+=""===o?"'":o,o="",r=!1):o+=t;else switch(o+=t,q="",o){case"ddd":p+=a(l),o="";break;case"dd":if("d"===u)break;p+=m(k,2),o="";break;case"d":if("d"===u)break;p+=parseInt(k,10),o="";break;case"D":k=1==k||21==k||31==k?parseInt(k,10)+"st":2==k||22==k?parseInt(k,10)+"nd":3==k||23==k?parseInt(k,10)+"rd":parseInt(k,10)+"th",p+=k,o="";break;case"MMMM":p+=j(g),o="";break;case"MMM":if("M"===u)break;p+=i(g),o="";break;case"MM":if("M"===u)break;p+=m(g,2),o="";break;case"M":if("M"===u)break;p+=parseInt(g,10),o="";break;case"y":case"yyy":if("y"===u)break;p+=o,o="";break;case"yy":if("y"===u)break;p+=String(f).slice(-2),o="";break;case"yyyy":p+=f,o="";break;case"HH":p+=m(n.hour,2),o="";break;case"H":if("H"===u)break;p+=parseInt(n.hour,10),o="";break;case"hh":e=0===parseInt(n.hour,10)?12:n.hour<13?n.hour:n.hour-12,p+=m(e,2),o="";break;case"h":if("h"===u)break;e=0===parseInt(n.hour,10)?12:n.hour<13?n.hour:n.hour-12,p+=parseInt(e,10),o="";break;case"mm":p+=m(n.minute,2),o="";break;case"m":if("m"===u)break;p+=n.minute,o="";break;case"ss":p+=m(n.second.substring(0,2),2),o="";break;case"s":if("s"===u)break;p+=n.second,o="";break;case"S":case"SS":if("S"===u)break;p+=o,o="";break;case"SSS":var v="000"+n.millis.substring(0,3);p+=v.substring(v.length-3),o="";break;case"a":p+=n.hour>=12?"PM":"AM",o="";break;case"p":p+=n.hour>=12?"p.m.":"a.m.",o="";break;case"E":p+=h(l),o="";break;case"'":o="",r=!0;break;default:p+=t,o=""}}return p+=q}catch(w){return console&&console.log&&console.log(w),b}},prettyDate:function(a){var b,c,d;return("string"==typeof a||"number"==typeof a)&&(b=new Date(a)),"object"==typeof a&&(b=new Date(a.toString())),c=((new Date).getTime()-b.getTime())/1e3,d=Math.floor(c/86400),isNaN(d)||0>d?void 0:60>c?"just now":120>c?"1 minute ago":3600>c?Math.floor(c/60)+" minutes ago":7200>c?"1 hour ago":86400>c?Math.floor(c/3600)+" hours ago":1===d?"Yesterday":7>d?d+" days ago":31>d?Math.ceil(d/7)+" weeks ago":d>=31?"more than 5 weeks ago":void 0},toBrowserTimeZone:function(a,b){return this.date(new Date(a),b||"MM/dd/yyyy HH:mm:ss")}}}()}(DateFormat);
</script>
<script src="//cdn.feling.net/js/uikit.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/uikit.min.js"></script>
<script>
var WithFParams = {
apiHost: 'https://api.feling.net',

View File

@ -10,11 +10,11 @@
<meta name="robots" content="all">
<meta name="author" content="feling.net">
<title>base64编码解码json格式验证base64图片</title>
<link rel="stylesheet" href="//cdn.feling.net/css/uikit.min.css" media="all">
<link rel="stylesheet" href="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/css/uikit.min.css" media="all">
<link rel="icon" type="image/png" href="//cdn.apihub.net/img/favicon.png">
<script src="//cdn.apihub.net/js/jquery-3.3.1.min.js"></script>
<script src="//cdn.apihub.net/js/vue.min.js"></script>
<script src="//cdn.feling.net/js/uikit.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/uikit.min.js"></script>
</head>
<body class="uk-height-1-1">
@ -98,7 +98,7 @@
<span class="uk-text-top">微信: </span>
<img style="display: inline-block"
width="100" height="100"
src="//cdn.feling.net/images/weixin-qrcode-apihub.jpeg" />
src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/images/weixin-qrcode-apihub.jpeg" />
<p>码云: <a href="https://gitee.com/apihub" rel="nofollow">https://gitee.com/apihub</a></p>
</div>

File diff suppressed because one or more lines are too long

View File

@ -10,11 +10,11 @@
<meta name="robots" content="all">
<meta name="author" content="feling.net">
<title>base64编码解码json格式验证base64图片</title>
<link rel="stylesheet" href="//cdn.feling.net/css/uikit.min.css" media="all">
<link rel="stylesheet" href="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/css/uikit.min.css" media="all">
<link rel="icon" type="image/png" href="//cdn.apihub.net/img/favicon.png">
<script src="//cdn.apihub.net/js/jquery-3.3.1.min.js"></script>
<script src="//cdn.apihub.net/js/vue.min.js"></script>
<script src="//cdn.feling.net/js/uikit.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/uikit.min.js"></script>
</head>
<body class="uk-height-1-1">
@ -111,9 +111,9 @@
</style>
<div id="json-format-intro" class="uk-text-center">
<h1><a href="/json/">在线 JSON 格式化</a>,让前后端联调更简单 </h1>
<!-- <img style="margin-bottom: 35px;box-shadow: 2px 2px 5px #ccc;" src="//cdn.feling.net/images/json-intro-h1.png"> -->
<!-- <img style="margin-bottom: 35px;box-shadow: 2px 2px 5px #ccc;" src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/images/json-intro-h1.png"> -->
<figure class="uk-overlay">
<img alt="json intro" style="border-top-left-radius: 5px;border-top-right-radius: 5px;" src="//cdn.feling.net/images/json-intro.gif">
<img alt="json intro" style="border-top-left-radius: 5px;border-top-right-radius: 5px;" src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/images/json-intro.gif">
<figcaption class="uk-overlay-panel uk-overlay-bottom uk-overlay-background uk-text-center">
<a href="/json/" style="color: #fff;">立即体验 -- 在线 JSON 格式化</a>
</figcaption>
@ -137,7 +137,7 @@
&nbsp;&nbsp;&nbsp;&nbsp;2. 标记不同的颜色 ( 高亮 )<br>
&nbsp;&nbsp;&nbsp;&nbsp;3. 折叠一个段落<br>
</div>
<img alt="json intro thumbnail" style="display: inline-block;width: 300px;" src="//cdn.feling.net/images/json-intro-thumbnail.png">
<img alt="json intro thumbnail" style="display: inline-block;width: 300px;" src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/images/json-intro-thumbnail.png">
</div>
</p>
@ -172,7 +172,7 @@
<p >
<span class="uk-text-top">终端中经常使用 <code style="vertical-align: top;">curl</code> 命令调用后端接口,配合 <code style="vertical-align: top;">jq</code> 命令可以实现 json 格式化。如图:</span>
<img width="540" style="border-radius: 10px;" alt="json intro jq"
src="//cdn.feling.net/images/json-intro-jq.png">
src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/images/json-intro-jq.png">
</p>
<h3>Python</h3>
<p>

View File

@ -6,6 +6,11 @@ keywords: [base64, base64编码, base64解码, base64图片]
description: base64 是一种编码算法,它使得 “可打印的字符” 能表示 “二进制数据”。换句话说就是用字符串来表示二进制文件。现在的web开发中也经常用base64来编码图片。
---
在线编解码工具, 支持图片文件:
[Base64 编码 解码 图片](/base64/)
## 什么是 Base64有什么用
base64 是一种编码算法,它使得 “可打印的字符” 能表示 “二进制数据”。换句话说,就是用字符串来表示二进制文件。

View File

@ -1,8 +1,8 @@
---
layout: default
layout: default-no-ad
---
<script src="//cdn.feling.net/js/components/grid.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/components/grid.min.js"></script>
<ul id="tab" class="uk-tab uk-hidden-small" style="margin-bottom: 15px;">
<li data-uk-filter=""><a>全部</a></li>

30
proxy-zzm.pac Normal file
View File

@ -0,0 +1,30 @@
var proxy = "SOCKS5 127.0.0.1:7890";
function FindProxyForURL(url, host) {
if (shExpMatch(host,"*qunar*")
|| shExpMatch(host,"*.cn")
|| shExpMatch(host,"*gridvo*")
|| shExpMatch(host,"10.0.*")
|| shExpMatch(host,"172.*")
|| shExpMatch(host,"192.*")
|| shExpMatch(host,"*baidu*")
|| shExpMatch(host,"*bdstatic*")
|| shExpMatch(host,"*aliyun*")
|| shExpMatch(host,"*alicdn*")
|| shExpMatch(host,"*mmstat*")
|| shExpMatch(host,"*alipay*")
|| shExpMatch(host,"*99.com")
|| shExpMatch(host,"*.qq.com")
|| shExpMatch(host,"*.99.com")
|| shExpMatch(host,"101.com")
|| shExpMatch(host,"*.101.com")
|| shExpMatch(host,"*.sdp")
|| shExpMatch(host,"*.nd")
|| shExpMatch(host,"*.ndaeweb.com")
|| shExpMatch(host,"*.hdslb.com")
) {
return "DIRECT";
}
return proxy;
}

26
proxy1604.pac Normal file
View File

@ -0,0 +1,26 @@
var proxy = "SOCKS5 192.168.5.16:7890";
function FindProxyForURL(url, host) {
if (shExpMatch(host,"*qunar*")
|| shExpMatch(host,"*.cn")
|| shExpMatch(host,"*baidu*")
|| shExpMatch(host,"*bdstatic*")
|| shExpMatch(host,"*aliyun*")
|| shExpMatch(host,"*alicdn*")
|| shExpMatch(host,"*mmstat*")
|| shExpMatch(host,"*alipay*")
|| shExpMatch(host,"*99.com")
|| shExpMatch(host,"*.qq.com")
|| shExpMatch(host,"*.99.com")
|| shExpMatch(host,"101.com")
|| shExpMatch(host,"*.101.com")
|| shExpMatch(host,"*.sdp")
|| shExpMatch(host,"*.nd")
|| shExpMatch(host,"*.ndaeweb.com")
|| shExpMatch(host,"*.hdslb.com")
) {
return "DIRECT";
}
return proxy;
}

View File

@ -220,11 +220,11 @@ description: fredis 是一个网页版 redis 客户端基于“ws2s项目”
</div>
{% endraw %}
<script src="//cdn.feling.net/js/ws2s-2.1.2.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/ws2s-2.1.2.js"></script>
<script src="//cdn.apihub.net/js/clipboard.min.js"></script>
<script src="//cdn.feling.net/js/jquery.terminal.min.js"></script>
<script src="//cdn.feling.net/js/Sortable.min.js"></script>
<script src="//cdn.feling.net/js/vuedraggable.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/jquery.terminal.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/Sortable.min.js"></script>
<script src="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/js/vuedraggable.min.js"></script>
<script>
new ClipboardJS('.copy-last-response', {
text: function(trigger) {
@ -478,7 +478,7 @@ description: fredis 是一个网页版 redis 客户端基于“ws2s项目”
}
})
</script>
<link rel="stylesheet" href="//cdn.feling.net/css/jquery.terminal.min.css" media="all">
<link rel="stylesheet" href="//cdn-feling-net.oss-cn-beijing.aliyuncs.com/css/jquery.terminal.min.css" media="all">
<style>
.terminal, .cmd {
font-family: Consolas, monospace;

View File

@ -85,14 +85,14 @@ description: websocket 在线联调、测试工具。手动发送、接收 webso
style="height: 70px;" onkeydown="onkeydown_tab(this)"
placeholder="快捷消息2内容会保存到 localStorage方便下次使用"></textarea>
</div>
<div class="uk-form-row" style="margin-top: 5px;">
<!-- <div class="uk-form-row" style="margin-top: 5px;">
<textarea class="uk-width-1-1 quick-msg-textarea" type="text" v-model="myMsg3"
style="height: 70px;" onkeydown="onkeydown_tab(this)"
placeholder="快捷消息3内容会保存到 localStorage方便下次使用"></textarea>
</div>
</div> -->
<div class="uk-form-row">
<button class="uk-button uk-button-primary" :disabled="!connected" @click="doSend3()"
style="float: right;margin-left:15px;">发送消息3</button>
<!-- <button class="uk-button uk-button-primary" :disabled="!connected" @click="doSend3()"
style="float: right;margin-left:15px;">发送消息3</button> -->
<button class="uk-button uk-button-primary" :disabled="!connected" @click="doSend2()"
style="float: right;margin-left:15px;">发送消息2</button>
<button class="uk-button uk-button-primary" :disabled="!connected" @click="doSend1()"