cowsay
# apt install cowsay sl cmatrix
$ cowsay "hello~"
$ find /usr/share/cowsay/cows -iname "*.cow" -exec cowsay -f {} "Oh~Oh~ I'm {}" \; > cowsay.txt
$ more cowsay.txt
________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/apt.cow /
--------------------------------
\ (__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
_______________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/beavis.zen.cow /
---------------------------------------
\ __------~~-,
\ ,' ,
/ \
/ :
| '
| |
| |
| _-- |
_| =-. .-. ||
o|/o/ _. |
/ ~ \ |
(____@) ___~ |
|_===~~~.` |
_______.--~ |
\________ |
\ |
__/-___-- -__
/ _ \
_________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/bong.cow /
---------------------------------
\
\
^__^
_______/(oo)
/\/( /(__)
| W----|| |~|
|| || |~| ~~
|~| ~
|_| o
|#|/
_+#+_
______________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/bud-frogs.cow /
--------------------------------------
\
\
oO)-. .-(Oo
/__ _\ /_ __\
\ \( | ()~() | )/ /
\__|\ | (-___-) | /|__/
' '--' ==`-'== '--' '
__________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/bunny.cow /
----------------------------------
\
\ \
\ /\
( )
.( o ).
___________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/calvin.cow /
-----------------------------------
\ .,
\ . .TR d'
\ k,l .R.b .t .Je
\ .P q. a|.b .f .Z%
.b .h .E` # J: 2` .
.,.a .E ,L.M' ?:b `| ..J9!`.,
q,.h.M` `.., ..,""` ..2"`
.M, J8` `: ` 3;
. Jk ..., `^7"90c.
j, ,! .7"'`j,.| .n. ...
j, 7' .r` 4: L `...
..,m. J` ..,|.. J` 7TWi
..JJ,.: % oo ,. ....,
.,E 3 7`g.M: P 41
JT7"' O. .J,; `` V"7N.
G. ""Q+ .Zu.,!` Z`
.9.. . J&..J! . ,:
7"9a JM"!
.5J. .. ..F`
78a.. ` ..2'
J9Ksaw0"'
.EJ?A...a.
q...g...gi
.m...qa..,y:
.HQFNB&...mm
,Z|,m.a.,dp
.,?f` ,E?:"^7b
`A| . .F^^7'^4,
.MMMMMMMMMMMQzna,
...f"A.JdT J: Jp,
`JNa..........A....af`
`^^^^^'`
___________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/cheese.cow /
-----------------------------------
\
\
_____ _________
/ \_/ |
| ||
| ||
| ###\ /### | |
| 0 \/ 0 | |
/| | |
/ | < |\ \
| /| | | |
| | \_______/ | | |
| | | / /
/|| /|||
----------------|
| | | |
*** ***
/___\ /___\
_________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/cock.cow /
---------------------------------
\
\ /\/\
\ /
| 0 >>
|___|
__((_<| |
( |
(__________)
| |
| |
/\ /\
__________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/cower.cow /
----------------------------------
\
\
,__, | |
(oo)\| |___
(__)\| | )\_
| |_w | \
| | || * Cower....
___________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/daemon.cow /
-----------------------------------
\ , ,
\ /( )`
\ \ \___ / |
/- _ `-/ '
(/\/ \ \ /\
/ / | ` \
O O ) / |
`-^--'`< '
(_.) _ ) /
`.___/` /
`-----' /
<----. __ / __ \
<----|====O)))==) \) /====
<----' `--' `.__,' \
| |
\ /
______( (_ / \______
,' ,-----' | \
`--{__________) \/
____________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/default.cow /
------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
_________________________________________
/ Oh~Oh~ I'm \
| /usr/share/cowsay/cows/dragon-and-cow.c |
\ ow /
-----------------------------------------
\ ^ /^
\ / \ // \
\ |\___/| / \// .\
\ /O O \__ / // | \ \ *----*
/ / \/_/ // | \ \ \ |
@___@` \/_ // | \ \ \/\ \
0/0/| \/_ // | \ \ \ \
0/0/0/0/| \/// | \ \ | |
0/0/0/0/0/_|_ / ( // | \ _\ | /
0/0/0/0/0/0/`/,_ _ _/ ) ; -. | _ _\.-~ / /
,-} _ *-.|.-~-. .~ ~
\ \__/ `/\ / ~-. _ .-~ /
\____(oo) *. } { /
( (--) .----~-.\ \-` .~
//__\\ \__ Ack! ///.----..< \ _ -~
// \\ ///-._ _ _ _ _ _ _{^ - - - - ~
___________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/dragon.cow /
-----------------------------------
\ / \ //\
\ |\___/| / \// \\
/0 0 \__ / // | \ \
/ / \/_/ // | \ \
@_^_@'/ \/_ // | \ \
//_^_/ \/_ // | \ \
( //) | \/// | \ \
( / /) _|_ / ) // | \ _\
( // /) '/,_ _ _/ ( ; -. | _ _\.-~ .-~~~^-.
(( / / )) ,-{ _ `-.|.-~-. .~ `.
(( // / )) '/\ / ~-. _ .-~ .-~^-. \
(( /// )) `. { } / \ \
(( / )) .----~-.\ \-' .~ \ `. \^-.
///.----..> \ _ -~ `. ^-` ^-_
///-._ _ _ _ _ _ _}^ - - - - ~ ~-- ,.-~
/.-~
_________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/duck.cow /
---------------------------------
\
\
\ >()_
(__)__ _
_________________________________________
/ Oh~Oh~ I'm \
| /usr/share/cowsay/cows/elephant-in-snak |
\ e.cow /
-----------------------------------------
\
\ ....
. ........
. .
. .
....... .........
..............................
Elephant inside ASCII snake
_____________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/elephant.cow /
-------------------------------------
\ /\ ___ /\
\ // \/ \/ \\
(( O O ))
\\ / \ //
\/ | | \/
| | | |
| | | |
| o |
| | | |
|m| |m|
_________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/eyes.cow /
---------------------------------
\
\
.::!!!!!!!:.
.!!!!!:. .:!!!!!!!!!!!!
~~~~!!!!!!. .:!!!!!!!!!UWWW$$$
:$$NWX!!: .:!!!!!!XUWW$$$$$$$$$P
$$$$$##WX!: .<!!!!UW$$$$" $$$$$$$$#
$$$$$ $$$UX :!!UW$$$$$$$$$ 4$$$$$*
^$$$B $$$$\ $$$$$$$$$$$$ d$$R"
"*$bd$$$$ '*$$$$$$$$$$$o+#"
"""" """""""
_________________________________________
/ Oh~Oh~ I'm \
| /usr/share/cowsay/cows/flaming-sheep.co |
\ w /
-----------------------------------------
\ . . .
\ . . . ` ,
\ .; . : .' : : : .
\ i..`: i` i.i.,i i .
\ `,--.|i |i|ii|ii|i:
UooU\.'@@@@@@`.||'
\__/(@@@@@@@@@@)'
(@@@@@@@@)
`YY~~~~YY'
|| ||
_________________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/ghostbusters.cow /
-----------------------------------------
\
\
\ __---__
_- /--______
__--( / \ )XXXXXXXXXXX\v.
.-XXX( O O )XXXXXXXXXXXXXXX-
/XXX( U ) XXXXXXX\
/XXXXX( )--_ XXXXXXXXXXX\
/XXXXX/ ( O ) XXXXXX \XXXXX\
XXXXX/ / XXXXXX \__ \XXXXX
XXXXXX__/ XXXXXX \__---->
---___ XXX__/ XXXXXX \__ /
\- --__/ ___/\ XXXXXX / ___--/=
\-\ ___/ XXXXXX '--- XXXXXX
\-\/XXX\ XXXXXX /XXXXX
\XXXXXXXXX \ /XXXXX/
\XXXXXX > _/XXXXX/
\XXXXX--__/ __-- XXXX/
-XXXXXXXX--------------- XXXXXX-
\XXXXXXXXXXXXXXXXXXXXXXXXXX/
""VXXXXXXXXXXXXXXXXXXV""
________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/gnu.cow /
--------------------------------
\ ,-----._
. \ . ,' `-.__,------._
// \ __\\' `-.
(( _____-'___)) |
`:='/ (alf_/ |
`.=| |=' |
|) O | \
| | /\ \
| / . / \ \
| .-..__ ___ .--' \ |\ \ |
|o o | ``--.___. / `-' \ \\ \ |
`--'' ' .' / / | | | | \
| | / / | | | mmm
| || | | /| |
( .' \ \ || | |
| | \ \ // / /
| | \ \ || |_|
/ | |_/ /_|
/__/
____________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/head-in.cow /
------------------------------------
\
\
^__^ /
(oo)\_______/ _________
(__)\ )=( ____|_ \_____
||----w | \ \ \_____ |
|| || || ||
_______________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/hellokitty.cow /
---------------------------------------
\
\
/\_)o<
| \
| O . O|
\_____/
_________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/kiss.cow /
---------------------------------
\
\
,;;;;;;;,
;;;;;;;;;;;,
;;;;;'_____;'
;;;(/))))|((\
_;;((((((|))))
/ |_\\\\\\\\\\\\
.--~( \ ~))))))))))))
/ \ `\-(((((((((((\\
| | `\ ) |\ /|)
| | `. _/ \_____/ |
| , `\~ /
| \ \ /
| `. `\| /
| ~- `\ /
\____~._/~ -_, (\
|-----|\ \ ';;
| | :;;;' \
| / | |
| | |
__________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/kitty.cow /
----------------------------------
\
\
("`-' '-/") .___..--' ' "`-._
` *_ * ) `-. ( ) .`-.__. `)
(_Y_.) ' ._ ) `._` ; `` -. .-'
_.. `--'_..-_/ /--' _ .' ,4
( i l ),-'' ( l i),' ( ( ! .-'
__________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/koala.cow /
----------------------------------
\
\
___
{~._.~}
( Y )
()~*~()
(_)-(_)
_________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/kosh.cow /
---------------------------------
\
\
\
___ _____ ___
/ \ / /| / \
| | / / | | |
| | /____/ | | |
| | | | | | |
| | | {} | / | |
| | |____|/ | |
| | |==| | |
| \___________/ |
| |
| |
_______________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/luke-koala.cow /
---------------------------------------
\
\ .
___ //
{~._.~}//
( Y )K/
()~*~()
(_)-(_)
Luke
Skywalker
koala
_________________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/mech-and-cow.cow /
-----------------------------------------
,-----.
| |
,--| |-.
__,----| | | |
,;:: | `_____' |
`._______| i^i |
`----| |---'| .
,-------._| |== ||//
| |_|P`. /'/
`-------' 'Y Y/'/'
.== /_
^__^ / /'| `i
(oo)_______ /' / | |
(__) )/ /' / | `i
||----w | ___,;`----'.___L_,-'`__
|| || i_____;----.____i""____ _________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/meow.cow /
---------------------------------
\
\ , _ ___.--'''`--''//-,-_--_.
\`"' ` || \\ \ \\/ / // / ,-\\`,_
/'` \ \ || Y | \|/ / // / - |__ `-,
/@"\ ` \ `\ | | ||/ // | \/ \ `-._`-,_.,
/ _.-. `.-\,___/\ _/|_/_\_\/|_/ | `-._._)
`-'``/ / | // \__/\__ / \__/ \
`-' /-\/ | -| \__ \ |-' |
__/\ / _/ \/ __,-' ) ,' _|'
(((__/(((_.' ((___..-'((__,'
_________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/milk.cow /
---------------------------------
\ ____________
\ |__________|
/ /\
/ / \
/___________/___/|
| | |
| ==\ /== | |
| O O | \ \ |
| < | \ \|
/| | \ \
/ | \_____/ | / /
/ /| | / /|
/||\| | /||\/
-------------|
| | | |
<__/ \__>
____________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/moofasa.cow /
------------------------------------
\ ____
\ / \
| ^__^ |
| (oo) |______
| (__) | )\/\
\____/|----w |
|| || Moofasa
__________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/moose.cow /
----------------------------------
\
\ \_\_ _/_/
\ \__/
(oo)\_______
(__)\ )\/\
||----w |
|| ||
______________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/mutilated.cow /
--------------------------------------
\ \_______
v__v \ \ O )
(oo) ||----w |
(__) || || \/\ _________________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/pony-smaller.cow /
-----------------------------------------
\ _^^
\ _- oo\
\----- \______
\ )\
||-----|| \
|| ||
_________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/pony.cow /
---------------------------------
\ /\/\
\ \/\/
\ / -\
\ / oo -\
\ / \
| ---\ -\
\--/ \ \
| -\
\ -\ -------------\ /-\
\ \-------/ ---/ \
\ |\ \
| / | |
\ | \ |
| / \ |
| / \ |
\ \ \|
- /--------\ | o
\+ +--------- \ |
| | | \
| | \ |
| | | \
| | \ |
\ | | |
| | \ \
| | | |
+--+ ---+
________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/ren.cow /
--------------------------------
\
\
____
/# /_\_
| |/o\o\
| \\_/_/
/ |_ |
| ||\_ ~|
| ||| \/
| |||_
\// |
|| |
||_ \
\_| o|
/\___/
/ ||||__
(___)_)
__________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/sheep.cow /
----------------------------------
\
\
__
UooU\.'@@@@@@`.
\__/(@@@@@@@@@@)
(@@@@@@@@)
`YY~~~~YY'
|| ||
_____________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/skeleton.cow /
-------------------------------------
\ (__)
\ /oo|
\ (_"_)*+++++++++*
//I#\\\\\\\\I\
I[I|I|||||I I `
I`I'///'' I I
I I I I
~ ~ ~ ~
Scowleton
____________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/snowman.cow /
------------------------------------
\
___###
/oo\ |||
\ / \|/
/""\ I
()| |(I)
\ / I
/""""\ I
| |I
| |I
\____/ I
_________________________________________
/ Oh~Oh~ I'm \
| /usr/share/cowsay/cows/sodomized-sheep. |
\ cow /
-----------------------------------------
\ __
\ (oo)
\ ( )
\ /--\
__ / \ \
UooU\.'@@@@@@`.\ )
\__/(@@@@@@@@@@) /
(@@@@@@@@)((
`YY~~~~YY' \\
|| || >>
________________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/stegosaurus.cow /
----------------------------------------
\ . .
\ / `. .' "
\ .---. < > < > .---.
\ | \ \ - ~ ~ - / / |
_____ ..-~ ~-..-~
| | \~~~\.' `./~~~/
--------- \__/ \__/
.' O \ / / \ "
(_____, `._.' | } \/~~~/
`----. / } | / \__/
`-. | / | / `. ,~~|
~-.__| /_ - ~ ^| /- _ `..-'
| / | / ~-. `-. _ _ _
|_____| |_____| ~ - . _ _ _ _ _>
___________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/stimpy.cow /
-----------------------------------
\ . _ .
\ |\_|/__/|
/ / \/ \ \
/__|O||O|__ \
|/_ \_/\_/ _\ |
| | (____) | ||
\/\___/\__/ //
(_/ ||
| ||
| ||\
\ //_/
\______//
__ || __||
(____(____)
_________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/suse.cow /
---------------------------------
\
\____
/@ ~-.
\/ __ .- |
// // @
_______________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/three-eyes.cow /
---------------------------------------
\ ^___^
\ (ooo)\_______
(___)\ )\/\
||----w |
|| ||
___________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/turkey.cow /
-----------------------------------
\ ,+*^^*+___+++_
\ ,*^^^^ )
\ _+* ^**+_
\ +^ _ _++*+_+++_, )
_+^^*+_ ( ,+*^ ^ \+_ )
{ ) ( ,( ,_+--+--, ^) ^\
{ (@) } f ,( ,+-^ __*_*_ ^^\_ ^\ )
{:;-/ (_+*-+^^^^^+*+*<_ _++_)_ ) ) /
( / ( ( ,___ ^*+_+* ) < < \
U _/ ) *--< ) ^\-----++__) ) ) )
( ) _(^)^^)) ) )\^^^^^))^*+/ / /
( / (_))_^)) ) ) ))^^^^^))^^^)__/ +^^
( ,/ (^))^)) ) ) ))^^^^^^^))^^) _)
*+__+* (_))^) ) ) ))^^^^^^))^^^^^)____*^
\ \_)^)_)) ))^^^^^^^^^^))^^^^)
(_ ^\__^^^^^^^^^^^^))^^^^^^^)
^\___ ^\__^^^^^^))^^^^^^^^)\\
^^^^^\uuu/^^\uuu/^^^^\^\^\^\^\^\^\^\
___) >____) >___ ^\_\_\_\_\_\_\)
^^^//\\_^^//\\_^ ^(\_\_\_\)
^^^ ^^ ^^^ ^
___________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/turtle.cow /
-----------------------------------
\ ___-------___
\ _-~~ ~~-_
\ _-~ /~-_
/^\__/^\ /~ \ / \
/| O|| O| / \_______________/ \
| |___||__| / / \ \
| \ / / \ \
| (_______) /______/ \_________ \
| / / \ / \
\ \^\\ \ / \ /
\ || \______________/ _-_ //\__//
\ ||------_-~~-_ ------------- \ --/~ ~\ || __/
~-----||====/~ |==================| |/~~~~~
(_(__/ ./ / \_\ \.
(_(___/ \_____)_)
________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/tux.cow /
--------------------------------
\
\
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/ _________________________________________
/ Oh~Oh~ I'm \
| /usr/share/cowsay/cows/unipony-smaller. |
\ cow /
-----------------------------------------
\ \
\ \
\ _\^
\ _- oo\
\---- \______
\ )\
||-----|| \
|| ||
____________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/unipony.cow /
------------------------------------
\ \
\ \_
\ \\
\ \\/\
\ _\\/
\ / -\
\ / oo -\
\ / \
| ---\ -\
\--/ \ \
| -\
\ -\ -------------\ /-\
\ \-------/ ---/ \
\ |\ \
| / | |
\ | \ |
| / \ |
| / \ |
\ \ \|
- /--------\ | o
\+ +--------- \ |
| | | \
| | \ |
| | | \
| | \ |
\ | | |
| | \ \
| | | |
+--+ ---+
________________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/vader-koala.cow /
----------------------------------------
\
\ .
.---. //
Y|o o|Y//
/_(i=i)K/
~()~*~()~
(_)-(_) Darth
Vader
koala
__________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/vader.cow /
----------------------------------
\ ,-^-.
\ !oYo!
\ /./=\.\______
## )\/\
||-----w||
|| || Cowth Vader
________________________________
/ Oh~Oh~ I'm \
\ /usr/share/cowsay/cows/www.cow /
--------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||--WWW |
|| ||
$ sl
$ cmatrix
cowsay的更多相关文章
- linux中萌翻了的cowsay命令
想要让你的linux萌翻吗? 首先需要安装cowsay软件 命令如下:sudo apt-get update;sudo apt-get install cowsay 然后对其输入命令,默认情况下,动物 ...
- centos7 fortune+cowsay+lolcat美化初始终端
前序 fortune+cowsay+lolcat效果图(每次打开新的终端的时候, 显示名言) fortune 提供我的rpm包, fortune+依赖 安装它们 rpm -ivh *.rpm 调配中文 ...
- Linux轻松一下——cowsay命令,让动物说话
Linux动物说话命令 使用方法 安装命令:sudo apt-get install cowsay 使用命令:cowsay hello 查看可选动物 cowsay -l 使用其他动物 cowsay - ...
- CentOS安装fortune+cowsay
1.先找下看有没 2.安装 yum -y install fortune-mod 3.执行fortune 应该可以输出了,接着去弄中文词库,阮一峰的: git clone git@github.com ...
- npx cowsay 让动物说话~
发现个好玩的东东, 忍不住想分享出来, 好可爱, 哈哈哈~~ node环境执行命令: npm i cowsay -D npx cowsay hello! npx cowsay -f sh ...
- cowsay和ansible
简介 cowsay是一款有趣的ascii图案输出工具,通过它可以方便的输出一头说话的牛牛(马?): # cowsay hello frankming _________________ < he ...
- docker for mac 学习记录
docker基本命令 docker run -d -p 80:80 --name webserver nginx 运行容器并起别名 docker ps 展示目前启动的容器 docker ps -a 展 ...
- 别出心裁的Linux命令学习法
别出心裁的Linux命令学习法 操作系统操作系统为你完成所有"硬件相关.应用无关"的工作,以给你方便.效率.安全.操作系统的功能我总结为两点:管家婆和服务生: 管家婆:通过进程.虚 ...
- 28个Unix/Linux的命令行神器_转
28个Unix/Linux的命令行神器 下面是Kristóf Kovács收集的28个Unix/Linux下的28个命令行下的工具,有一些是大家熟悉的,有一些是非常有用的,有一些是不为人知的.这些工具 ...
随机推荐
- memcache服务端与客户端的安装部署
1)安装memcached前需要先安装libevent [root@aliyun tools]# tar -zxf libevent-1.4.13-stable.tar.gz [root@aliyun ...
- python全栈开发从入门到放弃之socket并发编程多线程
一 threading模块介绍 multiprocess模块的完全模仿了threading模块的接口,二者在使用层面,有很大的相似性,因而不再详细介绍 二 开启线程的两种方式 from threadi ...
- java 将小数拆分为两部分+浮点型精度丢失问题
问题:将一个String类型的小数拆分为整数部分和小数部分,如9.9拆分为9和0.9 1.将小数的整数和小数部分拆分开 public float numberSub(String totalMoney ...
- 产品管理?企业规范化?iclap秀出新高度
19世纪,美国西部开发,无数拓荒者涌入,并最终因金矿的发现形成了淘金热.而当无数人埋头寻找黄金之时,有一个人却抬起头看到了潜藏在无数淘金者身上的金矿-这个人就是牛仔裤的发明者,Levi’s的创始人-李 ...
- The 15th UESTC Programming Contest Preliminary K - Kidd1ng Me? cdoj1565
地址:http://acm.uestc.edu.cn/#/problem/show/1565 题目: Kidd1ng Me? Time Limit: 3000/1000MS (Java/Others) ...
- 日志处理(三) logback 手动加载(转)
本文转自:http://www.2cto.com/kf/201302/191149.html 一共两个java文件,第一个是例子,第二个是配置文件加载类; LogbackTest.java /* * ...
- std::tuple作为参数invoke调用函数
template<typename Function, typename Tuple, std::size_t... Index> decltype(auto) invoke_impl(F ...
- 自定义圆形头像CircleImageView的使用和源码分析
http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0806/3268.html tools:context="com.ex ...
- 仔细讨论 C/C++ 字节对齐问题⭐⭐
原文:https://www.cnblogs.com/AlexMiller/p/5509609.html 字节对齐的原因 为了提高 CPU 的存储速度,编译器会对 struct 和 union的存储进 ...
- 通过Excel生成批量SQL语句
项目中有时会遇到这样的要求:用户给发过来一些数据,要我们直接给存放到数据库里面,有的是Insert,有的是Update等等,少量的数据我们可以采取最原始的办法,也就是在SQL里面用Insert int ...