<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[王旻宇]]></title><description><![CDATA[以梦为马]]></description><link>https://blog.youkuaiyun.com/u010129448</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; u010129448]]></copyright><item><title><![CDATA[gh60(OK60RGB)刷固件折腾日志（MacOs版）]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/78568581</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/78568581</guid><author>u010129448</author><pubDate>Sat, 18 Nov 2017 14:24:11 +0800</pubDate><description><![CDATA[gh60(OK60RGB)刷固件折腾日志（MacOs版）
由于平时开发使用vim，基本不用鼠标。只是偶尔查看文件，写设计文档画个图和浏览网页（网页也常使用qutebrowser 的仿vim操作）的时候才会用到，不太喜欢离开键盘去碰鼠标。所以，既然烧键盘了，就索性再添加一层鼠标操作层，这样在偶尔需要使用鼠标的时候直接切到这层去，比较省事。不过，出乎意料的是，tkg似乎并不支持鼠标按键，这时候只能使用[tmk_keybo]]></description><category></category></item><item><title><![CDATA[unzip 解压windows上zip文件乱码的问题]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/72772391</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/72772391</guid><author>u010129448</author><pubDate>Fri, 26 May 2017 18:03:07 +0800</pubDate><description><![CDATA[对于gentoo而言，只需要为unzip的use标记加入natspec即可。
我的unzip标记信息如下：
   USE="bzip2
natspec 
unicode" ABI_X86="64"
解压命令是：
   unzip -O CP936 windows中文压缩包.zip]]></description><category></category></item><item><title><![CDATA[Linux/MacOS下matplotlib能正常显示的中文字体选择]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/65445713</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/65445713</guid><author>u010129448</author><pubDate>Thu, 23 Mar 2017 17:17:54 +0800</pubDate><description><![CDATA[下面的Python脚本可以检测到 *nix 系统内 matplotlib 支持正常显示的中文字体（用到了命令行工具 fc-list ）：

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# File Name: font_check.py
# Created Time: Thu Mar 23 16:53:59 2017


__auth]]></description><category></category></item><item><title><![CDATA[gentoo on macbook pro driver for the Broadcom Facetime HD webcam]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/54581100</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/54581100</guid><author>u010129448</author><pubDate>Tue, 17 Jan 2017 11:13:06 +0800</pubDate><description><![CDATA[gentoo on macbook pro 按 gentoo wiki 配置kernel 选项后, 仍然不能使用摄像头Device Drivers  --->
  Multimedia support  --->
  [*]   Cameras/video grabbers support
  [*]   Media USB Adapters  --->
      USB Video Clas]]></description><category></category></item><item><title><![CDATA[My Gentoo kernel config  on MacbookPro early 2015 13' Retina]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/53764718</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/53764718</guid><author>u010129448</author><pubDate>Tue, 20 Dec 2016 16:27:05 +0800</pubDate><description><![CDATA[#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.8.12-gentoo Kernel Configuration
#

#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
CONFIG_GENTOO_LINUX_PORTAGE=y

#
#]]></description><category></category></item><item><title><![CDATA[linux使用ping批量测试脚本]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/52860639</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/52860639</guid><author>u010129448</author><pubDate>Wed, 19 Oct 2016 16:35:50 +0800</pubDate><description><![CDATA[最近使用的国外 vps 是来自 vultr.com的.
官方给的pingi测试服务器列表如下:

Location        Looking Glass
Frankfurt, DE   fra-de-ping.vultr.com
Amsterdam, NL   ams-nl-ping.vultr.com
Paris, France   par-fr-ping.vultr.com
Lond]]></description><category></category></item><item><title><![CDATA[centos7 ip forwarding 的坑]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/51986904</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/51986904</guid><author>u010129448</author><pubDate>Thu, 21 Jul 2016 21:55:13 +0800</pubDate><description><![CDATA[在Centos6上允许ip转发只需要在 /etc/sysctl.conf里加入

net.ipv4.ip_forward = 1 

即可（reboot或用sysctl -p立即生效）

可在Centos7里这样是远远不够的。

这也导致了我在Centos７上，无论配pptp还是openvpn，都只能是正常连上服务，却不能正常上网。

确定了服务配置的没有问题后，基本锁定是转发]]></description><category></category></item><item><title><![CDATA[Archlinux 安装经验简要总结]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/50619976</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/50619976</guid><author>u010129448</author><pubDate>Mon, 01 Feb 2016 18:03:27 +0800</pubDate><description><![CDATA[#############grub###############

pacman -S grub efibootmgr

############软件源和软件包管理工具########

pacman(wget)
powerpill
yaourt
reflector
reflector -l 30 -f 12 | cat > mirrorlist


#配置/etc/pa]]></description><category></category></item><item><title><![CDATA[openSUSE系统下VirtualBox无法挂载主机USB设备问题的解决]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/48690969</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/48690969</guid><author>u010129448</author><pubDate>Thu, 24 Sep 2015 12:25:19 +0800</pubDate><description><![CDATA[这个问题几乎可以说是openSUSE系统下独有的问题，在网上查了很多资料，可查到的绝大部分都是说ubuntu上的相似问题，那问题很简单，其实就是他们没有将自己的的用户添加到vboxusers用户组上。而我确认自己的用户已经加入  vboxusers组、并且早就安装了 Oracle
 Extensions 扩展包，后来在推酷上发现一篇文章，才找到真正的解决方案。
原来是]]></description><category></category></item><item><title><![CDATA[360公司 2016校园招聘在线笔试编程题]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/48476377</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/48476377</guid><author>u010129448</author><pubDate>Tue, 15 Sep 2015 22:22:50 +0800</pubDate><description><![CDATA[第一题
将考研分数分类
#include 

int main(){
    int t, a, b, c, d, s;
    scanf("%d", &t);
    while(t--){
        scanf("%d %d %d %d", &a, &b, &c, &d);
        s = a + b + c + d;
        if(a < 60 || b <60]]></description><category></category></item><item><title><![CDATA[POJ1419 Graph Coloring]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/47782707</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/47782707</guid><author>u010129448</author><pubDate>Wed, 19 Aug 2015 17:10:17 +0800</pubDate><description><![CDATA[Description
You are to write a program that tries to find an optimal coloring for a given graph. Colors are applied to the nodes of the graph and the only available colors are black and white. The co]]></description><category></category></item><item><title><![CDATA[POJ1776 Task Sequences]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/47760193</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/47760193</guid><author>u010129448</author><pubDate>Tue, 18 Aug 2015 21:31:11 +0800</pubDate><description><![CDATA[URL:http://poj.org/problem?id=1776
Description

Tom has received a lot of tasks from his boss, which are boring to deal with by hand. Fortunately,Tom got a special machine - Advanced Computing Mach]]></description><category></category></item><item><title><![CDATA[uva216  Getting in Line]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/47758511</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/47758511</guid><author>u010129448</author><pubDate>Tue, 18 Aug 2015 20:23:52 +0800</pubDate><description><![CDATA[Computer networking requires that the computers in the network be linked.
This problem considers a ``linear" network in which the computers are chained together so that each is connected to exactly t]]></description><category></category></item><item><title><![CDATA[linux系统下sublime text编译运行c++程序的配置文件]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/47754623</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/47754623</guid><author>u010129448</author><pubDate>Tue, 18 Aug 2015 17:23:22 +0800</pubDate><description><![CDATA[做了两个版本，一个运行程序时，将终端调出，方便交互。
如下，因为我用的是kde桌面环境，所以常用终端的是konsole，对于gnome或其他桌面环境，改成gnome-terminal或x-terminal等终端即可。

{
    "shell_cmd": "g++ '${file}' -o '${file_path}/${file_base_name}'",
    "file_regex]]></description><category></category></item><item><title><![CDATA[POJ2337/UVA10441 Catenyms]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/47750685</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/47750685</guid><author>u010129448</author><pubDate>Tue, 18 Aug 2015 13:46:37 +0800</pubDate><description><![CDATA[URL:http://poj.org/problem?id=2337
URL:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=16&page=show_problem&problem=1382

Description

A catenym is a pair of words]]></description><category></category></item><item><title><![CDATA[POJ3667 Hotel]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/47722129</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/47722129</guid><author>u010129448</author><pubDate>Mon, 17 Aug 2015 11:02:39 +0800</pubDate><description><![CDATA[URL:http://poj.org/problem?id=3667


Description

The cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores of Lake Superior. Bes]]></description><category></category></item><item><title><![CDATA[POJ2528 Mayor's posters]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/47703863</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/47703863</guid><author>u010129448</author><pubDate>Sun, 16 Aug 2015 17:22:47 +0800</pubDate><description><![CDATA[URL:http://poj.org/problem?id=2528

Description
The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all p]]></description><category></category></item><item><title><![CDATA[POJ3468 A Simple Problem with Integers]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/47701493</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/47701493</guid><author>u010129448</author><pubDate>Sun, 16 Aug 2015 12:33:40 +0800</pubDate><description><![CDATA[线段树子区间更新维护
#include 

struct interval_tree{
    int nums[100010];
    struct Node{
        long long mark, sum;
    } node[100010 << 2];

    void build(int l, int r, int i) {
        if (l == r) {no]]></description><category></category></item><item><title><![CDATA[LeeetCode #84 Largest Rectangle in Histogram]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/47666377</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/47666377</guid><author>u010129448</author><pubDate>Fri, 14 Aug 2015 19:17:44 +0800</pubDate><description><![CDATA[Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.




Above is a histogram where width o]]></description><category></category></item><item><title><![CDATA[LeetCode #33 Search in Rotated Sorted Array]]></title><link>https://blog.youkuaiyun.com/u010129448/article/details/47663841</link><guid>https://blog.youkuaiyun.com/u010129448/article/details/47663841</guid><author>u010129448</author><pubDate>Fri, 14 Aug 2015 16:31:12 +0800</pubDate><description><![CDATA[Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
You are given a target value to search. If found in the array return its ]]></description><category></category></item></channel></rss>