摘要: 关于 Blog 修改 本 Blog 使用的是 WordPress,每次升级 WordPress 都需要修改文件,以修正一些问题,因此做个总记录,便于自己修改。 解决 WordPress 无法打开中文链接的文章(服务器支持 UTF-8,不再需要修改文件支持中文链接。) wp-includes/clas 阅读全文
posted @ 2018-08-21 18:32 Jerry_Jin 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Ever felt the need to control startup applications in Ubuntu? You should, if you feel that your Ubuntu system is very slow at the boot time.Every time you boot in to an operating system, a number of a... 阅读全文
posted @ 2018-08-21 18:30 Jerry_Jin 阅读(1491) 评论(0) 推荐(0) 编辑
摘要: C++11 之for 新解 auto 前言 C++11这次的更新带来了令很多C++程序员期待已久的for range循环,每次看到javascript, lua里的for range,心想要是C++能有多好,心里别提多酸了。这次C++11不负众望,再也不用羡慕别家人的for range了。使用场景e 阅读全文
posted @ 2018-08-21 18:28 Jerry_Jin 阅读(22847) 评论(0) 推荐(8) 编辑
摘要: How To Install Cacti On Ubuntu 14.04/14.10by anismajCacti is an open source web based network monitoring tool front-end for the data logging tool called RRDtool. It’s allow users to check the services... 阅读全文
posted @ 2018-08-21 18:27 Jerry_Jin 阅读(266) 评论(0) 推荐(0) 编辑
摘要: Ubuntu下安装Apache 2无法解析html中的phpUbuntu下安装了Apache 2却无法解析html中的php ,好多说是在httpd.conf文件中修改代码,但是ubuntu中没有这个文件啊,新建添加代码之后,网页直接把html的代码给显示出来了……其实一个可行的办法是,在/etc/apache2/apache2.conf文件中添加下面两行即可:AddHandler php5-sc... 阅读全文
posted @ 2018-08-21 18:26 Jerry_Jin 阅读(1352) 评论(0) 推荐(0) 编辑
摘要: Raspberry Pi - Huawei HiLink E3256 3G modem to ethernet adapterThis page documents how to configure a Raspberry Pi to act as a USB mobile-broadband-dongle to RJ45 ethernet 'adapter'. This enables mobi... 阅读全文
posted @ 2018-08-21 18:24 Jerry_Jin 阅读(5678) 评论(0) 推荐(0) 编辑
摘要: Compiling a kernel module for the raspberry pi 2 via Ubuntu hostNormally compiling a kernel module for a linux distribution is rather straight forward, but on the raspberry pi however it's a little mo... 阅读全文
posted @ 2018-08-21 18:23 Jerry_Jin 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 1. 一键批处理设置 [plain] view plaincopyprint?#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin:~/bin export PATH # Check if user is root if [ $UID != 0 ]; then e... 阅读全文
posted @ 2018-08-21 18:20 Jerry_Jin 阅读(895) 评论(0) 推荐(0) 编辑
摘要: 嵌入式初学者,第一次上传代码。昨天做了一个udhcpd与udhcpc的守护,目前只会用shell模仿编写,还有什么方法可以做守护呢??123456789101112131415161718192021222324252627282930#! /bin/sh#进程名字可修改PRO_NAME=udhcpcWLAN=ra0 while true ; do # 用ps获取$PRO_NAME进程数... 阅读全文
posted @ 2018-08-21 18:19 Jerry_Jin 阅读(6159) 评论(0) 推荐(1) 编辑
摘要: 首先要记住的是: 正则表达式与通配符不一样,它们表示的含义并不相同!正则表达式只是一种表示法,只要工具支持这种表示法, 那么该工具就可以处理正则表达式的字符串。vim、grep、awk 、sed 都支持正则表达式,也正是因为由于它们支持正则,才显得它们强大;1基础正则表达式grep 工具,以前介绍过。grep -[acinv] '搜索内容串' filename-a 以文本文件方式搜索-c ... 阅读全文
posted @ 2018-08-21 18:18 Jerry_Jin 阅读(18082) 评论(0) 推荐(0) 编辑