Quelle n’a pas été ma surprise en découvrant un message d’alerte sur mon compte. Mon mot de passe utilisé pour ce compte est le même qu’un mot de passe utilisé sur un autre site ? C’est vrai que depuis plusieurs années de nombreux sites se font hacker et des milliers de comptes utilisateurs circulent sur Internet. Instagram […]
read moreNEWS
Using Advanced Custom Fields for a wordpress site I create a custom field for Users and its type is “User”, it is also set to support multiple selection. The idea is to link users to each other as friends. To update the field I used update_field() but it me took time to figure out how to make it […]
read moreI got this error while working on a project using swiper.js : Error: Mismatched anonymous define() module: function (require) {… Searching a little on google I found a thread on stack overflow telling that : requireJS blows up when : You have an anonymous define (“modules that call define() with no string ID“) in its own script […]
read moreWith css rotate property, the default transform-origin property unexpectedly changes from its default value ‘50% 50%’ to ‘top left’ when the size of the rotating object is set in percentage. When setting the size in pixels, the object transform-origin gets back to it center. See the Pen yyZXyL by akinorikul (@akinorikul) on CodePen.
read moreThe default content type for email sent through core wp_mail function is plain/text
read moreTo create truly global variable in Edge animated, define in a symbol (usually inside the Stage.compositionReady event handler, a good place for global stuff) : sym.globalFunction = function(){ // statements } To call this function from another symbol : sym.getComposition().getStage().globalFunction(); Here the variable holds a function, but it could hold a number, string, etc.
read moreI’ve had a very hard time understanding why $wpdb->get_results was always returning an empty array in a query I was working on. Thanks to the codex, turning wordpress to show sql’s errors helped me a lot : $wpdb->show_errors(); more infos about error handling inside WPDB
read moreTo refresh your site’s favicon you can simply use the link tag with a querystring on your filename: <link rel=”shortcut icon” href=”http://www.site.com/favicon.ico?v=new” />
read moreI’ve been experiencing this error while working on a air project using an ANE extension. After a while, I found that the descriptor namespace of my extension was set to a later version of my Air SDK which was Flash Pro CS6’s default Air SDK 3.4. In the extension file (located for me, on my […]
read moreYou can add new releases and custom versions of the AIR SDK to Flash Pro. Once added, the new SDK appears in the player target list in the Publish Settings. To add an new version of the SDK: Download the new AIR SDK folder. In Flash Pro, choose Help > Manage AIR SDK. In the […]
read more