Annoying a Reddit user

I’ve bought some digital goods on a suspicious subreddit. I forgot the old saying If it’s too good to be true, then it probably is. I ended up with a few dollars short, the seller stopped replying and completely ignored me. But that did not stop him from selling/scamming other people. At first, I wanted to forget about it and never repeat the same mistake again. But when I saw posts from other people, complaining that they were scammed, I quickly wrote a small python script. It’s far from pretty but it gets the job done.

Clone the script with git clone https://github.com/peterkodermac/annoying-a-reddit-user.git. After an initial configuration, the script will keep an eye out on the scammer. After he posts a comment or starts a new thread, the script will comment on it. Use a VPS, a Raspberry Pi or your own computer – just put the script in cron and run it every 10 minutes or so.

That way, other users will be warned to avoid purchasing anything. I will never get my money back, but I might help others from repeating my mistake. It will also annoy the hell out of the scammer. He or she will probably register a new account sooner or later. Just update the script accordingly and you can resume harassing him.

Read the full description and how to –https://github.com/peterkodermac/annoying-a-reddit-user

reddit

Cmder in TotalCommander

My co-worker recently stumbled upon Cmder. It’s a replacement for the default command prompt in Windows. Cmder itself is based on ConEmu, but has some extra features and is much better looking. One of the integrated tools is git, tail, grep, etc. It has other things as well, but this is one tools that I used most.

main

I have been trying to integrate it with TotalCommander in order to completely replace the default cmd. I was successful to a certain point. By following the next steps, you will add a button to TotalCommander. When pressed, it opens a new window of Cmder with the current path. Its okay, but I still need to figure out how to do the same by typing cmd in command line.

Download Cmder, extract it somewhere and put its path to the environmental variables. That way you can run Cmder from anywhere (make sure it works before continuing). In Cmder folder, find the map vendor and edit init.bat. Scroll down to the end and paste¬†cd “%p%” > nul. This command tells cmder to cd to the directory saved in the %p% argument. All output is sent to nul.

On top of TotalCommander (below Start) right click and select Change. Click add and add %p to the parameters field. For command type in cmder. If you want, you can also add Cmder icon by clicking on >> next to icon field. Navigate to Cmder folder and click on exe file. That’s it, you are done. Test by clicking the newly created icon and see where it takes you.