:base-war $ cat readme 657 cd class/ 658 find ../../target/base-war-2.2.0.0130/WEB-INF/lib/ -name '[MGvJ]*.jar' -exec jar xfv {} \; -print 659 /Applications/jad158g.mac.intel/jad -v -o -r -d ../src *.class 660 find ../src -type d -exec perl -e 'foreach my $r (glob("{}/*.jad")) { $x=$r;$r=~ s/jad/java/;system("mv $x $r") unless(-f $r)}' \; 661 find ../src 662 find . 663 /Applications/jad158g.mac.intel/jad -v -o -r -d ../src **/*.class 664 find . 114 find ../../target/base-war-2.2.0.0130/WEB-INF/lib/ -name 'ms*.jar' -exec jar xfv {} \; -print 127 /Applications/jad158g.mac.intel/jad -o -r -s .java -d ~/workspace-3.7/zzzz/src/ system/_*.class
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.
Wednesday, January 15, 2014
JAD on Mac OSX
Monday, January 13, 2014
Friday, January 10, 2014
ExtJs: more vtypes for validation .... vtype on a roll..
Ext.form.VTypes["hostnameVal1"] = /^[a-zA-Z][-.a-zA-Z0-9]{0,254}$/; Ext.form.VTypes["hostnameVal2"] = /^[a-zA-Z]([-a-zA-Z0-9]{0,61}[a-zA-Z0-9]){0,1}([.][a-zA-Z]([-a-zA-Z0-9]{0,61}[a-zA-Z0-9]){0,1}){0,}$/; Ext.form.VTypes["ipVal"] = /^([1-9][0-9]{0,1}|1[013-9][0-9]|12[0-689]|2[01][0-9]|22[0-3])([.]([1-9]{0,1}[0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])){2}[.]([1-9][0-9]{0,1}|1[0-9]{2}|2[0-4][0-9]|25[0-4])$/; Ext.form.VTypes["netmaskVal"] = /^(128|192|224|24[08]|25[245].0.0.0)|(255.(0|128|192|224|24[08]|25[245]).0.0)|(255.255.(0|128|192|224|24[08]|25[245]).0)|(255.255.255.(0|128|192|224|24[08]|252))$/; Ext.form.VTypes["portVal"] = /^(0|[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/; Ext.form.VTypes["multicastVal"] = /^((22[5-9]|23[0-9])([.](0|[1-9][0-9]{0,1}|1[0-9]{2}|2[0-4][0-9]|25[0-5])){3})|(224[.]([1-9][0-9]{0,1}|1[0-9]{2}|2[0-4][0-9]|25[0-5])([.](0|[1-9][0-9]{0,1}|1[0-9]{2}|2[0-4][0-9]|25[0-5])){2})|(224[.]0[.]([1-9][0-9]{0,1}|1[0-9]{2}|2[0-4][0-9]|25[0-5])([.](0|[1-9][0-9]{0,1}|1[0-9]{2}|2[0-4][0-9]|25[0-5])))$/; Ext.form.VTypes["usernameVal"] = /^[a-zA-Z][-_.a-zA-Z0-9]{0,30}$/; Ext.form.VTypes["passwordVal1"] = /^.{6,31}$/; Ext.form.VTypes["passwordVal2"] = /[^a-zA-Z].*[^a-zA-Z]/; Ext.form.VTypes["hostname"]=function(v){ if(!Ext.form.VTypes["hostnameVal1"].test(v)){ Ext.form.VTypes["hostnameText"]="Must begin with a letter and not exceed 255 characters" return false; } Ext.form.VTypes["hostnameText"]="L[.L][.L][.L][...] where L begins with a letter, ends with a letter or number, and does not exceed 63 characters"; return Ext.form.VTypes["hostnameVal2"].test(v); } Ext.form.VTypes["hostnameText"]="Invalid Hostname" Ext.form.VTypes["hostnameMask"]=/[-.a-zA-Z0-9]/; Ext.form.VTypes["ip"]=function(v){ return Ext.form.VTypes["ipVal"].test(v); } Ext.form.VTypes["ipText"]="1.0.0.1 - 223.255.255.254 excluding 127.x.x.x" Ext.form.VTypes["ipMask"]=/[.0-9]/; Ext.form.VTypes["netmask"]=function(v){ return Ext.form.VTypes["netmaskVal"].test(v); } Ext.form.VTypes["netmaskText"]="128.0.0.0 - 255.255.255.252" Ext.form.VTypes["netmaskMask"]=/[.0-9]/; Ext.form.VTypes["port"]=function(v){ return Ext.form.VTypes["portVal"].test(v); } Ext.form.VTypes["portText"]="0 - 65535" Ext.form.VTypes["portMask"]=/[0-9]/; Ext.form.VTypes["multicast"]=function(v){ return Ext.form.VTypes["multicastVal"].test(v); } Ext.form.VTypes["multicastText"]="224.0.1.0 - 239.255.255.255" Ext.form.VTypes["multicastMask"]=/[.0-9]/; Ext.form.VTypes["username"]=function(v){ return Ext.form.VTypes["usernameVal"].test(v); } Ext.form.VTypes["usernameText"]="Username must begin with a letter and cannot exceed 255 characters" Ext.form.VTypes["usernameMask"]=/[-_.a-zA-Z0-9]/; Ext.form.VTypes["password"]=function(v){ if(!Ext.form.VTypes["passwordVal1"].test(v)){ Ext.form.VTypes["passwordText"]="Password length must be 6 to 31 characters long"; return false; } Ext.form.VTypes["passwordText"]="Password must include atleast 2 numbers or symbols"; return Ext.form.VTypes["passwordVal2"].test(v); } Ext.form.VTypes["passwordText"]="Invalid Password" Ext.form.VTypes["passwordMask"]=/./;
Monday, January 6, 2014
perl: Data::Dumper dyld: lazy symbol binding failed: Symbol not found: _isWORDCHAR Referenced from: /perl5/Library/Perl/Updates/5.12.3/darwin-thread-multi-2level/auto/Data/Dumper/Dumper.bundle Expected in: flat namespace dyld: Symbol not found: _isWORDCHAR
When installing Data::Dumper package 2.143 on MacOSX with perl 5.12.3 as runtime I received test results that were bad on the Dumper.xs tests. SO I forced the installation.... bad idea... got these errors on some of the Dumper calls when debugging DBIx result sets.
dyld: Symbol not found: _isWORDCHAR Referenced from: /Users/me/perl5/Library/Perl/Updates/5.12.3/darwin-thread-multi-2level/auto/Data/Dumper/Dumper.bundle Expected in: flat namespaceSolution: manually get out there on CPAN and get 2.145
$ cd .cpan/build $ wget http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/Data-Dumper-2.145.tar.gz $ tar pfvx Data-Dumper-2.145.tar.gz $ cd Data-Dumper-2.145 $ perl Makefile.PL $ make && make test && make installAnd it starts working ... here context of my Dumper calls that failed.... hope this helps anyone!
Can't set DBI::db=HASH(0x7f819f7c4108)->{HASH(0x7f819d3eab58)}: unrecognised attribute name or invalid value at /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/DBI.pm line 720. Can't get DBI::db=HASH(0x7f819f7c4108)->{HASH(0x7f819d3eab58)}: unrecognised attribute name at /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/DBI.pm line 720. SELECT me.server_os_type_map_seq, me.created_by_nm, me.created_dt, me.updated_by_nm, me.updated_dt, me.server_type_seq, me.os_version_seq FROM ( SELECT me.server_os_type_map_seq, me.created_by_nm, me.created_dt, me.updated_by_nm, me.updated_dt, me.server_type_seq, me.os_version_seq FROM PMI_SCHEMA.SERVER_OS_TYPE_MAP me ) me WHERE ROWNUM <= ? : '100' SELECT me.os_version_seq, me.created_by_nm, me.created_dt, me.updated_by_nm, me.updated_dt, me.os_version_desc FROM PMI_SCHEMA.OS_VERSION me WHERE ( me.os_version_seq = ? ) : '32' dyld: lazy symbol binding failed: Symbol not found: _isWORDCHAR Referenced from: /Users/me/perl5/Library/Perl/Updates/5.12.3/darwin-thread-multi-2level/auto/Data/Dumper/Dumper.bundle Expected in: flat namespace dyld: Symbol not found: _isWORDCHAR Referenced from: /Users/me/perl5/Library/Perl/Updates/5.12.3/darwin-thread-multi-2level/auto/Data/Dumper/Dumper.bundle Expected in: flat namespace
Subscribe to:
Posts (Atom)