Skip to content

Instantly share code, notes, and snippets.

View asdkant's full-sized avatar

Ariel Kanterewicz asdkant

  • Baufest
  • Buenos Aires, Argentina
View GitHub Profile
@davidbgk
davidbgk / server.py
Created April 11, 2017 15:39
An attempt to create the simplest HTTP Hello world in Python3
import http.server
import socketserver
from http import HTTPStatus
class Handler(http.server.SimpleHTTPRequestHandler):
def do_GET(self):
self.send_response(HTTPStatus.OK)
self.end_headers()
self.wfile.write(b'Hello world')
anonymous
anonymous / idea_bt
Created April 9, 2014 04:17
//puzzle seria el tablero
backtrack(Puzzle &p){
//poda: si ya sabemos que la rama no puede ganarle a la mejor
//que conocemos hasta el momento, dejamos de explorar esa rama
if( p.maximum_possible_score() <= best_so_far.score() )
return;
//Si ya llegamos hasta el final del tablero,
//vemos el puntaje de esta solucion. Si es mejor que la
@dupuy
dupuy / README.rst
Last active March 31, 2025 05:11
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.