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
# Requires nodejs, stdlib, apt and wget modules. | |
Exec { path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/" ] } | |
exec { 'apt-get update': | |
command => 'apt-get update', | |
timeout => 60, | |
tries => 3, | |
} |
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
git submodule add [email protected]:GianlucaCandiotti/puppet-nodejs.git vagrant-env/puppet/modules/nodejs | |
git submodule add [email protected]:GianlucaCandiotti/puppetlabs-stdlib.git vagrant-env/puppet/modules/stdlib | |
git submodule add [email protected]:GianlucaCandiotti/puppet-wget.git vagrant-env/puppet/modules/wget | |
git submodule add [email protected]:GianlucaCandiotti/puppetlabs-apt.git vagrant-env/puppet/modules/apt |
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 | |
$type = 'custom_post_type'; | |
$args = array( | |
'post_type' => $type, | |
'post_status' => 'publish', | |
'posts_per_page' => -1, | |
'ignore_sticky_posts'=> true | |
); | |
$my_query = null; | |
$my_query = new WP_Query($args); |
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
git update-index --assume-unchanged [path] |
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
git log --pretty=format:"%h - %an, %ar : %s" --max-count=5 |
NewerOlder