Ubuntu中为何没有/etc/inittab文件
最近在看LPI的书,里面经常提到/etc/inittab,正当我想在Ubuntu里看一看这个inittab一般“长”什么样子的时候,系统却告诉我No such file or directory.
这不是很重要的一个文件吗!怎么就不存在呢!
最近在看LPI的书,里面经常提到/etc/inittab,正当我想在Ubuntu里看一看这个inittab一般“长”什么样子的时候,系统却告诉我No such file or directory.
这不是很重要的一个文件吗!怎么就不存在呢!
Reveal已经算是逆向工程中常用的软件了(虽然它的本意不是用来逆向查看其他App的UI),为了保护自己的App不被其他人用Reveal来查看UI结构,我给出了一个简单的解决方案,当然,要是有人真的想逆向掉你的App,这也只是时间问题而已。
刚才翻到了上学期期末无聊写的十进制转其他进制的Perl程序,留着也没用,其实拿出来也没人用,就当发出来玩玩吧。
There is a historic way to present your alert in other apps, which can date back to iOS 5 or even easier.
You can refer to those links.
Can you use CFUserNotification with IOS 5.1
Display CFUserNotificationDisplayAlert on iPhone Lock Screen
There is even a wiki page on iPhoneDevWiki, CFUserNotification.
(Update 1) Here is the official source code from Apple.
Recently, this guy who comes up with a possible way of using this old method to steal Apple ID.
Continue reading Bypass sandbox and present an alert in other apps
之前做个了自己的“云存储”,用来收集一些代码片段,可是发现不太方便,实际上我自己也很少用,还是想直接放博客,自己找起来方便,但又不想那些出现在首页,可是Wordpress貌似本身没有“不让某一分类的的文章显示在博客首页”的功能,只好自己想办法了。
今天本来想复习一下排序算法,在网上搜索的时候,偶然看到了一篇"珠排序"的论文,这种方法尝试直接以物理方式来思考排序问题。
把需要排序的每一个正整数分别看成一排珠子,比如有三个珠子就代表正整数3,有四个珠子则代表正整数4。
◯◯◯◯ → 正整数4
◯◯◯ → 正整数3
现在把这一系列珠子都向左/右对齐,水平放置,然后把每一列都串起来,用论文里的话就是,“就像算盘一样”。
之后把“算盘”立起来,只要做实验的地方有引力,这些珠子也可以自由滑动,那么在立起来之后马上就可以得到排序之后的答案了。
论如何正确的使用Dash!(误)
P.S. 非技术向
自从知道怎么过滤User-Agent之后,终于不用花70w来防DDoS了【