将域名从Godaddy转移到万网
Jul 07, 2015
准备将ltecn.com从Godaddy转到万网 首先在Godaddy的域名管理中,将域名解锁,将Lock状态设置为Off 然后你会收到一封标题为Domain Status Notification的邮件,提醒你域名状态已经修改为Unlocked …
Typecho主题Limits
Jul 02, 2015
又造了个简单成马咧的主题,分享给大家! 说明 评论采用多说,请自行替换comments.php内容 没有页面导航,因此请在设置-阅读中,将每页文章数目设大一些(例如:999) 预览图: …
树莓派连接DHT11采集温度与湿度
Jun 21, 2015
20250125更新: Release 3.12已发布https://github.com/WiringPi/WiringPi/releases 国内下载地址 wiringpi_3.12_armhf.deb (访问密码: 3705) wiringpi_3.12_arm64.deb (访问密码: 3705) WiringPi-3.12.zip (访问密码: 3705) DHT11介绍 DHT11是一款有已校准数字信号输出的温湿度传感器。 精度湿度+-5%RH, 温度+-2℃,量程湿度20-90%RH, 温度0~50℃。 …
Ubuntu下安装Ghost博客系统
Jun 06, 2015
安装Nodejs sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs 检查是否安装成功 root@hkvps:~# node -v v0.10.37 root@hkvps:~# npm -v 1.4.28 安装Ghost Ghost下载地址https://ghost.org/download/ wget https://ghost.org/zip/ghost-0.6.4.zip unzip ghost-0.6.4.zip -d ghost cd ghost npm install --production 运行Ghost npm start 可以通过127.0.0.1:2368来访问 …
Nginx配置SSL证书
May 25, 2015
申请Wosign免费SSL证书 申请地址: https://www.wosign.com/products/free_ssl.htm 申请成功后,收到类似于aquan.me_sha256_cn.zip的文件,解压后包含如下文件 for Apache.zip for IIS.zip for Nginx.zip for Other Server.zip for Tomcat.zip 其中for Nginx.zip中包含如下两个文件,将其上传到VPS自定义位置。 …
Typecho主题Read
May 21, 2015
闲暇时参考http://www.yinwang.org/修改制作了一个Typecho主题,命名为Read,分享给大家! …
Linux下安装最新版golang
May 11, 2015
ubuntu中可以使用apt-get install golang来安装go,但是版本稍旧 如果需要安装最新版的golang,那就得自己动手咧 安装golang 从官网下载最新版,手动安装 …
使用speedtest-cli测试带宽
Mar 26, 2015
安装speedtest-cli 安装speedtest-cli方法如下: sudo apt-get install python-pip sudo pip install speedtest-cli 或 pip install git+https://github.com/sivel/speedtest-cli.git 或 git clone https://github.com/sivel/speedtest-cli.git python speedtest-cli/setup.py install 或 wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest_cli.py chmod +x speedtest-cli 或 curl -Lo speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest_cli.py chmod +x speedtest-cli 使用speedtest-cli root@MyUbuntuCloud:~# speedtest-cli -h usage: speedtest-cli [-h] [--bytes] [--share] [--simple] [--list] [--server SERVER] [--mini MINI] [--source SOURCE] [--timeout TIMEOUT] [--version] Command line interface for testing internet bandwidth using speedtest.net. -------------------------------------------------------------------------- https://github.com/sivel/speedtest-cli optional arguments: -h, --help show this help message and exit --bytes Display values in bytes instead of bits. Does not affect the image generated by --share --share Generate and provide a URL to the speedtest.net share results image --simple Suppress verbose output, only show basic information --list Display a list of speedtest.net servers sorted by distance --server SERVER Specify a server ID to test against --mini MINI URL of the Speedtest Mini server --source SOURCE Source IP address to bind to --timeout TIMEOUT HTTP timeout in seconds. Default 10 --version Show the version number and exit 以下为两则实例: …
fdisk分区实例
Mar 19, 2015
查看磁盘分区详情 直接使用fdisk -l 或者使用fdisk /dev/sda,再使用p命令来查看 Command (m for help): p Disk /dev/sda: 32.2 GB, 32212254720 bytes 255 heads, 63 sectors/track, 3916 cylinders, total 62914560 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000657c3 Device Boot Start End Blocks Id System /dev/sda1 * 2048 61868031 30932992 83 Linux /dev/sda2 61870078 62912511 521217 5 Extended /dev/sda5 61870080 62912511 521216 82 Linux swap / Solaris fdisk命令 fdisk有以下命令可用,其中常用的已简单说明 …
推荐几个Xposed模块
Mar 14, 2015
MinMinGuard Statusbar Scroll to Top WiFiKeyView SwipeBack