{"id":27797,"date":"2017-07-26T09:30:35","date_gmt":"2017-07-26T07:30:35","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=27797"},"modified":"2017-07-26T09:32:09","modified_gmt":"2017-07-26T07:32:09","slug":"default-value","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2017\/07\/26\/default-value\/","title":{"rendered":"Default Value"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/07\/default-value.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"27798\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2017\/07\/26\/default-value\/default-value\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/07\/default-value.png?fit=451%2C229&amp;ssl=1\" data-orig-size=\"451,229\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"default value\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/07\/default-value.png?fit=451%2C229&amp;ssl=1\" class=\"aligncenter size-full wp-image-27798\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/07\/default-value.png?resize=451%2C229&#038;ssl=1\" alt=\"\" width=\"451\" height=\"229\" \/><\/a>I&#8217;ve been called many a name in my days. \u00a0But &#8216;Default Value&#8217; is the first one for me. \u00a0I&#8217;m not sure if that&#8217;s a good thing, or not so much.<\/p>\n<p>As sent by the otherwise awesome people at <a href=\"https:\/\/www.elastix.org\/\">Elastix<\/a>. :)<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>I&#8217;ve been called many a name in my days. \u00a0But &#8216;Default Value&#8217; is the first one for me. \u00a0I&#8217;m not sure if that&#8217;s a good thing, or not so much. As sent by the otherwise awesome people at Elastix. :)<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Default Value #marketing #email #CRM #humor","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,62],"tags":[1539,3363,72,2418,1290],"keyring_services":[],"class_list":["post-27797","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-technology","tag-crm","tag-elastix","tag-email","tag-humor","tag-marketing"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":12480,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/04\/21\/unit-tests-with-cakephp\/","url_meta":{"origin":27797,"position":0},"title":"Unit tests with CakePHP","author":"Leonid Mamchenkov","date":"April 21, 2010","format":false,"excerpt":"I've spent a large part of yesterday setting up the testing environment for a CakePHP project.\u00a0 As always, every time I do something that I have done before, I wanted to do it better, using all the experienced that was acquired previously.\u00a0 And this often leads to the discovery of\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28355,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/01\/31\/automapper-declarative-data-mapper-for-php-7\/","url_meta":{"origin":27797,"position":1},"title":"AutoMapper &#8211; Declarative data mapper for PHP 7","author":"Leonid Mamchenkov","date":"January 31, 2018","format":false,"excerpt":"AutoMapper can map data from array\/object to existing array\/object or marshal a new one. Mapping rules specified in declarative way using three simple definitions: From\u00a0definition (From::create\u00a0or via short function\u00a0from) \u2014 maps single field from source to target. Supports chainable functions: ->convert(callable $callable)\u00a0\u2014 converts input value to another one via any\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11609,"url":"https:\/\/mamchenkov.net\/wordpress\/2009\/06\/25\/wordpress-dynamic-sidebars-take-it-easy-with-widget-control\/","url_meta":{"origin":27797,"position":2},"title":"WordPress dynamic sidebars : take it easy with widget control","author":"Leonid Mamchenkov","date":"June 25, 2009","format":false,"excerpt":"One of the coolest things about WordPress is a dynamic sidebar. Dynamic sidebar is a special are defined by a WordPress theme, where widgets (blogroll links, recent comments, related posts, etc.) can go.\u00a0 The beauty of it is how simple it is for the theme author to define and style\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9003,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/05\/25\/fixing-wordpress-escaping\/","url_meta":{"origin":27797,"position":3},"title":"Fixing WordPress escaping","author":"Leonid Mamchenkov","date":"May 25, 2005","format":false,"excerpt":"Most of my posts about WordPress were positive. Today I'll mention one of the annoying features it has by default and how to fix it. Escaping. By default, all text in the <pre>...<\/pre> block is passed through escaping subroutine. Most noticeble change happened to double quotes (\"). They were escaped\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26923,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/11\/21\/shell-parameter-expansion-default-values-for-shell-script-parameters\/","url_meta":{"origin":27797,"position":4},"title":"Shell parameter expansion : default values for shell script parameters","author":"Leonid Mamchenkov","date":"November 21, 2016","format":false,"excerpt":"When writing shell scripts, it's often useful to accept some command line parameters. \u00a0It's even more useful to have some defaults for those parameters. \u00a0Until now I've been using if statements to check if the parameter was empty, and if it was, to set it to the default value. \u00a0Something\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16606,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/08\/03\/fedora-18-features\/","url_meta":{"origin":27797,"position":5},"title":"Fedora 18 features","author":"Leonid Mamchenkov","date":"August 3, 2012","format":false,"excerpt":"Fedora Engineering Steering Committee has recently had a meeting where the upcoming Fedora 18 features were decided. \u00a0Out of the whole list, I am actually really looking forward to just one - 256 color terminals: Many terminal programs (like\u00a0vim\u00a0and\u00a0ls\u00a0for example) can take advantage of 256 color terminals, and all xterms\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/27797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=27797"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/27797\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=27797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=27797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=27797"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=27797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}