adriandeccico.com
Home
Projects
About
  • Avoid Spam With Multiple Email Aliases

    Jan 22, 2025 · 6 min read · productivity privacy email code python  ·
    Share on:
    Avoid Spam With Multiple Email Aliases

    Here I introduce my solution to deal with multiple newsletters and services requesting your email address while keeping your email private and safe.

    Read More
  • Automatic setup of Django 1.4, NGinx and GUnicorn on EC2 using Bellatrix

    Apr 12, 2012 · 5 min read · automation bellatrix devops django ec2 gunicorn nginx jenkins code sysadmin  ·
    Share on:
    Automatic setup of Django 1.4, NGinx and GUnicorn on EC2 using Bellatrix

    Some time ago I wrote some lengthy instructions on how to configure Django, NGinx and Green Unicorn on a brand new Ubuntu EC2 instance. Now, I want to show how to automate the same tasks using a command line tool called Bellatrix. We will also provide a Jenkins (formerly Hudson) pipeline, so we have (if we want) a nice …

    Read More
  • Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance

    Dec 27, 2011 · 6 min read · python django ec2 gunicorn nginx code sysadmin ubuntu  ·
    Share on:
    Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance

    Django has become the de-facto web framework for Python. Although, since Django just specializes in dynamic content, you have to combine it (at least in production) with an HTTP server to serve static content such as css, javascript files and images files. In the past, the communication protocol between Python web …

    Read More
  • Getting reTweets from Python

    Sep 22, 2010 · 3 min read · python programming code twitter  ·
    Share on:
    Getting reTweets from Python

    In this snippet I will show how to use the Tweepy library to get statistics from Tweeter. The script will read a sample feed from the Twitter Streaming API (https://web.archive.org/web/20100723015215/http://dev.twitter.com/pages/streaming_api) and perform the following actions: Read the sample feed Note the number of …

    Read More
  • Making a simple html editor in C++ Builder

    Sep 9, 2010 · 1 min read · c++ c++ builder windows api code  ·
    Share on:
    Making a simple html editor in C++ Builder

    Back in the day, I had to make a simple html editor. This can be accomplished in a few lines of code, by using a simple TCppWebBrowser (wb) component and the IHTMLDocument2 interface. You will also need a TMemo (memo1) control. Here is the source code. I hope it helps someone 🙂 …

    Read More
  • Concurrency in Hudson

    Aug 25, 2010 · 3 min read · hudson jenkins continuous integration groovy code  ·
    Share on:
    Concurrency in Hudson

    How to organize and avoid concurrency problems when implementing complex projects in Hudson?

    Read More
  • How to calculate the closest point on a segment to a point

    Jun 6, 2010 · 3 min read · c++ programming geometry code  ·
    Share on:
    How to calculate the closest point on a segment to a point

    Hi, below there is a little snippet that calculates the closest point on a segment to a determined point. It is written in C++ but can be easily translated to any other language. Disclaimer: given its age, it uses hungarian notation, and some names are in Spanish, but it was thoroughly tested and works as expected. …

    Read More
  • How to replace a substring using regex in Python

    Jun 6, 2010 · 1 min read · regular expressions programming python code  ·
    Share on:

    The problem: You match a string with your regex, but you need to replace just a portion of it. How can we do this? The trick is simple, put the text you want to replace within “()” which means “group” in regex language. If the regex works, you can replace just that portion by using Python match information, like in the …

    Read More
  • Multiline regex pattern

    May 6, 2010 · 4 min read · regular expressions c# programming python code  ·
    Share on:
    Multiline regex pattern

    1 Task: Parse a file and capture whatever text appears between a pair of double quotes like the following: “Catch me” Not so difficult, you could use the following regex: 1“.*” This will match any character within double quotes in a group ¿any? Well, if you have to deal with multi-line characters (CR / LF) like in the …

    Read More

Adrián Deccico

python -c "import this"
Read More

Featured Posts

  • GPT 3 Impressions
  • Automatic setup of Django 1.4, NGinx and GUnicorn on EC2 using Bellatrix
  • Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance
  • Introduction to Continuous Integration

Recent Posts

  • Avoid Spam With Multiple Email Aliases
  • The Egg of The Universe
  • The Master And Margarita - book review
  • GPT 3 Impressions
  • A couple of new Bellatrix posts
  • Automatic setup of Django 1.4, NGinx and GUnicorn on EC2 using Bellatrix
  • Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance
  • Introduction to Continuous Integration

Tags

CODE 9 PYTHON 6 PROGRAMMING 4 EC2 3 JENKINS 3 SYSADMIN 3 AI 2 BELLATRIX 2 C++ 2 CONTINUOUS-INTEGRATION 2 DJANGO 2 GUNICORN 2 HUDSON 2 NGINX 2
All Tags
AGILE1 AI2 AUTOMATION1 BELLATRIX2 BOOKS1 C#1 C++2 C++-BUILDER1 CODE9 CONTINUOUS-INTEGRATION2 DEVOPS1 DJANGO2 EC23 EMAIL1 FICTION1 GEOMETRY1 GROOVY1 GUNICORN2 HUDSON2 INDEX1 JENKINS3 LITERATURE1 ML1 NGINX2 PHILOSOPHY1 PRIVACY1 PRODUCTIVITY1 PROGRAMMING4 PYTHON6 REGULAR-EXPRESSIONS2 SYSADMIN3 TWITTER1 UBUNTU1 WINDOWS1 WINDOWS-API1
[A~Z][0~9]
adriandeccico.com

Copyright 2010-  ADRIANDECCICO.COM. All Rights Reserved