-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
22 lines (19 loc) · 6.78 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="X-UA-Compatible" content="IE=edge"><meta name="author" content="Yang, [email protected]"><title>F18</title><meta name="description" content="A Blog Powered By Hexo"><meta name="keywords" content="Hexo,iOS,Linux,Python,Javascript,Nodejs"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><meta name="renderer" content="webkit"><link rel="short icon" href="/images/favicon.png" type="image/x-icon"><link rel="stylesheet" href="/css/style.css"><link rel="stylesheet" href="/css/blog_basic.css"><link rel="stylesheet" href="/css/font-awesome.min.css"><link rel="alternate" type="application/atom+xml" title="ATOM 1.0" href="/atom.xml"><meta name="generator" content="Hexo 4.2.0"></head><body><div class="sidebar animated fadeInDown"><div class="logo-title"><div class="title"><img src="/images/[email protected]" style="width:127px;"><h3 title=""><a href="/">F18</a></h3><div class="description"><p>Yet, just another blog</p></div></div></div><ul class="social-links"></ul><div class="footer"><span>Theme by </span><a href="https://github.com/Ben02/hexo-theme-Anatole" target="_blank" rel="noopener"> Anatole </a><div class="by_farbox">Using <a href="https://hexo.io/zh-cn/" target="_blank">Hexo</a></div></div></div><div class="main"><div class="page-top animated fadeInDown"><div class="nav"><li><a class="current" href="/">首页</a></li><li><a href="/about">关于</a></li><li><a href="/archives">归档</a></li><li><a href="/links">友链</a></li></div><div class="information"><div class="back_btn"><li><a class="fa fa-chevron-left" onclick="window.history.go(-1)" style="display:none;"> </a></li></div><div class="avatar"><img src="/images/favicon.png"></div></div></div><div class="autopagerize_page_element"><div class="content"><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2019/10/15/using-raspberrypi/">树莓派的一些相关命令</a></h3></div><div class="post-content"><p>配置crontab或者树莓派的ip和mac地址并上传到指定网址1*/5 * * * * myip=`ifconfig eth0 | grep "inet " | awk '{ print $2}' | awk -F: '{print $1}'` && mym...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2019-10-15</span><i class="fa fa-tag"></i><a class="tag" href="/tags/raspberrypi/" title="raspberrypi">raspberrypi </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2019/08/20/install-paho-mqtt/">Linux环境编译安装paho.mqtt</a></h3></div><div class="post-content"><p>从github下载项目:
1234git clone https://github.com/eclipse/paho.mqtt.ccd paho.mqtt.cmakesudo make install
接下来可以使用这样在c代码里使用paho.mqtt
#include <MQTTClient.h>...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2019-08-20</span><i class="fa fa-tag"></i><a class="tag" href="/tags/mqtt/" title="mqtt">mqtt </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2019/04/18/win10-startup-tools-on-macos/">macOS下制作win10启动盘</a></h3></div><div class="post-content"><p>直接使用macOS自带的diskutil工具其中这里的”WINDOWS10” 与disk2 来自diskutil list查询的结果
打开macOS命令行:
1diskutil list
查看到当前U盘的名称(disk2)
WINDOWS10是打开的iso镜像的名称
1diskutil eraseDisk M...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2019-04-18</span><i class="fa fa-tag"></i><a class="tag" href="/tags/macos/" title="macos">macos </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2016/06/16/some-macos-settings/">osx笔记</a></h3></div><div class="post-content"><p>Posted on 一 16 六月 2014
mac系统开机进入命令行的方法开机按下command+s直到进入命令行。
修复丢失用户密码无法进入系统的问题:
> /sbin/mount -uaw> rm /var/db/.AppleSetupDone> reboot
然后可以重新注册一个管理员用...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2016-06-16</span><i class="fa fa-tag"></i><a class="tag" href="/tags/macos/" title="macos">macos </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2014/05/01/using-git-svn/">使用git-svn</a></h3></div><div class="post-content"><p>从svn服务器导入版本> git svn init -s https://svn.an.svn.address> git svn fetch
提交git修改到svn服务器> git commit -m “some commit message”> git svn dcommit
添加tag...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2014-05-01</span><i class="fa fa-tag"></i><a class="tag" href="/tags/macos/" title="macos">macos </a><a class="tag" href="/tags/git/" title="git">git </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2014/03/20/php-on-mac/">OSX10.10上使用php</a></h3></div><div class="post-content"><p>生成php-fmp配置文件sudo cp /private/etc/php-fpm.conf.default /usr/local/etc/php-fpm.conf
启动php-fmpphp-fpm --fpm-config /usr/local/etc/php-fpm.conf --prefix /usr/l...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2014-03-20</span><i class="fa fa-tag"></i><a class="tag" href="/tags/macos/" title="macos">macos </a><a class="tag" href="/tags/php/" title="php">php </a></div></div></div></div><div class="post animated fadeInDown"><div class="post-title"><h3><a href="/2014/03/01/install-oracle11g-on-centos/">centos上安装oracle11g(xe)</a></h3></div><div class="post-content"><p>准备安装文件
oracle11g(xe)的安装文件
检查交换空间首先查看tmpfs大小,oracle11g(xe)的init.ora文件给出了最低要求,默认是1G,需要扩抽为2G。
修改/etc/fstab文件: 找到: tmpfs /dev/shm tmpfs defaults 0 0 改成: tmpfs /...</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2014-03-01</span><i class="fa fa-tag"></i><a class="tag" href="/tags/macos/" title="macos">macos </a><a class="tag" href="/tags/oracle/" title="oracle">oracle </a></div></div></div></div><div class="pagination"><ul class="clearfix"></ul></div></div></div></div><script src="/js/jquery.js"></script><script src="/js/jquery-migrate-1.2.1.min.js"></script><script src="/js/jquery.appear.js"></script></body></html>