程序员的浪漫,你值得拥有!
作者 | 小游子:
来源 | CSDN 博客
今天我们就来盘点一下 GitHub 程序员开源的情人节表白的代码。来一睹大牛们是怎么过情人节的,是怎么跟自己的女朋友表白的?(文中图片均来自项目本身)
前端程序员的浪漫
第一个:loving
这个代码就是用前端 JS 来实现的,没有什么特别的,但是写的非常用心,通过前端特效就可以看出来了。直接上效果图吧!如下:通过动态的效果记录了他和他女朋友所有的经历,女生看完后,是不是会特别的感动呢?
开源项目地址:https://github.com/nostarsnow/loving 或 https://github.com/nostarsnow/typeMonkey.js
第二个:kevinlu98/love
开源项目地址:https://github.com/kevinlu98/love
第三个:Axehco/LoveDemo
开源项目地址:https://github.com/Axehco/LoveDemo/blob/master/love.html
原项目是动图,录的 GIF 太大不宜上传,因此截图部分。
第四个:phodal/valentine
开源项目地址:https://github.com/phodal/valentine
效果预览:
第五个:JohnLee99/Cherry_Blossoms
樱花动图真好看啊!(GIF 太大,只能截图)
开源项目地址:https://github.com/JohnLee99/Cherry_Blossoms
后端程序员
第一个:修改 SpringBoot 启动 Logo
1.在 resource 目录下创建 banner.txt 文件
2.将要展示的内容复制进去即可
可以使用以下网站制作图标:https://www.bootschool.net/ascii-art/
第二个:修改 SpringBoot 启动 Logo 颜色
在 banner.txt 文件里加入:${AnsiBackground.BRIGHT_CYAN}
花式表白代码
1.采葛: 一日不见,如三月兮
//采葛: 一日不见,如三月兮
girl.collectWormwood(true);//彼采萧兮
me.meetEveryday(false);//一日不见
oneDay = oneAutumn * 3;//如隔三秋
2.顾城 :《门前》
while(grass.BearItsSeed //风在结它的种子
&& wind.ShakeItsLeaves()){ //风在摇它的叶子
we.StandingUp();
we.Silent(); //我们站着,不说话
everythng.Fine(); //就十分美好了
}
3.春风十里不如你
var you = function from_future_import(){}
var spring = {
'breezing':true,
'length':10
};
var i = [];
i.sort([spring,you]) == [you,spring];
4.一见钟情
一见钟情,相濡以沫,不忘初心,真爱永恒
private void love(int you){
int i = you; //一见钟情
you = i ; //相濡以沫
if(i == you){ //不忘初心
love(1); //真爱永恒
}
}
5.执子之手,与子偕老
for live in [ 生,死]:
live.with(you).
myhand.have(youhand).goto(old).
6.我的世界只有太阳、月亮和你
/**
* I love three things in this world.Sun, moon and you. Sun for morning, moon for night, and you forever.
*/
class LoveThreeThings extends Me{
const loveFirstThings = 'Sun';
const loveSecondThings = 'Moon';
const loveThirdThings = 'You';
public function MyLove(){
return 'I Love' . self::loveThirdThings . 'forever. Never change!';
}
}
7.陪伴是最长情的告白
StringBuilder love=newStringBuilder("");
for(;;)
love.append(Math.random()>0.5?1:0);
8.自从遇见你,就不停地想你
void missing_you
for(time=meet_you;v;time++)Missing_you
9.我想你了
两隔的世界;无名的信件;短暂的停留;长久的记忆;说这么多,只是想说:我想你了。
#include int main
{
double world;
unsigned letter;
short stay;
long memories;
printf("I miss you.n");
return 0;
}
面向对象面向君,不负代码不负卿。往后余生,风雪是你,平淡是你,敲每一行代码想的都是你。
本文来自 CSDN 博客:https://blog.csdn.net/qq_44895397/article/details/113736199?utm_medium=distribute.pc_category.none-task-blog-hot-1.nonecase&depth_1-utm_source=distribute.pc_category.none-task-blog-hot-1.nonecase&request_id=
☞平均 15144 元、软件工程师占比最高,2021 年 2 月程序员工资最新出炉!☞PHP、Python 竟上榜最慢的现代编程语言




关注公众号:拾黑(shiheibook)了解更多
[广告]赞助链接:
四季很好,只要有你,文娱排行榜:https://www.yaopaiming.com/
让资讯触达的更精准有趣:https://www.0xu.cn/

随时掌握互联网精彩
- 1 让乡亲们的生活芝麻开花节节高 7937273
- 2 中央一号文件:推进农村高额彩礼治理 7932935
- 3 DeepSeek预测《哪吒2》最终票房 7873082
- 4 以“真金白银”为企业加油 7792038
- 5 塌房大主播集体“复活” 7687230
- 6 姚晨闷声干大事 7572256
- 7 县委书记上午投案中午落马 7465836
- 8 胡静老公跪在地上帮她拍照 7342463
- 9 00后女生扎哪吒头舞红缨枪真飒 7217584
- 10 小伙30多万买机器人对外租8000一天 7155825