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
Behind the scenes, Vagrant creates a host VM which runs the docker containers.
The "gotcha" is: Vagrant won't automatically forward ports all the way back from the container->vagrant host VM->your mac. You have to do that step manually, by configuring your own host VM for Vagrant to use for hosting docker containers with. That host VM is told what ports to open.
Here's how I set up a local Wordpress development testing container.
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
It seems that, like game, notebooks should hang. When they are too new it takes a lot of time to install Linux on them. In the Acer V5-123 the graphics card (ATI KABINI [RADEON HD8210] seems to be the problem today (nov 21, 2013). To install a working driver, the information on [[https://help.ubuntu.com/community/BinaryDriverHowto/ATI]] was helpful for me. At the end I still get messages stating "microcode: failed to load file amd-ucode/microcode_amd_fam16h.bin" in dmesg that I couldn't solve and I don't know how harmful they are.
* Procedure
1. Install ubuntu. After the installation there is no x-windows, but there are working terminals.
2. Log in.
3. Download the "catalyst" driver version 13.11 (beta version as of today)
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
Simple JS function that returns a bounding rect for an element with absolute coordinates corrected for scroll positions.
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
Boxen uses a bunch of shellscripts to insert itself into your environment on shell load.
These assume a POSIX shell, which fish is not.
Run this script to generate a fish-compatible config file in ~/.config/fish/boxen.fish, which you can source at the end of your ~/.config/fish/config.fish.
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).
Deploying a subfolder to GitHub Pages
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Step 1
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).
Enable key repeat in Apple Lion for Sublime Text in Vim mode
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