Ablage von Links zur E-Mail-Connectivity oder ähnlichem Netzwerkzeugs.
Kategorie: Software-Development
Super simple mailsink with Python
If your script or app sends mail and you’ve got no time or don’t feel like configuring a real SMTP server, use a mailsink. A debugging method that in it’s simplest form just displays the result of the SMTP conversation, namely the message.
Fire up a terminal an run this code:
python -m smtpd -n -c DebuggingServer localhost:3000
This listens on port 3000 on your localhost (127.0.0.1). If you need port 25 (the SMTP default port), just run the line with sudo and enter your password:
sudo python -m smtpd -n -c DebuggingServer localhost:25
That’s it. Enjoy.
Twitter Embedded Timeline widget not loading
To quote the developers on embedded timelines:
Embeddable timelines make it easy to syndicate any public Twitter timeline to your website with one line of code.
Easy? One line of code? Give it to me!
After including it to a site… nothing happened. Why? The answer is simple…
Emacs versus vim – you still can top the war
This was tough, but now it’s going crazy: There’s a „Emacs vs. vim“ war thing going on in our office for months now – but one developer now truly won the war by combining vim with a keyboard with blank keys. „Emacs versus vim – you still can top the war“ weiterlesen