<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[fireyecat的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/fireyecat</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; fireyecat]]></copyright><item><title><![CDATA[使用vim浏览和编辑文件时实现文本上下移动，而光标行不动]]></title><link>https://blog.youkuaiyun.com/fireyecat/article/details/125935922</link><guid>https://blog.youkuaiyun.com/fireyecat/article/details/125935922</guid><author>fireyecat</author><pubDate>Fri, 22 Jul 2022 16:56:40 +0800</pubDate><description><![CDATA[如果把scrolloff选项设置成一个很大的值，超过屏幕所能显示
总行数的一半，光标所在行将始终停留在窗口的中间。当你上
下移动光标时，文本会向相反的方向移动。]]></description><category></category></item><item><title><![CDATA[【无标题】]]></title><link>https://blog.youkuaiyun.com/fireyecat/article/details/125019060</link><guid>https://blog.youkuaiyun.com/fireyecat/article/details/125019060</guid><author>fireyecat</author><pubDate>Sat, 28 May 2022 15:47:19 +0800</pubDate><description><![CDATA[Being stuck at "loading initial ramdisk" solved by unchecking the option of "Save session for future logins" on the Log out dialog



卡在这里的原因很多吧，解决的方法也会各有不同。
]]></description><category></category></item><item><title><![CDATA[如何将 Bash 命令的输出赋值给 Bash 变量]]></title><link>https://blog.youkuaiyun.com/fireyecat/article/details/124470216</link><guid>https://blog.youkuaiyun.com/fireyecat/article/details/124470216</guid><author>fireyecat</author><pubDate>Thu, 28 Apr 2022 12:04:39 +0800</pubDate><description><![CDATA[有时需要将 Bash 命令的输出保存以作他用。Bash 提供了两种将 Bash 命令的输出赋值给 Bash 变量的方法。]]></description><category></category></item><item><title><![CDATA[安卓手机节拍器]]></title><link>https://blog.youkuaiyun.com/fireyecat/article/details/114174447</link><guid>https://blog.youkuaiyun.com/fireyecat/article/details/114174447</guid><author>fireyecat</author><pubDate>Sat, 27 Feb 2021 14:36:51 +0800</pubDate><description><![CDATA[安卓手机应用

节拍器，
]]></description><category></category></item><item><title><![CDATA[function zip]]></title><link>https://blog.youkuaiyun.com/fireyecat/article/details/111653876</link><guid>https://blog.youkuaiyun.com/fireyecat/article/details/111653876</guid><author>fireyecat</author><pubDate>Thu, 24 Dec 2020 20:21:18 +0800</pubDate><description><![CDATA[发一张图片




]]></description><category></category></item><item><title><![CDATA[Variable-length argument tuples]]></title><link>https://blog.youkuaiyun.com/fireyecat/article/details/111472679</link><guid>https://blog.youkuaiyun.com/fireyecat/article/details/111472679</guid><author>fireyecat</author><pubDate>Mon, 21 Dec 2020 12:51:28 +0800</pubDate><description><![CDATA[write a function called sum_all that takes any number of arguments and
returns their sum.


def sum_all(*nu):
	cnt = 0.0
	for i in nu:
		cnt += i
	return cnt

print(sum_all(1, 3, 5.5))
print(sum_all(2.2, 3.3, 9, 555))


]]></description><category></category></item><item><title><![CDATA[20201213nested_sum]]></title><link>https://blog.youkuaiyun.com/fireyecat/article/details/111087343</link><guid>https://blog.youkuaiyun.com/fireyecat/article/details/111087343</guid><author>fireyecat</author><pubDate>Sun, 13 Dec 2020 00:18:32 +0800</pubDate><description><![CDATA[Exercise 10.1. Write a function called nested_sum that takes a list of lists of integers and adds up
the elements from all of the nested lists. For example:
&gt;&gt;&gt; t = [[1, 2], [3], [4, 5, 6]]
&gt;&gt;&gt; nested_sum(t)
21


def lsum(ls):
	...]]></description><category></category></item><item><title><![CDATA[2020-12-11-Wordplay]]></title><link>https://blog.youkuaiyun.com/fireyecat/article/details/111041578</link><guid>https://blog.youkuaiyun.com/fireyecat/article/details/111041578</guid><author>fireyecat</author><pubDate>Fri, 11 Dec 2020 16:38:38 +0800</pubDate><description><![CDATA[Exercise 9.6. Write a function called is_abecedarian that returns True if the letters in a word
appear in alphabetical order (double letters are ok). How many abecedarian words are there?


def isa(word):
    nw = word.casefold()
    count = 0
    pos =...]]></description><category></category></item><item><title><![CDATA[保存学习过程]]></title><link>https://blog.youkuaiyun.com/fireyecat/article/details/3152926</link><guid>https://blog.youkuaiyun.com/fireyecat/article/details/3152926</guid><author>fireyecat</author><pubDate>Sun, 26 Oct 2008 22:49:00 +0800</pubDate><description><![CDATA[just test]]></description><category></category></item></channel></rss>