Hover over a google search result in chrome and you see this:
Notice the edges of the red and blue google plus icon. Appears even Google's testing isn't perfect-
Monday, December 12, 2011
Monday, June 20, 2011
Chrome developer tools - copy command
This apparently hasn't made it into the official documentation for the chrome dev tools, so here it is to not forget, to get the contents of a variable out of the console and onto your clipboard for pasting pleasure, use the copy(yourvariable) command :)
rest of the reference - http://code.google.com/chrome/devtools/docs/console.html
rest of the reference - http://code.google.com/chrome/devtools/docs/console.html
Thursday, January 06, 2011
Running Eurekastreams on windows with eclipse
- install egit, m2eclipse
- clone git repo using egit import wizard - use the url on the git site (https://github.com/lmco/eurekastreams.git) and make the clone location be in your current workspace
- modify the poms for windows before using the m2eclipse/maven project wizard - saves an extra step rebuilding the app again
- modifications necessary for windows:
- comment out the maven-checkstyle-plugin in the parent pom
- comment out the exec-maven-plugin with the chmodder execution in parent.pom and web module.
- comment out the two sections refercing the lib-java folder in web module pom
- add build.web.host value to your maven build
- import as existing maven project (with the git repo as the target directory), and make sure every module is being managed by maven
- make sure you have postgres 8.4 installed, if not, get the installer here - http://www.enterprisedb.com/products/pgdownload.do#windows
- create a db called eurekastreams, a user called eurekastreams, and make the password whatever you want, but place the password in the eurekastreams-server.properties file under eurekastreams.db.password
- run this batch file (switching in your own file paths as appropriate) on the db scripts in the generated build folder (from rocketman -https://groups.google.com/forum/?lnk=gst&q=gwt&pli=1#!searchin/eureka-streams-dev/windows/eureka-streams-dev/jjxcGb0b66o/FXr3dDO8tt4J
- REM @echo off
setlocal
set PGPASSWORD=yourpassword (eg eurekastreams)
set ES_HOME=C:\workspaces\workspace.35sr1\eurekastreams
cd %ES_HOME%\web\target\classes\db\schema
for /r . %%i in ("*.sql") do psql -U eurekastreams -f %%i
cd %ES_HOME%\web\target\classes\db\migration\0\8
for /r . %%i in ("*.sql") do psql -U eurekastreams -f %%i
cd %ES_HOME%\web\target\classes\db\migration\0\9
for /r . %%i in ("*.sql") do psql -U eurekastreams -f %%i
cd %ES_HOME%\web\target\classes\db\migration\1\0
for /r . %%i in ("*.sql") do psql -U eurekastreams -f %%i
endlocal - setting the pgpassword as an environmental variable is a bit insecure, but I don't think this will both most people setting up es for testing.
- run the app with jetty, and use one of the default browsers already in the ApplidationDev.gwt.xml file, or add/change it to include gwt compilation for your browser (aka chrome :)
- and hopefully....eureka
Subscribe to:
Posts (Atom)