<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>银子弹</title>
	<atom:link href="https://idehe.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://idehe.com/</link>
	<description>About industrial design engineering..</description>
	<lastBuildDate>Mon, 13 Jan 2025 08:35:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>How to Send a Newsletter via Google Email (Gmail)</title>
		<link>https://idehe.com/web/how-to-send-a-newsletter-via-google-email-gmail/</link>
					<comments>https://idehe.com/web/how-to-send-a-newsletter-via-google-email-gmail/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 13 Jan 2025 08:35:53 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[mailchimp]]></category>
		<category><![CDATA[newsletter]]></category>
		<guid isPermaLink="false">https://idehe.com/?p=1806</guid>

					<description><![CDATA[<p>If you’re just starting, using a service like Mailchimp or Sendinblue is a great way to streamline the process and make your newsletters look professional.</p>
<p>The post <a href="https://idehe.com/web/how-to-send-a-newsletter-via-google-email-gmail/">How to Send a Newsletter via Google Email (Gmail)</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sending newsletters through Gmail is a convenient option for small businesses, content creators, or personal use. While Gmail is not designed specifically for bulk email marketing, you can still leverage it effectively with some techniques and tools. In this post, we&#8217;ll walk you through the best methods for sending newsletters via Google Email, from simple manual methods to more professional options.</p><h3 class="wp-block-heading"><strong>Option 1: Send a Newsletter Using Mail Merge in Gmail</strong></h3><p><strong>If you want to send personalized newsletters to your email list, using a mail merge tool is your best bet. </strong></p><p>It allows you to send bulk emails while keeping them personalized for each recipient.</p><h4 class="wp-block-heading"><strong>Steps to Use Mail Merge for Newsletters</strong>:</h4><ol class="wp-block-list"><li><strong>Prepare Your Email List</strong>:<ul class="wp-block-list"><li>First, create a <strong>Google Sheet</strong> containing the email addresses of your recipients. You can also add additional columns for personalization, such as the recipient&#8217;s name or company.</li></ul></li>

<li><strong>Install a Mail Merge Add-On</strong>:<ul class="wp-block-list"><li>Go to your Google Sheet and click on <strong>Extensions → Add-ons → Get Add-ons</strong>.</li>

<li>Search for and install a tool like:<ul class="wp-block-list"><li><strong>Yet Another Mail Merge (YAMM)</strong>: This tool offers free usage for up to 50 emails per day, with paid plans for higher limits.</li>

<li><strong>Mailmeteor</strong>: Another great tool for Gmail users, offering free usage for small email lists.</li>

<li><strong>Gmass</strong>: A paid service but very robust, designed for larger campaigns.</li></ul></li></ul></li>

<li><strong>Compose Your Email in Gmail</strong>:<ul class="wp-block-list"><li>Write your newsletter email in <strong>Gmail</strong> and include placeholders like <code>{{First Name}}</code> to personalize each email. Ensure that your message is formatted and visually appealing.</li></ul></li>

<li><strong>Run the Mail Merge</strong>:<ul class="wp-block-list"><li>Go back to your Google Sheet, link it to the mail merge tool, and send the emails. Each recipient will receive their personalized newsletter.</li></ul></li></ol><h4 class="wp-block-heading"><strong>Pros of Using Mail Merge</strong>:</h4><ul class="wp-block-list"><li><strong>Personalization</strong>: You can customize emails with personalized fields like names and company names.</li>

<li><strong>Efficient</strong>: Automates the process of sending multiple emails.</li></ul><h4 class="wp-block-heading"><strong>Cons of Using Mail Merge</strong>:</h4><ul class="wp-block-list"><li>Gmail’s limits: You can only send up to <strong>500 emails/day</strong> (personal Gmail) or <strong>2,000 emails/day</strong> (Google Workspace).</li></ul><hr class="wp-block-separator has-alpha-channel-opacity"/><h3 class="wp-block-heading"><strong>Option 2: Manually Send Newsletters Using BCC (For Smaller Lists)</strong></h3><p>If your email list is relatively small, you can manually send a newsletter by using <strong>BCC (Blind Carbon Copy)</strong>. This ensures that recipients cannot see each other&#8217;s email addresses, keeping everything professional and private.</p><h4 class="wp-block-heading"><strong>Steps to Send Newsletters Manually Using BCC</strong>:</h4><ol class="wp-block-list"><li>Open <strong>Gmail</strong> and click on <strong>Compose</strong> to start a new email.</li>

<li>In the <strong>BCC</strong> field, add all recipient email addresses (instead of using CC, which would expose email addresses).</li>

<li>Write the content of your newsletter in the body of the email. Make sure it is formatted well and includes all the information you want to share.</li>

<li>Optionally, add your own email address in the <strong>To</strong> field, or leave it empty.</li>

<li>Send the email.</li></ol><h4 class="wp-block-heading"><strong>Important Notes</strong>:</h4><ul class="wp-block-list"><li><strong>Gmail’s Daily Limit</strong>: Gmail allows you to send only <strong>500 emails/day</strong> for personal accounts and <strong>2,000 emails/day</strong> for Google Workspace accounts.</li>

<li><strong>Unsubscribe Option</strong>: Make sure you add an unsubscribe link or a way for recipients to opt-out if they no longer want to receive your emails.</li></ul><h4 class="wp-block-heading"><strong>Pros</strong>:</h4><ul class="wp-block-list"><li>Free and simple.</li>

<li>Great for small email lists.</li></ul><h4 class="wp-block-heading"><strong>Cons</strong>:</h4><ul class="wp-block-list"><li>Limited to Gmail’s daily sending limits.</li>

<li>Time-consuming and difficult to scale for large lists.</li></ul><hr class="wp-block-separator has-alpha-channel-opacity"/><h3 class="wp-block-heading"><strong>Option 3: Use Gmail with Third-Party Email Marketing Tools</strong></h3><p>For larger campaigns, Gmail alone won’t be enough. You’ll need to use an email marketing service to manage your newsletters efficiently, avoid Gmail’s sending limits, and access better analytics.</p><h4 class="wp-block-heading"><strong>Popular Tools for Sending Newsletters</strong>:</h4><ul class="wp-block-list"><li><strong>Mailchimp</strong>: Free for up to 500 subscribers and 1,000 emails/month. Ideal for those just starting out with email marketing.</li>

<li><strong>Sendinblue</strong>: Free for up to 300 emails/day. Offers advanced email automation and analytics.</li>

<li><strong>MailerLite</strong>: Free for up to 1,000 subscribers and 12,000 emails/month.</li>

<li><strong>Gmass</strong>: Works directly with Gmail for sending bulk emails without violating Gmail&#8217;s limits.</li></ul><h4 class="wp-block-heading"><strong>Steps to Use Third-Party Tools</strong>:</h4><ol class="wp-block-list"><li>Sign up for an email marketing service like <strong>Mailchimp</strong> or <strong>Sendinblue</strong>.</li>

<li>Import your email list (you can easily upload CSV files or sync from Google Contacts).</li>

<li>Design your newsletter using their drag-and-drop editor.</li>

<li>If using Gmail’s SMTP server, configure it to send through Gmail, or use the service’s own email sending infrastructure.</li>

<li>Send the newsletter to your subscribers.</li></ol><h4 class="wp-block-heading"><strong>Benefits of Using Third-Party Tools</strong>:</h4><ul class="wp-block-list"><li><strong>No Daily Limits</strong>: Send emails to thousands of subscribers without hitting Gmail’s limits.</li>

<li><strong>Analytics</strong>: Track open rates, click-through rates, and other key metrics.</li>

<li><strong>Automation</strong>: Set up automated campaigns to nurture leads and send follow-up emails.</li></ul><hr class="wp-block-separator has-alpha-channel-opacity"/><h3 class="wp-block-heading"><strong>Best Practices for Sending Newsletters via Gmail</strong></h3><ul class="wp-block-list"><li><strong>Avoid Spam Filters</strong>:<ul class="wp-block-list"><li>Personalize your emails to reduce the chance of being marked as spam.</li>

<li>Avoid using spammy phrases like &#8220;FREE&#8221; or &#8220;LIMITED OFFER&#8221; in the subject line.</li>

<li>Use a professional-looking sender name and email address.</li></ul></li>

<li><strong>Include an Unsubscribe Option</strong>:<ul class="wp-block-list"><li>Include a clear and easy way for recipients to opt-out of receiving further emails. This could be a simple phrase like, &#8220;Reply with &#8216;Unsubscribe&#8217; if you&#8217;d like to stop receiving emails.&#8221;</li></ul></li>

<li><strong>Respect Gmail’s Sending Limits</strong>:<ul class="wp-block-list"><li>Don’t exceed the 500 emails/day limit for Gmail accounts. If your list grows larger, consider using a third-party tool.</li></ul></li>

<li><strong>Monitor Your Results</strong>:<ul class="wp-block-list"><li>If you&#8217;re using a third-party tool, take advantage of the analytics to track how your emails are performing.</li></ul></li></ul><hr class="wp-block-separator has-alpha-channel-opacity"/><h3 class="wp-block-heading"><strong>Conclusion</strong></h3><p>Sending newsletters via Gmail is possible, but for larger email lists or more professional campaigns, you’ll need to consider using a mail merge tool or a third-party email marketing service. These tools help you bypass Gmail’s sending limits, track performance, and ensure compliance with email marketing regulations. </p><p><strong>If you’re just starting, using a service like Mailchimp or Sendinblue is a great way to streamline the process and make your newsletters look professional.</strong></p><p>Would you like to learn more about setting up a Mailchimp account or using a mail merge tool in Google Sheets? Let us know in the comments!</p><p>The post <a href="https://idehe.com/web/how-to-send-a-newsletter-via-google-email-gmail/">How to Send a Newsletter via Google Email (Gmail)</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://idehe.com/web/how-to-send-a-newsletter-via-google-email-gmail/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>日本男子15年如一日吃穿相同，节目组探访却发现他比普通人更幸福？！</title>
		<link>https://idehe.com/life/%e6%97%a5%e6%9c%ac%e7%94%b7%e5%ad%9015%e5%b9%b4%e5%a6%82%e4%b8%80%e6%97%a5%e5%90%83%e7%a9%bf%e7%9b%b8%e5%90%8c%ef%bc%8c%e8%8a%82%e7%9b%ae%e7%bb%84%e6%8e%a2%e8%ae%bf%e5%8d%b4%e5%8f%91%e7%8e%b0%e4%bb%96/</link>
					<comments>https://idehe.com/life/%e6%97%a5%e6%9c%ac%e7%94%b7%e5%ad%9015%e5%b9%b4%e5%a6%82%e4%b8%80%e6%97%a5%e5%90%83%e7%a9%bf%e7%9b%b8%e5%90%8c%ef%bc%8c%e8%8a%82%e7%9b%ae%e7%bb%84%e6%8e%a2%e8%ae%bf%e5%8d%b4%e5%8f%91%e7%8e%b0%e4%bb%96/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 09 Jan 2025 18:00:11 +0000</pubDate>
				<category><![CDATA[life]]></category>
		<category><![CDATA[习惯]]></category>
		<category><![CDATA[极简]]></category>
		<category><![CDATA[生活]]></category>
		<guid isPermaLink="false">https://idehe.com/?p=1800</guid>

					<description><![CDATA[<p>而这些看似微不足道的决定，却在不知不觉中消耗着我们的精力，让我们陷入“决策疲劳”的泥潭。</p>
<p>The post <a href="https://idehe.com/life/%e6%97%a5%e6%9c%ac%e7%94%b7%e5%ad%9015%e5%b9%b4%e5%a6%82%e4%b8%80%e6%97%a5%e5%90%83%e7%a9%bf%e7%9b%b8%e5%90%8c%ef%bc%8c%e8%8a%82%e7%9b%ae%e7%bb%84%e6%8e%a2%e8%ae%bf%e5%8d%b4%e5%8f%91%e7%8e%b0%e4%bb%96/">日本男子15年如一日吃穿相同，节目组探访却发现他比普通人更幸福？！</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>用工具撸了一篇文章, 还可以就放着吧. <a href="https://www.youtube.com/watch?v=0u1HetqW9Wo">原出处在这里, 拔丝地瓜. </a></p><h2 class="wp-block-heading" id="%E5%86%B3%E7%AD%96%E7%96%B2%E5%8A%B3%E5%A6%82%E4%BD%95%E9%80%83%E7%A6%BB%E9%80%89%E6%8B%A9%E5%9C%B0%E7%8B%B1">决策疲劳：如何逃离选择地狱？</h2><figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1280" height="720" src="https://idehe.com/wp-content/uploads/2025/01/image.png" alt="" class="wp-image-1801" srcset="https://idehe.com/wp-content/uploads/2025/01/image.png 1280w, https://idehe.com/wp-content/uploads/2025/01/image-600x338.png 600w" sizes="(max-width: 1280px) 100vw, 1280px" /></figure><p><strong>你是否每天都被各种选择困扰？</strong> 从起床后穿哪件衣服到吃什么早餐，从工作中的方案选择到生活中的琐碎决定，我们无时无刻不在做着各种各样的选择。<strong>而这些看似微不足道的决定，却在不知不觉中消耗着我们的精力，让我们陷入“决策疲劳”的泥潭。</strong></p><p><strong>什么是决策疲劳？</strong>&nbsp;决策疲劳是指在经过长时间的决策后，大脑处理信息和做出判断的能力下降，从而导致决策质量下降、效率降低的一种心理状态。就像手机用久了会电量不足一样，我们的大脑也会因为过度使用而感到疲惫。当我们面临的选项越多，需要考虑的因素越复杂，决策疲劳就越容易出现。</p><p><strong>决策疲劳的影响？</strong>&nbsp;决策疲劳会对我们的生活产生许多负面影响，例如：</p><ul class="wp-block-list"><li><strong>降低决策质量：</strong>&nbsp;疲惫的大脑难以进行理性思考，容易做出错误的决定。</li>

<li><strong>降低工作效率：</strong>&nbsp;决策疲劳会影响工作效率，让我们难以集中注意力，完成工作任务。</li>

<li><strong>增加压力和焦虑：</strong>&nbsp;面对无休止的选择，我们会感到压力和焦虑，影响身心健康。</li></ul><p><strong>如何逃离决策地狱？</strong>&nbsp;幸运的是，我们可以采取一些措施来减轻决策疲劳，例如：</p><ul class="wp-block-list"><li><strong>减少选择数量：</strong>&nbsp;尽量减少需要做出的选择，例如固定日常饮食、穿衣风格等。</li>

<li><strong>设定决策规则：</strong>&nbsp;为一些常见问题设定决策规则，例如遇到紧急情况如何处理、如何分配时间等。</li>

<li><strong>学会拒绝：</strong>&nbsp;并非所有事情都需要我们做出决定，学会拒绝一些不必要的选择。</li>

<li><strong>保持充足休息：</strong>&nbsp;充足的休息可以帮助我们恢复大脑的能量，提高决策效率。</li></ul><p><strong>极简主义者喜多豪的案例：</strong>&nbsp;日本TBS电视台的节目《Jehovah&#8217;s Witnesses News Caster》就曾报道过一位名为喜多豪的极简主义者。为了减少决策疲劳，喜多豪在生活中做出了很多改变，例如固定每日三餐、穿着同一款式的衣服、一次性购买大量同款生活用品等等。虽然他的生活方式看似单调，但他却乐在其中，并认为这让他更加轻松和高效。</p><p><strong>结语：</strong>&nbsp;决策是生活中不可避免的一部分，但我们无需被选择所困扰。通过一些方法和技巧，我们可以有效减轻决策疲劳，让生活更加轻松和高效。</p><p><strong>你是否也有避免决策疲劳的妙招？快来分享吧！</strong></p><h2 class="wp-block-heading" id="%E4%B9%A0%E6%83%AF%E7%9A%84%E5%8A%9B%E9%87%8F%E5%83%8F%E5%96%9C%E5%A4%9A%E8%B1%AA%E4%B8%80%E6%A0%B7%E7%AE%80%E5%8C%96%E7%94%9F%E6%B4%BB%E6%8F%90%E5%8D%87%E6%95%88%E7%8E%87">习惯的力量：像喜多豪一样，简化生活，提升效率</h2><p>你是否曾想过，为什么有些人总是精力充沛，高效完成工作，而你却总是在琐事中浪费时间？答案或许就隐藏在生活习惯中。</p><p>喜多豪，这位生活极简主义的践行者，用15年如一日的机械化生活告诉我们：简化生活，可以提升效率。</p><figure class="wp-block-image size-full"><img decoding="async" width="1280" height="720" src="https://idehe.com/wp-content/uploads/2025/01/image-1.png" alt="" class="wp-image-1802" srcset="https://idehe.com/wp-content/uploads/2025/01/image-1.png 1280w, https://idehe.com/wp-content/uploads/2025/01/image-1-600x338.png 600w" sizes="(max-width: 1280px) 100vw, 1280px" /></figure><h3 class="wp-block-heading" id="%E5%87%8F%E5%B0%91%E5%86%B3%E7%AD%96%E7%96%B2%E5%8A%B3%E8%AE%A9%E5%A4%A7%E8%84%91%E6%9B%B4%E4%B8%93%E6%B3%A8">减少决策疲劳，让大脑更专注</h3><p>每天都要做无数个决定，从吃什么早餐到穿什么衣服，这些看似微不足道的选择，却会消耗大量的脑力，导致决策疲劳。喜多豪通过固定时间做家务、吃同样的饭菜，减少了生活中的选择，从而让大脑更加专注于工作。</p><p>研究表明，人们每天平均要做出35000次决策，这个数字远超我们的想象。而剑桥大学的一项研究更是揭示，决策疲劳会导致判断力下降，更容易做出错误选择。</p><h3 class="wp-block-heading" id="%E5%BD%A2%E6%88%90%E4%B9%A0%E6%83%AF%E8%A7%A3%E6%94%BE%E6%97%B6%E9%97%B4%E5%92%8C%E7%B2%BE%E5%8A%9B">形成习惯，解放时间和精力</h3><p>像喜多豪一样，提前规划好每天的行程，养成固定的生活习惯，可以帮助我们节省时间和精力。例如，提前准备好第二天的衣服，固定几个喜欢的餐厅，都可以减少决策的负担。</p><p>当我们不再为琐事纠结，大脑就能从繁杂的日常中解放出来，轻装上阵。这样一来，我们就能有更多的时间和精力去做那些真正重要的事情。</p><h3 class="wp-block-heading" id="%E6%89%BE%E5%88%B0%E9%80%82%E5%90%88%E8%87%AA%E5%B7%B1%E7%9A%84%E7%94%9F%E6%B4%BB%E6%96%B9%E5%BC%8F">找到适合自己的生活方式</h3><p>当然，并不是所有人都适合像喜多豪一样极简的生活方式。但我们可以从中汲取灵感，找到适合自己的生活节奏。</p><p>我们可以尝试：</p><ul class="wp-block-list"><li>提前规划好每天的行程，减少决策的负担。</li>

<li>养成固定的生活习惯，让生活更有规律。</li>

<li>减少不必要的社交活动，专注于真正重要的事情。</li></ul><p>通过简化生活，我们可以减少决策疲劳，提升工作效率，让生活更加轻松和充实。</p><p><strong>参考资料：</strong></p><ul class="wp-block-list"><li><a href="https://www.bbc.com/future/article/20180813-the-decision-fatigue-that-drains-you-and-how-to-avoid-it">https://www.bbc.com/future/article/20180813-the-decision-fatigue-that-drains-you-and-how-to-avoid-it</a></li>

<li><a href="https://www.cambridge.org/core/journals/psychological-science/article/decisions-decisions-the-impact-of-decision-making-on-cognition/7D50532172365B313A3184A831B77287">https://www.cambridge.org/core/journals/psychological-science/article/decisions-decisions-the-impact-of-decision-making-on-cognition/7D50532172365B313A3184A831B77287</a></li></ul><p><strong>希望这篇文章能对你有所启发，让我们一起简化生活，提升效率！</strong></p><p>The post <a href="https://idehe.com/life/%e6%97%a5%e6%9c%ac%e7%94%b7%e5%ad%9015%e5%b9%b4%e5%a6%82%e4%b8%80%e6%97%a5%e5%90%83%e7%a9%bf%e7%9b%b8%e5%90%8c%ef%bc%8c%e8%8a%82%e7%9b%ae%e7%bb%84%e6%8e%a2%e8%ae%bf%e5%8d%b4%e5%8f%91%e7%8e%b0%e4%bb%96/">日本男子15年如一日吃穿相同，节目组探访却发现他比普通人更幸福？！</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://idehe.com/life/%e6%97%a5%e6%9c%ac%e7%94%b7%e5%ad%9015%e5%b9%b4%e5%a6%82%e4%b8%80%e6%97%a5%e5%90%83%e7%a9%bf%e7%9b%b8%e5%90%8c%ef%bc%8c%e8%8a%82%e7%9b%ae%e7%bb%84%e6%8e%a2%e8%ae%bf%e5%8d%b4%e5%8f%91%e7%8e%b0%e4%bb%96/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>给老手机 pixel 3 xl 刷上中国的电信网络, pixel 4</title>
		<link>https://idehe.com/software-hack/gei-lao-shou-ji-pixel-3-xl-shua-shang-zhong-guo-de-dian-xin/</link>
					<comments>https://idehe.com/software-hack/gei-lao-shou-ji-pixel-3-xl-shua-shang-zhong-guo-de-dian-xin/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 26 Dec 2023 18:31:47 +0000</pubDate>
				<category><![CDATA[software-hack]]></category>
		<category><![CDATA[google phone]]></category>
		<category><![CDATA[magisk]]></category>
		<category><![CDATA[pixel]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[volte]]></category>
		<category><![CDATA[电信]]></category>
		<category><![CDATA[联通]]></category>
		<guid isPermaLink="false">https://idehe.com/?p=1753</guid>

					<description><![CDATA[<p>首先需要 ROOT 2. 解锁 bootloader, 重启进入bootloader, flashing unlock 3. 然后下载 magisk 并且装入手机, 可以用 adb 推送进去: 4. 下载 pixel 3 最终支援的版本的对应的 ROM, 是 12.0.0 (SP1A.210812.016.C1, Feb 2022) https://developers.google.com/android/images#coral 5. 两次解压缩以后, 提取里面的 boot.img 这个文件出来, 同样的用 adb 传入手机 参考别人的教程图片, 用magsik 来 patch 这个 boot.img 成功的结果如 右图. 6. 然后再次用 adb 把这个 boot.img 刷入机器 重启进入bootloader, 刷入 boot 对应 patched 的文件...</p>
<p>The post <a href="https://idehe.com/software-hack/gei-lao-shou-ji-pixel-3-xl-shua-shang-zhong-guo-de-dian-xin/">给老手机 pixel 3 xl 刷上中国的电信网络, pixel 4</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3 class="wp-block-heading">首先需要 ROOT</h3><ol class="wp-block-list"><li>确保可以 OEM unlock </li></ol><p>2. 解锁 bootloader, 重启进入bootloader, flashing unlock</p><pre class="wp-block-code"><code>adb reboot bootloader
fastboot flashing unlock</code></pre><p>3. 然后下载 magisk 并且装入手机, 可以用 adb 推送进去: </p><pre class="wp-block-code"><code>adb push F:\FF-PC\Downloads\Magisk-v26.4.apk /storage/emulated/0</code></pre><p>4. 下载 pixel 3 最终支援的版本的对应的 ROM, 是 12.0.0 (SP1A.210812.016.C1, Feb 2022)</p><a class="wp-block-read-more" href="https://idehe.com/software-hack/gei-lao-shou-ji-pixel-3-xl-shua-shang-zhong-guo-de-dian-xin/" target="_self">Read more<span class="screen-reader-text">: 给老手机 pixel 3 xl 刷上中国的电信网络, pixel 4</span></a><p><a href="https://developers.google.com/android/images#coral">https://developers.google.com/android/images#coral</a></p><p>5. 两次解压缩以后, 提取里面的 boot.img 这个文件出来, 同样的用 adb 传入手机</p><div class="wp-block-image"><figure class="alignright size-full is-resized"><img decoding="async" width="1440" height="1120" src="https://idehe.com/wp-content/uploads/2023/12/image-16.png" alt="" class="wp-image-1754" style="width:499px;height:auto" srcset="https://idehe.com/wp-content/uploads/2023/12/image-16.png 1440w, https://idehe.com/wp-content/uploads/2023/12/image-16-600x467.png 600w" sizes="(max-width: 1440px) 100vw, 1440px" /></figure></div><p>参考别人的教程图片, 用magsik 来 patch 这个 boot.img </p><p>成功的结果如 右图. </p><p>6. 然后再次用 adb 把这个 boot.img 刷入机器</p><pre class="wp-block-code"><code>adb reboot bootloader

fastboot flash boot f:\FF-PC\Desktop\magisk_patched-26400_orvSF.img</code></pre><p>重启进入bootloader, 刷入 boot 对应 patched 的文件 magisk_patched-26400_orvSF.img</p><p>即可. </p><h3 class="wp-block-heading">安装 magisk modules 电信模块</h3><p>找到 github 老板 https://github.com/wangdaning/Chinese-Carrier-Pixel-3-xl-LTE-VoLTE-Enabler</p><p>按照教程 进行 adb shell 的命令操作, 首先用 su 获得 root权限, 然后</p><pre class="wp-block-code"><code>cd /data/vendor/modem_fdr/
rm fdr_check
cd /data/vendor/radio/
rm -rf *</code></pre><p>删掉两个地方的文件.  然后安装modules, 注意下载, 重新直接在文件夹目录压缩打包, 不然可能有解压错误的问题.  </p><p>安装好后, 重启即可. </p><div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex"><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="wp-block-image"><figure class="alignleft size-full is-resized"><img loading="lazy" decoding="async" width="506" height="936" src="https://idehe.com/wp-content/uploads/2023/12/image-17.png" alt="" class="wp-image-1756" style="width:331px;height:auto" srcset="https://idehe.com/wp-content/uploads/2023/12/image-17.png 506w, https://idehe.com/wp-content/uploads/2023/12/image-17-324x600.png 324w" sizes="auto, (max-width: 506px) 100vw, 506px" /></figure></div></div>

<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="wp-block-image"><figure class="alignright size-full is-resized"><img loading="lazy" decoding="async" width="513" height="968" src="https://idehe.com/wp-content/uploads/2023/12/image-18.png" alt="" class="wp-image-1758" style="width:326px;height:auto" srcset="https://idehe.com/wp-content/uploads/2023/12/image-18.png 513w, https://idehe.com/wp-content/uploads/2023/12/image-18-318x600.png 318w" sizes="auto, (max-width: 513px) 100vw, 513px" /></figure></div></div></div><p><strong>Pixel 4</strong> 的教程和modules 可以参考这个文章: https://ceshidao.com/pixel-4-xl-magisk-soli-montion-sense-volte/</p><p>基本就是安装不同的模块而已. </p><ul class="wp-block-list"><li>Soli 雷达 下载 &#8211; https://qwerty.lanzouw.com/ilM5509yom3i</li>

<li>VoLTE Patch for Pixel 4/4XL &#8211; https://qwerty.lanzouw.com/iZnAC09yoq8h</li></ul><p>The post <a href="https://idehe.com/software-hack/gei-lao-shou-ji-pixel-3-xl-shua-shang-zhong-guo-de-dian-xin/">给老手机 pixel 3 xl 刷上中国的电信网络, pixel 4</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://idehe.com/software-hack/gei-lao-shou-ji-pixel-3-xl-shua-shang-zhong-guo-de-dian-xin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[爬虫1] 爬取阿里某宝的司法拍卖数据</title>
		<link>https://idehe.com/coding/pa-chong-1-pa-qu-a-li-mou-bao-de-si-fa-pai-mai-shu-ju/</link>
					<comments>https://idehe.com/coding/pa-chong-1-pa-qu-a-li-mou-bao-de-si-fa-pai-mai-shu-ju/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 24 Dec 2023 06:38:42 +0000</pubDate>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[scraper]]></category>
		<category><![CDATA[selenium]]></category>
		<category><![CDATA[法拍]]></category>
		<category><![CDATA[淘宝]]></category>
		<category><![CDATA[爬虫]]></category>
		<guid isPermaLink="false">https://idehe.com/?p=1748</guid>

					<description><![CDATA[<p>升级到了 selenium 4.16 版本, 不需要 chromedriver.exe文件了 以下开头采用 chrome remote dev tools 方法, 多个chrome 远程调用他, 并且执行. 打开chrome并打开URL2也就是某宝司法拍卖的地址了 其中 url 起始页 实际可以使用 https://sf.taobao.com/list/0____%B9%E3%B6%AB.htm 对应的是广东区 定位到每一个法拍的数据, 可以发现, 缩略图的地址应该是: 但是实际抓取 attribute href 获得是 g.alicdn.com/s.gif 检查, 对 img 这个标签抓取 outterHTML 的 atriibute 得到 所以实际的缩略图url的attribute 应该是 data-ks-lazyload. 实际测试 有可能是 src, 也有可能是 data-ks-lazyload. 其他问题 &#8211; 目前还没办法找到 a tag 里面 正确的 href 实际的...</p>
<p>The post <a href="https://idehe.com/coding/pa-chong-1-pa-qu-a-li-mou-bao-de-si-fa-pai-mai-shu-ju/">[爬虫1] 爬取阿里某宝的司法拍卖数据</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>升级到了 selenium 4.16 版本, 不需要 chromedriver.exe文件了</p><p>以下开头采用 chrome remote dev tools 方法, 多个chrome 远程调用他, 并且执行. </p><p>打开chrome并打开URL2也就是某宝司法拍卖的地址了</p><pre class="wp-block-code"><code>url2 = "https://sf.taobao.com/item_list.htm?spm=a213w.3064813.a214dqe.20.469d3fe7hMFfbz&amp;city=&amp;province=%B9%E3%B6%AB&amp;auction_start_seg=-1"

remote = '127.0.0.1:15021'
# driver = webdriver.Chrome()  #注释掉，换做下面的
chrome_options = Options()
chrome_options.add_experimental_option("debuggerAddress", remote)
# chrome_driver = "F:\git-code\my_pyLib\chromedriver.exe"

driver = webdriver.Chrome(options = chrome_options)

print (f"shoud be connected now, openning {url2}, waiting 60 to stop ..")

driver.switch_to.new_window('tab')
main_wd_handle = driver.current_window_handle   

driver.get(url2)
</code></pre><a class="wp-block-read-more" href="https://idehe.com/coding/pa-chong-1-pa-qu-a-li-mou-bao-de-si-fa-pai-mai-shu-ju/" target="_self">Read more<span class="screen-reader-text">: [爬虫1] 爬取阿里某宝的司法拍卖数据</span></a><p>其中 url 起始页 实际可以使用 https://sf.taobao.com/list/0____%B9%E3%B6%AB.htm 对应的是广东区</p><p>定位到每一个法拍的数据, 可以发现, 缩略图的地址应该是: </p><figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1500" height="823" src="https://idehe.com/wp-content/uploads/2023/12/image-15-1500x823.png" alt="" class="wp-image-1750" srcset="https://idehe.com/wp-content/uploads/2023/12/image-15-1500x823.png 1500w, https://idehe.com/wp-content/uploads/2023/12/image-15-600x329.png 600w, https://idehe.com/wp-content/uploads/2023/12/image-15-1536x843.png 1536w, https://idehe.com/wp-content/uploads/2023/12/image-15.png 1540w" sizes="auto, (max-width: 1500px) 100vw, 1500px" /></figure><p>但是实际抓取 attribute href 获得是 g.alicdn.com/s.gif</p><p>检查, 对 img 这个标签抓取 outterHTML 的 atriibute 得到 </p><pre class="wp-block-code"><code>&lt;img class="pic" src="//g.alicdn.com/s.gif" data-ks-lazyload="//img.alicdn.com/bao/uploaded/i3/2209930427874/O1CN01eQkala282LUAtFKxa_!!2209930427874-2-paimai_gov.png_300x1000" alt="（破）伊思德（中国）有限公司对翟延军的债权 - 拍卖"></code></pre><p>所以实际的缩略图url的attribute <strong>应该是 data-ks-lazyload. </strong></p><p>实际测试 有可能是 src, 也有可能是 <strong>data-ks-lazyload</strong>.</p><h3 class="wp-block-heading">其他问题 &#8211; 目前还没办法找到 a tag 里面 正确的 href </h3><p>实际的 href 是: </p><p><a href="https://sf-item.taobao.com/sf_item/753708695302.htm?spm=a213w.7398504.paiList.1.60524566xlNyJs&amp;track_id=ef8bd133-3758-4b8a-a9b8-239cac0adba7">https://sf-item.taobao.com/sf_item/753708695302.htm?spm=a213w.7398504.paiList.1.60524566xlNyJs&amp;track_id=ef8bd133-3758-4b8a-a9b8-239cac0adba7</a></p><p>对应的tag </p><pre class="wp-block-code"><code>&lt;a class="link-wrap" href="//sf-item.taobao.com/sf_item/753708695302.htm?spm=a213w.7398504.paiList.1.60524566xlNyJs&amp;amp;track_id=ef8bd133-3758-4b8a-a9b8-239cac0adba7" target="_blank" data-index="0" data-spm-anchor-id="a213w.7398504.paiList.1"><a href="//sf-item.taobao.com/sf_item/753708695302.htm?spm=a213w.7398504.paiList.1.60524566xlNyJs&amp;track_id=ef8bd133-3758-4b8a-a9b8-239cac0adba7" target="_blank" rel="noreferrer noopener"></a></code></pre><p>sf-item.taobao.com/sf_item/753708695302.htm?spm=a213w.7398504.paiList.1.60524566xlNyJs&amp;amp;track_id=ef8bd133-3758-4b8a-a9b8-239cac0adba7</p><p>抓取 href attribute 获得是:</p><pre class="wp-block-code"><code>&lt;a class="link-wrap" href="//sf-item.taobao.com/sf_item/756842965878.htm?track_id=ad0d4360-38e1-487e-914b-befba3ad0037" target="_blank" data-index="46"><a href="//sf-item.taobao.com/sf_item/756842965878.htm?track_id=ad0d4360-38e1-487e-914b-befba3ad0037" target="_blank" rel="noreferrer noopener"></a></code></pre><p>sf-item.taobao.com/sf_item/756842965878.htm?track_id=ad0d4360-38e1-487e-914b-befba3ad0037</p><p>少了一截 spm, 找不到attribute data-spm-anchor 不知道是干啥用的 暂时不管了</p><p>The post <a href="https://idehe.com/coding/pa-chong-1-pa-qu-a-li-mou-bao-de-si-fa-pai-mai-shu-ju/">[爬虫1] 爬取阿里某宝的司法拍卖数据</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://idehe.com/coding/pa-chong-1-pa-qu-a-li-mou-bao-de-si-fa-pai-mai-shu-ju/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WP系列10: google adsense approval and problem solving</title>
		<link>https://idehe.com/web/wp-xi-lie-10-google-adsense-approval-and-problem-solving/</link>
					<comments>https://idehe.com/web/wp-xi-lie-10-google-adsense-approval-and-problem-solving/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 19 Dec 2023 06:31:32 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://idehe.com/?p=1741</guid>

					<description><![CDATA[<p>今天收到邮件 google adsense 审核 本站 idehe.com 失败. 给了一个自查列表, 挺复杂的, 之后就按照排除法来慢慢优化把. 提示是政策违规, adsense的政策违规包含以下几个方面 Google 发布商政策分为以下几类： https://support.google.com/adsense/answer/10502938?hl=en&#38;visit_id=638385633193353109-2143557855&#38;rd=1 要自查, 又不说明原因, 感觉很难找出来问题. 找到一个检测工具, 尝试了一下, 打算按照他的提示慢慢解决问题: https://www.toolsoverflow.com/blogging/google-adsense-eligibility-checker 总的来说 Essential pages could not be located &#8211; contact about privacy Your site do not have essential pages.&#160;The essential pages that your site must have are &#8211; Contact, About and Privacy. These pages serve...</p>
<p>The post <a href="https://idehe.com/web/wp-xi-lie-10-google-adsense-approval-and-problem-solving/">WP系列10: google adsense approval and problem solving</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>今天收到邮件 google adsense 审核 本站 idehe.com 失败. 给了一个自查列表, 挺复杂的, 之后就按照排除法来慢慢优化把. </p><p>提示是政策违规, adsense的政策违规包含以下几个方面</p><figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="877" height="498" src="https://idehe.com/wp-content/uploads/2023/12/image-14.png" alt="" class="wp-image-1743" srcset="https://idehe.com/wp-content/uploads/2023/12/image-14.png 877w, https://idehe.com/wp-content/uploads/2023/12/image-14-600x341.png 600w" sizes="auto, (max-width: 877px) 100vw, 877px" /></figure><p>Google 发布商政策分为以下几类：</p><ul class="wp-block-list"><li>内容政策</li>

<li>行为政策</li>

<li>隐私相关政策</li>

<li>要求和其他标准</li></ul><p><a href="https://support.google.com/adsense/answer/10502938?hl=en&amp;visit_id=638385633193353109-2143557855&amp;rd=1">https://support.google.com/adsense/answer/10502938?hl=en&amp;visit_id=638385633193353109-2143557855&amp;rd=1</a></p><a class="wp-block-read-more" href="https://idehe.com/web/wp-xi-lie-10-google-adsense-approval-and-problem-solving/" target="_self">Read more<span class="screen-reader-text">: WP系列10: google adsense approval and problem solving</span></a><p>要自查, 又不说明原因, 感觉很难找出来问题. 找到一个检测工具, 尝试了一下, 打算按照他的提示慢慢解决问题: </p><p><a href="https://www.toolsoverflow.com/blogging/google-adsense-eligibility-checker">https://www.toolsoverflow.com/blogging/google-adsense-eligibility-checker</a></p><h4 class="wp-block-heading">总的来说 </h4><ul class="wp-block-list"><li>1. 需要添加相关页面, 这个可以自动生成, 倒是不难 </li>

<li>2. 增加 ads 的验证码, 这个其实应该是有的. </li>

<li>3. 增加社交链接. 行的. </li></ul><h3 class="wp-block-heading">Essential pages could not be located &#8211; contact about privacy</h3><p>Your site do not have essential pages.&nbsp;The essential pages that your site must have are &#8211; Contact, About and Privacy. These pages serve important functions in building trust and providing information to your audience.</p><ol class="wp-block-list"><li>The Contact page enables users to reach out to you, fostering communication.</li>

<li>Privacy ensures the protection of user data, which is crucial in today&#8217;s digital landscape.</li>

<li>The About page offers insights into your identity and purpose, helping establish a connection with your audience.</li></ol><p>These pages play a vital role in enhancing user experience and credibility for your website.</p><h3 class="wp-block-heading">Verification Code is missing Not Found</h3><p>We&#8217;ve&nbsp;not&nbsp;found verification header or meta code on your site, which Google AdSense uses to confirm your ownership of the site you&#8217;ve submitted for approval.</p><h3 class="wp-block-heading">Site do not have Social Links Not Found</h3><p>Your site do not have Social Links.&nbsp;Social Links are important for letting your visitors engage with your content. These links help people share your stuff and connect with your site, which can boost your online presence. So, make sure you use Social Links effectively to make your website more interactive and reach a wider audience.</p><p>The post <a href="https://idehe.com/web/wp-xi-lie-10-google-adsense-approval-and-problem-solving/">WP系列10: google adsense approval and problem solving</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://idehe.com/web/wp-xi-lie-10-google-adsense-approval-and-problem-solving/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WP系列9: 中文WordPress SEO优化方法</title>
		<link>https://idehe.com/web/wp-xi-lie-9-zhong-wen-wordpress-seo-you-hua-fang-fa/</link>
					<comments>https://idehe.com/web/wp-xi-lie-9-zhong-wen-wordpress-seo-you-hua-fang-fa/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 13 Dec 2023 18:05:39 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[优化]]></category>
		<guid isPermaLink="false">https://idehe.com/?p=1691</guid>

					<description><![CDATA[<p>#optimize #seo #wordpress #中文 #优化 全部WP系列链接. 主要是针对搜索引擎的链接优化, 保持URL使用拼音格式. 任意安装以下两个其中一个的插件, 或者搜索 SLUG 安装拼音的优化插件: &#8211; Wenprise Pinyin Slug&#8211; Pinyin Slugs我这里安装了5K下载量的 Wenprise Pinyin Slug, 如下图保持默认设置即可了. 在当前wordpress 6.4.2的版本下面, URL自动改成拼音了, 先 save draft 一下 permant link 一般可以设置: /%category%/%postname%/ 生成的 page 页面就是 https://idehe.com/wp-web-build/ 生成的 拼音 post 就是 https://idehe.com/web/wp-xi-lie-9-zhong-wen-wordpress-seo-you-hua-fang-fa/</p>
<p>The post <a href="https://idehe.com/web/wp-xi-lie-9-zhong-wen-wordpress-seo-you-hua-fang-fa/">WP系列9: 中文WordPress SEO优化方法</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>#optimize #seo #wordpress #中文 #优化</p><p><a href="https://idehe.com/wp-web-build/" target="_blank" rel="noreferrer noopener">全部WP系列链接. </a></p><p>主要是针对搜索引擎的链接优化, 保持URL使用拼音格式. <br>任意安装以下两个其中一个的插件, 或者搜索 SLUG 安装拼音的优化插件: <br>&#8211; Wenprise Pinyin Slug<br>&#8211; Pinyin Slugs<br>我这里安装了5K下载量的 Wenprise Pinyin Slug, 如下图保持默认设置即可了. </p><a class="wp-block-read-more" href="https://idehe.com/web/wp-xi-lie-9-zhong-wen-wordpress-seo-you-hua-fang-fa/" target="_self">Read more<span class="screen-reader-text">: WP系列9: 中文WordPress SEO优化方法</span></a><figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1103" height="451" src="https://idehe.com/wp-content/uploads/2023/12/image-12.png" alt="" class="wp-image-1708" srcset="https://idehe.com/wp-content/uploads/2023/12/image-12.png 1103w, https://idehe.com/wp-content/uploads/2023/12/image-12-600x245.png 600w" sizes="auto, (max-width: 1103px) 100vw, 1103px" /></figure><div class="wp-block-image"><figure class="alignright size-full"><img loading="lazy" decoding="async" width="279" height="486" src="https://idehe.com/wp-content/uploads/2023/12/image-13.png" alt="" class="wp-image-1710"/></figure></div><p>在当前wordpress 6.4.2的版本下面, URL自动改成拼音了, 先 save draft 一下</p><p>permant link 一般可以设置:  /%category%/%postname%/</p><p>生成的 page 页面就是 https://idehe.com/wp-web-build/</p><p>生成的 拼音 post 就是 https://idehe.com/web/wp-xi-lie-9-zhong-wen-wordpress-seo-you-hua-fang-fa/</p><p></p><p>The post <a href="https://idehe.com/web/wp-xi-lie-9-zhong-wen-wordpress-seo-you-hua-fang-fa/">WP系列9: 中文WordPress SEO优化方法</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://idehe.com/web/wp-xi-lie-9-zhong-wen-wordpress-seo-you-hua-fang-fa/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CYGWIN64 1 &#8211; Initiate Setup, first compile in Windows</title>
		<link>https://idehe.com/coding/cygwin64-1-initiate-setup-first-compile-windows/</link>
					<comments>https://idehe.com/coding/cygwin64-1-initiate-setup-first-compile-windows/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 12 Dec 2023 17:51:42 +0000</pubDate>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[g++]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">https://idehe.com/?p=1692</guid>

					<description><![CDATA[<p>The following article explain how to install cygwin64 in windows, and use normally in windows shell cmd or powershell, compile code and run code. Install CYGWIN64 Install following extensions, by looking for &#8220;complete&#8221;, switch &#8220;skip&#8221; to the software version as below Add all bins executable files to your evironment as below: Now you can run...</p>
<p>The post <a href="https://idehe.com/coding/cygwin64-1-initiate-setup-first-compile-windows/">CYGWIN64 1 &#8211; Initiate Setup, first compile in Windows</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The following article explain how to install cygwin64 in windows, and use normally in windows shell cmd or powershell, compile code and run code.</p><h2 class="wp-block-heading">Install CYGWIN64 </h2><p>Install following extensions, by looking for &#8220;complete&#8221;, switch &#8220;skip&#8221; to the software version as below</p><ul class="wp-block-list"><li>gcc-core</li>

<li>gcc-g++</li>

<li>nano</li></ul><figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1013" height="442" src="https://idehe.com/wp-content/uploads/2023/12/2023-12-13_012508.png" alt="" class="wp-image-1693" srcset="https://idehe.com/wp-content/uploads/2023/12/2023-12-13_012508.png 1013w, https://idehe.com/wp-content/uploads/2023/12/2023-12-13_012508-600x262.png 600w" sizes="auto, (max-width: 1013px) 100vw, 1013px" /></figure><a class="wp-block-read-more" href="https://idehe.com/coding/cygwin64-1-initiate-setup-first-compile-windows/" target="_self">Read more<span class="screen-reader-text">: CYGWIN64 1 &#8211; Initiate Setup, first compile in Windows</span></a><p>Add all bins executable files to your evironment as below:</p><figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1500" height="552" src="https://idehe.com/wp-content/uploads/2023/12/2023-12-13_014424-1500x552.png" alt="" class="wp-image-1694" srcset="https://idehe.com/wp-content/uploads/2023/12/2023-12-13_014424-1500x552.png 1500w, https://idehe.com/wp-content/uploads/2023/12/2023-12-13_014424-600x221.png 600w, https://idehe.com/wp-content/uploads/2023/12/2023-12-13_014424-1536x565.png 1536w, https://idehe.com/wp-content/uploads/2023/12/2023-12-13_014424.png 1634w" sizes="auto, (max-width: 1500px) 100vw, 1500px" /></figure><p>Now you can run bash in your powershell or CMD</p><h2 class="wp-block-heading">Compiling File to Exe:</h2><p>First edit the code file, lets call it test.cpp with following codes:</p><pre class="wp-block-code"><code>    #include&lt;iostream&gt; 
 
    using namespace std; 
    int main() 
    { 
            cout&lt;&lt;" this is a print test"; 
            return 0; 
    } 
</code></pre><p>Now lets compile the file using g++, and output test.exe file. Notice the complier is g++ not gcc, and output file should be exe suffix.</p><pre class="wp-block-code"><code>g++ test.cpp -o test.exe</code></pre><p>The following options show how to do it in both cmd or cygwin. Print is correctly done. </p><figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1269" height="505" src="https://idehe.com/wp-content/uploads/2023/12/2023-12-13_014807.png" alt="" class="wp-image-1695" srcset="https://idehe.com/wp-content/uploads/2023/12/2023-12-13_014807.png 1269w, https://idehe.com/wp-content/uploads/2023/12/2023-12-13_014807-600x239.png 600w" sizes="auto, (max-width: 1269px) 100vw, 1269px" /></figure><p>For more setup details in windows CMD, please refer to this reference: </p><p><a href="https://stackoverflow.com/questions/5079180/what-is-the-difference-between-batch-and-bash-files#:~:text=%22Batch%20File%22%20is%20terminology%20normally,%2C%20or%20simply%20%22Script%22.">https://stackoverflow.com/questions/5079180/what-is-the-difference-between-batch-and-bash-files#:~:text=%22Batch%20File%22%20is%20terminology%20normally,%2C%20or%20simply%20%22Script%22.</a></p><p>The post <a href="https://idehe.com/coding/cygwin64-1-initiate-setup-first-compile-windows/">CYGWIN64 1 &#8211; Initiate Setup, first compile in Windows</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://idehe.com/coding/cygwin64-1-initiate-setup-first-compile-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>感冒时喂饱，发烧时挨饿吗？医学神话的真相</title>
		<link>https://idehe.com/life/what-to-do-for-a-flu-fever/</link>
					<comments>https://idehe.com/life/what-to-do-for-a-flu-fever/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 11 Dec 2023 03:53:20 +0000</pubDate>
				<category><![CDATA[life]]></category>
		<category><![CDATA[感冒]]></category>
		<category><![CDATA[生病]]></category>
		<guid isPermaLink="false">https://idehe.com/?p=1688</guid>

					<description><![CDATA[<p>“优先补充液体，尤其是含有电解质和热量的液体，”伯格奎斯特说。“肉汤和果汁是不错的选择，运动饮料也是如此，因为它们含有我们在出汗时流失的电解质。”</p>
<p>The post <a href="https://idehe.com/life/what-to-do-for-a-flu-fever/">感冒时喂饱，发烧时挨饿吗？医学神话的真相</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>(本文全文转载自: https://www.hopkinsmedicine.org/health/wellness-and-prevention/feed-a-cold-starve-a-fever)</p><p>关于如何最好地治疗发烧、对抗感冒或处理损伤的医学神话随处可见，有时甚至会代代相传。&nbsp;<a rel="noreferrer noopener" href="https://www.hopkinsallchildrens.org/" target="_blank">约翰·霍普金斯儿童医院</a>的<a rel="noreferrer noopener" href="https://www.hopkinsallchildrens.org/find-a-doctor/practitioner-details/rachel--lara--dawkins" target="_blank">雷切尔·道金斯医学博士</a>澄清了事实与虚构。<a rel="noreferrer noopener" href="https://www.hopkinsallchildrens.org/" target="_blank"></a></p><h3 class="wp-block-heading">感冒了可以喂食，发烧可以挨饿吗？</h3><p>错误的。发烧和感冒都会导致脱水。最好确保孩子生病时喝大量液体。如果发烧了也可以吃。良好的营养可能有助于防止您的孩子在生病时感到疲惫不堪。生病时喝牛奶也是可以的。它不会引起痰。</p><h3 class="wp-block-heading">绿色或黄色粘液是否表明细菌感染或鼻窦炎？</h3><p>错误的。鼻涕的颜色与感染类型无关。这可能是最常见的误解。颜色取决于死亡的白细胞以及它们在鼻道中停留的时间。通常不应根据鼻涕颜色来诊断鼻窦感染。如果您生病超过 10-14 天，那么最好去看医生。</p><h3 class="wp-block-heading">如果你湿着头发出门，会感冒或者肺炎吗？</h3><p>错误的。寒冷的天气和湿头发不会引起感冒。病毒确实如此。冬天感冒很常见，因为在该国大部分地区，人们被困在室内，无法远离生病的朋友或亲戚的细菌。</p><h3 class="wp-block-heading">发烧有危险吗？</h3><p>错误（大部分）。发烧是身体抵抗感染的自然方式。它不会融化大脑或造成脑损伤。发烧是疾病的症状。对乙酰氨基酚或布洛芬等药物可以帮助缓解发烧的孩子，但不能治疗潜在的疾病。如果孩子发烧，无需将孩子放在冰浴中或用外用酒精擦拭。例外是中暑。如果您的孩子中暑，则属于医疗紧急情况。</p><h3 class="wp-block-heading">你应该在烧伤处涂抹黄油来止痛吗？</h3><p>错误的。这实际上是所有都市传说中最危险的。黄油和其他药膏会将热量滞留在皮肤上，使烧伤更加严重。如果您的孩子有轻度烧伤，请用冷水冲洗伤口并就医。</p><h3 class="wp-block-heading">你应该让头部受伤的孩子保持清醒吗？</h3><p>不必要。首先，如果您的孩子头部严重受伤或失去知觉，请立即就医。如果您的孩子头部轻微受伤，您的孩子可以像平常一样睡觉。叫醒困倦的孩子或试图让困倦的孩子保持清醒只会让整个家庭变得暴躁。如果您的孩子呼吸和行为正常，请让他或她睡觉。再次强调，如果您不确定，请致电您的医生或前往急诊室。</p><h2 class="wp-block-heading">额外补充: </h2><p>您的身体需要燃料（卡路里）来产生可以抵御入侵病原体的免疫细胞。液体也很重要，尤其是发烧时，体温升高会让你出汗，从而导致脱水。保持水分还可以解决其他问题。脱水会导致体内所有粘液粘稠并堵塞鼻窦和呼吸道。液体有助于保持呼吸道湿润，并支持我们抵御细菌的第一道防线。</p><p>“问题是大多数人生病时不想吃或喝，”伯格奎斯特说。但每一季在沙发上狂看<em>《绝命毒师》</em>并不足以让你的身体迅速恢复。</p><p><strong>“优先补充液体，尤其是含有电解质和热量的液体，”伯格奎斯特说。“肉汤和果汁是不错的选择，运动饮料也是如此，因为它们含有我们在出汗时流失的电解质。”</strong></p><p>热液体可以帮助保持粘液流动，以排出被困的虫子。伯格奎斯特说，富含抗氧化剂的水果和蔬菜以及健康的蛋白质可以在免疫系统超速运转时为其提供支持。<br><br>所以无论你做什么，绝对不要让自己挨饿。</p><p>The post <a href="https://idehe.com/life/what-to-do-for-a-flu-fever/">感冒时喂饱，发烧时挨饿吗？医学神话的真相</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://idehe.com/life/what-to-do-for-a-flu-fever/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WP系列8: move domain from godaddy to cloudflare</title>
		<link>https://idehe.com/web/wp-series-move-domain-from-godaddy-to-cloudflare/</link>
					<comments>https://idehe.com/web/wp-series-move-domain-from-godaddy-to-cloudflare/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 07 Dec 2023 16:29:58 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[cloudflare]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[godaddy]]></category>
		<guid isPermaLink="false">https://idehe.com/?p=1683</guid>

					<description><![CDATA[<p>Cloudflare is the next infrastructure of the internet domain, with more cutting edge technologies. Let&#8217;s embrace it. Export all the domain records from, you will get a .txt file Import into cloudflare. Switch the nameservers, enter the alternative nameservers into godaddy. Double Check Records No need to change anything at the beginning, but doule check...</p>
<p>The post <a href="https://idehe.com/web/wp-series-move-domain-from-godaddy-to-cloudflare/">WP系列8: move domain from godaddy to cloudflare</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Cloudflare is the next infrastructure of the internet domain, with more cutting edge technologies. Let&#8217;s embrace it. </p><p>Export all the domain records from, you will get a .txt file </p><h3 class="wp-block-heading">Import into cloudflare. </h3><p>Switch the nameservers, enter the alternative nameservers into godaddy.</p><a class="wp-block-read-more" href="https://idehe.com/web/wp-series-move-domain-from-godaddy-to-cloudflare/" target="_self">Read more<span class="screen-reader-text">: WP系列8: move domain from godaddy to cloudflare</span></a><figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1500" height="545" src="https://idehe.com/wp-content/uploads/2023/12/image-7-1500x545.png" alt="" class="wp-image-1684" srcset="https://idehe.com/wp-content/uploads/2023/12/image-7-1500x545.png 1500w, https://idehe.com/wp-content/uploads/2023/12/image-7-600x218.png 600w, https://idehe.com/wp-content/uploads/2023/12/image-7-1536x558.png 1536w, https://idehe.com/wp-content/uploads/2023/12/image-7.png 1742w" sizes="auto, (max-width: 1500px) 100vw, 1500px" /></figure><h3 class="wp-block-heading">Double Check Records</h3><p>No need to change anything at the beginning, but doule check if all the records are imported or not. </p><p>Cloudflare lost my 4~-5 MX records, so I have to import than manually like this: </p><pre class="wp-block-code"><code>; MX Record
@	604800	 IN 	MX	10	aspmx.l.google.com.</code></pre><h3 class="wp-block-heading">Wait until edge certificate turn to ready. </h3><p>The status will be active in a day.</p><p>And now double check everything is working probably or not, my problem is email can be sent out but can not be received. </p><p>Then you can further slowly change things on cloudflare.</p><figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1171" height="646" src="https://idehe.com/wp-content/uploads/2023/12/image-10.png" alt="" class="wp-image-1685" srcset="https://idehe.com/wp-content/uploads/2023/12/image-10.png 1171w, https://idehe.com/wp-content/uploads/2023/12/image-10-600x331.png 600w" sizes="auto, (max-width: 1171px) 100vw, 1171px" /></figure><p>The post <a href="https://idehe.com/web/wp-series-move-domain-from-godaddy-to-cloudflare/">WP系列8: move domain from godaddy to cloudflare</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://idehe.com/web/wp-series-move-domain-from-godaddy-to-cloudflare/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WP系列7: WP和Cloudflare合并的配置思路</title>
		<link>https://idehe.com/web/wp-series-wordpress-combine-with-cloudflare/</link>
					<comments>https://idehe.com/web/wp-series-wordpress-combine-with-cloudflare/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 06 Dec 2023 17:28:37 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[cloudflare]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[建站]]></category>
		<guid isPermaLink="false">https://idehe.com/?p=1660</guid>

					<description><![CDATA[<p>两种方式, 今天咨询大佬朋友, flexible 的方式好像使用更多, 更简洁. wordpress 建站可以关注我的 WP系列. CF 灵活配置 + NGINX 仅处理 HTTP 需要安装 cloudflare 插件 nginx 的配置 仅需要 布置 server 和 listen 80 即可, 其他都是大同小异 其中 用户到 CF 经过 CF的 SSL加密, 然而 服务器不需要布置到 CF的 SSL加密 User &#8211;ssl&#8211; CF &#8211;x&#8211; Server 可以参考一下 flexible 配置 即可 CF 严格配置 + Nginx 自行跳转 HTTP 和处理 HTTPS 服务器和...</p>
<p>The post <a href="https://idehe.com/web/wp-series-wordpress-combine-with-cloudflare/">WP系列7: WP和Cloudflare合并的配置思路</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>两种方式, 今天咨询大佬朋友, flexible 的方式好像使用更多, 更简洁. wordpress 建站可以关注我的<a href="https://idehe.com/?page_id=1340" target="_blank" rel="noreferrer noopener"> WP系列</a>. </p><h2 class="wp-block-heading">CF 灵活配置 + NGINX 仅处理 HTTP</h2><p>需要安装 cloudflare 插件</p><p>nginx 的配置 仅需要 布置 server 和 listen 80 即可, 其他都是大同小异</p><p>其中 用户到 CF 经过 CF的 SSL加密, 然而 服务器不需要布置到 CF的 SSL加密</p><p>User &#8211;ssl&#8211; CF &#8211;x&#8211; Server</p><p>可以参考一下 flexible 配置 即可</p><p></p><h2 class="wp-block-heading">CF 严格配置 + Nginx 自行跳转 HTTP 和处理 HTTPS</h2><p>服务器和 CF之间需要布置 SSL加密 User &#8211;ssl&#8211; CF &#8211;ssl&#8211; Server</p><p>传统服务器处理 HTTP 和 HTTPS, 应该是 CF进行严格执行. </p><p>其中保持 HTTP 301 跳转到 HTTPS, 进行执行. 就比较负责. 可能需要服务器上面也安装 certbot 或者 acme.sh 的SSL证书. </p><h2 class="wp-block-heading">另外注意</h2><p>修改完 NGINX配置以后, 老站点 可能要更新数据库 把 https 的所有条目, 改成 http, 参考命令. 或者反向行之. </p><pre class="wp-block-code"><code>wp search-replace 'http://diaomao.cc' 'https://diaomao.cc' --dry-run</code></pre><a class="wp-block-read-more" href="https://idehe.com/web/wp-series-wordpress-combine-with-cloudflare/" target="_self">Read more<span class="screen-reader-text">: WP系列7: WP和Cloudflare合并的配置思路</span></a><p>以下是一个站点的 采用 CF的 flexible 配置: </p><pre class="wp-block-code"><code>server {
  listen 80;
  server_name www.diaomao.cc diaomao.cc;
  root /var/www/diaomao.cc/;

  index index.php index.html index.htm index.nginx-debian.html;

  location / {
    try_files $uri $uri/ /index.php;
  }

   location ~ ^/wp-json/ {
     rewrite ^/wp-json/(.*?)$ /?rest_route=/$1 last;
   }

  location ~* /wp-sitemap.*\.xml {
    try_files $uri $uri/ /index.php$is_args$args;
  }

  error_page 404 /404.html;
  error_page 500 502 503 504 /50x.html;

  client_max_body_size 20M;

  location = /50x.html {
    # root /usr/share/nginx/html;
	root /var/www/diaomao.cc
  }


  location ~ \.php$ {
    fastcgi_pass unix:/run/php/php7.4-fpm.sock;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
    include snippets/fastcgi-php.conf;
    fastcgi_buffers 1024 4k;
    fastcgi_buffer_size 128k;

    # Add headers to serve security related headers
    add_header X-Content-Type-Options nosniff;
    add_header X-XSS-Protection "0";
    add_header X-Permitted-Cross-Domain-Policies none;
    add_header X-Frame-Options "SAMEORIGIN";
    add_header Permissions-Policy "geolocation=(), camera=('self'), microphone=()";
    add_header Referrer-Policy "strict-origin-when-cross-origin" always;
    # add_header Content-Security-Policy "default-src 'self' https: data: 'unsafe-inline' 'unsafe-eval';" always;
  }

  # A long browser cache lifetime can speed up repeat visits to your page
  location ~* \.(jpg|jpeg|gif|png|webp|svg|woff|woff2|ttf|css|js|ico|xml)$ {
       access_log        off;
       log_not_found     off;
       expires           360d;
  }

  # disable access to hidden files
  location ~ /\.ht {
      access_log off;
      log_not_found off;
      deny all;
  }
  
}

</code></pre><p>The post <a href="https://idehe.com/web/wp-series-wordpress-combine-with-cloudflare/">WP系列7: WP和Cloudflare合并的配置思路</a> appeared first on <a href="https://idehe.com">银子弹</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://idehe.com/web/wp-series-wordpress-combine-with-cloudflare/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
