(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
/* | |
* leoxnidas ------------ Leonardo Esparis ---------- L'Esparis | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <string.h> | |
#include <time.h> | |
#include <unistd.h> | |
#define MAX 3 |
#!/usr/bin/env python | |
import os, time, random | |
def chooseXuO(): | |
players = {} | |
while 1: | |
print ("X | O ") | |
question = input() | |
answer = question.upper() | |
if answer == 'X' or answer == 'O': |
import subprocess | |
import argparse | |
import re | |
import sys | |
class BaseUpgrade(object): | |
def __init__(self, vpip, libs=[], *args, **kwargs): |
from django.views.generic import TemplateView | |
from sorl.thumbnail import get_thumbnail | |
from collections import OrderedDict | |
from django.db import models | |
# Model | |
class Something(models.Model): | |
photo = models.ImageField(upload_to='somewhere', blank=True) | |
date_time = models.DateTimeField(auto_now=True) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
import smtpd | |
import asyncore | |
class CustomSMTPServer(smtpd.SMTPServer): | |
def process_message(self, peer, mailfrom, rcpttos, data): | |
print 'Receiving message from:', peer | |
print 'Message addressed from:', mailfrom | |
print 'Message addressed to :', rcpttos | |
print 'Message length :', len(data) |
// protocolo SMTP simple. | |
// S = client | |
// R = server | |
// forward-path = correo que va a recibir el mail | |
// reverse-path = correo que va a enviar el mail | |
// S: EHLO <HOST> <CRLF> | |
// R: 250 OK |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"net" | |
"strconv" | |
"strings" | |
) |