notetodogself.blogspot.com
Note to self: JdkDynamicAopProxy ClassCastException
http://notetodogself.blogspot.com/2009/12/jdkdynamicaopproxy-classcastexception.html
Code, cooking, catman. Wednesday, December 16, 2009. I am suddenly getting an error after some spring config was changed:. Javalang.ClassCastException: $Proxy47 cannot be cast to com.mycompany.MyConcreteClass. The code looks like this:. MyConcreteClass myClass = (MyConcreteClass) model.get("myClass");. I should add that MyConcreteClass was autoWired with spring elsewhere, and this setup used to work until something was changed in spring config. MyInterface myClass = (MyInterface) model.get("myClass");.
notetodogself.blogspot.com
Note to self: lg cdma usb modem driver
http://notetodogself.blogspot.com/2011/03/lg-cdma-usb-modem-driver.html
Code, cooking, catman. Sunday, March 13, 2011. Lg cdma usb modem driver. The lg mobile phone driver is hard to find. i am using it to make bitpim work with my phone. It will work with all LG VX-something phones and also is sometimes called this:. Prolific USB-to-Serial Comm Port Driver. LGE CDMA Composite USB Device Driver. LGE CDMA USB Modem Driver. LGE CDMA USB Modem Diagnostic Serial Port Driver. LGE CDMA USB Modem (VCOMM) Driver. LGE CDMA USB Modem Diagnostic Serial Port (VCOMM) Driver. Allowed me to...
notetodogself.blogspot.com
Note to self: manually set id of grails domain object
http://notetodogself.blogspot.com/2011/03/manually-set-id-of-grails-domain-object.html
Code, cooking, catman. Thursday, March 24, 2011. Manually set id of grails domain object. If you create a new domain object and set its id in the constructor like this:. Cat catman = new Cat(id:1000, name: "catman", kind: "domestic short haired"). Later, if you look at the object the id will be null. what gives? Its madness, but it works to assign the id after the object is made. Just add. And you are in business. Thats just poor coding on their part. Actually, no id is set after. Are you an artist?
notetodogself.blogspot.com
Note to self: Linode: how to install mod_jk, tomcat behind apache
http://notetodogself.blogspot.com/2011/02/linode-how-to-install-modjk-tomcat.html
Code, cooking, catman. Thursday, February 03, 2011. Linode: how to install mod jk, tomcat behind apache. This "tutorial" is for Ubuntu 10.04 LTS (Lucid). This is how you would set up Tomcat6 behind Apache2 via mod jk. I am assuming that you have apache2 installed. And tomcat6 installed. I also assume you have deployed and can find your tomcat app possibly on port 8080 of your linode. Create workers.properties in /etc/apache2/. And add the following into it:. And add this to the end:. Restart apache: /etc...
notetodogself.blogspot.com
Note to self: vertically center content in bootstrap
http://notetodogself.blogspot.com/2012/09/vertically-center-content-in-bootstrap.html
Code, cooking, catman. Tuesday, September 25, 2012. Vertically center content in bootstrap. This is how you vertically center stuff in bootstrap:. This doesnt work in IE8 or less. Is the #main-container class supposed to be subordinate to the container class? I didnt know that was legal syntax. Subscribe to: Post Comments (Atom). Are you an artist? Get a free online portfolio. On a site I made with nodejs. Music that i like. Note to self books. Vertically center content in bootstrap.
notetodogself.blogspot.com
Note to self: mysql function example
http://notetodogself.blogspot.com/2011/09/mysql-function-example.html
Code, cooking, catman. Thursday, September 29, 2011. Create function mytest () returns char(50) deterministic. Declare c int;. Select count(*) into c from table;. Finally a mysql function example I could cut and paste without error and consiquentially having my delimeter go screwy. NB: your table table needs to exist in the database or the above will happen to you. Subscribe to: Post Comments (Atom). Are you an artist? Get a free online portfolio. On a site I made with nodejs. Music that i like.
notetodogself.blogspot.com
Note to self: rasbian default ssh root password
http://notetodogself.blogspot.com/2014/08/rasbian-default-ssh-root-password.html
Code, cooking, catman. Saturday, August 16, 2014. Rasbian default ssh root password. This shouldnt be so hard to find. I had a hell of a time trying to find the root password for rasbian on my raspberry pi. There are a lot of places that claim that the username is "pi" but this is not true. use root. Once you ssh in, change it using the passwd. Command. to ssh in, find the thing's IP and type ssh root@THE IP. Subscribe to: Post Comments (Atom). Are you an artist? Get a free online portfolio.
notetodogself.blogspot.com
Note to self: tail a *nix command in your browser
http://notetodogself.blogspot.com/2014/11/tail-nix-command-in-your-browser.html
Code, cooking, catman. Tuesday, November 18, 2014. Tail a *nix command in your browser. If you have bash or zsh:. Cat -u ( echo $'HTTP/1.0 200 OK nContent-type:text/plain n n' ) - nc -l 8080. Echo $'HTTP/1.0 200 OK nContent-type:text/plain n n' header.txt. Cat -u header.txt - nc -l 8088. Enjoy the output on http:/ localhost:8080. Subscribe to: Post Comments (Atom). Are you an artist? Get a free online portfolio. On a site I made with nodejs. Music that i like. Note to self books.
notetodogself.blogspot.com
Note to self: Multiple domains with tomcat behind apache
http://notetodogself.blogspot.com/2011/02/multiple-domains-with-tomcat-behind.html
Code, cooking, catman. Sunday, February 06, 2011. Multiple domains with tomcat behind apache. This is how you would host multiple domains/webapps on a single tomcat behind apache via mod-jk. First setup tomcat behind apache. I am setting up a new domain called dogself.com:. Add this under last host:. Host name="dogself.com" appBase="webapps-dogself" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false" alias www.dogself.com alias /Host. And also add another connector port:.
SOCIAL ENGAGEMENT