âI just need to setup my dev environmentâ
seen from United States
seen from Germany

seen from Switzerland
seen from United States
seen from Indonesia
seen from Japan

seen from Germany

seen from United States
seen from Canada

seen from United States
seen from China
seen from Canada

seen from United States
seen from Canada
seen from United States
seen from United Kingdom
seen from United States

seen from United States
seen from United States
seen from TĂźrkiye
âI just need to setup my dev environmentâ

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
How to Use EditorConfig
EditorConfig allows you to define the indentation style (spaces vs. tabs) in your code. To use, first install the EditorConfig plugin into your text editor (Sublime). Next add an .editorconfig file to your projectâs root directory. Itâs in this file that you will define your preferred indentation settings.
root = true
[*.{css,html}] indent_style = space indent_size = 4
What this says is Â
yes, Iâm am located in the root of the directory
each indent (tab) will be rendered as four space characters
these settings should be applied to all css and html files
This is great because it ensures consistent indentation style in your directory even if multiple people are contributing to the project or if you copy and paste someone elseâs code.Â
Note: If you add an editorconfig file to a project, the existing files should update their indentation size. However, it wonât convert existing tab characters to space characters. If you are using Sublime Text, go to the bottom right hand corner of the screen and select âconvert indentation to spacesâ.Â
Resource https://stackoverflow.com/questions/26350689/what-are-hard-and-soft-tabs
Install & config Apache, MySQL and PHP on your Mac (MAMP)
Install & config Apache, MySQL and PHP on your Mac (MAMP)
Thereâs a Mac computer that I want to use as local development server for web apps. I donât want to use bundled installers like XAMPP or MAMP because I feel that I will learn more about Apache if I install each component of the LAMP stack separately. By the way, one of my goals is to be an expert in the LAMP stack. And prior to writing this blog entry, I had only been concerned about the actualâŚ
View On WordPress
Elixir 1.2 on Ubuntu 16.04 on Vagrant 1.8
To update my previous post on getting Elixir on Ubuntu 15.10, I tried setting up the same project on the latest LTS version Ubuntu, 16.04, unsuccessfully over the weekend.
I had planned to do this as part of getting the project ready for production anyway. With 16.04 being out for a month or so now, I figure this is a good time. However, after destroying the old vmbox and trying to bring up the new one using the base ubuntu/xenial64, I ran into vairous networking issues including setting up the hostname, as well as mounting the project folder to the default /vagrant path.
This seems to be a known issue to the vagrant team with many related tickets open in vagrant's Github page, which if you want to take a look, I'd recommend starting from here.
At the end of it all, I had to revert back to using 15.10 which isn't bad but I would like to eventually run the project on a LTS version and 14.04 is just a little too old for my liking. I'll just have to keep an eye out for a fix from Vagrant team.
Friday June 27 2014
Now have Ansible set up for NBEC.
cd project sh ansible/provision.sh

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Vagrant
I'm an Impatient Rails Developer
...okay...I'm impatient when it comes to everything. Yesterday, I told my girlfriend she needed to get home at 5:00 to make our dinner reservation. She showed up at 5:30. Obviously, I was not too happy. However, being the compassionate, understanding and forgiving boyfriend that I am, I was able to get over it quickly. When it comes to me and my development environment, I possess none of these redeeming personality traits. I can't stand waiting for anything.
Rails is so fast when I create a new project.  However, as time passes (or you inherit an already massive project), then the project slows down to the point where I notice some lag. Now, these lags may be 100% my fault (code bloat, poorly structured DB queries, etc.), but when I see the same transaction take 10x less time to complete on my production server, my eyebrows start inching up my forehead.
Eventually, I focused my frustrations to a google search and I stumbled upon this little gem:Â https://github.com/thedarkone/rails-dev-boost (if you're a nerd like me, you're really enjoying that double entrendre right about now). It sped me up by a factor of about 5x (according to my Rails log). Sweet!
I have had problems where I change my models and weird things start happening, so I have to restart my server. However, the documentation for the gem seems to cover some situations that fit that description, so it looks like it's me and it's fixable (whenever I get to it).
Sam (@samwduvall)
Other than a patch to include a commit SHA, I think this is probably one of the cooler(and better looking) solutions I've seen to this issue.