hello_dolly-wordpress最早的插件之一

<?php
2	/**
3	 * @package Hello_Dolly
4	 * @version 1.7.2
5	 */
6	/*
7	Plugin Name: Hello Dolly
8	Plugin URI: http://wordpress.org/plugins/hello-dolly/
9	Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.
10	Author: Matt Mullenweg
11	Version: 1.7.2
12	Author URI: http://ma.tt/
13	*/
14	
15	function hello_dolly_get_lyric() {
16	        /** These are the lyrics to Hello Dolly */
17	        $lyrics = "Hello, Dolly
18	Well, hello, Dolly
19	It's so nice to have you back where you belong
20	You're lookin' swell, Dolly
21	I can tell, Dolly
22	You're still glowin', you're still crowin'
23	You're still goin' strong
24	I feel the room swayin'
25	While the band's playin'
26	One of our old favorite songs from way back when
27	So, take her wrap, fellas
28	Dolly, never go away again
29	Hello, Dolly
30	Well, hello, Dolly
31	It's so nice to have you back where you belong
32	You're lookin' swell, Dolly
33	I can tell, Dolly
34	You're still glowin', you're still crowin'
35	You're still goin' strong
36	I feel the room swayin'
37	While the band's playin'
38	One of our old favorite songs from way back when
39	So, golly, gee, fellas
40	Have a little faith in me, fellas
41	Dolly, never go away
42	Promise, you'll never go away
43	Dolly'll never go away again";
44	
45	        // Here we split it into lines.
46	        $lyrics = explode( "\n", $lyrics );
47	
48	        // And then randomly choose a line.
49	        return wptexturize( $lyrics[ mt_rand( 0, count( $lyrics ) - 1 ) ] );
50	}
51	
52	// This just echoes the chosen line, we'll position it later.
53	function hello_dolly() {
54	        $chosen = hello_dolly_get_lyric();
55	        $lang   = '';
56	        if ( 'en_' !== substr( get_user_locale(), 0, 3 ) ) {
57	                $lang = ' lang="en"';
58	        }
59	
60	        printf(
61	                '<p id="dolly"><span class="screen-reader-text">%s </span><span dir="ltr"%s>%s</span></p>',
62	                __( 'Quote from Hello Dolly song, by Jerry Herman:', 'hello-dolly' ),
63	                $lang,
64	                $chosen
65	        );
66	}
67	
68	// Now we set that function up to execute when the admin_notices action is called.
69	add_action( 'admin_notices', 'hello_dolly' );
70	
71	// We need some CSS to position the paragraph.
72	function dolly_css() {
73	        echo "
74	        <style type='text/css'>
75	        #dolly {
76	                float: right;
77	                padding: 5px 10px;
78	                margin: 0;
79	                font-size: 12px;
80	                line-height: 1.6666;
81	        }
82	        .rtl #dolly {
83	                float: left;
84	        }
85	        .block-editor-page #dolly {
86	                display: none;
87	        }
88	        @media screen and (max-width: 782px) {
89	                #dolly,
90	                .rtl #dolly {
91	                        float: none;
92	                        padding-left: 0;
93	                        padding-right: 0;
94	                }
95	        }
96	        </style>
97	        ";
98	}
99	
100	add_action( 'admin_head', 'dolly_css' );
### 回答1: dolly-v2-12b 数据集是一个用于语音识别任务的数据集,由于其广泛应用,现在网上已经有很多可供下载的途径。以下是一些途径供参考: 1. GitHub dolly-v2-12b 数据集的一份完整备份可以在 GitHub 上找到,可以直接下载或者通过 Git 命令进行克隆。 2. Kaggle kaggle 是一个以数据为基础的社区平台,提供各种数据集供用户下载。dolly-v2-12b 数据集也可以在 Kaggle 上找到并下载。 3. Google Drive 一些学者可能会将数据集上传至 Google Drive 并分享下载链接。搜寻一下相关的共享链接,即可下载得到该数据集。 需要注意的是,在下载数据集的过程中,一定要选择可信的来源,以避免下载到潜在的病毒或恶意程序。同时,最好事先重复检验文件的完整性和正确性,以确保在使用该数据集时准确可靠。 ### 回答2: Dolly-v2-12b是一个用于人脸识别和图像检索任务的数据集,涵盖了各种人物和场景的图片。要下载这个数据集,首先你需要找到合适的资源站点。可以通过搜索引擎进行查找,在网页上输入“Dolly-v2-12b下载”,就可以找到多个可供下载的资源站点。建议选择官方或知名的站点下载,以确保数据集的完整性和可靠性。其中,一些站点可能需要你注册账号或付费才能获得下载权限,需要根据自己情况选择合适的方式。另外,在下载之前,记得仔细阅读数据集的使用说明和许可协议,以确保你的研究和应用符合相关的规定。 ### 回答3: dolly-v2-12b数据集可以在互联网上找到,但如果要快速下载,最好使用百度网盘或其他云存储服务。用户可以搜索dolly-v2-12b数据集,并在搜索结果中找到可用的下载链接。在下载之前,用户应该确保所选的链接是可靠和安全的。一些学术机构或研究机构也可能提供该数据集的下载链接,这些机构通常会要求用户填写特定的表格或提交申请以获取数据集的访问权限。用户还可以考虑使用下载管理器和断点续传功能,以便在网络连接中断时恢复下载进度。总之,找到可靠的下载链接和使用高效的下载工具是从互联网上快速下载dolly-v2-12b数据集的关键。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值