A comprehensive story on how I started using Intel NUC as a backend for local or remote development, while my code editor (on any machine) is used as a thin client. Table of contents Rationale Hardware Software Initial Setup Disk Network Static IP DHCP Wi-Fi Wake-on-LAN Avahi CPU Frequency Scaling Usage Overview Daily Routine Conclusion Pros Cons Rationale There were 2 problems, using a dedicated…
Installing nginx using brew is quite easy: $ brew install nginx Post install instruction explains how to run nginx on starup by adding it’s launchd config to ~/Library/LaunchAgents/ and it will run nginx on port 8080. If you need to run nginx on port 80 you have to run it as root: $ sudo nginx But I want to have nginx running on port 80 when system starts. To accomplish that, I copy nginx…
This post is mostly about how I install development environment for Python and Django on OS X and my experience. If you want just a quick installation guide, follow this link , there is a really great tutorial about OSX Developer System installation.
Found at softwaremaniacs.org import settings from django.core.management import setup_environ setup_environ(settings) NOTE: Deprecated in Django 1.4 ( “Release notes” )
To create a public rsa key using a private one, simply type: $ ssh-keygen -y -f /path/to/private_rsa > /path/to/public_rsa Note that it is not adding user@hostname, so if you need it, add this in the end of public_rsa file with a leading space symbol
I always face several pitfalls, while creating isolated python environment on my laptop, where i’m running Ubuntu. So decided to make a memory note how to fight them, probably it can be helpful to anyone else.
Got an IOError exception, while trying to process image using PIL, with a next error message: encoder jpeg not available PIL is installed within python virtual environment. Figured out, I have no development files for libjpeg installed, so PIL compiles without JPEG support.
I had some mess around the process of installing those tools on my laptop running Ubuntu, so my decision was to write and explain everything step by step just in a case for the memo and probably a useful post for anyone as well. Who are those lads? virtualenv virtualenvwrapper pip If you are not an Ubuntu user, you should better read this Presentation: pip and virtualenv .
This is actually not the first time I am launching a blog. I have archived all my old (mostly russian) articles at wordpress.com , first post is dated from 2007, big amount of things changed since those times, I have changed, my interests had been changed. Also, this is more home page of mine, than just a blog. It will involve a lot of things I need, I use and I want to share with others. I attend…