git log --oneline --no-merges --pretty=format:'- %h %s (%an)' $(git describe --tags --abbrev=0)..HEAD
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
{% block button_widget -%} | |
{% if label is empty -%} | |
{% set label = name|humanize %} | |
{%- endif -%} | |
<button type="{{ type|default('button') }}" {{ block('button_attributes') }}>{{ label|trans({}, translation_domain)|raw }}</button> | |
{%- endblock button_widget %} |
I hereby claim:
- I am kbond on github.
- I am kbond (https://keybase.io/kbond) on keybase.
- I have a public key whose fingerprint is FD6F A42A 366D 5A5B 3CDD 2428 355D A0B5 7B1E 32E2
To claim this, I am signing this object:
-
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
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
<?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; |
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
# 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 |
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
module.exports = function (grunt) { | |
grunt.initConfig({ | |
modernizr: { | |
devFile: "remote", | |
outputFile: "web/_static/js/modernizr.js", | |
files: ["web/js/*", "web/css/*"] | |
}, | |
jshint: { | |
options: { |
cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat - >> ~/.ssh/authorized_keys'
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
#!/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" |
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
<?php | |
namespace Zenstruck\eBirdrBundle\Entity\Base; | |
use Zenstruck\eBirdrBundle\Entity\Page; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* @author Kevin Bond <[email protected]> | |
* |