Skip to content

Instantly share code, notes, and snippets.

View vortec's full-sized avatar

Fabian Kochem vortec

View GitHub Profile
@plentz
plentz / nginx.conf
Last active November 1, 2024 06:31
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@hynek
hynek / gist:8296975
Last active January 2, 2016 11:29
Python packages that are keeping me from deploying more Python 3 application.

Preamble

This is not a wall of shame but an attempt to get an overview what’s hindering the adoption of a really nice programming language (some warts non-withstanding).

Feel free to chime in or release your own list so we get a better picture. Maybe you’ll even realize you have everything you need by now.

Blockers

  • idna (is ported as of 0.3, the trove identifiers are wrong ATM)
  • python-ldap (there are two 1 2 pyldaps now that seem to support Python 3, only one is on PyPI tho; dunno how usable they are)
class ShiftRegister {
public:
ShiftRegister(uint8_t dataPin, uint8_t latchPin, uint8_t clockPin) {
pinMode(dataPin, OUTPUT);
pinMode(clockPin, OUTPUT);
pinMode(latchPin, OUTPUT);
}
void write()
{
// turn off output
@staltz
staltz / introrx.md
Last active October 31, 2024 08:41
The introduction to Reactive Programming you've been missing

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.