- ImageMagick (convert) - http://www.imagemagick.org/script/binary-releases.php
- pdfimages - http://en.wikipedia.org/wiki/Pdfimages
570 pdfimages ../../20120101.pdf 20120101 571 convert *.ppm -fuzz 7% -trim ../20120101-%d.jpg
Rants and ravings of a semi-autistic developer who has a hard time remembering idiotic nonsense details. Why remember it, when you know where to find it.
570 pdfimages ../../20120101.pdf 20120101 571 convert *.ppm -fuzz 7% -trim ../20120101-%d.jpg
Create mbean Properties with name user INFO: Saving domain Problem invoking WLST - Traceback (innermost last): File "/installables/met10.3/met/wdm/1_02/bin/configure_domain_9.py", line 81, in ? File "Try wrapping your work in a session like this....", line 405, in save File " ", line 1744, in raiseWLSTException WLSTException: Error occured while performing save : Cannot call Edit functions when you are not in the Edit tree.
edit() startEdit(-1,-1,'false') .. ... .. save() activate()
<?php
# load the wp system
require ('wp-config.php');
# create the original request from the client
$url = 'http://'.$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
# extract the post id
$page_id = url_to_postid($url);
echo '';
# fetch post and echo it to the outputstream.
$page_data = get_post($page_id);
echo $page_data->post_content;
?>
NOTE: make sure this new file content.php has permissions 744 chmodded otherwise it won't execute
So now you can do the following:
jdbc:oracle:thin:@ldap://oidprd.gss.mycompany.com:389/fxgdev65,cn=OracleContext,dc=mycompany,dc=comAt the boot of the weblogic server it sends a warning that the targeted jdbc pool cannot create a connection...
How to get the TNS name? Ever heard of curl.... thats the way to go (of course you would need openldap libraries loaded... which on my Mac OSX is the case)
$ curl -0 ldap://oidprd.gss.mycompany.com:389/cn=fxgdev65,cn=OracleContext,dc=mycompany,dc=com DN: cn=fxgdev65,cn=OracleContext,dc=mycompany,dc=com objectclass: orclNetService objectclass: top orclnetdescstring: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=fxgdev65.mycompany.com)(PORT=1527)))(CONNECT_DATA=(SERVICE_NAME=FXGDEV65.MYCOMPANY.COM)(SRVR=DEDICATED))) cn: fxgdev65NOTE: you cannot just use the URI definition of the JDBC url, you need to add the cn= before the service you want to lookup So there you go ... now lets put that after the 'at' sign...
jdbc:oracle:thin://(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=fxgdev65.mycom.com)(PORT=1527)))(CONNECT_DATA=(SERVICE_NAME=FXGDEV65.MYCOMPANY.COM)(SRVR=DEDICATED)))
-Dweblogic.system.RemoveBootIdentity=true -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic -Dweblogic.system.StoreBootIdentity=false
$ java -cp /opt/weblogic/wl10.3.2/wlserver_10.3/server/lib/weblogic.jar -Dweblogic.RootDirectory=/opt/my/domain/here -Dweblogic.management.allowPasswordEcho=true weblogic.security.Encrypt Password: MY_PASSWORD
}, {
'xtype' : 'citycombo',
'name' : 'city',
'fieldLabel' : 'city',
listeners : {
"select" : function(k, rs) {
console.log("%o %o", k, rs);
if (rs.length) {
me.getComponent('iState').setValue(rs[0].get('state'));
}
}
},
}, {
'xtype' : 'textfield',
'id' : 'iState',
'name' : 'state',
'fieldLabel' : 'state',
},
}, {
xtype : 'checkbox',
boxLabel : 'Incl. Archive',
handler : function(_old, _new) {
var filter = {};
var _store_ = Ext.getStore('GridStore');
// release any loaded record bound to form.
if (!_new) {
filter = { property : 'my_field', value : { '!=' : 'ARC'}};
_store_.filter(filter);
}
else {
_store_.clearFilter();
}
}
TypeError: record is undefined
createRelayer()ext-all-debug.js (line 11282)
fire()ext-all-debug.js (line 9677)
continueFireEvent(eventName="selectionchange", args=[Object { events={...}, views=[1], modes={...}, more...}, []], bubbles=undefined)ext-all-debug.js (line 11035)
fireEventArgs(eventName="selectionchange", args=[Object { events={...}, views=[1], modes={...}, more...}, []])ext-all-debug.js (line 11013)
fireEvent(eventName="selectionchange")ext-all-debug.js (line 10999)
maybeFireSelectionChange(fireEvent=true)ext-all-debug.js (line 92334)
doDeselect(records=[Object { raw={...}, modified={...}, data={...}, more...}], suppressEvent=undefined)ext-all-debug.js (line 92269)
deselect(records=Object { raw={...}, modified={...}, data={...}, more...}, suppressEvent=undefined)ext-all-debug.js (line 92155)
handler(_old=Object { xtype="checkbox", boxLabel="Incl. Archive", initialConfig={...}, more...},
The reason is that the form will "hold" the record that was selected in the grid. To solve this we need to
deselect the record, but that's not all. We also need to prevent the 'selectionchange' event from occurring, hence suspending the events on the selection model would also need to be applied.
The new handler code for the checkbox is:
handler : function(_old, _new) {
var filter = {};
var _store_ = Ext.getStore('TerritoryAddressStore');
// release any loaded record bound to form.
grid.getSelectionModel().suspendEvents();
grid.getSelectionModel().deselect(form.getRecord());
if (!_new) {
filter = { property : 'my_field', value : { '!=' : 'ARC'}};
_store_.filter(filter);
}
else {
_store_.clearFilter();
}
grid.getSelectionModel().resumeEvents();
}