×

Falcon

  • git-stash 用法小结

    发现有一个类是多余的,想删掉它又担心以后需要查看它的代码,想保存它但又不想增加一个脏的提交。这时就可以考虑git stash。 使用git的时候,我们往往使用分支(branch)解决任务切换问题,例如,我们往往会建一个自己的分支去修改和调试代码, 如果别人或者自己发现原有的分支上有个不得不修改的bug,我们往往会把完成一半的代码commit提交到本地仓...

    2020-01-23 06:58 Falcon 阅读
  • 树莓派3b 安装openwrt

    https://downloads.openwrt.org/releases/19.07.0/targets/brcm2708/bcm2710/openwrt-19.07.0-brcm2708-bcm2710-rpi-3-squashfs-factory.img.gz 插入并启动树莓派3B+,顺便接上键盘和显示器,你会看...

    2020-01-19 18:25 Falcon 阅读
  • 吴晓波最新演讲:买房爱好已改,中国蓝领工资41年涨了150倍

    演讲要点 1978年到2019年中国和美国的蓝领工人比例的话,在41年中如果你在美国做一个蓝领工人工资一年的收入增长了多少倍呢?增长了3倍。中国的蓝领工人41年里面,我们的年薪收入增长了150倍。 吴晓波表示,很多朋友们知道我喜欢买房子,这个爱好我最近已经改了。过去20年上海房价涨了14倍,纽约房子涨2.4倍。 2019十大创业...

    2020-01-19 05:59 Falcon 阅读
  • [科普向]2.4G信道怎么选?

    今天我们来讲讲路由器信道的问题,这里主要讲2.4G频段的信道怎么选。            首先,我们来看下2.4G信道划分图!      由于地区的不同,有些设备不支持11以上的信道,所以我们重点选择1到11信道来讲解。  &n...

    2020-01-19 05:20 Falcon 阅读
  • PHP使用Beanstalkd实例

    有关Beanstalkd的基本概念,编译和yum的安装方法已经在上述笔记中记录了,今天练习下PHP使用Beanstalkd的过程,我选择的是使用Pheanstalk类来连接Beanstalkd 1.使用Composer安装Pheanstalk composer require pda/pheanstalk 2.实现代码 php查看beanstalkd...

    2020-01-17 10:13 Falcon 阅读
  • yaml 的百分号(%) 解析出错

    问题: I'm getting an error with .yml translation file for symfony. Here is my file(date.it.yml). diff.ago.year: un anno fa | %count% anni fa diff.ago.month: un mese fa | %count% m...

    2020-01-16 15:12 Falcon 阅读
  • A (Mostly) Complete Guide to the WordPress Rewrite API

    The WordPress, Rewrite API is like a mythical creature. Not many know it exists, and few still know how to tame it. In this article, we’ll cover the basics of...

    2020-01-09 04:56 Falcon 阅读
  • MySQL几种text字段类型

    MySQL supports 4 TEXT field types (TINYTEXT, TEXT, MEDIUMTEXT and LONGTEXT) and this post looks at the maximum length of each of these field types.MyISAM tables in MySQL have a max...

    2020-01-08 17:18 Falcon 阅读
  • Swift5.0 中的for循环

    Swift中的for循环写法: let a = 100;   for i in 0 ..< a {   print("a=\(i)");   }   Swift中for循环不需要i的写法:...

    2020-01-08 09:29 Falcon 阅读