<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Gludemy on Medium]]></title>
        <description><![CDATA[Stories by Gludemy on Medium]]></description>
        <link>https://medium.com/@gludemy?source=rss-1fe5ceb1d02c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ol_Swf47RNaON82_QupRtg.png</url>
            <title>Stories by Gludemy on Medium</title>
            <link>https://medium.com/@gludemy?source=rss-1fe5ceb1d02c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 14:22:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gludemy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automate Amazon Vendor Central Direct Fulfillment Orders For Free]]></title>
            <link>https://medium.com/@gludemy/automate-amazon-vendor-central-direct-fulfillment-orders-for-free-e4e642fbdd50?source=rss-1fe5ceb1d02c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4e642fbdd50</guid>
            <category><![CDATA[amazon-dropship]]></category>
            <category><![CDATA[amazon-vendor-central]]></category>
            <category><![CDATA[amazon-direct-fulfillment]]></category>
            <dc:creator><![CDATA[Gludemy]]></dc:creator>
            <pubDate>Fri, 07 Jun 2024 02:22:45 GMT</pubDate>
            <atom:updated>2024-06-07T03:00:45.596Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently built a web application that saves me 3 hours a day by automating Amazon Vendor Central Direct Fulfillment Orders. I built it from scratch using the Amazon Selling Partner API and deployed the app to Cloudflare Workers for free hosting. It literally turned my Amazon Vendor Central Direct Fulfillment into an FBA-like business, setting me free from order fulfillment at no cost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1PXDHzfBOl6TnUUWXuN3hg.jpeg" /><figcaption>The frontend of the web application</figcaption></figure><h3>Why not using the Amazon Vendor Central portal?</h3><p>I previously used the Amazon Vendor Central portal to print shipping labels and packing slips for Direct Fulfillment (also known as Dropship) orders. It took me around 3 hours a day to process 80+ orders. This is because:</p><ol><li><strong>I need to manually split orders that contain multiple units or SKUs, processing them one by one</strong>. My product is large and oversized, making it impossible to pack two or more items in one box.</li><li><strong>I have to manually add the SKU number to each shipping label so my partnered warehouse can pick and pack the orders.</strong> The packing slip printed with Amazon Vendor Central contains the ASIN and product title, but it doesn’t include the SKU number. My partnered warehouse doesn’t know what to ship if the packing slip or shipping label doesn’t have the SKU number.</li><li><strong>I have to manually group labels by SKUs and send them to different warehouses based on availability</strong>. This process actually costs me a lot of time because I have to print labels and packing slips by SKU and then group them.</li></ol><p>When the peak season comes, there could be more than 500 orders a day, making it a nightmare to process orders this way. So, I decided to build an application to automate the workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E9eXwHQ0JNEVpLqA4uKeVg.jpeg" /><figcaption>One has to split orders manually that come with multiple units</figcaption></figure><h3>How it works?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gtt47BWHfPSsWNnRr2bdmA.jpeg" /><figcaption>The workflow of Direct Fulfillment Orders Printer App</figcaption></figure><p>The application is powered by three Cloudflare Workers, each handling a specific task:</p><ol><li>The first worker fetches Direct Fulfillment orders using the Amazon Selling Partner API every 10 minutes, saving the orders into Cloudflare D1.</li><li>The second worker checks the D1 database and loops over the Orders table every 10 minutes. It grabs the orders with the status of NEW, makes shipping label and packing slip requests for each order, and saves the returned labels to the database.</li><li>The third worker renders the database to a web portal so my partnered warehouse can download the shipping labels and packing slips.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*8g_ihjaP5bdRQF4ByzbJQg.png" /><figcaption>The application is powered by 3 Cloudflare Workers</figcaption></figure><p>After I implement this application, the entire process of handling Direct Fulfillment orders has become more efficient. The automated workflow saves me a lot of time and it reduces the risk of errors associated with manual processing. This application has been running for over a week, and there’s no problem with it.</p><h3>The code</h3><p>The application is written in pure JavaScript, and ChatGPT helped me write most of the code. I provided ChatGPT with the idea and a description of the workflow, and ChatGPT wrote the code for me. Below, you will find the main functions for the backend workers.</p><p><strong>The Sync-orders worker</strong></p><p>This is the first worker in the workflow, it repeatly fetch orders from Amazon and save them to database.</p><pre>const getAccessToken = async (env) =&gt; {<br>    const baseURI = &#39;https://api.amazon.com/auth/o2/token&#39;;<br>    const url = `${baseURI}?grant_type=refresh_token&amp;refresh_token=${env.REFRESH_TOKEN}&amp;client_id=${env.CLIENT_ID}&amp;client_secret=${env.CLIENT_SECRET}&amp;scope=sellingpartnerapi::vendor_direct_fulfillment`;<br>    const response = await fetch(url, { method: &#39;POST&#39; });<br>    const data = await response.json();<br>    return data.access_token;<br>};<br><br>const fetchOrders = async (env, nextToken) =&gt; {<br>    const baseURI = &#39;https://sellingpartnerapi-na.amazon.com/vendor/directFulfillment/orders/v1/purchaseOrders&#39;;<br>    const params = \`?status=NEW&amp;nextToken=${nextToken}&amp;createdAfter=${createdAfter}&amp;createdBefore=${createdBefore}&amp;MarketplaceId=ATVPDKIKX0DER`;<br>    const url = `${baseURI}${params}`;<br>    const accessToken = await getAccessToken(env);<br>    const init = {<br>        method: &#39;GET&#39;,<br>        headers: {<br>            &#39;x-amz-access-token&#39;: accessToken,<br>        }<br>    };<br>    const response = await fetch(url, init);<br>    const data = await response.json();<br>    const orders = data.payload.orders.map(order =&gt; ({<br>        purchaseOrderNumber: order.purchaseOrderNumber,<br>        ...<br>    });<br>    return orders;<br>};<br><br>const saveDataToD1 = async (env, orders) =&gt; {<br>    // save orders to D1<br>};</pre><p><strong>The request-labels worker</strong></p><pre>const getAccessToken = async (env) =&gt; {<br>    const baseURI = &#39;https://api.amazon.com/auth/o2/token&#39;;<br>    const url = `${baseURI}?grant_type=refresh_token&amp;refresh_token=${env.REFRESH_TOKEN}&amp;client_id=${env.CLIENT_ID}&amp;client_secret=${env.CLIENT_SECRET}&amp;scope=sellingpartnerapi::vendor_direct_fulfillment`;<br>    const response = await fetch(url, { method: &#39;POST&#39; });<br>    const data = await response.json();<br>    return data.access_token;<br>};<br><br>async function requestLabels(env, accessToken, purchaseOrderNumber, shipFromParty, packages) {<br>    const baseURI = &#39;https://sellingpartnerapi-na.amazon.com/vendor/directFulfillment/shipping/v1/shippingLabels&#39;;<br>    const params = `?MarketplaceId=ATVPDKIKX0DER`;<br>    const url = `${baseURI}${params}`;<br>    const payload = await constructShippingLabelRequest(env, purchaseOrderNumber, shipFromParty, packages);<br>    const init = {<br>        method: &#39;POST&#39;,<br>        headers: {<br>            &#39;Content-Type&#39;: &#39;application/json; charset=utf-8&#39;,<br>            &#39;x-amz-access-token&#39;: accessToken,<br>        },<br>        body: JSON.stringify(payload)<br>    };<br>    const response = await fetch(url, init);<br>    const data = await response.json();<br>    return data;<br>};<br><br>async function getLabels(accessToken, purchaseOrderNumber) {<br>    const baseURI = &#39;https://sellingpartnerapi-na.amazon.com/vendor/directFulfillment/shipping/v1/shippingLabels/&#39;;<br>    const params = `${purchaseOrderNumber}?MarketplaceId=ATVPDKIKX0DER`;<br>    const url = `${baseURI}${params}`;<br>    const init = {<br>        method: &#39;GET&#39;,<br>        headers: {<br>            &#39;Content-Type&#39;: &#39;application/json; charset=utf-8&#39;,<br>            &#39;x-amz-access-token&#39;: accessToken,<br>        }<br>    };<br>    const response = await fetch(url, init);<br>    const data = await response.json();<br>    const labels = data.payload.labelData.map(label =&gt; {<br>        return {<br>            packageIdentifier: label.packageIdentifier,<br>            trackingNumber: label.trackingNumber,<br>            shipMethod: label.shipMethod,<br>            shipMethodName: label.shipMethodName,<br>            label: label.content<br>        }<br>    });<br>    return labels;<br>};<br><br>async function constructShippingLabelRequest(env, purchaseOrderNumber, shipFromParty, packages) {<br>    let containers = [];<br>    for (let i = 0; i &lt; packages.length; i++) {<br>        // loop over the packages to construct the container<br>        ...<br>    };<br>    return {<br>        &quot;shippingLabelRequests&quot;: [<br>            {<br>                &quot;purchaseOrderNumber&quot;: purchaseOrderNumber,<br>                &quot;sellingParty&quot;: {<br>                    &quot;partyId&quot;: &quot;MY-VENDOR-CODE&quot;<br>                },<br>                &quot;shipFromParty&quot;: {<br>                    &quot;partyId&quot;: shipFromParty<br>                },<br>                &quot;containers&quot;: containers<br>            }<br>        ]<br>    };<br>};</pre><p>That’s it! I built an application that streamline and automate my Direct Fulfillment orders workflow effortlessly. It runs on Cloudflare and doesn’t cost me a penny. I hope this inspires people who have the same need. Lastly, for those who are interested, I am offering to implement this service at an affordable cost.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4e642fbdd50" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Facebook page copyright infringement message scam]]></title>
            <link>https://medium.com/@gludemy/facebook-page-copyright-infringement-message-scam-f6bd786b551b?source=rss-1fe5ceb1d02c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6bd786b551b</guid>
            <category><![CDATA[meta]]></category>
            <category><![CDATA[facebook]]></category>
            <category><![CDATA[facebook-scam]]></category>
            <dc:creator><![CDATA[Gludemy]]></dc:creator>
            <pubDate>Tue, 16 Apr 2024 03:58:42 GMT</pubDate>
            <atom:updated>2024-04-16T04:02:26.094Z</atom:updated>
            <content:encoded><![CDATA[<p>I constantly received messages on Meta’s Facebook inbox saying that our Facebook page infringes on other’s copyrights. They are all scammers pretending to be a Facebook employee or an authority. The scammers are trying to have me click on the link in the message or have me email them. If you receive similar messages, do not open the link or send an email. Instead, check your Facebook notifications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RkV2uTMYYQHNL7nWJDUDgw.png" /><figcaption>Facebook copyright infringement scam</figcaption></figure><p>The scammers are sending messages from different Facebook accounts, and the messages they send may vary from time to time. They use similar tactics: 1) They pretend to be a Facebook employee or an authority and scare you by claiming that you are infringing someone else’s copyright. 2) They offer you the chance to appeal the fake infringement by clicking on links that are traps, or by sending them an email. 3) Once you click on the links, or send them an email, they may lead you into a deeper trap.</p><p>So, the best way to deal with these scams is to simply ignore them, move them to spam, or report them to Facebook. I usually move those suspicious emails or messages to spam. If you like, you can report it to <a href="/service/mailto:phish@fb.com">phish@fb.com</a> or use the <a href="https://www.facebook.com/help/1380418588640631">report link</a>.</p><p>Thank you for reading! This post is written by humans, not by AI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6bd786b551b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Proxy switcher for Mac: The native way]]></title>
            <link>https://medium.com/@gludemy/proxy-switcher-for-mac-the-native-way-69fc69883d78?source=rss-1fe5ceb1d02c------2</link>
            <guid isPermaLink="false">https://medium.com/p/69fc69883d78</guid>
            <category><![CDATA[proxy]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[gludemy]]></category>
            <dc:creator><![CDATA[Gludemy]]></dc:creator>
            <pubDate>Sun, 14 Apr 2024 06:51:18 GMT</pubDate>
            <atom:updated>2024-04-14T13:47:01.794Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RiSvK2awMbzF5uUEvpDfOQ.png" /><figcaption>Mac OS Location Switch</figcaption></figure><p>By switching between locations, you’re switching between different proxies.</p><p>Most people configure a proxy for their network on Mac by going to <strong>Network &gt; Wi-Fi &gt; Details</strong> and configure and toggle one by one. This tutorial will show you how to switch between proxies on Mac with a shortcut</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GdXv4Tk6Zt92_Fgj-80gHg.png" /><figcaption>Screenshot of Network Preference on Mac</figcaption></figure><blockquote>This tutorial works for Mac OS 13.4.1</blockquote><p>I assume you have two proxies (below are examples of proxies for demonstration only):</p><p><strong>Proxy #1</strong><br>IP address: 123.123.123.123<br>Port for HTTP &amp; HTTPS: 1080<br>Port for SOCKS: 1081</p><p><strong>Proxy #2</strong><br>IP address: 234.234.234.234<br>Port for HTTP &amp; HTTPS: 1080<br>Port for SOCKS: 1081</p><p>First, let’s set up a location called <strong>Proxy #1</strong> configured with the settings for <strong>Proxy #1</strong>.</p><h4>Step1: Add a location</h4><p>Go to the System Settings &gt; Network, click on the three-dot dropdown menu, hover over the <strong>Locations,</strong> and click <strong>Edit locations</strong>. Click the add icon to add a new location named <strong>Proxy #1</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WAA6yHqlTbX5-US0BtX8vQ.png" /><figcaption>Add a network location on the Mac</figcaption></figure><h4>Step 2: Configure a proxy for that location</h4><p>Once you add a location, select it from the dropdown menu in the last step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rceKy0lrPXdQUs8joSApGg.png" /><figcaption>Select a location for your network</figcaption></figure><p>Once you select a location, click on the network name and go to the Details. In my case, my network is a Wi-Fi connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qmOUqe-HA0eTNzvgflwv6A.png" /><figcaption>The Wi-Fi network</figcaption></figure><p>Configure the proxy for your network, and click <strong>OK</strong> to save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ThJjUdEH54Fh8Ukn8AZ8cg.png" /></figure><p>Repeat this for the <strong>Proxy #2 </strong>until you have both proxied configured.</p><h4>Step 3: Switch between locations to test proxies</h4><p>Now you can switch between proxies using the Apple icon on the top left corner, and see if your proxies are working as expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RiSvK2awMbzF5uUEvpDfOQ.png" /><figcaption>Switch between locations on Mac</figcaption></figure><p>That’s it! You should now be able to switch between proxies on Mac. I leave my default location named Automatic without configuring a proxy for it, when I want to turn off the proxy for my network, I simply switch to the Automatic location.</p><p>Thank you for reading! This tutorial is written by humans, not by AI. I write useful tutorials and guides, you can subscribe to my blog for more article like this.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69fc69883d78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to change the username for a Facebook page]]></title>
            <link>https://medium.com/@gludemy/how-to-change-the-username-for-a-facebook-page-d297908f5dfb?source=rss-1fe5ceb1d02c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d297908f5dfb</guid>
            <category><![CDATA[facebook-page-management]]></category>
            <category><![CDATA[facebook]]></category>
            <dc:creator><![CDATA[Gludemy]]></dc:creator>
            <pubDate>Thu, 11 Apr 2024 06:48:54 GMT</pubDate>
            <atom:updated>2024-04-11T06:49:28.566Z</atom:updated>
            <content:encoded><![CDATA[<p>Facebook’s new user interface is difficult to use. I, a tech guy, spend 20 minutes figuring out how to change the username for my newly created Facebook page. It used to be easy and simple to find the change button, but now it’s difficult to do that. I’m writing this blog as a quick note on how to do that. I hope this could help those who are struggling to figure out how to change the username for their Facebook pages.</p><blockquote>Facebook could change the interface again in the future because they love to do that. This tutorial works as of April 2024.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qf8dWvnGvo6PALFa4V9OQg.jpeg" /></figure><p>Step 1: Go to Facebook home page, and click on the Pages icon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kmSn6cuX33WNCCYEqVs3KA.png" /><figcaption>Facebook home page</figcaption></figure><p>Step 2: Click on the page for which you desire to change the username.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pZUqx3u4tZ0hYNhTw32OeQ.png" /><figcaption>Choose your Facebook page</figcaption></figure><p>Step 3: Click on the <strong>Settings</strong> menu item.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KaCbEg6C4vGBSDkDFlcytA.png" /><figcaption>The Facebook page home screen</figcaption></figure><p>Step 4: Click on the <strong>Page setup</strong> menu item.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iEwP3C59hNFmrvyRVSpXDA.png" /><figcaption>The Page setup icon</figcaption></figure><p>Step 5: On the <strong>Page setup</strong> page, click on the <strong>View</strong> button at the end of <strong>Name</strong> row.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QAywYz8A6ZzDzBObEqko1A.png" /><figcaption>The View button to the Name</figcaption></figure><p>Step 6: Click on the Edit button for the Username. Type your username and hit the <strong>Save changes</strong> button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BADXX0qeR86vjlURZRNW-A.png" /><figcaption>Change username for a Facebook page</figcaption></figure><p>That’s it! You can now set a username for your Facebook, so it will looks like https://www.facebook.com/your_username</p><p>Thank you for reading! This blog is written by human, not by AI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d297908f5dfb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Not Write Blog or Tutorial Like a Kickstarter Campaign]]></title>
            <link>https://medium.com/@gludemy/why-not-write-blog-or-tutorial-like-a-kickstarter-campaign-36c51b60ab85?source=rss-1fe5ceb1d02c------2</link>
            <guid isPermaLink="false">https://medium.com/p/36c51b60ab85</guid>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[kickstarter]]></category>
            <category><![CDATA[medium]]></category>
            <category><![CDATA[campaign]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Gludemy]]></dc:creator>
            <pubDate>Fri, 05 Apr 2024 02:39:15 GMT</pubDate>
            <atom:updated>2024-04-05T02:39:15.193Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine you have an exciting idea about something, and you want to share it on Medium. So, you spend a lot of time testing your concept, taking screenshots, and drafting a blog or tutorial. You keep typing…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*S56ArWRKCf1sWvCc8UJY2A.gif" /><figcaption>You’re working hard on a blog post</figcaption></figure><p>Your blog has finally been published, and you feel great about it! A few days later, you open your blog stats, expecting a high number of reads…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*CZ8u2cqZ0KSysGIR3jVBxw.gif" /><figcaption>You found your blog get 0 read</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*avFkoYolvSyK3X3UKNnACA.png" /><figcaption>Screenshot for your blog stats shows you get 0 read</figcaption></figure><p>So, you start to wonder, why not approach blogging like a Kickstarter campaign? A Kickstarter campaign follows the “<a href="https://help.kickstarter.com/hc/en-us/articles/115005047893-Why-is-funding-all-or-nothing">All or Nothing</a>” rule, which means the campaign owner only invests time and effort into a project if it meets its goal. For a Kickstarter campaign, the goal usually signifies a target amount of funding or a target number of pledges.</p><p>The time and effort required to write a blog post or tutorial may not be as substantial as that needed for a Kickstarter project, but it could take a few hours or even a whole day, especially for those high-quality, tutorial-type blogs.</p><p>This raises the question: why not approach writing a blog or tutorial with the way of a Kickstarter campaign?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*Wn0sOncK1XTLUnOQXjxFxA.gif" /><figcaption>You’re thinking about a serious question</figcaption></figure><p>Seriously, I find myself pondering this question every time I discover that my blog post, into which I’ve invested considerable effort, has received zero reads! I’m planning to develop a web application that facilitates the creation of Kickstarter-style campaigns for my blog posts. I’ll compose a blog title, detailing what I intend to write if I achieve the desired number of reads, and then launch the campaign.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*HlRy8KSSUJxxqxmk6o81-g.jpeg" /><figcaption>A concept of a Kickstarter style campaign for blog post</figcaption></figure><p>Here’s how the Kickstarter-style campaign model for blog posts. Bloggers would initially pitch the idea of their post or tutorial, outlining the problem it intends to resolve. Readers can then show their interest by pledging reads or engaging in some form of commitment that indicates their desire for the content to be fully drafted and published. If the campaign meets it’s goal of interest or ‘pledges,’ then the blogger start to write and publish the full article.</p><p>How exciting! With this app, we’ll no longer waste time writing blog posts that nobody reads. <strong>Comment on this blog to show your interest in the application</strong>. If I get more than <strong>50 users</strong> showing support, I will make this app come to live.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36c51b60ab85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloudflare Workers Now Support Python]]></title>
            <link>https://medium.com/@gludemy/cloudflare-workers-now-support-python-e203b3ab326e?source=rss-1fe5ceb1d02c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e203b3ab326e</guid>
            <category><![CDATA[cloudflare-workers]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Gludemy]]></dc:creator>
            <pubDate>Wed, 03 Apr 2024 07:04:19 GMT</pubDate>
            <atom:updated>2024-04-03T07:04:19.398Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zRfl2tt-TYHyFKsSCfCasQ.png" /><figcaption>Image from Cloudflare’s official site</figcaption></figure><p>On April 2, 2024, Cloudflare announced that Cloudflare Workers now support Python. This is fantastic news for Python programmers! Cloudflare Workers is a serverless platform that enables users to swiftly deploy production-level applications on the edge.</p><p>The official document can be found <a href="https://developers.cloudflare.com/workers/languages/python/">here</a>. If you’re new to Cloudflare Workers, feel free to check out my <a href="https://gludemy.com/rendering-a-simple-html-page-with-cloudflare-workers-4cf04c2a98a2">3-minute post</a> about Cloudflare Workers to see how easy it makes development easy for everyone.</p><p>I’m passionate about writing beginner-friendly, to-the-point tutorials and guides that assist people in solving real-world problems within minutes, rather than hours or days.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e203b3ab326e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Free tools to giveaway vouchers]]></title>
            <link>https://medium.com/@gludemy/free-tools-to-giveaway-vouchers-599c44185693?source=rss-1fe5ceb1d02c------2</link>
            <guid isPermaLink="false">https://medium.com/p/599c44185693</guid>
            <category><![CDATA[voubox]]></category>
            <category><![CDATA[free-tools]]></category>
            <category><![CDATA[giveaway]]></category>
            <category><![CDATA[giveaway-tools]]></category>
            <category><![CDATA[giveaway-contest]]></category>
            <dc:creator><![CDATA[Gludemy]]></dc:creator>
            <pubDate>Mon, 01 Apr 2024 14:28:28 GMT</pubDate>
            <atom:updated>2024-04-01T14:28:28.786Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q4ZBC_uiGTbfq-FCNREQRA.png" /><figcaption>Screenshot for Voubox</figcaption></figure><p>I have been looking for a simple tool that allow me to giveaway registration codes to my followers, on a first-come, first-served basis. I tried a few tools that do the job, and here are my found.</p><h3>Voubox</h3><h4>Pros</h4><ol><li>Free of charge.</li><li>Simple and easy to use.</li><li>Allow me to protect my vouchers with passcode.</li><li>Restrict visit from trusted domains only.</li></ol><h4>Cons</h4><ol><li>No newsletter form.</li><li>No custom domain name.</li></ol><h3>Woobox</h3><h4>Pros</h4><ol><li>There are templates to get started easily.</li><li>Participant management.</li><li>Newsletter form.</li></ol><h4>Cons</h4><ol><li>Limited features on free plan.</li><li>No domain restriction.</li></ol><p>For my use case, I prefer Voubox as it get me all features I need for free. If you have similar tools to recommand, please comment here and I will test and update this post.</p><p>I write actionable, complete, and beginner friendly tutorials that solve real-world problems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=599c44185693" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Say no to AI junk on Medium]]></title>
            <link>https://medium.com/@gludemy/say-no-to-ai-junk-on-medium-f6d32e2e41dc?source=rss-1fe5ceb1d02c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6d32e2e41dc</guid>
            <category><![CDATA[ai-junk]]></category>
            <category><![CDATA[say-no-to-ai-junk]]></category>
            <dc:creator><![CDATA[Gludemy]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 14:53:57 GMT</pubDate>
            <atom:updated>2024-03-30T14:53:57.380Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VTqD9RXeBxAeoI215dMNXA.png" /><figcaption>Say no to Ai junk on Medium</figcaption></figure><p>AI has changed people’s lives like never before. I myself rely heavily on AI in both my professional endeavors and daily routines. I use ChatGPT to help me checking the spelling and grammar in my writing, as well as to coding fast. Additionally, I use Midjourney to generate photos for my proof of concepts. I must admit, I have a profound appreciation for AI in many aspects of my life.</p><p>However, I don’t like it the way AI was used to generate junk on platforms like Medium, without human thought. I’ve noticed an increasing number of Medium posts being purely AI-generated, boasting eye-catching titles but containing useless content. This not only wastes my time but also undermines the integrity of the platform. I strongly oppose such content.</p><p>I personally adhere to the practice of crafting content by hand, employing my own intellect. This approach, I believe, demonstrates respect for others’ time and upholds standards beyond mere clicks and traffic. I do hope that those who engage with my blog share this value.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6d32e2e41dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Custom domain to Medium at both www and non-www with Cloudflare]]></title>
            <link>https://medium.com/@gludemy/custom-domain-to-medium-at-both-www-and-non-www-with-cloudflare-6b9b6f636313?source=rss-1fe5ceb1d02c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b9b6f636313</guid>
            <category><![CDATA[cloudflare-page-rule]]></category>
            <category><![CDATA[medium-custom-domain]]></category>
            <category><![CDATA[medium]]></category>
            <dc:creator><![CDATA[Gludemy]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 14:04:46 GMT</pubDate>
            <atom:updated>2024-03-30T14:09:38.145Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MOOwndyJCizwF-PrGZRszg.png" /><figcaption>Screenshot of Cloudflare page rule</figcaption></figure><p>According to the Medium’s <a href="https://help.medium.com/hc/en-us/articles/115003053487-Setting-up-a-custom-domain-for-your-profile-or-publication#h_01HAQ5ZV25Q2CZ6JRVPA13ZFYC">document</a>, you can only connect one custom domain per profile page or publication. However, if you have a custom domain name, let’s say example.com, and you woud like to serve your Medium blog at bothexample.com and www.example.com. You can do it by following this quick tutorial.</p><p>This tutorial assume your domain name is added to Cloudflare. If you don’t already, you can add it to Cloudflare by following <a href="https://gludemy.com/how-to-set-up-your-cloudflare-account-ec143d4bec3b">this guide</a>.</p><blockquote>If your domain is registered at Namecheap with default name server, you can redirect www.example.comto example.com by following their guide <a href="https://www.namecheap.com/support/knowledgebase/article.aspx/385/2237/how-to-set-up-a-url-redirect-for-a-domain/">here</a>. This way, you don’t need to add it to Cloudflare.</blockquote><h4>Step 1: create A records for the root domain with proxy off</h4><p>Create A record for your root domain example.com points to the IP address given by Medium. If medium give you two IP address, add them both.</p><h4>Step 2: create A record for your subdomain with proxy on</h4><p>Create A record for your subdomain www.example.com points one of the IP address given by Medium. <strong>With the proxy turn on</strong>, see below screenshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q_b3MC-A8QT7_0V8DhQuTg.png" /><figcaption>Screenshot of Cloudflare DNS settings</figcaption></figure><blockquote>Your www.example.com will not redirct to example.com if you don’t turn the proxy on.</blockquote><h4>Step 3: create a page rule for your domain with Cloudflare Page Rule</h4><p>Go to your domain management on Cloudflare, navigate to the Page Rule section: Rules &gt; Page Rules. Click on the Create Page Rule button.</p><ol><li>Typewww.example.com/* into the URL field, be sure to replace with your real domain name.</li><li>Select Forwarding URL from the Pick a Setting dorpdown menu, and choose 301 — Permanent Redirect from the Select status code dropdown menu.</li><li>Set https://example.com/$1 as the destination URL.</li><li>Click <strong>Save and Deploy Page Rule</strong> button and you’re all set.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qIxLPgsVVliJLWHnbjN3-Q.png" /><figcaption>Screenshot for Cloudflare page rule</figcaption></figure><p>You should now be able to access your Medium blog profile at both example.com and www.example.com, again you should replace the example.com with your real domain name.</p><p>If your domain name doesn’t resolve correctly, please wait for 30 minutes, clear your browser cookies and try again.</p><p>Should you have any questions, please feel free to comment here. I will try my best to help.</p><p>I write actionable, complete, and beginner friendlt tutorials that solve real-world problems. Please follow me for more tutorials.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b9b6f636313" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to merge PDF within a folder]]></title>
            <link>https://medium.com/@gludemy/how-to-merge-pdf-within-a-folder-dfa5582d50c6?source=rss-1fe5ceb1d02c------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfa5582d50c6</guid>
            <category><![CDATA[merge-pdf]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[merge-pdf-tool]]></category>
            <category><![CDATA[pdf]]></category>
            <category><![CDATA[gludemy]]></category>
            <dc:creator><![CDATA[Gludemy]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 10:53:24 GMT</pubDate>
            <atom:updated>2024-03-30T11:38:33.490Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*Ew38T-GdC7t953H6s_50zg.png" /><figcaption>Screenshot of PDF Merger</figcaption></figure><h4>Background</h4><p>Many PDF editors like Adobe Acrobat make PDF files merge feature available only for paid plan, Adobe does offer PDF combination service for free with their <a href="https://www.adobe.com/acrobat/online/merge-pdf.html">online web portal</a> though. The online tool may not be an ideal solution especialy when you have a large size of PDF files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tgaiXyrhoB71CabYzsl7Xw.png" /><figcaption>Adobe Acrobat PDF combination only available for paid users</figcaption></figure><p>I built a simple and yet powerful desktop application that allow you to merge PDF files into one easily. <strong>It’s only 69 lines of Python code! </strong>You can find the source code at the bottom of this blog post.</p><p>This simple desktop application allows you to merge multiple PDF files into a single document. If any page within a PDF is in landscape orientation, it will be automatically rotated to portrait orientation before being merged</p><h3>How to use?</h3><h4>Method 1 (for Windows users): Download and run the binary</h4><p>The quickest way to use this app is to download the binary from <a href="https://github.com/gludemy/pdf-merger/releases/tag/v1.0">release</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8EC5gnX6V6eq6nG7OkzIdA.png" /></figure><h4>Method 2: run the Python script to launch App</h4><ol><li>Download and extract <a href="https://github.com/gludemy/pdf-merger">this repository</a> to your computer.</li><li>Install the PyPDF2 version 2.5.0 into your Python environment.<br>pip install PyPDF2==2.5.0</li><li>Run the Python script One.py.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EvrC415tqWxqeFb_bHvkjg.gif" /></figure><p>If you don’t know how to run a Python script, check <a href="https://gludemy.com/how-to-run-a-python-script-098fe2797f2e">this 2-minute tutorial</a> for beginner.</p><h4>Method 3: build the App from source yourself (for Windows user)</h4><ol><li>Download and extract <a href="https://github.com/gludemy/pdf-merger">this repository</a> into your computer.</li><li>Open terminal from the folder that contains this repository.</li><li>Run the following command to build exe.</li></ol><pre>pyinstaller.exe --onefile --noconsole One.py</pre><p>4. Go to the dist folder and click on the exe file to launch the App.</p><p>That’s it! You should now have PDF Merger run on your local computer. See below for the source code.</p><pre>#!/usr/bin/python<br>import os<br>from PyPDF2 import PdfFileWriter, PdfFileReader<br><br>from tkinter import Tk, filedialog, messagebox, LabelFrame, Button, GROOVE, TOP<br>from datetime import date<br><br><br>window = Tk()<br>window.title(&quot;PDF Merger - Gludemy.com&quot;)<br>window.geometry(&#39;320x290&#39;)<br>window.configure(bg=&#39;#005a95&#39;)<br><br><br># FRAME 1: CHOOSE FILE<br><br># Choose folder that holdes labels<br>def choose_folder():<br>    global source_folder<br>    source_folder = filedialog.askdirectory()<br>    return source_folder<br><br>frame1 = LabelFrame(window, width=30, height=10, bd=1, font=&quot;Verdana 9 bold&quot;, relief=GROOVE)<br><br>btn1 = Button(frame1, bg=&#39;#bdd7e9&#39;, text=&#39;Choose folder&#39;, height = 5, width = 30, bd=5, command=choose_folder)<br>btn1.pack(side=TOP)<br><br>frame1.pack(padx=10, pady=10)<br><br># FRAME 2: CONVERT<br>def create_shipping_label(input_path):<br>    labels_name_list = os.listdir(input_path)<br>    pdf_writer = PdfFileWriter()<br>    for label_name in labels_name_list:<br>        path = os.path.join(input_path, label_name)<br>        pdf_reader = PdfFileReader(path)<br><br>        for page in range(pdf_reader.getNumPages()):<br>            current_page = pdf_reader.getPage(page)<br>            current_page_width = current_page.mediaBox.getWidth()<br>            current_page_height = current_page.mediaBox.getHeight()<br>            aspect = current_page_width / current_page_height<br>            if aspect &gt; 1:<br>                current_page.rotateCounterClockwise(90)<br>                pdf_writer.addPage(current_page)<br>            else:<br>                pdf_writer.addPage(current_page)<br>            <br>    # pop up windows for user to choose where to save!<br>    todayStr = date.today().strftime(&quot;%Y%m%d&quot;)<br>    save_path = filedialog.asksaveasfilename(<br>        initialfile = &#39;Labels{}.pdf&#39;.format(todayStr),<br>        title = &quot;Save as&quot;, <br>        filetypes = ((&quot;pdf files&quot;,&quot;*.pdf&quot;),(&quot;all files&quot;,&quot;*.*&quot;))<br>    )<br>    with open(save_path, &quot;wb&quot;) as out_f:<br>        pdf_writer.write(out_f)<br>        messagebox.showinfo(&#39;Successful&#39;, &#39;Task completed!&#39;)<br><br>frame2 = LabelFrame(window, width=30, height=10, bd=1, font=&quot;Verdana 9 bold&quot;, relief=GROOVE)<br><br>btn2 = Button(frame2, text=&#39;Start&#39;, height = 5, width = 30, bd=5, command=lambda:create_shipping_label(source_folder))<br>btn2.pack(side=TOP)<br><br>frame2.pack(padx=10, pady=10)<br><br>window.update()<br>window.minsize(window.winfo_width(), window.winfo_height())<br>window.mainloop()</pre><p>If you have any questions, please feel free to comment here.</p><p>Claim: this original blog is written by Gludemy by human hands!</p><p>I write actionable, complete, and beginner friendly tutorials that solve real-world problems. Follow me for more useful tutorials, if you have any question, please feel to comment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfa5582d50c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>