Posts

php - Captiva Wordpress theme Error -

i'm using windows 7 operating system , have installed wordpress on localhost. i'm using xampp bundle. want create commerce site in wordpress. chose captiva theme this. however, when install captiva theme, shows following error: warning: post content-length of 36013235 bytes exceeds limit of 8388608 bytes in unknown on line 0 sure want this? please try again. what mistake? how can fix issues? you need increase 1 of server's configuration option. can control these using .htaccess, so: #set max post size php_value post_max_size 50m if not use .htaccess file, can alway set in php.ini file changing line: post_max_size = "50m" unfortunatelly not posible change value ini_set

javascript - Convert php Herirachical array to view -

i have heirachical db structure. using recurisive function have stored db values in heirarchical structure array. want display array in format in view .(like tree ). there library in codeigniter supporting that. ? db pk parent name ------------------------- 1 0 animals 2 1 cat my array array ( [0] => array ( [pk] => 1 [parent] => 0 [name] => animals [childs] => array ( [0] => array ( [pk] => 2 [parent] => 1 [name] => cat ) ) )

image - how to add a new field to an array of structures in Matlab -

i have large array of structures fields a(1:10000).image , a(1:10000).size , ... i need add new field, let's a.number . need see a.image in order assign new field value a.number (an integer value). this pseudo-code of need: for k=1:10000 imshow(a(k).image) enter number keyboard assigned a(k).number load next image end i guess gui/script best. code in fast way? how input ? for k=1:10000 imshow(a(k).image) a(k).number = input('enter value'); end

sql - How to convert SSRS report to .svc file using a scheduled job? -

i in need of fetching data sql server 2012, create file (e.g. excel) , export file shared location. how achieve using ssrs? have been suggested convert ssrs report file .svc file type using job schedule. sounds bit peculiar me. suggest, please? thanks in advance. you can achieve using subscriptions (if not running sql server express). take @ this: https://msdn.microsoft.com/en-us/library/ms156307.aspx i think that's far easiest solution - few clicks , you're done ;-)

Password promt not displayed in PowerShell ISE -

Image
i have executable android sdk: keytool.exe call following: keytool.exe -list -keystore mykeystore.ks when executed in cmd, executable promts keystore password. when executed in powershell ise - nothing happens. why password promt not displayed inside powershell? looks powershell ise not support user promt (see comments). pitty, since have been tool

AngularJS: Is it possible to do post-processing of ng-bind-html without $watch? -

i have html content should output ng-bind-html directive, , after manipulations content(for example dom manipulations, jquery plugins, etc). stackoverflow provides me such solution : <div ng-app="myapp" ng-controller="myctrl"> <div ng-bind="sometext" my-directive>before</div> </div> so create custom directive higher priority , watch inside: angular.module('myapp').directive('mydirective', function() { return { priority: 10, link: function(scope,element,attrs) { scope.$watch(attrs.ngbind, function(newvalue) { console.log("element ",element.text()); }); } }; }); and demo but far i'm not going change content don't want use $watch . possible without $watch ? option 1 (avoid $watch requested): one option skip ng-bind-html , $compile or $parse html yourself. angular's ngbindhtm...

HDIO_GETGEO and HDIO_GET_IDENTITY in Linux using C++ -

can explain core difference between hdio_getgeo , hdio_get_identity . linux documentation know former getting device geometry , latter getting ide identification info . which hdio_ ioctl call should use no. of sectors , bytes per sector of hard disk in linux??