自从文进入技术运维领域,相信很多小伙伴每天都在和技术接近(捆绑),linux、docker、k8s、devops、release、upgrade,当然可能还有“删库”》天天996,单身狗回家。虽然身边的女生很少,但是我们不能缺少撩妹的技巧。毕竟机会总是留给有“准备”的人。没有你,黑白的世界也可以五彩缤纷。安装说明如下;sudoapt-getinstallaviewimagemagickasciiviewkobe.jpg执行结果如下;(向蜗壳致敬)PS:妹子的照片可以换哦,ohohooneko我的系统里有一只小猫,它的名字是“爱你”,你是老鼠,我是“爱你”,我一直追着老鼠跑。安装说明如下;《暴雨》安装说明如下;sudoapt-getinstallcmatrix的执行结果如下;pipe是我的女朋友,我会为你筑起无数爱的墙脚本如下;#!/bin/bash#Theauthoroftheoriginalscriptisunknowntome.ThefirstentryIcan#findwaspostedat2010-03-2109:50:09onArchLinuxForums(并不意味着#posteristheauthoratall):##Postyourhandyselfmadecommandlineutilities(第37页)/Programming&Scripting/ArchLinuxForums##我,Yu-JieLin,做了一些更改和添加:##-p、-t、-R和-C##屏幕截图:http://flic.kr/p/dRnLVj#Screencast:http://youtu.be/5XnGSFg_gTk##AndpushthecommitstoGist:##https://gist.github.com/4689307##我,DevinSamarin,做了一些更改和添加:##-rcanbe0tomean“nolimit”。#Resetcursorvisibilityafterdone。#Cleanupforthosepeoplewhowanttoquitwith^C##Pushedthechangestohttps://gist.github.com/4725048#hole1:https://gist.githubusercontent.com/livibetter/4689307/raw/949e43fe2962c2c97c8b1d974ff93dd053d9bd37/pipes.sh#hole2:FunOnTheTerminalPart2p=1f=75s=13r=2000t=0w=$(tputcols)h=$#(tputlines)ab->idx=a*4+b#0:up,1:right,2:down,3:left#00meansgoingup,thengoingup->┃#12meansgoingright,thengoingdown->┓sets=("┃┏┓┛━┓┗┃┛┗┏━""│╭╮╯─╮╰│╯╰╭─""│┌┐┘─┐└│┘└┌─""║╔╗╝═╗╚║╝╚╔═")v="${sets[0]}"RNDSTART=0NOCOLOR=0OPTIND=1whilegetopts"p:t:f:s:r:RCh"arg;docase$arginp)((p=(OPTARG>0)?OPTARG:p));;t)((OPTARG>=0&&OPTARG<${#sets[@]}))&&v="${sets[OPTARG]}";;f)((f=(OPTARG>19&&OPTARG<101)?OPTARG:f));;s)((s=(OPTARG>4&&OPTARG<16)?OPTARG:s));;r)((r=(OPTARG>=0)?OPTARG:r));;R)RNDSTART=1;;C)NOCOLOR=1;;h)echo-e"Usage:$(basename$0)[OPTION]..."echo-e"Animatedpipesterminalscreensaver.\n"echo-e"-p[1-]\tnumberofpipes(D=1)."echo-e"-t[0-$((${#sets[@]}-1))]\ttypeofpipes(D=0)."echo-e"-f[20-100]\tframerate(D=75)."echo-e"-s[5-15]\tprobabilityofastraightfitting(D=13)."echo-e"-rLIMIT\tresetafterxcharacters,0ifnolimit(D=2000)."echo-e"-R\t\trandomstartingpoint."echo-e"-C\t\tnocolor."echo-e"-h\t\thelp(thisscreen).\n"exit0;;esacdonecleanup(){tputrmcuptputcnormexit0}trapcleanupSIGHUPSIGINTSIGTERMfor((i=1;i<=p;i++));doc[i]=$((i%8))n[i]=0l[i]=0((x[i]=RNDSTART==1?RANDOM*w/32768:w/2))((y[i]=RNDSTART==1?RANDOM*h/32768:h/2))donetputsmcuptputresettputciviswhile!read-t0.0$((1000/f))-n1;dofor((i=1;i<=p;i++));do#Newposition:((${l[i]}%2))&&((x[i]+=-${l[i]}+2,1))||((y[i]+=${l[i]}-1))#Looponedges(changecoloronloop):((${x[i]}>w||${x[i]}<0||${y[i]}>h||${y[i]}<0))&&((c[i]=RANDOM%8))((x[i]=(x[i]+w)%w))((y[i]=(y[i]+h)%h))#Newrandomdirection:((n[i]=RANDOM%s-1))((n[i]=(${n[i]}>1||${n[i]}==0)?${l[i]}:${l[i]}+${n[i]}))((n[i]=(${n[i]}<0)?3:${n[i]}%4))#Print:tputcup${y[i]}${x[i]}[[$NOCOLOR==0]]&&echo-ne"\033[1;3${c[i]}m"echo-n"${v:l[i]*4+n[i]:1}"l[i]=${n[i]}done((r>0&&t*p>=r))&&tputreset&&tputcivis&&t=0||((t++))donecleanup执行结果如下;sl我的“火车”,满满的爱意,只为你sudoapt-getinstallsl执行结果如下:ninvadersshowwithgirls,最“远古版”太空侵略者的安装说明如下;sudoapt-getinstallninvaders执行结果如下;
