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
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit | |
colors="false" | |
convertErrorsToExceptions="true" | |
convertNoticesToExceptions="true" | |
convertWarningsToExceptions="true" | |
stopOnFailure="true"> | |
<filter> | |
<blacklist> |
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
# will generate all necessary getters and setters | |
sf doctrine:generate:entities AppBundle/Entity/Product # sf is the alias for bin/console | |
# executes the SQL statements needed to update the database schema to where it should be. It should not be used in a production environment. | |
sf doctrine:schema:update --force | |
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
set -g default-terminal "screen-256color" | |
# change prefix command to C-z | |
set -g prefix C-z | |
unbind C-b | |
bind C-z last-window | |
bind z send-prefix | |
# setup | and - for window splitting | |
unbind % | |
bind | split-window -h |
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
// Meta | |
get_post_custom() // Retrieve post meta fields, based on post ID. | |
// Page | |
get_queried_object() // get current page object | |
get_queried_object_id() // get current page ID | |
wp_title() // Display or retrieve page title for all areas of blog. | |
// Post | |
get_the_post_thumbnail() |
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
// example of JS buffer via closure | |
function makeBuffer() { | |
var value = ''; | |
function buffer ( plus ) { | |
if (typeof plus !== 'undefined') { | |
plus = plus.toString(); | |
value += plus; |
NewerOlder