Specify Vagrantfile path explicity, if not plugin

Further to Andrew Lorente’s answer, you can also use the VAGRANT_VAGRANTFILE environment variable to specify the filename of the Vagrantfile. This has the advantage over VAGRANT_CWD of not changing the current working directory which can be useful when relying on relative paths. For example, the following will run vagrant up on Vagrantfile.other: VAGRANT_VAGRANTFILE=Vagrantfile.other vagrant up … Read more

specific config by environment in Scala

Another strategy I’m using consists of using includes. I usually store my DEV settings in the default application.conf file then I create a new conf file for other environments and include the default one. Let’s say my DEV conf application.conf looks like this: myapp { server-address = “localhost” server-port = 9000 some-other-setting = “cool !” … Read more

How does one create an enthusiastic development team? [closed]

In my opinion, the absolute, #1, most essential thing that motivates developers to be enhusiastic about their work is a sense of ownership over their product. All the team-building excercises, reading groups, etc. are good but ultimately ineffective if the developers don’t have a sense of ownership. Here’s a quick, off the cuff list of … Read more

What is the best Ruby on Rails environment for a Visual Studio user?

If you want to stick with Visual Studio, you can always use the Ruby in Steel plugin by Sapphire Steel. The best traditional IDE for Ruby is probably NetBeans, it even has a special stripped-down Ruby Edition. However, note that unlike less expressive languages like Java, C# or VB.NET, you can not only get by, … Read more

Running as a host user within a Docker container

You can share the host’s passwd file: docker run -ti -v /etc/passwd:/etc/passwd -u `id -u`:`id -g` -v `pwd`:`pwd` -w `pwd` -v pydeps:/usr/local -p 8000:8000 python:3-slim ./manage.py runserver Or, add the user to the image with useradd, using /etc as volume, in the same way you use /usr/local: docker run -v etcvol:/etc python….. useradd -u `id … Read more

How do I change my development environment to a different language in Visual Studio?

Tools → Import and Export Settings → Import Selected Environment Settings… A dialog will appear, prompting you whether or not you want to save your current settings. If you’ve made extensive customizations and might want to go back to them at a later date, you should choose to save them. Then click “Next”. You’ll be … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)