刘伟
Darren
2021-07-06T08:31:56.660Z
https://darrenliuwei.com/
刘伟
Hexo
手把手教你搭建v2ray梯子教程
https://darrenliuwei.com/手把手教你搭建v2ray梯子教程.html
2021-07-06T06:12:07.000Z
2021-07-06T08:31:56.660Z
<p>最近在某个群里突然有人问关于梯子的问题,我说我可以教大家搭建梯子,纯公益的。<br>然后还有更多的人也想让我教,那么我还要把相同的步骤再重复教一遍么?很显然不能这么做,所以我决定写一篇博客来记录一下整个搭建过程,你可以先照着这个文章进行操作,如果还有什么不懂的,可以再来问我。<br>
ajax XMLHttpRequest对象的状态,改变从0到4
https://darrenliuwei.com/ajax-XMLHttpRequest对象的状态,改变从0到4.html
2020-04-02T13:04:26.000Z
2020-04-02T13:07:03.310Z
<p>XMLHttpRequest对象的状态改变从0到4:<br>0、代表请求未被初始化<br>1、代表服务器连接成功<br>2、请求被服务器接收<br>3、处理请求<br>4、请求完成并且响应准备。</p>
MySQL8.x开启远程访问
https://darrenliuwei.com/MySQL8-x开启远程访问.html
2020-03-09T11:23:17.000Z
2020-03-09T11:27:35.890Z
<p>首先登录进MySQL<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">mysql -u root -p</span><br></pre></td></tr></table></figure></p>
Ubuntu19.10安装MySQL数据库
https://darrenliuwei.com/Ubuntu19-10安装MySQL数据库.html
2020-03-09T10:54:06.000Z
2020-03-09T11:21:17.435Z
<p>首先我们通过命令安装<code>mysql-server</code>和<code>mysql-client</code><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">sudo apt-get install mysql-server</span><br><span class="line">sudo apt-get install mysql-client</span><br></pre></td></tr></table></figure></p>
解决小米手机上Google Play无法下载更新应用问题
https://darrenliuwei.com/解决小米手机上Google-Play无法下载更新应用问题.html
2020-02-14T07:47:44.000Z
2020-02-14T08:12:35.123Z
<p>其实很早之前我的小米手机上Google Play就无法更新应用了,然后我上网找了一个解决办法,但是还是无法更新,所以就一直拖着。</p>
<p>但是最近在家闲的发慌,就想想还是把这问题解决了吧<br>
egg.js使用nodemailer发送邮件
https://darrenliuwei.com/egg-js使用nodemailer发送邮件.html
2020-02-13T12:32:23.000Z
2020-02-13T13:41:11.398Z
<p>最近在用egg.js做后台开发,正好遇到需要发送邮件的功能,再此记录一下:</p>
<p>1、下载 <a href="https://nodemailer.com/" target="_blank" rel="noopener">nodemailer</a><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npm install nodemailer</span><br></pre></td></tr></table></figure></p>
egg.js前后端分离使用JWT解决登录token问题
https://darrenliuwei.com/egg-js前后端分离使用JWT解决登录token问题.html
2020-02-13T07:29:17.000Z
2020-02-13T07:52:56.148Z
<p>最近在学习egg.js,在练习的时候,想到现在都是前后端分离,那egg.js该怎么解决登录token问题呢?然后我就网上各种搜解决办法,现在我就结合自己实际经验给大家讲一下:<br>
在nuxt.js里集成element-ui
https://darrenliuwei.com/在nuxt-js里集成element-ui.html
2020-02-11T11:31:34.000Z
2020-02-11T11:49:39.974Z
<ol>
<li><p>安装<code>element-ui</code></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npm i element-ui -S</span><br></pre></td></tr></table></figure>
</li>
<li><p>在<code>plugins</code>文件夹下面,创建<code>element-ui.js</code>文件,写入如下内容:</p>
Google AdSense电汇教程_谷歌联盟国内电汇收款(招商银行)
https://darrenliuwei.com/AdSense电汇教程-谷歌联盟国内电汇收款(招商银行).html
2020-02-10T06:59:02.000Z
2020-02-13T07:59:03.788Z
<p>Google AdSense自2019年11月以来,国内的西联收款基本都办不了了,之前用的光大银行网上收西联也不行了。</p>
<p>今天我就来给大家介绍一下如何通过电汇来收取Google AdSense里的钱。</p>
<p>我推荐大家去办理一张招商银行的储蓄卡,因为这是我亲自测试成功了的,并且招行电汇不需要收取手续费,也不需要去柜台提供任何文件,直接在手机上就可以操作提现结汇了。<br>
修改egg.js项目的默认favicon图标
https://darrenliuwei.com/修改egg-js项目的默认favicon图标.html
2020-01-31T12:51:21.000Z
2020-01-31T13:12:15.776Z
<p>最近在使用egg.js搭建后端项目时,发现默认favicon图标是egg.js官方的favicon,但是我希望可以改成自己项目的favicon。</p>
<p>接着就去网上搜索解决办法,发现有一点小坑。</p>
<p>参考地址: <a href="https://www.jianshu.com/p/a569127876e5" target="_blank" rel="noopener">https://www.jianshu.com/p/a569127876e5</a><br>这篇文章里没有写要引入<code>fs</code>模块,然后我就以为可以直接使用,发现报错了。</p>
<p>好了,我就直接讲解决办法吧!<br>
教你如何让vs code也可以用vim
https://darrenliuwei.com/教你如何让vs-code也可以用vim.html
2020-01-19T13:53:33.000Z
2020-01-19T14:07:09.911Z
<p>很久以前我就爱上了vs code,但是后来因为某种原因我开始使用sublime,再后来又开始用vs code,一直用到现在,但是心里依然还是很喜欢vim。</p>
<p>最近在网上意外的看到了一篇帖子,里面有很多人提到可以用vim,或者可以装vim插件。</p>
<p>接着,我就好奇的在vs code里搜索vim插件,装了排名第一的<a href="https://marketplace.visualstudio.com/items?itemName=vscodevim.vim" target="_blank" rel="noopener">Vim</a>,发现真的非常好用,目前没有做什么特别的设置,直接用的默认设置,就感觉挺好的,推荐大家也可以去装一下。看下图:<br>
集五福多扫一张福,马云亲自写福
https://darrenliuwei.com/集五福多扫一张福,马云亲自写福.html
2020-01-15T07:14:01.000Z
2020-01-19T14:00:35.376Z
<p>还有人没有集齐五福吗?</p>
<p>还在为今日扫福次数已达上限而烦恼吗?</p>
<p>现在扫马云亲自写的福字,可以获得一张沾福气卡。</p>
<p>扫下面马云亲自写的福字:<br>
永久免费国内外短信接码平台
https://darrenliuwei.com/永久免费国内外短信接码平台.html
2020-01-01T07:42:38.000Z
2020-06-05T05:08:04.699Z
<p>临时手机号有什么用?有时候注册某些服务必须提供手机号,但你又不想使用你常用的手机号,因为你不想收到不必要的垃圾短信。<br>又有些时候你只是想试用一次某些服务,你不想使用常用手机号注册。<br>临时手机号应运而生,在注册这些不重要的服务时使用临时手机号作为替身是个很好的选择。<br>临时手机号具有匿名性,能有效减少垃圾短信。</p>
教你egg.js如何连接Sequelize
https://darrenliuwei.com/教你egg-js如何连接Sequelize.html
2019-12-30T08:28:25.000Z
2019-12-30T13:36:48.133Z
<h1 id="教你egg-js如何连接Sequelize"><a href="#教你egg-js如何连接Sequelize" class="headerlink" title="教你egg.js如何连接Sequelize"></a>教你egg.js如何连接Sequelize</h1><p>1、 首先确保你机器上已经安装好MySQL了<br><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo apt-get install mysql-server mysql-client</span><br></pre></td></tr></table></figure></p>
购买国外免备案域名、namesilo优惠码、最优质最便宜最稳定国外域名注册服务商
https://darrenliuwei.com/namesilo.html
2019-07-14T13:03:19.000Z
2019-07-14T13:15:29.912Z
<h1 id="购买国外免备案域名、namesilo优惠码、最优质国外域名注册服务商"><a href="#购买国外免备案域名、namesilo优惠码、最优质国外域名注册服务商" class="headerlink" title="购买国外免备案域名、namesilo优惠码、最优质国外域名注册服务商"></a>购买国外免备案域名、namesilo优惠码、最优质国外域名注册服务商</h1><p>购买域名推荐—><a href="https://www.namesilo.com/?rid=b58ea49as" target="_blank" rel="noopener">namesilo</a></p>
<p>那么, 就来谈一谈我为什么要推荐<a href="https://www.namesilo.com/?rid=b58ea49as" target="_blank" rel="noopener">namesilo</a></p>
CodeIgniter 3 如何发送短信(腾讯短信服务)
https://darrenliuwei.com/codeigniter3-sms.html
2019-06-30T10:49:37.000Z
2019-06-30T11:13:38.914Z
<p>腾讯短信服务 PHP SDK 文档地址: <a href="https://cloud.tencent.com/document/product/382/9557" target="_blank" rel="noopener">https://cloud.tencent.com/document/product/382/9557</a><br>腾讯短信服务 PHP SDK GitHub地址: <a href="https://github.com/qcloudsms/qcloudsms_php" target="_blank" rel="noopener">https://github.com/qcloudsms/qcloudsms_php</a></p>
<ol>
<li>在 <code>application/controllers</code> 目录下新建一个 <code>Sms.php</code> 文件</li>
<li><p>示例代码如下:</p>
Vue 前后端分离,axios 发送数据给后端与接收服务器端发来的数据
https://darrenliuwei.com/axios.html
2019-06-30T10:14:17.000Z
2019-06-30T10:22:28.619Z
<ol>
<li><p>在 <code>main.js</code> 里引入 <code>axios</code> 和 <code>qs</code></p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> axios <span class="keyword">from</span> <span class="string">'axios'</span></span><br><span class="line"><span class="keyword">import</span> qs <span class="keyword">from</span> <span class="string">'qs'</span>;</span><br><span class="line"></span><br><span class="line">Vue.use(axios);</span><br></pre></td></tr></table></figure>
</li>
<li><p>给 <code>axios</code> 和 <code>qs</code> 取别名,然后在其他组件里就可以用 <code>this.$http</code> 和 <code>this.$qs</code> 来使用</p>
如何在 Vue 中全局引用 qs
https://darrenliuwei.com/vue-qs.html
2019-06-29T15:25:04.000Z
2019-06-29T15:34:26.953Z
<ol>
<li><p>首先我们打开 <code>main.js</code> 文件,引入 <code>qs</code></p>
<figure class="highlight javascript"><table><tr><td
卸载阿里云服务器AliYunDun监控教程
https://darrenliuwei.com/aliyun.html
2019-06-14T15:12:03.000Z
2019-06-14T15:23:37.446Z
<p>众所周知,阿里云的服务器都自带监控(AliYunDun/阿里云盾/安骑士教程),大家都不想自己的所作所为都被监控着,我们购买的 VPS 用途大家也都懂得,所以我们需要让它的监控失效,卸载监控。<br>
CodeIgniter 3 如何发送 Email 邮件
https://darrenliuwei.com/codeigniter3-email.html
2019-05-18T03:09:20.000Z
2019-05-18T03:33:00.829Z
<p>教你如何在 CodeIgniter 3 中发送邮件</p>
<p>请在你需要发送 Email 的控制器里写下如下代码:<br>