[jQuery] maintenance release for jQuery UI 1.8.

 

Petite mise à jour, rien de très folichon, du coup, pas grand chose à dire.

This is the twentieth maintenance release for jQuery UI 1.8.

Build
    Fixed: Minified files are missing terminating semicolon. (#8257, 365e102)
    Fixed: @VERSION replacement incomplete. (#8261, 2f4c74c) 

Interactions
Draggable

    Fixed: Removing draggable element on drop : a(this).data("draggable") is undefined. (#8269, f0c3cf6) 

Sortable

    Fixed: jQuery UI 1.8.19 don't respect forcePlaceholderSize. (#8262, 1ffafe6)
    Fixed: Placeholder doesn't move when dragging outside of container element. (#8274, 81835fa) 

Widgets
Datepicker

    Fixed: Incorrect translations for Hindi locale. (#8265, 849b562)

En revanche, la version 1.9 dont voici la roadmap, est beaucoup plus alléchante.

Posted in Developpement, JavaScript, Logiciel | Tagged , , , , | Leave a comment

[astuce] URL des webradio NRj

 

Voici la liste des url d’une partie des webradio  NRj. Je ne suis pas spécialement fan de NRj, mais elle propose une grande variété de webradio, sans trop de pub (1 par heure).

 

NRJ    http://mp3.live.tv-radio.com/nrj/all/nrj_113225.mp3
NRJ Hits    http://mp3.live.tv-radio.com/nrj_hits/all/nrj_150726.mp3
NRJ Nouveautés    http://mp3.live.tv-radio.com/nrj_nouveaute/all/nrj_161209.mp3
NRJ French    http://mp3.live.tv-radio.com/nrj_french/all/nrj_155913.mp3
NRJ Rock    http://mp3.live.tv-radio.com/nrj_rock/all/nrj_161510.mp3
NRJ RnB    http://mp3.live.tv-radio.com/nrj_rnb/all/nrj_151038.mp3
NRJ Dance    http://mp3.live.tv-radio.com/nrj_dance/all/nrj_151505.mp3
NRJ Clubbin'    http://mp3.live.tv-radio.com/nrj_clubbin/all/nrj_153250.mp3
NRJ Lounge    http://mp3.live.tv-radio.com/nrj_lounge/all/nrj_151750.mp3
NRJ Pop    http://mp3.live.tv-radio.com/nrj_pop/all/nrj_151240.mp3
Disney Channel Web Radio avec NRJ    http://mp3.live.tv-radio.com/nrj_by_disney/all/nrj_152411.mp3
NRJ avec iTunes    http://mp3.live.tv-radio.com/nrj_itunes/all/nrj_153938.mp3
NRJ Usher    http://mp3.live.tv-radio.com/nrj_usher/all/nrj_142337.mp3
NRJ Girl    http://mp3.live.tv-radio.com/nrj_girl/all/nrj_153716.mp3
NRJ Lady GaGa    http://mp3.live.tv-radio.com/nrj_lady_gaga/all/nrj_152704.mp3
NRJ Running    http://mp3.live.tv-radio.com/nrj_running/all/nrj_162813.mp3
NRJ Master Mix    http://mp3.live.tv-radio.com/nrj_mastermix/all/nrj_163522.mp3
NRJ Rihanna    http://mp3.live.tv-radio.com/nrj_rihanna/all/nrj_163955.mp3
NRJ Friendly    http://mp3.live.tv-radio.com/nrj_friendly/all/nrj_164207.mp3
NRJ Ibiza    http://mp3.live.tv-radio.com/nrj_ibiza/all/nrj_164849.mp3
NRJ Soleil    http://mp3.live.tv-radio.com/nrj_soleil/all/nrj_155103.mp3
NRJ Mickael Jackson    http://mp3.live.tv-radio.com/nrj_michael_jackson/all/nrj_154634.mp3
NRJ The Black Eyed Peas    http://mp3.live.tv-radio.com/nrj_black_eyed_peas/all/nrj_161845.mp3
NRJ In Bed    http://mp3.live.tv-radio.com/nrj_in_bed/all/nrj_135650.mp3
NRJ New York    http://mp3.live.tv-radio.com/nrj_new-york/all/nrj_140527.mp3
NRJ At Work    http://mp3.live.tv-radio.com/nrj_at_work/all/nrj_143400.mp3
NRJ Shakira    http://mp3.live.tv-radio.com/nrj_shakira/all/nrj_144619.mp3
NRJ Rap US    http://mp3.live.tv-radio.com/nrj_rap_us/all/nrj_144854.mp3
NRJ Rap FR    http://mp3.live.tv-radio.com/nrj_rap_fr/all/nrj_145338.mp3
NRJ Party    http://mp3.live.tv-radio.com/2051/nrj_party/nrj_190407.mp3
NRJ Shop    http://mp3.live.tv-radio.com/nrj_shop/all/nrj_121822.mp3
NRJ Next    http://mp3.live.tv-radio.com/nrj_next/all/nrj_122336.mp3
NRJ Britney Spears    http://mp3.live.tv-radio.com/2336/nrj_britney_spears/nrj_142413.mp3

 

Pour les plus fainéants, voici pas playlist iTunes Nrj Webradio

Posted in Fourre Tout | Tagged , , , , | Leave a comment

[Video] ça c’est de la prévention :)

En Belgique, la Prévention Routière s’est amusée à piéger en caméra cachée des élèves d’auto-école en leur faisant croire qu’une nouvelle épreuve venait de paraitre, à savoir, écrire un SMS sur son téléphone portable, tout en conduisant. On dénombre aujourd’hui 1,2 millions d’accidents de la circulation chaque année dans le monde, dus à la rédaction d’un texto au volant.


Auto-école : Leçon de conduite en envoyant un SMS par Spi0n

Posted in Fourre Tout, Vidéo | Leave a comment

[video] La revanche des geek

Excellent documentaire d’Arte, retraçant l’évolution de la vision de la communauté sur les geeks. On regrettera cependant le coté un peu trop “americain”…

 

Posted in Fourre Tout, Vidéo | Leave a comment

[Actuce] Installer eclipse et l’environnement de développement Android

Voici une petite procédure d’installation d’éclipse et de l’environnement Android

Installer Eclipse

Installer le SDK Android

  • Menu Help -> Install new software -> bouton Add…


 

Name : ADT Plugin
Location: https://dl-ssl.google.com/android/eclipse/
  • Ouvrir le Android SDK Manager
  • Installer dans Android 2.3.3 SDK Platform, Google APIs,  Intel Atom x86 System Image

Créer l’appareil virtuel

  • Ouvrir le Android Virtual Device Manager
  • New…
Name: Android2.3.3
Taget:  2.3.3 API Level 10

 

Création d’un nouveau projet

Menu > New > Others.. > Android Poject

 

Tester Le projet

Menu > Run > Run

Quelques liens pour bien démarrer

http://developer.android.com/index.html

http://android.developpez.com/

http://www.android-dev.fr/web/blog

http://android-france.fr/tag/developpement/

Posted in Android, Developpement, Logiciel | Tagged , , | Leave a comment

PHP 5.4

PHPEt voila, php 5.4 est sorti. Cette version ce veut moins consommatrice de mémoire, optimise son exécution et corrige plus de 100 bugs

Une des grosses nouveautés est la notion de traits, qui permet de réutiliser des bouts de code dans vos classes; donc fini les héritage en cascade .. Je reviendrai sur cette notion ainsi que sur  upload progress  dans un prochain post.

On peut noter 2 nouvelles syntaxes intéressantes

  • La syntaxe courte de création de tableau, e.g. $a = [1, 2, 3, 4]; or $a = ['one' => 1, 'two' => 2, 'three' => 3, 'four' => 4];.
  • L’accès aux membres de classe sur l’instanciation (new Foo)->bar().

Bref, accourcissement syntaxique donc amélioration de la productivité. Retrouvez toutes les nouvelles fonctionnalités ici

On notera également deux nouvelles fonctions “Deprecated”

Personnellement, je ne les ai jamais utilisées :)

Enfin le langage supprime définitivement le safe mode (mode sans échec), les register_globals et les magic_quotes. Je trouve que c’est une bonne chose, ça obligera à une certaine rigueur.

source, changelog

PS : Avec la mise à jour dernièrement d’apache, l’upgrade de PHP va donner un peu de boulot au exploitant de serveur web. Il ne manque plus qu’une mise à jour du mysql, et on aura des LAMP (ou WAMP ou MAMP) tous beaux, tous neufs.

Posted in Developpement, PHP | Tagged , , , , , | Leave a comment

[Astuce]Importer les anniversaires de vos contacts facebook dans iCal, google agenda …

Rien de plus énervant que de manquer un anniversaire alors que nous avons à notre disposition  la liste de dates d’anniversaire de tous nos contacts facebook.

Une solution pour ne plus oublier est d’ajouter cette liste dans iCal, outlook ou gogle agenda, l’intérêt étant de pouvoir créer des rappels ou encore de synchroniser vos iBidule.

Commençons par exporter la liste des événements:

Dans votre compte Facebook, allez dans “événements” (menu de gauche), cliquez sur le bouton loupe et sélectionnez “Anniversaires“.

  • Une fois la liste des anniversaires affichée,  dans le même menu loupe, sélectionnez “exporter les anniversaires.” Une fenêtre s’ouvre avec un lien de la forme :

webcal://www.facebook.com/ical/b.php?uid=1041…..

Passons maintenant à l’import dans les différents outils:

Pour iCal:

  • Cliquez directement sur le lien de facebook, cela ouvrira iCal qui vous proposera de souscrire à cet agenda.
  • Il ne vous reste plus qu’a synchroniser vos iBidule, ou attendre que iCloud le fasse pour vous.

 

Pour google agenda :

  • Copiez le lien de facebook
  • Allez dans votre agenda google.
  • Allez dans le menu “Autres agendas” puis “ajouter par URL“.

  • Coller l’adresse et cliquez sur “ajouter”. Et voilà c’est fait :)

 

Pour les autre plateformes:

  • Cliquez sur le lien facebook
  • Votre navigateur ouvrira un boîte de dialoque.
  • Sélectionner votre application préférée.

Conclusion

Cette méthode fonctionne également sur le liste de vos événements facebook ou tout autre export au format ical.

Posted in Fourre Tout, iphone | Tagged , , , , , , | Leave a comment

[Test] Test api Facebook

Test api Faceboo

Posted in Uncategorized | Tagged | Leave a comment

[eclipse PDT]Forcer la validation du HTML en 4.1

Astuce du jour.

La nouvelle version de PDT (3.0…) valider le html en version 5, ce qui a pour conséquence de générer un warning pour chaque tag obsolète (cellspacing, cellpadding, border…..)
La solution est de créer un fichier de préférence dans le dossier .settings

1. Ce rendre dans le dossier ‘.settings’ du projet
2. Créer le fichier org.eclipse.wst.html.core.

prefs
3. Copier le code suivant :#Wed Jul 20 09:53:55 CEST 2011
document-type/<project>=-//W3C//DTD HTML 4.01 Transitional//EN
eclipse.preferences.version=1

4. Ouvrir eclipse et actualiser le projet
5. Clic-droit sur le projet -> validationLes options possibles pour le document-type :

  • //W3C//DTD Compact HTML 1.0 Draft//EN
  • -//W3C//DTD HTML 4.01 Frameset//EN
  • -//W3C//DTD HTML 4.01//EN
  • -//W3C//DTD HTML 4.01 Transitional//EN
  • -//WAPFORUM//DTD WML 1.3//EN
  • -//W3C//DTD XHTML 1.0 Frameset//EN
  • -//W3C//DTD XHTML 1.0 Strict//EN
  • -//W3C//DTD XHTML 1.0 Transitional//EN
  • -//W3C//DTD XHTML 1.1//EN
  • -//W3C//DTD XHTML Basic 1.0//EN
  • -//WAPFORUM//DTD XHTML Mobile 1.0//EN
  • Pour le html5, laisser vide

De même pour le CSS.
le fichier : org.eclipse.wst.css.core.prefs
le code :

#Wed Jul 20 09:53:55 CEST 2011
css-profile/<project>=org.eclipse.wst.css.core.cssprofile.css3
eclipse.preferences.version=1

Les options pour le css-profile :

  • org.eclipse.wst.css.core.cssprofile.css1
  • org.eclipse.wst.css.core.cssprofile.css2
  • org.eclipse.wst.css.core.cssprofile.css3
  • org.eclipse.wst.css.core.cssprofile.mobile1_0

Si vous voulez être plus pointus dans les validations, vous pouvez spécifier les fichiers et leur validateur :
document-type//web/MonFichier.html=-//WAPFORUM//DTD XHTML Mobile 1.0//EN

Posted in Developpement | Tagged , , , , | Leave a comment

[jQueryUi]1.8.8 & [jQuery] 1.5 Beta

[jQueryUi]1.8.8

ChangelogDownload

Summary
This is the eighth maintenance release for jQuery UI 1.8.
Core & Utilities
Position
Fixed: Collision detection fails on the right side in Internet Explorer. (#6812,ca46a3a)
Widgets
Accordion
Fixed: Accordion header margins disappear in IE 8. (#5421, 3471bd6)
Fixed: ol numbering bug. (#6720, dd7aae2)
Autocomplete
Fixed: The combobox “show all” button submits forms. (#6755, ffc0855)
Fixed: Menu may still render when autocomplete is disabled. (#6752, d2a12ff)
Fixed: Loading class removed when multiple Ajax requests occur. (#6761, 2aabc39)
Fixed: Improve autocomplete _render documentation. (#6772)
Datepicker
Added: Malayalam translation. (#6822, 238196d)
Dialog
Fixed: Typesetting on title bar is inconsistent with other widget title bars/headers. (#6832, 1f0fd61)
Effects
Fixed: animateClass broken in 1.8.7. (#6748, cba92af)
Individual effects
Fixed: Bug in slide effect when dir=rtl and has position.right. (#6736, b475ae7)
Website
Fixed: Side navigation links on the Getting Started page do not work. (#6778)

[jQuery] 1.5 Beta

ChangelogDownload

This is a concise change log – full release notes will be coming with the final 1.5 release.

  • Rewrite of the Ajax module by Julian Aubourg. This is the most significant change in this release and brings a number of performance, stability, and feature improvements to $.ajax. More information can be found here #7195
  • Subclassing in jQuery now supported #7901
  • Removed the possibility of expando collisions when using noConflict() (V8 is fast!). The expando string now uses a random number + jQuery version to differentiate between instances of jQuery instead of millisecond clock time. #6842
  • Deduplicated code in $.get and $.post. #7847
  • When a native browser event is bubbling up the DOM, make sure that the correct isDefaultPrevented value is reflected by jQuery’s Event object. #7793
  • No longer cache non-html strings in buildFragment to avoid possible collision with the names of Object methods like toString. Testing shows this may also provide modest performance improvements. #6779
  • Updated cloneCopyEvent so that it does not create superfluous data objects when cloning elements. Exposes a new method, $.hasData, for determining whether or not an object has any data. #7165
  • Use a for loop rather than for/in loop when copying events so that code will work with an augmented Array.prototype. #7809#7817
  • Fixed fadeIn not working properly with inline elements. #7397
  • Rewrote IE’s clone function to function properly in all known cases. #4386#5566#6997
  • Fixed IE breaking when dispatching a ‘submit’ event on plain JS objects. #6398
  • Fixed a regression in 1.4 that caused cache control to be set incorrectly for script transport.#7578
  • Improve performance of get() for negative indices. #5476
  • hasClass, removeClass didn’t work in IE if the attribute contained a carriage return (\r) character. #7673
  • Fix a regresion in 1.4.4 where calling $.fn.data without arguments breaks on non-DOM elements. #7524
  • Fixed memory leaks in IE caused by the custom abort function of $.ajax. #6242
  • Prevent live events from firing on disabled elements in IE. #6911
  • Fixed a regression in 1.4.3 that caused sending a Location object to $.ajax to no longer work.#7531
  • Fixed an issue where some traversal methods performed an unnecessary uniqueness check.#7964
  • We now support being able to specify callbacks to handle specific status codes#4964
  • Fixed an issue where ?? wasn’t supported as a context-insensitive placeholder for the callback name of a JSONP request. #4897
  • Data returned from dataFilter was not being passed to ajax complete() callbacks. We now use the jXHR’s promise interface to get the actual response. #4825
  • We now ensure that buildFragment clones elements properly in all browsers. #6655 and #3879
  • A memory leak caused when binding custom events in IE8 was fixed #7054
  • Lines in form data are now delimited by CRLF when the form is submitted (as recommended by the W3C). #6876
  • Ajax requests now abort on unload such that the event is only bound if the xhr transport is used.#5280
  • We now support =? being detected even if it has been escaped during data serialization. #5812
  • If the user uses the jsonpCallback setting we now automatically set the dataType to ‘jsonp’.#5803
  • The crossDomain option now forces ajax to consider a request as cross-domain, even when its not. This is useful when servers issue redirects to cross-domain urls. #5955
  • $.ajax(this) allowing retries without the recursion errors found in jQuery 1.4.3. #7461
  • Removed a patch for very early versions of Opera 9 that made it impossible to animate values smaller than -10000. #7193
  • ResponseText is now properly propagated for error callbacks. #7868
  • Scripts onload handler passes event as first parameter so statusText is now passed as second argument for aborts. #7865
  • With respect to xhr, setting contentType to false will now prevent the Content-Type header from being sent. #7465
  • When serializing text, we now encode all line breaks as CRLF pairs per the application/x-www-form-urlencoded specification. #6876
  • Fixed a bug with IE6 where certain event handlers were causing inter-page memory leaks. #7762
  • Tests for cross-domain detection now include checking for protocol, hostname and port. #7465
  • Fixed a problem where IDs containing a period would break find() without returning results.#7533
  • The regression with next/adjacent selectors no longer working without the ‘prev’ element has been corrected. #7452
  • Fixed the 1.4.3 regression which prevented the use of attr() on anything but DOM element nodes where the nodeType was 1 #7452#7500,
  • A bug where including jQuery 1.3.2 resulted in a border on the right-hand side of the screen in IE8 has been fixed. #5575
  • We’ve fixed an issue where adding extra methods to Array.prototype and using jQuery.clone(true) to clone an element resulted in invalid event bindings. #6355
  • Fixed an issue where the nth-child does not handle whitespace correctly in Internet Explorer.#7558
  • We corrected a bug where mouseenter/leave behaved like mouseover/out when using live events #5821
  • Fixed a regression in 1.4.3 where the eq() selector was no longer working with previous and adjacent selectors #7906
  • Updated the documentation on event.currentTarget to address any confusion regarding jQuery.proxy. #7628
  • Fixed an issue where xhr.setRequestHeader(‘Accept’,…) appended the value rather than replacing it. #6230
  • An IE issue where ajax methods failed for content types ending in ‘+xml’ (eg. rss+xml) was fixed. #4958
  • The updates to ajax now allow any request to be aborted. #3442
  • A .slideUp() issue in FireFox 3.6.11 was fixed which previously hid the frameset border and legend but left any content uncovered by another element. #7308
  • We now support cross-browser XML parsing. #6693
  • Fixed a bug where when using dataType:’json’ in the .ajax() method, the data object was undefined in IE6 and 7. #6106
  • Corrected an issue where JSONP calls were not removing the script tag when the call completed.#7418

http://blog.jquery.com/2011/01/14/jquery-1-5-beta-1-released/

  • Updated the documentation to reflect the behaviour supported when using delay() with show() if the duration is not specified. #7543
  • Posted in JavaScript | Tagged , , | Leave a comment