Random Thoughts And Coding
Posts tagged snippet
A better terminal color theme for Putty
Nov 17th
Putty is a great terminal emulator for Windows, but its default color theme is pretty bad, especially for the blue colors, which are illegible More >
Visual Studio snippet for a view model property, using the SetProperty() method
Sep 16th
I spent my 3 months summer internship coding a Windows 8 application, and even though there now is a basic implementation of the INotifyPropertyChanged interface provided by Microsoft (BindableBase), I can tell you creating a view model for each view you need is very time consuming and boring, and not nearly as quick as I would like it to be.
How to find all implementations of IEnumerable not implementing ICollection
Aug 12th
Following my last post on benchmarking madness, here is a short one about finding .net classes or interfaces based on given criteria.
While writing my last post, I found myself having a hard time searching for classes implementing IEnumerable<T> without also implementing ICollection<T>.
Indeed, beside String, there is not so many…
More >
Benchmarking madness: IEnumerable
Aug 12th
What is the best way to know if an IEnumerable<T> contains at least one element?
I mean, what is the most optimized way to know this information?
Maybe the first thing that came to my mind was to do some .Count() > 0 check, but if you think of it, the Count() extension method would have to enumerate the entire collection to know its length. This seems a little overkill.
More >
How to dump the Android Shazam tag list database to a readable file
Jul 11th
As the title says, I wanted to export my Shazam tag list from my Android phone to some format I could actually do something with.
I found no working solution online, so here is mine… More >
How to dynamically add properties to an existing object – dynamic keyword trick
May 28th
Les développeurs sont fainéants, c’est l’une de leurs nombreuses qualités… More >
Firefox tip of the day: open twitter profile with the Awesome Bar
Mar 16th
Introduction
Problème : je veux accéder au profil d’un utilisateur twitter le plus rapidement possible depuis mon navigateur, en utilisant la notation courante @pseudo.
J’ai cherché quelque temps une solution existante sans succès, et trouvant que cela faisait une bonne idée de projet, j’ai décidé de créer la mienne.
Windows Gadgets
Mar 6th
Ce post existe principalement à titre de pense bête, pour me faire gagner un peu de temps lors de mon prochain formatage de Windows, quand j’aurai besoin de réinstaller tous les gadgets Windows que j’apprécie et dont j’ai maintenant du mal à me passer.
Retrouver le bon site de téléchargement me prend trop de temps à mon gout, perdu au milieu de pages de pubs inutiles et des copies… Voici donc le site officiel :
myfavoritegadgets.info
J’utilise et j’aime particulièrement System Monitor, Network Monitor et GPU Monitor sur mon pc fixe.
Il existe également un nombre impressionant d’autres gadgets sur ce site, certains complètement inutiles, d’autres à essayer, comme Ping Monitor…
Entity Framework 4.1 : Un template qui prend en charge la documentation xml
Jul 26th
Cela fait quelques semaines que je découvre Entity Framework, Le système d’ORM de Microsoft, et je l’apprécie de plus en plus
Ce framework d’ORM a beau être jeune et manquer encore de pas mal de fonctions (qui à dit enumérations ?), il simplifie beaucoup la vie, et c’est un vrai plaisir de travailler avec. (tant qu’on a pas besoin d’une fonctionnalité non supportée ^^)
Je ne m’étais jamais intéressé à cette techno plutôt orientée entreprises dans mes projets perso, et je débute donc avec un train de retard, directement avec la version 4.1.
Cette dernière version change et simplifie pas mal de choses lors d’un développement Model First, avec l’ajout de l’API DbContext qui remplace l’ancien ObjectContext.
Aero Shake
Apr 12th



