You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🐰
Working W02K1N6 01110111 01101111 01110010 01101011 01101001 01101110 01100111
Skplunkerin
skplunkerin
🐰
Working W02K1N6 01110111 01101111 01110010 01101011 01101001 01101110 01100111
Learn Django - Part 1: Getting Started with Django
##Setup - Installing Pip, Python and Django
In order to get started with Django you will need to install it on your Mac globally. First, we need to check to see which version of python we have installed like this:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've been doing some work lately with JSON documents in PostgreSQL using jsonb columns. You can query these documents
using a GIN index in PG, but the syntax can be a little cumbersome
You have to construct the right side of the query as a JSON string, which is a bit annoying. So I wondered if I could adapt
Arel to do the tedious stuff for me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to setup your VMWare Fusion 6 images to use static IP addresses on Mac OS X
At Crush + Lovely, we use Railsmachine'sMoonshine to automate the configuration of our servers. When writing our deployment recipes, VMWare Fusion's ability to take snapshots and rollback to these snapshots is a huge timesaver because it takes just seconds to roll a server image to it's original state.
When you're just configuring a single server, having a static IP address for your server image isn't too important, but when you're configuring multi-server setups, it can be useful to duplicate a number of server images and give each a static IP address so you can consistently deploy to them. While not documented well at all, it turns out that this is relatively easy to accomplish in four simple steps.
1. Determine the MAC address of your guest machine
Let's say you have a guest machine with the name ubuntu-lucid-lynx-base
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters