<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Daniel&#39;s ideas</title>
    <link>https://writee.org/lgh06/</link>
    <description></description>
    <pubDate>Sat, 20 Jun 2026 12:41:47 +0000</pubDate>
    <item>
      <title>自己做了个小工具站点 然而无人问津 每个月的服务器费用入不敷出</title>
      <link>https://writee.org/lgh06/onlinetool-dot-cc</link>
      <description>&lt;![CDATA[自己做了个小工具站点 然而无人问津 每个月的服务器费用入不敷出&#xA;唉。&#xA;备案流程也不是很简单。&#xA;查ip的工具很有用。&#xA;献给有缘人吧。&#xA;https://www.onlinetool.cc/ip.html&#xA;&#xA;&amp;nbsp;  &#xD;&#xA;hr&#xD;&#xA;&amp;nbsp;  &#xD;&#xA;  link1 link2  link3&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>自己做了个小工具站点 然而无人问津 每个月的服务器费用入不敷出
唉。
备案流程也不是很简单。
查ip的工具很有用。
献给有缘人吧。
<a href="https://www.onlinetool.cc/ip.html" rel="nofollow">https://www.onlinetool.cc/ip.html</a></p>

<p> <br>
<hr>
 <br>
&gt; <a href="https://blog.ahuan.tech" rel="nofollow">link1</a> <a href="https://onlinetool.cc" rel="nofollow">link2</a>  <a href="https://paper.wf/lgh06/" rel="nofollow">link3</a></p>
]]></content:encoded>
      <guid>https://writee.org/lgh06/onlinetool-dot-cc</guid>
      <pubDate>Fri, 06 Jun 2025 07:26:40 +0000</pubDate>
    </item>
    <item>
      <title>link1 link2  link3</title>
      <link>https://writee.org/lgh06/test-img-bucket</link>
      <description>&lt;![CDATA[&#xA;&#xA;&amp;nbsp;  &#xD;&#xA;hr&#xD;&#xA;&amp;nbsp;  &#xD;&#xA;  link1 link2  link3&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p><img src="/blog/2024/20240426085239.png!1" alt=""></p>

<p> <br>
<hr>
 <br>
&gt; <a href="https://blog.ahuan.tech" rel="nofollow">link1</a> <a href="https://onlinetool.cc" rel="nofollow">link2</a>  <a href="https://paper.wf/lgh06/" rel="nofollow">link3</a></p>
]]></content:encoded>
      <guid>https://writee.org/lgh06/test-img-bucket</guid>
      <pubDate>Thu, 25 Apr 2024 23:07:04 +0000</pubDate>
    </item>
    <item>
      <title>20220825抢先一步的享受，才幸福</title>
      <link>https://writee.org/lgh06/20220825qiang-xian-bu-de-xiang-shou-cai-xing-fu</link>
      <description>&lt;![CDATA[audio src=&#34;https://one-redir.ahuan.store/u/s!AqpFcPtySpJNqAog6YPQ8exkj5op&#34; controls/audio&#xA;&#xA;https://1drv.ms/u/s!AqpFcPtySpJNqAog6YPQ8exkj5op&#xA;&#xA;&amp;nbsp;  &#xD;&#xA;hr&#xD;&#xA;&amp;nbsp;  &#xD;&#xA;  link1 link2  link3&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p><audio src="https://one-redir.ahuan.store/u/s!AqpFcPtySpJNqAog6YPQ8exkj5op" controls=""></audio></p>

<p><a href="https://1drv.ms/u/s!AqpFcPtySpJNqAog6YPQ8exkj5op" rel="nofollow">https://1drv.ms/u/s!AqpFcPtySpJNqAog6YPQ8exkj5op</a></p>

<p> <br>
<hr>
 <br>
&gt; <a href="https://blog.ahuan.tech" rel="nofollow">link1</a> <a href="https://onlinetool.cc" rel="nofollow">link2</a>  <a href="https://paper.wf/lgh06/" rel="nofollow">link3</a></p>
]]></content:encoded>
      <guid>https://writee.org/lgh06/20220825qiang-xian-bu-de-xiang-shou-cai-xing-fu</guid>
      <pubDate>Fri, 26 Aug 2022 07:28:23 +0000</pubDate>
    </item>
    <item>
      <title>我开的会员</title>
      <link>https://writee.org/lgh06/wo-kai-de-hui-yuan</link>
      <description>&lt;![CDATA[百度网盘 18&#xA;腾讯微云 10&#xA;京东plus+腾讯视频 17&#xA;淘宝88会员+优酷+夸克+网易云音乐 9&#xA;咪咕视频 5&#xA;QQ音乐 9&#xA;&#xA;&amp;nbsp;  &#xD;&#xA;hr&#xD;&#xA;&amp;nbsp;  &#xD;&#xA;  link1 link2  link3&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>百度网盘 18
腾讯微云 10
京东plus+腾讯视频 17
淘宝88会员+优酷+夸克+网易云音乐 9
咪咕视频 5
QQ音乐 9</p>

<p> <br>
<hr>
 <br>
&gt; <a href="https://blog.ahuan.tech" rel="nofollow">link1</a> <a href="https://onlinetool.cc" rel="nofollow">link2</a>  <a href="https://paper.wf/lgh06/" rel="nofollow">link3</a></p>
]]></content:encoded>
      <guid>https://writee.org/lgh06/wo-kai-de-hui-yuan</guid>
      <pubDate>Fri, 26 Aug 2022 07:23:38 +0000</pubDate>
    </item>
    <item>
      <title>20220821-1530-吐槽小米手机的录音机</title>
      <link>https://writee.org/lgh06/20220821-1530-tu-cao-xiao-mi-shou-ji-de-lu-yin-ji</link>
      <description>&lt;![CDATA[audio src=&#34;https://one-redir.ahuan.store/v/s!AqpFcPtySpJNqAncfD8upMCg8Uhd?e=mj7F2z&#34; controls/audio&#xA;&#xA;audio src=&#34;https://storage.live.com/items/4D924A72FB7045AA!5129:/202208211530吐槽小米手机的录音机.mp4?authkey=AEjJ7k9QXU0zoQA&#34; controls/audio&#xA;&#xA;audio src=&#34;https://one-storage.ahuan.store/items/4D924A72FB7045AA!5129:/202208211530吐槽小米手机的录音机.mp4?authkey=AEjJ7k9QXU0zoQA&#34; controls/audio&#xA;&#xA;&amp;nbsp;  &#xD;&#xA;hr&#xD;&#xA;&amp;nbsp;  &#xD;&#xA;  link1 link2  link3&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p><audio src="https://one-redir.ahuan.store/v/s!AqpFcPtySpJNqAncfD8upMCg8Uhd?e=mj7F2z" controls=""></audio></p>

<p><audio src="https://storage.live.com/items/4D924A72FB7045AA%215129:/20220821_1530_%E5%90%90%E6%A7%BD%E5%B0%8F%E7%B1%B3%E6%89%8B%E6%9C%BA%E7%9A%84%E5%BD%95%E9%9F%B3%E6%9C%BA.mp4?authkey=AEjJ7k9QXU0zoQA" controls=""></audio></p>

<p><audio src="https://one-storage.ahuan.store/items/4D924A72FB7045AA%215129:/20220821_1530_%E5%90%90%E6%A7%BD%E5%B0%8F%E7%B1%B3%E6%89%8B%E6%9C%BA%E7%9A%84%E5%BD%95%E9%9F%B3%E6%9C%BA.mp4?authkey=AEjJ7k9QXU0zoQA" controls=""></audio></p>

<p> <br>
<hr>
 <br>
&gt; <a href="https://blog.ahuan.tech" rel="nofollow">link1</a> <a href="https://onlinetool.cc" rel="nofollow">link2</a>  <a href="https://paper.wf/lgh06/" rel="nofollow">link3</a></p>
]]></content:encoded>
      <guid>https://writee.org/lgh06/20220821-1530-tu-cao-xiao-mi-shou-ji-de-lu-yin-ji</guid>
      <pubDate>Sun, 21 Aug 2022 15:13:27 +0000</pubDate>
    </item>
    <item>
      <title>writefreely &amp; gitalk</title>
      <link>https://writee.org/lgh06/writefreely-and-gitalk</link>
      <description>&lt;![CDATA[两点：&#xA;gitalk配置中的proxy选项默认使用了cloudflare workers域名，建议自己使用 https://github.com/Zibri/cloudflare-cors-anywhere 搭建一个，并绑定自己的域名。  &#xA;gitalk的css与JS建议都用JS引入，并合理书写JS的onload事件。&#xA;&#xA;  https://gist.github.com/lgh06/0449674b484cbabaac7d17735c8d9d42 &#xA;  https://jihulab.com/-/snippets/1263&#xA;&#xA;&amp;nbsp;  &#xD;&#xA;hr&#xD;&#xA;&amp;nbsp;  &#xD;&#xA;  link1 link2  link3&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>两点：
1. gitalk配置中的proxy选项默认使用了cloudflare workers域名，建议自己使用 <a href="https://github.com/Zibri/cloudflare-cors-anywhere" rel="nofollow">https://github.com/Zibri/cloudflare-cors-anywhere</a> 搭建一个，并绑定自己的域名。<br>
2. gitalk的css与JS建议都用JS引入，并合理书写JS的onload事件。</p>

<blockquote><p><a href="https://gist.github.com/lgh06/0449674b484cbabaac7d17735c8d9d42" rel="nofollow">https://gist.github.com/lgh06/0449674b484cbabaac7d17735c8d9d42</a>
<a href="https://jihulab.com/-/snippets/1263" rel="nofollow">https://jihulab.com/-/snippets/1263</a></p></blockquote>

<p> <br>
<hr>
 <br>
&gt; <a href="https://blog.ahuan.tech" rel="nofollow">link1</a> <a href="https://onlinetool.cc" rel="nofollow">link2</a>  <a href="https://paper.wf/lgh06/" rel="nofollow">link3</a></p>
]]></content:encoded>
      <guid>https://writee.org/lgh06/writefreely-and-gitalk</guid>
      <pubDate>Sun, 24 Jul 2022 11:41:12 +0000</pubDate>
    </item>
    <item>
      <title>微软OneDrive的图片和音视频嵌入博客</title>
      <link>https://writee.org/lgh06/test-onedrive-image-embed</link>
      <description>&lt;![CDATA[方法一：  使用OneDrive网页版自带的嵌入，实测对图片文件管用，但是会压缩图片质量。&#xA;方法二： 使用 https://github.com/Mapaler/GetOneDriveDirectLink ， 获得storage.live.com开头的固定直链网址， 图片、视频、音频都好使。&#xA;方法三： 给方法二获得的storage.live.com网址套一层cloudflare的CNAME，实测管用，可以规避未来storage.live.com被封的可能&#xA;方法四： 用1drv.ms的分享链接，手动修改重定向后的地址中的redir为download，便可获取临时地址，但是会跳转到onedrive.live.com，因此需要国外服务器/cloudflare workers等作中转。&#xA;&#xA;附cf workers关键代码:&#xA;&#xA;addEventListener(&#34;fetch&#34;, (event) =  {&#xA;  event.respondWith(&#xA;    handleRequest(event.request).catch(&#xA;      (err) =  new Response(err.stack, { status: 500 })&#xA;    )&#xA;  );&#xA;});&#xA;&#xA;async function handleRequest(request) {&#xA;  const { origin } = new URL(request.url);&#xA;&#xA;  var url1 = String(request.url).replace(origin + &#39;/&#39;, &#39;https://1drv.ms/&#39;)&#xA;&#xA;  let url2 = await fetch(url1, {redirect: &#34;manual&#34;}).then(function(response){&#xA;&#xA;    let innerUrl2 = response.headers.get(&#39;location&#39;);&#xA;    return innerUrl2.replace(&#39;/redir?&#39;, &#39;/download?&#39;);&#xA;&#xA;  });&#xA;  let url3 = await fetch(url2, {redirect: &#34;manual&#34;}).then(function(response){&#xA;&#xA;    let innerUrl3 = response.headers.get(&#39;location&#39;).replace(&#39;?download&#39;,&#39;?&#39;);&#xA;&#xA;    return innerUrl3;&#xA;&#xA;  });&#xA;return new Response(``, {&#xA;    status: 301,&#xA;    headers: {&#xA;      Location: url3,&#xA;      &#34;Cache-Control&#34;:&#34;max-age=60&#34;&#xA;    },&#xA;  });&#xA;&#xA;}&#xA;&#xA;one image&#xA;&#xA;video src=&#34;https://storage.live.com/items/4D924A72FB7045AA!5126:/242e9e4c54ea4e63856e8be76bec5bbc.mp4?authkey=AEjJ7k9QXU0zoQA&#34; controls/video&#xA;&#xA;video src=&#34;https://one-storage.ahuan.store/items/4D924A72FB7045AA!5126:/242e9e4c54ea4e63856e8be76bec5bbc.mp4?authkey=AEjJ7k9QXU0zoQA&#34; controls/video&#xA;&#xA;video src=&#34;https://one-redir.ahuan.store/v/s!AqpFcPtySpJNqAbVx3KvIpyx0bfk?e=lTahl4&#34; controls/video&#xA;&#xA;https://1drv.ms/v/s!AqpFcPtySpJNqAbVx3KvIpyx0bfk?e=geLwcy&#xA;&#xA;https://github.com/Mapaler/GetOneDriveDirectLink&#xA;&#xA;https://github.com/aploium/OneDrive-Direct-Link  &#xA;https://github.com/spencerwooo/onedrive-cf-index&#xA;&#xA;https://github.com/reruin/sharelist&#xA;https://github.com/txperl/JustList  &#xA;&#xA;&amp;nbsp;  &#xD;&#xA;hr&#xD;&#xA;&amp;nbsp;  &#xD;&#xA;  link1 link2  link3&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<ul><li>方法一：  使用OneDrive网页版自带的嵌入，实测对图片文件管用，但是会压缩图片质量。</li>
<li>方法二： 使用 <a href="https://github.com/Mapaler/GetOneDriveDirectLink" rel="nofollow">https://github.com/Mapaler/GetOneDriveDirectLink</a> ， 获得storage.live.com开头的固定直链网址， 图片、视频、音频都好使。</li>
<li>方法三： 给方法二获得的storage.live.com网址套一层cloudflare的CNAME，实测管用，可以规避未来storage.live.com被封的可能</li>
<li>方法四： 用1drv.ms的分享链接，手动修改重定向后的地址中的<code>redir</code>为<code>download</code>，便可获取临时地址，但是会跳转到onedrive.live.com，因此需要国外服务器/cloudflare workers等作中转。</li></ul>

<p>附cf workers关键代码:</p>

<pre><code class="language-js">addEventListener(&#34;fetch&#34;, (event) =&gt; {
  event.respondWith(
    handleRequest(event.request).catch(
      (err) =&gt; new Response(err.stack, { status: 500 })
    )
  );
});


async function handleRequest(request) {
  const { origin } = new URL(request.url);

  var url1 = String(request.url).replace(origin + &#39;/&#39;, &#39;https://1drv.ms/&#39;)

  let url2 = await fetch(url1, {redirect: &#34;manual&#34;}).then(function(response){

    let innerUrl2 = response.headers.get(&#39;location&#39;);
    return innerUrl2.replace(&#39;/redir?&#39;, &#39;/download?&#39;);

  });
  let url3 = await fetch(url2, {redirect: &#34;manual&#34;}).then(function(response){

    let innerUrl3 = response.headers.get(&#39;location&#39;).replace(&#39;?download&#39;,&#39;?&#39;);

    return innerUrl3;

  });
return new Response(``, {
    status: 301,
    headers: {
      Location: url3,
      &#34;Cache-Control&#34;:&#34;max-age=60&#34;
    },
  });

}
</code></pre>

<p><img src="https://bn1301files.storage.live.com/y4mO_OU0y_m6KBxoq8_zwtI9bHjEiUGubRuG3oSaTJgFHO8S6-IMtOn0UN21lDnaoeTkaLcFSdqFocam2-wrdHLbOeVN2rU8zlBtaMqGeZWjQJ_fl1V6QQdBRk7qsUb4Qfe2-gfq4GoK4U1Axz_Ce4Ko7lMhmOiRiL9oPOhU2XUEvlAKQoWaYtwo5_-cxlmGgD-?width=900&amp;height=383&amp;cropmode=none" alt="one image"></p>

<video src="https://storage.live.com/items/4D924A72FB7045AA!5126:/242e9e4c54ea4e63856e8be76bec5bbc.mp4?authkey=AEjJ7k9QXU0zoQA" controls=""></video>

<video src="https://one-storage.ahuan.store/items/4D924A72FB7045AA!5126:/242e9e4c54ea4e63856e8be76bec5bbc.mp4?authkey=AEjJ7k9QXU0zoQA" controls=""></video>

<video src="https://one-redir.ahuan.store/v/s!AqpFcPtySpJNqAbVx3KvIpyx0bfk?e=lTahl4" controls=""></video>

<p><a href="https://1drv.ms/v/s!AqpFcPtySpJNqAbVx3KvIpyx0bfk?e=geLwcy" rel="nofollow">https://1drv.ms/v/s!AqpFcPtySpJNqAbVx3KvIpyx0bfk?e=geLwcy</a></p>

<p><strong><a href="https://github.com/Mapaler/GetOneDriveDirectLink" rel="nofollow">https://github.com/Mapaler/GetOneDriveDirectLink</a></strong></p>

<p><a href="https://github.com/aploium/OneDrive-Direct-Link" rel="nofollow">https://github.com/aploium/OneDrive-Direct-Link</a><br>
<a href="https://github.com/spencerwooo/onedrive-cf-index" rel="nofollow">https://github.com/spencerwooo/onedrive-cf-index</a></p>

<p><a href="https://github.com/reruin/sharelist" rel="nofollow">https://github.com/reruin/sharelist</a>
<a href="https://github.com/txperl/JustList" rel="nofollow">https://github.com/txperl/JustList</a></p>

<p> <br>
<hr>
 <br>
&gt; <a href="https://blog.ahuan.tech" rel="nofollow">link1</a> <a href="https://onlinetool.cc" rel="nofollow">link2</a>  <a href="https://paper.wf/lgh06/" rel="nofollow">link3</a></p>
]]></content:encoded>
      <guid>https://writee.org/lgh06/test-onedrive-image-embed</guid>
      <pubDate>Sat, 23 Jul 2022 07:34:14 +0000</pubDate>
    </item>
    <item>
      <title>writefreely如何添加自定义JS</title>
      <link>https://writee.org/lgh06/writefreelyru-he-tian-jia-zi-ding-yi-js</link>
      <description>&lt;![CDATA[writefreely可以自定义CSS， 可是遗憾的是不能自定义JS。  &#xA;通过查看writefreely的官方论坛，发现有一个hack方法。&#xA;&#xA;在自定义的CSS内部，增加如下代码：&#xA;&#xA;/style&#xA;&#xA;script&#xA;console.log(&#39;test&#39;)&#xA;/script&#xA;&#xA;style type=&#34;text/css&#34;&#xA;&#xA;也可以用script src 引用远程的js文件。&#xA;&#xA;这可玩性就非常高了。&#xA;&#xA;简单分析原理：  &#xA;&#xA;自定义的CSS都会被放到head标签内的stylexxxx/style内部。  &#xA;&#xA;通过开头的 /style 以及结尾的style type=&#34;text/css&#34; 对浏览器进行欺骗，便可以插入JS了。&#xA;&#xA;nice。&#xA;&#xA;&amp;nbsp;  &#xD;&#xA;hr&#xD;&#xA;&amp;nbsp;  &#xD;&#xA;  link1 link2  link3&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>writefreely可以自定义CSS， 可是遗憾的是不能自定义JS。<br>
通过查看writefreely的官方论坛，发现有一个hack方法。</p>

<p>在自定义的CSS内部，增加如下代码：</p>

<pre><code class="language-html">
&lt;/style&gt;

&lt;script&gt;
console.log(&#39;test&#39;)
&lt;/script&gt;

&lt;style type=&#34;text/css&#34;&gt;

</code></pre>

<p>也可以用script src 引用远程的js文件。</p>

<p>这可玩性就非常高了。</p>

<p>简单分析原理：</p>

<p>自定义的CSS都会被放到head标签内的内部。</p>

<p>通过开头的 <code>&lt;/style&gt;</code> 以及结尾的<code>&lt;style type=&#34;text/css&#34;&gt;</code> 对浏览器进行欺骗，便可以插入JS了。</p>

<p>nice。</p>

<p> <br>
<hr>
 <br>
&gt; <a href="https://blog.ahuan.tech" rel="nofollow">link1</a> <a href="https://onlinetool.cc" rel="nofollow">link2</a>  <a href="https://paper.wf/lgh06/" rel="nofollow">link3</a></p>
]]></content:encoded>
      <guid>https://writee.org/lgh06/writefreelyru-he-tian-jia-zi-ding-yi-js</guid>
      <pubDate>Thu, 21 Jul 2022 12:17:26 +0000</pubDate>
    </item>
  </channel>
</rss>