Some useful tutorials from ScottGu´s blogg
http://weblogs.asp.net/scottgu/pages/silverlight-2-end-to-end-tutorial-building-a-digg-search-client.aspx
tisdag 31 juli 2012
fredag 27 juli 2012
Google Maps in local machine (i.e. localhost or 127.0.0.1)
This seems to give a clue on how to run Google Maps on a local machine
http://stackoverflow.com/a/9321914
https://developers.google.com/maps/documentation/javascript/tutorial
https://developers.google.com/maps/documentation/javascript/events
https://developers.google.com/maps/documentation/javascript/reference#LatLng
https://developers.google.com/maps/documentation/javascript/overlays#AddingOverlays
Add infowindow to marker
http://jsfiddle.net/RaFH5/
Center on markers
http://stackoverflow.com/a/8131507
http://stackoverflow.com/a/9321914
https://developers.google.com/maps/documentation/javascript/tutorial
https://developers.google.com/maps/documentation/javascript/events
https://developers.google.com/maps/documentation/javascript/reference#LatLng
https://developers.google.com/maps/documentation/javascript/overlays#AddingOverlays
Add infowindow to marker
http://jsfiddle.net/RaFH5/
Center on markers
http://stackoverflow.com/a/8131507
söndag 22 juli 2012
Go from MD5 to Bcrypt
A possible way to switch to Bcrypt password hashing, thus leaving the MD5 hashing technique.
http://stackoverflow.com/a/10775785
http://stackoverflow.com/a/10775785
lördag 21 juli 2012
Add data to table at initialisation-time
How to properly add data to tables at initiliasation-time
http://www.playframework.org/documentation/1.1/yaml
https://groups.google.com/forum/?fromgroups#!topic/play-framework/v6IGAAy0aOk
http://www.playframework.org/documentation/1.1/yaml
https://groups.google.com/forum/?fromgroups#!topic/play-framework/v6IGAAy0aOk
fredag 20 juli 2012
Postgis in Play Framework
Possible solution for geometry column in play framework JPA
https://groups.google.com/forum/?fromgroups#!topic/play-framework/f-vp8JgJda0
[...]
import com.vividsolutions.jts.geom.
Point;
[...]
@Column(name = "the_geom", columnDefinition = "GEOMETRY")
@Type(type = "org.hibernatespatial. GeometryUserType")
public Point theGeom;
[...]
https://groups.google.com/forum/?fromgroups#!topic/play-framework/f-vp8JgJda0
[...]
import com.vividsolutions.jts.geom.
[...]
@Column(name = "the_geom", columnDefinition = "GEOMETRY")
@Type(type = "org.hibernatespatial.
public Point theGeom;
[...]
onsdag 18 juli 2012
Google login for my web app
How to enable login to web-site using google login
http://support.google.com/a/bin/answer.py?hl=en&answer=162105
http://support.google.com/a/bin/answer.py?hl=en&answer=162105
Twitter login, creating consumerKey and consumerSecret
Link from stackoverflow to twitters dev site for creating app to obtain consumerKey and consumerSecret, for logging in via your own website.
http://stackoverflow.com/a/6875024/517457
http://stackoverflow.com/a/6875024/517457
Etiketter:
play framework 1.2.x,
twitter,
twitterlogin
Facebook ID and ApiKEY
måndag 16 juli 2012
Facebook login Play Framework
fredag 13 juli 2012
Tips on creating login forms
http://crafted-software.blogspot.se/2011/05/tips-on-creating-login-forms.html
and...
http://uxdesign.smashingmagazine.com/2011/05/05/innovative-techniques-to-simplify-signups-and-logins/
and...
http://uxdesign.smashingmagazine.com/2011/05/05/innovative-techniques-to-simplify-signups-and-logins/
SecureSocial module in PlayFramework 1.2.x, FIX!
A temporary fix to make securesocial module work when running PlayFramework application from inside Eclipse.
add "**/play.plugins" to the Exclusion patterns at the Source preferences of the project's build path settings ([your module here] section)
https://play.lighthouseapp.com/projects/57987-play-framework/tickets/1413-eclipsify-should-set-up-playplugins-exclusion
add "**/play.plugins" to the Exclusion patterns at the Source preferences of the project's build path settings ([your module here] section)
https://play.lighthouseapp.com/projects/57987-play-framework/tickets/1413-eclipsify-should-set-up-playplugins-exclusion
torsdag 12 juli 2012
Rounded corners in IE
Tagcloud only using CSS
Create a tagcloud only using css, possibly problem with relation between smallest and largest font in a given collection of tags, anyway...http://webdesign.about.com/od/csstutorials/a/aa011407.htm
Placeholder in older (IE) browsers
Possible solution for using HTML5 placeholder for input in older browsers (IE)
http://stackoverflow.com/a/8004107/517457
http://stackoverflow.com/a/8004107/517457
onsdag 11 juli 2012
CSS Reset
referencing Eric Meyer, on resetting in css for fixing so and so browsers behaviour
http://meyerweb.com/eric/tools/css/reset/
http://meyerweb.com/eric/tools/css/reset/
Blue border around image fix
How to remove the blue border around an image, particurlarly concerning IE, do the following
a img{
border: none;
}
also, where it came from, http://stackoverflow.com/a/3003704
a img{
border: none;
}
also, where it came from, http://stackoverflow.com/a/3003704
fredag 6 juli 2012
torsdag 5 juli 2012
CSS Image replacement
different ways of combining logo text and logo image, favourite is #7
http://css-tricks.com/css-image-replacement/
http://css-tricks.com/css-image-replacement/
söndag 1 juli 2012
Play Framework 2.0 lecture
Styling links within links in divs
Just a quickie to horisontally align links in divs inside a li element
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
li{
list-style: none;
}
div.my-spaced-links{
display: inline;
margin-left: 10px;
padding: 10px;
}
</style>
</head>
<body>
<ul>
<li><a href="#">Första</a></li>
<li><span><div class="my-spaced-links"><a href="#">Två1</a></div><div
class="my-spaced-links"><a href="#">Två2</a></div></span>
</li>
</ul>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
li{
list-style: none;
}
div.my-spaced-links{
display: inline;
margin-left: 10px;
padding: 10px;
}
</style>
</head>
<body>
<ul>
<li><a href="#">Första</a></li>
<li><span><div class="my-spaced-links"><a href="#">Två1</a></div><div
class="my-spaced-links"><a href="#">Två2</a></div></span>
</ul>
</body>
</html>
Wrap anchor tag around other tags
How to succesfully wrap an anchor tag around other tags, in HTML5
http://davidwalsh.name/html5-elements-links
http://davidwalsh.name/html5-elements-links
Remove whitespace, ImageMagick
Remove whitespace from a picture in imagemagick
http://hilbertastronaut.blogspot.se/2008/08/imagemagick-crops-your-white-space.html
http://hilbertastronaut.blogspot.se/2008/08/imagemagick-crops-your-white-space.html
Styling input-fields using CSS3
CSS3 style input field using gradients
http://www.webstuffshare.com/2010/04/stylize-input-element-using-css3/
http://www.webstuffshare.com/2010/04/stylize-input-element-using-css3/
Gradient - crossbrowser
CSS Gradient cross-browser from IE 5.5
http://www.puremango.co.uk/2010/04/css-gradient-background/
http://www.puremango.co.uk/2010/04/css-gradient-background/
Prenumerera på:
Inlägg (Atom)