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
# need entire service flow state machine | |
Service state machine Level 1 - New Fitting | |
############### | |
# from any state | |
service_stop -> Ended without success | |
Service New* | |
update_data -> Data | |
update_survey -> Anamnese |
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
# ----------------------------------------------------------------- | |
# .gitignore for WordPress | |
# Bare Minimum Git | |
# http://ironco.de/bare-minimum-git/ | |
# ver 20150227 | |
# | |
# This file is tailored for a WordPress project | |
# using the default directory structure | |
# | |
# This file specifies intentionally untracked files to ignore |
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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
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
watch('.*\.php') { |m| code_changed(m[0]) } | |
def code_changed(file) | |
run "phpunit" | |
end | |
def run(cmd) | |
result = `#{cmd}` | |
growl result rescue nil | |
end |
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
add_action( 'cmb2_render_text_only', 'sch_cmb_render_text_only', 10, 5 ); | |
function sch_cmb_render_text_only( $field_object, $escaped_value, $object_id, $object_type, $field_type_object ) { | |
echo $escaped_value; //unescaped value: echo $field_object->value; | |
} |
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
'todo.txt','searchreplacedb2.php','Gruntfile.js', '.git/','.sass-cache/', 'tmp/*', 'backups/', '*.zip', 'wp-config.php', 'composer.json', 'composer.lock', 'README.md', 'searchreplacedb2.php', '.gitignore', '.idea/', 'package.json', 'node_modules', 'robots.txt', 'wp-content/uploads/snapshots/','.htaccess', 'tweet-old-post/', 'wp-to-buffer/' |
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
#!/bin/bash | |
mysql -u root -proot -e "CREATE DATABASE wp_test_setup;" | |
mysql -u root -proot -e "CREATE USER 'mywpuser'@'localhost' IDENTIFIED BY 'H3S7g7vkzQwGvk';" | |
mysql -u root -proot -e "GRANT ALL PRIVILEGES ON wp_test_setup.* TO 'mywpuser'@'localhost';" | |
mysql -u root -proot -e "FLUSH PRIVILEGES;" | |
wp core download | |
wp core config --dbname=wp_test_setup --dbuser=mywpuser --dbpass=H3S7g7vkzQwGvk --dbhost=localhost | |
wp core install --url=localhost:8888/wp-test --title="Just another test site" --admin_name=admin [email protected] --admin_password=12345 |
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
/** | |
* custom log in current directory | |
* @author schurpf | |
* @url http://schurpf.com | |
* @version 0.0 | |
* @date 2014-10-28 | |
* @dependency WP, needs plugin_dir_path | |
* @param string $log log message | |
* @param string $file filename | |
* @return bool return true on success |
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
/** | |
* echo barley field with wrapper, use instead of the_field | |
* @author schurpf | |
* @url http://schurpf.com | |
* @version 0.1 | |
* @date 2014-10-09 | |
* @dependency barley, the_field_without_wpautop | |
* @param string $field_name your normal ACF field name | |
* @param boolean $noautop whether to omit wrapping p tags, needs the_field_without_wpautop | |
* @return none echos out content |
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
/** | |
* ACF without paragraphs | |
* @author schurpf | |
* @url http://schurpf.com | |
* @version 0.0 | |
* @date 2014-10-09 | |
* @dependency [none] | |
* @param string $field_name your normal ACF field name | |
* @return none echos field without wrapping p tags | |
* @source http://support.advancedcustomfields.com/forums/topic/removing-paragraph-tags-from-wysiwyg-fields/ |
NewerOlder