What are we trying to observe? Raw object data.
// Objects
var obj = { id: 2 };
obj.id = 3; // obj == { id: 3 }
// Arrays
var arr = ['foo', 'bar'];
arr.splice(1, 1, 'baz'); // arr == ['foo', 'baz'];
What are we trying to observe? Raw object data.
// Objects
var obj = { id: 2 };
obj.id = 3; // obj == { id: 3 }
// Arrays
var arr = ['foo', 'bar'];
arr.splice(1, 1, 'baz'); // arr == ['foo', 'baz'];
| postgres: postgres -D /usr/local/var/postgres/ | |
| api: pserve Config/cl/conf/localhost.ini#api --reload | |
| internalapi: pserve Config/cl/conf/localhost.ini#internalapi --reload | |
| webhook: pserve Config/cl/conf/localhost.ini#webhook --reload | |
| rabbit: rabbitmq-server | |
| redis: redis-server /usr/local/etc/redis.conf | |
| flower: flower --broker=amqp://guest:guest@localhost:5672// | |
| celery1: celery worker -A cl.vendor.celery_setup.app -c 4 -n 'celery worker' -l info | |
| celery2: celery worker -A cl.vendor.scheduler.scheduler_app -c 1 -l info -n scheduler -Q scheduled_jobs |
| <?php | |
| // Initialize the Class and add the action | |
| add_action('init', 'pTypesInit'); | |
| function pTypesInit() { | |
| global $products; | |
| $products = new TypeProducts(); | |
| } | |
| /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |
| /* * * * * * * * * Best Products Post Type Class * * * * * * * * * * * * * */ |
| function MyScript(){} | |
| (function() { | |
| var THIS = this; | |
| function defined(x) { | |
| return typeof x != 'undefined'; | |
| } | |
| this.ready = false; | |
| this.init = function() { | |
| this.ready = true; | |
| }; |
| add_action('restrict_manage_posts','restrict_manage_movie_sort_by_genre'); | |
| function restrict_manage_movie_sort_by_genre() { | |
| if (isset($_GET['post_type'])) { | |
| $post_type = $_GET['post_type']; | |
| if (post_type_exists($post_type) && $post_type=='movie') { | |
| global $wpdb; | |
| $sql=<<<SQL | |
| SELECT pm.meta_key FROM {$wpdb->postmeta} pm | |
| INNER JOIN {$wpdb->posts} p ON p.ID=pm.post_id | |
| WHERE p.post_type='movie' AND pm.meta_key='Genre' |
| function additional_info() { | |
| global $post; | |
| $custom = get_post_custom($post->ID); | |
| $additional_info = $custom["additional_info"][0]; | |
| // this adds an extra tinymce field | |
| ?> | |
| <script type="text/javascript"> | |
| jQuery(document).ready(function() { | |
| jQuery("#additional_info_textarea").addClass("mceEditor"); |
| n2wp = {} | |
| n2wp.timezone = function() { | |
| var timezone = (new Date().getTimezoneOffset() / 60) * (-1); | |
| return timezone; | |
| } | |
| n2wp.loading = function() { | |
| return ' | |
| <div class="loading"><span>Loading...</span></div> | |
| '; |
| <doCTyPe html> | |
| <head> | |
| <title>VG Events: Ask the Staffs</title> | |
| </head> | |
| <body> | |
| <?php | |
| /* Turtles */ |
| <?php | |
| /** | |
| * @constructor overloading using the __call() function | |
| * | |
| */ | |
| class Player { | |
| private $name; | |
| private $surname; | |
| private $country; |