How to mess with spammers for SEO and profit

In today’s digital age, websites are bomarded with people trying to hack,spam,bruteforce their way into your websites. These threats not only harm the website’s reputation but also compromise the security of the user’s personal data. It is essential for website owners to take appropriate measures to protect their sites and users.

One of the most common ways to deal with spamming and hacking attempts is to implement robust security measures such as firewalls, SSL certificates, and regular software updates. Other measures include monitoring the website’s traffic, using anti-spam plugins, and limiting the number of login attempts.

Instead of doing it that way why not take advantage of these people for SEO, profit and fun?

For instance maybe you have someone who is trying to crawl your website excessively. Instead of rate limiting them and sending 403 status codes, try doing an HTTP redirect to google with some keywords that will benefit your site. E.g. if you have a site that sells golf shoes at redirect them to google with the keyword: best site to buy golf shoes”.


Don’t do it excessively though! You want to make them confused! Try doing it 60% of the time:

if random.random() > 0.6:

Maybe they still dont get your message? Try redirecting them to a different set of sites so that they get the message:

if random.random() > 0.6:
    list_of_websites = [

    return HttpResponseRedirect(random.choice(list_of_websites))
February 12, 2023

How to Save A Life When You Are Wealthy

  1. Have a doctor friend or a set of concierge doctors in different timezones

  2. Buy a fancy EKG machine

  • You’ll want one that can interpret the rhythm well or just send it to your group of doctors. Next time you or a family is having chest pain get an EKG
  • Newer ones can be hooked up with a spare laptop and have better algorithims
  1. Buy an AED
  • A good one can be had for a thousand dollars and you’ll have to replace every couple of years but can be the difference between life and death. Recommended brand: Philips
  1. Become BLS certified
  • (Good) CPR saves lives
  1. Learn how to put in an IV and have spare IV Fluids on hand
  • Sometimes something as simple as fixing dehydration when you are ill can prevent a hospital visit (where you are bound to experience some sort of medical error)
  • IVF costs about 200$/Liter online (good website:
February 3, 2023

Adding Captcha to Django project

  1. add django-recaptcha to requirements.txt

  2. Add captcha’ to your installed apps in

  3. Create your own custom login form. I usually have a custom folder for forms that I am subclassing so project_name/overrides/login/

    from django.contrib.auth import forms as auth_forms

    from captcha.fields import ReCaptchaField

    from captcha.widgets import ReCaptchaV2Checkbox

    class ProjectLoginForm(auth_forms.AuthenticationForm):
        captcha = ReCaptchaField(

        def __init__(self, *args, **kwargs):
  1. Create your own custom login view


from django.shortcuts import redirect
from django.contrib.auth import views as auth_views

class ProjectLoginView(auth_views.LoginView):

    def __init__(self, *args, **kwargs):

  1. Go to and add in your new subclasses

from project_name.overrides.login.views import ProjectLoginView
from project_name.overrides.login.forms import ProjectLoginForm
  1. Create a new /account/login url as so

url(r'^account/login/$', ProjectLoginView.as_view(template_name='project_name/login.html', form_class=ProjectLoginForm), name='login')

All done!

January 9, 2023

Wash Trading Mousepads

I love Icemat glass mousepads. I’ve bought about 5 of them (only because I’ve broken a couple with phones falling on them or having them fall off my desk). Prior to Covid, I only owned 2 so have acquired about 3 more since then. For those not familiar with the icemat, it is a glass mousepad that was popular among gamers and computer enthusiasts in the early 2000s. It was known for its smooth and durable surface, which provided excellent tracking for optical and laser mice. However, the icemat was eventually discontinued and became a rarity in the market. Refer to my blog post here Finding a replacement icemat

As a big fan of the icemat, I started buying a large number of them around 2 years ago. I then relisted them on at absurdly high prices, hoping to capitalize on their rarity and nostalgia factor. I sold one to a friend of mine at and absurd price and then managed to sell 1 at these inflated prices to someone else. This ended up catching the attention of other buyers.

The news of these high sales seemed to have spread. People started listing icemats at several hundreds of dollars but in reality I think I was the only person purchasing them. Realistically, the icemat is probably only worth around a hundred dollars at most. The inflated prices are a result of my artificial manipulation of the market, which created a false sense of the actual price of the icemat. Here you can see some of the absurd prices the icemat is going for:

December 8, 2022

Can you afford to be an entrepreneur?

With modern insurance plans how does one afford to be an entrepreneur?

Asked a group of friends who are solo developers running their own companies/projects (without VC funding) how much they pay for health insurance? All are paying upwards of 500$/month for healthcare with deductibles above 7-8 thousand dollars. Several have stopped working solo due to health issues that have blown them past any sort of runway they had. Currently the only solutions’ that I can see are:

  1. Entrepreneurs must already be extremely wealthy to have a nest egg that will support them through illness

  2. Under the age of 26 so they can be on their parents insurance

  3. Get married so they can be on their spouses plan

  4. Get VC funding -> Hire a bunch of people -> Get an employee health care plan for everyone

How does an American afford to become an entrepreneur?

November 22, 2022

How to automatically update all git repos in a folder

As someone who has many github repo folders on their server I wanted an easy way to update all of them regularly with minimal points of failure so I made this script:


# store the current dir

# Let the person running the script know what's going on.
echo "\nPulling in latest changes for all repositories...\n"

# Find all git repositories and update it to the master latest revision
for i in $(find . -name ".git" | cut -c 3-); do
    echo "";
    echo ""$i"";

    # We have to go to the .git parent directory to call the pull command
    cd "$i";
    cd ..;

    # finally pull 
    # the old name
    git pull origin master;
    # the new PC friendly name
    git pull origin main;

    # lets get back to the CUR_DIR
    cd $CUR_DIR

echo "Complete!"

I have it run automatically every 10 minutes using cron

*/10 * * * * cd ~/ && bash ~/

Obviously it would be more ideal if it only ran when a repo was updated but like I said, I wanted less points of failure.

November 11, 2022
Share this post if you enjoyed it :)
Subscribe to my newsletter to get notified of new posts
Follow Me On Twitter