|  |
Posted by Roger Keays, 14 July 2008, 12:00 PM
- toujours (adv) - Il y a toujours des exceptions.
- nouveau (adj) - Elle apprendre de nouveaux mots français.
- comme (prep) - Parce que c'est comme ca.
- pourquoi (pron) - Pourquoi tu dis non?
- à cause de (prep) - C'est à cause de ton tempérament anglo-saxon.
No comments yet, be the first to comment!
| |
Posted by Roger Keays, 13 July 2008, 9:20 PM Coming up with a query to find duplicate rows in a database is not as easy as it should be and always turns out dog slow. Here's a simple alternative which I used when I had to do just that:
- Dump the database.
- Delete all the records.
- Add a UNIQUE constraint on the natural key.
- Reload the records from the database dump.
If you have duplicates in the dump, the INSERT will fail and they won't make it back into the database.
Easy or WHAT?!
No comments yet, be the first to comment!
| |
Posted by Roger Keays, 13 July 2008, 9:10 PM Just for the record, here's a common workaround for IE's lack of support for position: fixed.
element { top: expression( document.body.scrollTop + 'px' ); }
Oh, and while I'm at it, here is a common workaround for just about every layout defect in Internet Explorer (especially those involving floats):
element { zoom: 1; }
Heck, here's another one to use if your text gets cut off because of incorrectly inherited line-heights in IE:
element { line-height: normal; }
We could go on like this all night really.
No comments yet, be the first to comment!
| |
Posted by Roger Keays, 13 July 2008, 12:00 PM
- vers (prep) - Elle va vers la fenêtre.
- du (prep) - Elle se poser sur le tête du professeur.
- au (prep) - La mouche va ensuite au plafond.
- votre (det) - Il y a une mouche sur votre tête.
- où (pron) - Où est la mouche?
No comments yet, be the first to comment!
| |
Posted by Roger Keays, 12 July 2008, 10:52 PM
- cette (det) - Dans cette classe, on parle français.
- ensuite (adv) - Ensuite, le professeur commence.
- mais (conj) - Les élèves sont américains, mais le professeur est français.
- au (prep) - Elle étudie au Conservatoire.
- du (prep) - Du salon, on a une vue splendide.
- des (det) - Il y a des garçons et des filles.
No comments yet, be the first to comment!
| |
Posted by Roger Keays, 12 July 2008, 12:00 PM
- intuit (v) - I started to intuit that the fabled ‘access’ to the subject of our book was becoming tenuous.
- enlightenment (n) - The man who has attained enlightenment sees that the apparent reality is mere illusion.
- minutia (n) - Every so often it is tempting to get wrapped up in minutia and having it obscure the bigger picture.
- histrionic (adj) - Histrionic personalities have an unhealthy need for constant attention and engage in outrageous behavior.
No comments yet, be the first to comment!
| |
Posted by Roger Keays, 11 July 2008, 12:00 PM
- autre (adj) - Elle parle d'autres choses.
- surtout (adv) - Il aime surtout faire de la boxe.
- plus (adv) - Il est plus bavard que son amie.
- plus que (adv) - Il parle plus que elle.
- quand (rel adv) - Quand ils sont ensemble, ils parlent beaucoup.
- là (dem pn) - C'est là qu'elle lui rencontre.
- pendant (prep) - Pendant les vacances d'hiver, la famille va en Savoie.
- pour (prep) - Il est journaliste pour un journal.
No comments yet, be the first to comment!
| |
| |
Posted by Roger Keays, 11 July 2008, 12:14 AM
- à côte de - Le chambre est à côte de la salon.
- sur (prep) - Il y a une vue sur la tour Eiffel.
- dans (prep) - Dans le salon, il y a un piano.
- à (prep) - Ils habitent à Paris.
No comments yet, be the first to comment!
| |