1、文叔叔:适合收发临时保存文件,不限速,带网盘功能,不过储存空间较小2、坚果云:说小众也算不上小众,使用人群还是挺多的,得益于它的同步功能3、蓝奏云:适合储存小文件,目前未发现限速,广告相比城通网盘少多了4、曲奇网盘:适用于协同办公,注册即送2T,上传下载速度都挺快,下载速度我本地测试有两三M每秒5、奶牛快传:同样临时文件盘,高速上传与下载,送免费5G网盘空间
你是否为电脑复制文字会覆盖之前剪贴板而苦恼?Ditto解决了这个麻烦,记录你的剪贴板历史。Ditto Portable是一款简单好用的Windows剪贴板软件。想要更加好用小巧的剪贴板吗?小编为您带来了这款Ditto Portable。该款软件可以将文本、图画、HTML等任意格式容保存在剪贴板中,方便你进行黏贴操作,软件绿色小巧,操作简便,而且支持64位操作系统,而且完全免费,绿色开源,支持中文。欢迎需要的用户来下载体验!开启 Ditto 后,不会有任何程序界面出现,它只是默默地在系统右下角弹出了一个蓝色的托盘图标,这时候你复制任何内容到剪贴板都会被 Ditto 一一记录。如果你什么时候想找到它,就可以按 Ctrl+`,当中的每条内容都可以供你选择性的重新复制。下载地址:https://www.lanzoux.com/ia9k8fc
有的虚拟主机服务商不提供子目录绑定功能,那就修改.htaccess吧,在这里我们先将二级域名绑定到网站的根目录,然后再修改.htaccessRewriteEngine onRewriteCond %{HTTP_HOST} ^a.xxx.com$RewriteCond %{REQUEST_URI} !^/suba/RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ /suba/$1RewriteCond %{HTTP_HOST} ^a.xxx.com$RewriteRule ^()?$ suba/index.php以上测试可以,但是可能不太完全,参考虎友@Monica的配置根下面的.htaccess<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # 绑定tb.monic.cc 到子目录tb RewriteCond %{HTTP_HOST} ^tb\.monic\.cc$ [NC] RewriteCond %{REQUEST_URI} !^/tb/ RewriteRule ^(.*)$ tb/$1?Rewrite [L,QSA] #可以绑定多个 只需重复上三行代码并更改一下域名、目录名 就好了</IfModule>子目录下面的<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / #只许绑定的域名访问 RewriteCond %{HTTP_HOST} !^tb.monic.cc$ [NC] RewriteRule (.*) http://tb.monic.cc/$1 [L,R=301] #对绑定目录下与 同名的目录的处理 RewriteCond %{REQUEST_URI} ^/tb/ [NC] RewriteCond %{QUERY_STRING} !^(.*)?Rewrite RewriteRule ^(.*)$ /%{REQUEST_URI}/%{REQUEST_URI}/$1?Rewrite [L,QSA]</IfModule>
遍历pre标签给每个标签命名id,然后通过双击事件调用复制方法实现最简单代码复制:<script> window.onload = function () { let preItems = document.getElementsByTagName('pre'); for (let index in preItems) { let preItem = preItems[index]; preItem.setAttribute("id", index); preItem.setAttribute("ondblclick", 'copycode(' + index + ')'); preItem.setAttribute("title", '双击复制'); } } function copycode(i) { const range = document.createRange(); range.selectNode(document.getElementsByTagName('pre')[i]); const selection = window.getSelection(); if (selection.rangeCount > 0) selection.removeAllRanges(); selection.addRange(range); document.execCommand('copy'); Toast("复制成功".1000) } function Toast(msg, duration) { duration = isNaN(duration) ? 3000 : duration; var m = document.createElement('div'); m.innerHTML = msg; m.style.cssText = "max-width:60%;min-width: 150px;padding:0 14px;height: 40px;color: rgb(255, 255, 255);line-height: 40px;text-align: center;border-radius: 4px;position: fixed;top: 50%;left: 50%;transform: translate(-50%, -50%);z-index: 999999;background: rgba(0, 0, 0,.7);font-size: 16px;"; document.body.appendChild(m); setTimeout(function () { var d = 0.5; m.style.webkitTransition = '-webkit-transform ' + d + 's ease-in, opacity ' + d + 's ease-in'; m.style.opacity = '0'; setTimeout(function () { document.body.removeChild(m) }, d * 1000); }, duration); }</script>
23元购买10年腾讯云xyz数字域名方法分享 内附详细攻略本文是可以23元购买腾讯云10年的xyz数字域名 有兴趣的可以购买一下搭建一个网站 博客的都可以使用 有需要的继续往下看1、打开:https://url.cn/5Zn0bA2 下拉先领取域名注册6元无门槛券,若抢光明天再试还有一个续费代金券 满20-10的可以领取5张 领取一次刷新一下界面 继续领取然后页面继续下拉 领取5元无门槛2、再打开:https://dwz.cn/ArWLolD4 拉到底部有一个福运大转盘5次抽奖再往中间一点有一个代金券大礼包 有一张5元域名续费券 点一下分享然后关闭就可以领取(领了步骤1中的5元这个好像就不能领了,请自测)页面向上滑动,有新用户福利(在DNDPod没购买域名的),可以购买1元xyz域名,可以试试,我腾讯云买过域名理应是老用户,但在DNSPod还是新客,可能因为腾讯云与DNDPod账号不互通,是不是这样请君亲测。3、注册域名:https://dnspod.cloud.tencent.com/4、先选好要注册的数字xyz 注册1年 用-6券,等于0元1年 在域名控制台续费 选择4年 用20-10券 等于11元4年重复上面步骤 续费4年 用20-10券 等于11元4年 最后续费1年 用 -5券,等于1元1年总花费23元 10年域名到手 (备注:连续续费时,中间最好间隔1分钟,不然会订单冲突)最后还剩 3张 20-10 的代金券!可以随时使用最后,注册纯数字提示溢价域名才符合上面规则,悉知!
JSfunction copywx() { const range = document.createRange(); range.selectNode(document.getElementById('copy_content')); const selection = window.getSelection(); if (selection.rangeCount > 0) selection.removeAllRanges(); selection.addRange(range); document.execCommand('copy'); alert("复制成功!")}其中可以打印range出来看看复制的内容。
总体感觉还不错,可以做手机端下载单页面使用。预览图:代码:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>标题</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <style> * { font-family: '微软雅黑'; box-sizing: border-box; outline: none; margin: 0; padding: 0; border: 0; text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: #3c3c3c; } html, body { height: 100%; margin: 0 auto; max-width: 760px; } header { position: fixed; top: 0; width: 100%; max-width: 760px; height: 56px; z-index: 1 } u { color: #fff; font-size: 18px; position: fixed; top: 60px; margin-left: 116px; z-index: 2; display: block; height: 56px; line-height: 56px; } header img { width: 56px; height: 56px; padding: 16px } header img:active { background: rgba(255, 255, 255, 0.4); } main { z-index: -1; position: fixed; top: 0; padding-top: 56px; height: 272px; background: url('http://wanqiu77.club/template/default/img/bg.jpg') 100%; width: 100%; max-width: 760px; } main img { width: 68px; height: 68px; margin: 24px; float: left } main b { margin-top: 56px; display: block; color: #fff; font-size: 12px } main p { color: #fff; font-size: 12px; margin-top: 4px } ul { padding-top: 172px } ul a { margin-top: -28px; margin-right: 24px; background: #009688; width: 56px; height: 56px; float: right; box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.4); border-radius: 56px; } ul a img { width: 56px; height: 56px; padding: 16px; } aside { display: block; background: #fff; height: 100%; border-left: solid 1px #e0e0e0; border-right: solid 1px #e0e0e0 } aside li { list-style: none; padding: 24px 16px; color: #009688; font-size: 14px; background: #fff; border-bottom: solid 1px #eee } aside li b { color: #d0d0d0; font-size: 10px; margin-left: 8px } aside ol { padding: 16px; font-size: 14px; color: #797979; background: #edf7ee; min-height: 196px } aside p { padding: 16px; } aside p cite { white-space: nowrap; overflow-x: auto; display: block; } aside p img { height: 300px; background: #eee; margin-right: 4px; } aside div { padding: 16px; font-size: 14px; color: #797979; min-height: 196px } </style></head><body><header><img src="http://wanqiu77.club/template/default/img/back.png" onclick="alert('!')"></header><u>寒论社区</u><main><img src="http://wanqiu77.club/template/default/img/guesthead.png"><b>V 1.3.2</b> <p>2.6MB / 2627下载 / 中文</p></main><ul><a href="https://www.lanzoux.com/ia3ozah"><img src="http://wanqiu77.club/template/default/img/down.png"></a></ul><aside> <li>更新日志<b>(2020.3.10.4.30)</b></li> <ol>- 世界之大,无奇不有。这里有你所见或不见的广博奇闻;<br> - 天真烂漫,追忆童年。这里有各种的游戏任你挑战;<br> - 精彩花絮,制作天星。这里有可以帮助你生活乃至工作的精彩软件。<br></ol> <p><cite><img src="http://wanqiu77.club/template/default/img/han4.png"><img src="http://wanqiu77.club/template/default/img/han3.png"><img src="http://wanqiu77.club/template/default/img/han2.png"><img src="http://wanqiu77.club/template/default/img/han1.png"></cite></p> <li>应用介绍</li> <div>随时随地发现新鲜事!我们带你欣赏世界上的精彩瞬间,了解他们的幕后故事。分享你想表达的,让全世界都能听到你的心声。 </div></aside></body><script> var header = document.getElementsByTagName("header")[0]; var mian = document.getElementsByTagName("main")[0]; var u = document.getElementsByTagName("u")[0]; var a = document.getElementsByTagName("a")[0]; window.onscroll = function () { if (window.scrollY < 116) { mian.style.top = "-" + window.scrollY / 2 + "px"; u.style.top = 60 - window.scrollY / 1.9 + "px"; u.style.marginLeft = 116 - window.scrollY / 2.4 + "px"; a.style.display = ""; header.style.background = ""; header.style.boxShadow = "none"; } else { a.style.display = "none"; header.style.background = "#009688"; header.style.boxShadow = "0px 2px 8px rgba(0,0,0,0.2)"; if (u.style.top != "0px" || u.style.marginLeft != "68.0833px") { u.style.top = "0px"; u.style.marginLeft = "68.0833px"; } } }</script></html>
原因很简单当一个SQL查不到数据时用getSingleResult会报错,因此建议用list获取列表,然后get(0)获取索引为1的即可。判断list是否为0可以判断它是否取到数据,虽然getSingleResult省去了get(0)步骤,但是其未在查不到数据时返回null而是直接抛出异常的,因此还是要注意点。
J2MELoader界面美观,支持自定义按键小技巧:此款模拟器下载的jar游戏推荐240x320的,若有360x640分辨率的游戏可以在游戏设置中选横屏进行横屏游玩,因为这类分辨率都是横屏触摸屏的游戏。但若你喜欢九宫格键盘的打击感那建议下载240x320的玩。新版下载:https://hik.lanzoux.com/b0104idgd密码:92rb旧版下载:https://www.lanzoux.com/ia3lnbi更多版本github下载:https://github.com/nikita36078/J2ME-Loader/releasesRetro2ME兼容性强点,某些J2MELoader不能运行的游戏可以试试这个,自带仿真手机主题,可能会给你带来真用功能机玩游戏的错觉,不过论方便,我还是推荐J2MELoader,毕竟自定义键盘布局,自定义横竖屏什么的太方便了。下载:https://www.lanzoux.com/i9ffl4j