CSS drop caps
Various Font Stacks
and more…
Protect post from copy paste
Friends keep asking me how to protect their blog posts from being copied.
As you can see I have no protection for my blogs because I think that the effort is futile. I'v seen posts of mine plainly copied in other blogs. In some cases they give a reference to my blog, and for those I am really happy.
In other cases they have no reference even though they just copied and pasted without any work of their own.
Still, my friends want to restrict copy-paste, so I prepared a list of the available solutions:
As you can see I have no protection for my blogs because I think that the effort is futile. I'v seen posts of mine plainly copied in other blogs. In some cases they give a reference to my blog, and for those I am really happy.
In other cases they have no reference even though they just copied and pasted without any work of their own.
Still, my friends want to restrict copy-paste, so I prepared a list of the available solutions:
Database Version Control
There are two types of projects I am involved in these days.
Usually when a database is upgraded, a new version of the application is issued. If only one application is using the database then application-database sync is easy.
When multiple applications are using the same database then this problem is quite difficult to solve.
This is my solution to database versioning problem:
- Custom enterprise applications where we design the database and manage it.
- Web applications, that we host, where each customer has his own copy of the database.
- Developer databases
- Test database (both internal and customer)
- Production database
Usually when a database is upgraded, a new version of the application is issued. If only one application is using the database then application-database sync is easy.
When multiple applications are using the same database then this problem is quite difficult to solve.
This is my solution to database versioning problem:
SVG Javascript with events
I need a widget displaying the months of the year. I implemented using SVG and not by Canvas because I needed the capability of SVG to assign events to any element of the picture.
- The user should be able to select a month by clicking on it
- The widget should give an event for every month change
- The user should be able to deselect a month by clicking on it or at the center of the wheel.
sqlite c# wrapper usage
I wanted to use sqlite from C# and I created a wrapper. The wrapper was published in the previous post:Sqlite c# wrapper.
I found some nice projects doing almost the same thing but I wanted to be able to use the latest version of sqlite just as it comes out of the pipeline.
I hate it when I have to wait for months for the latest version to be ported to the environment I use for development.
I found some nice projects doing almost the same thing but I wanted to be able to use the latest version of sqlite just as it comes out of the pipeline.
I hate it when I have to wait for months for the latest version to be ported to the environment I use for development.
sqlite c# wrapper
Here are the classes to include in your C# project, so that you can use sqlite.
The classes should work without problem with sqlite version 3.7.4 2010-12-08.
If you find any problem you can mail me at moc.liamg@oirakp (do not copy paste, it is written rtl and set ltr by CSS) or you can leave a message. I you need a feature, that I did not implement, you can tell me, but no promises here.
The usage of the classes is covered in the next post: Sqlite c# usage.
If you find any problem you can mail me at moc.liamg@oirakp (do not copy paste, it is written rtl and set ltr by CSS) or you can leave a message. I you need a feature, that I did not implement, you can tell me, but no promises here.
The usage of the classes is covered in the next post: Sqlite c# usage.
Div based Infobox with CSS3

html:
<div class="infobox" ><div class="head">Titlos</div ><div class="body">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ut mi imperdiet nibh laoreet porta at ut felis. Etiam cursus diam a justo lobortis congue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce ac pellentesque eros. Aenean porta sem id lectus cursus luctus. Maecenas sagittis augue non enim laoreet congue. Maecenas pretium varius nulla non molestie. </div></div>
Javascript event handling (all browsers except ie7)
Now that IE9 supports
If we can support ie8 (@31%) we can forever forget attachEvent.addEventListener
and IE7's market share is diminishing (goodle analytics tell me that ie7 and older is at 14% and loses 2% per month).That mean we support all current browsers but not ie7 and older.
CSS3 Ribbons
How to create this 3d ribbon using only CSS3:
CSS3 title Ribbon. Works in IE9, FF4, C6, O10.

CSS3 title Ribbon. Works in IE9, FF4, C6, O10.
Subscribe to:
Posts (Atom)