Install git:
sudo apt-get install git
Configure Git:
touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"
<?xml version="1.0" encoding="UTF-8" ?> | |
<project name="[PROJECT_NAME]" default="build" basedir="."> | |
<property environment="env"/> | |
<loadfile property="version" srcfile="${basedir}/VERSION"/> | |
<condition property="bat" value=".bat" else=""> | |
<os family="windows" /> | |
</condition> | |
<target name="test"> | |
<delete dir="${basedir}/build"/> |
Install git:
sudo apt-get install git
Configure Git:
touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"
Edit your /etc/fstab
:
sudo nano /etc/fstab
Add the following:
[NAME] [MOUNT_POINT] vboxsf rw 0 0
Where [NAME]
is the name setup in the virtual machine settings and [MOUNT_POINT]
is the path in the guest OS (Ubuntu) you want the shared folder located.
<?php | |
namespace Zenstruck\eBirdrBundle\Entity\Base; | |
use Zenstruck\eBirdrBundle\Entity\Page; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* @author Kevin Bond <[email protected]> | |
* |
#!/bin/sh | |
USER=$(whoami) | |
APACHE_USER=$(ps axho user,comm|grep -E "httpd|apache"|uniq|grep -v "root"|awk 'END {print $1}') | |
sudo chmod +a "$USER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs | |
sudo chmod +a "$APACHE_USER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs | |
echo "app/cache & app/logs been properly chmod'ed for $USER and $APACHE_USER" |
cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat - >> ~/.ssh/authorized_keys'
module.exports = function (grunt) { | |
grunt.initConfig({ | |
modernizr: { | |
devFile: "remote", | |
outputFile: "web/_static/js/modernizr.js", | |
files: ["web/js/*", "web/css/*"] | |
}, | |
jshint: { | |
options: { |
# Modified from: http://mediadoneright.com/content/ultimate-git-ps1-bash-prompt | |
################################################################################ | |
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O |
<?php | |
namespace MyApp\Menu; | |
use Knp\Menu\Factory\ExtensionInterface; | |
use Knp\Menu\ItemInterface; | |
use Symfony\Component\ExpressionLanguage\ExpressionLanguage; | |
use Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface; | |
use Symfony\Component\Security\Core\Role\RoleHierarchyInterface; | |
use Symfony\Component\Security\Core\SecurityContextInterface; |
Ensure VirtualBox and Vagrant are installed.
Install Puppet:
$ wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb
$ sudo dpkg -i puppetlabs-release-precise.deb
$ sudo apt-get update
$ sudo apt-get install puppet