ansible-playbook -u vagrant -i provisioning/ansible_hosts provisioning/playbook.yml --private-key=~/.vagrant.d/insecure_private_key
Maven is a build automation tool for java (though it can also be used for other languages). It has the ability to pull in java libraries and maven plugins from a network repository.
All build files will go in ./target and it is a good idea to ignore that in your version control.
High-level file directory looks like this:
├── pom.xml - define project parameters here
import os
# first set your django settings (might need to append sys path for this to work)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_root.settings.local")
# then you can import models and access ORM functions
from django_root.myapp import models
models.MyTable.objects.all()
layout | title | date | comments | categories | |
---|---|---|---|---|---|
post |
Chef Recipes Expanded |
2014-05-19 18:19:18 -0400 |
true |
|
More chef notes. Watched some videos and read some documentation - and then I wrote some notes. Why? Seemed like a good thing to do at the time.
This file contains 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
#main-table { | |
// background-image: url(/userContent/jeffgoldblum.jpg) !important; | |
background-image: url(http://i.imgur.com/vPzDej0.jpg) !important; | |
} | |
#top-panel { | |
background-image: none; | |
// background-image: url(http://i.imgur.com/q0zY2hJ.jpg); | |
background-image: url(/userContent/red-bar.jpg); | |
} |
This file contains 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
Install the following: | |
* EPEL repository | |
* kmod-nvidia | |
* xorg-x11-drv-nvidia-libs.i686 | |
You'll need to disable the SELinux boolean settings "selinuxuser_execheap" in order to run certain games (like Counter-strike GO): | |
Here's temporarily: | |
```bash |
This file contains 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
--- | |
148: | |
- 4 | |
- :conn_id | |
8: | |
- :ip4_addr | |
- :ipv4_src_addr | |
7: | |
- 2 | |
- :src_port |
This file contains 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
# Ripped from this fine internet helper -- http://gorka.eguileor.com/vbox-vmware-in-secureboot-linux/ | |
# Create key | |
$ openssl req -new -x509 -newkey rsa:2048 -keyout msheiny.priv -outform DER -out msheiny.der -nodes -days 36500 -subj "/CN=msheiny/" | |
# Sign vboxdrv | |
$ sudo /usr/src/kernels/$(uname -r)/scripts/sign-file sha256 ./msheiny.priv ./msheiny.der $(modinfo -n vboxdrv) | |
# import key | |
$ sudo mokutil --import msheiny.der |
OlderNewer