Publish your tweets on you blog first! Then automate the copy to Twitter: no untrusted URL shortener & free backup
Revising the course Hack Yourself First and insert Tesla Model S
Last year, I had the chance to attend one of the excellent workshop “Hack Yourself First” presented by Troy Hunt: http://www.troyhunt.com/2016/02/more-europe-even-more-again-and-more.html Now it’s time to practice again by using the (very simple) tool Havij and use the dedicated and deliberately vulnerable website http://hackyourselffirst.troyhunt.com/ To celebrate the unveiling of Tesla new […]
U2F (Yubikey) support in Firefox
Unfortunately at the moment (2015-11-03), U2F protocol is still not officially supported in Mozilla Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1065729 U2F protocol is mainly promoted by Yubico company (who is selling Yubikeys) Finally, Firefox 57 (called Quantum) supports U2F protocol but for the moment (2017-12-17) it’s not enabled by default. Here is how to […]
Emprunter l’identité d’un autre utilisateur en ASP.NET
Lors des phases de test/recette, il est souvent utile de pouvoir se connecter en tant qu’un autre utilisateur sur une application, par exemple pour vérifier que les permissions et les différents rôles de l’application fonctionnent correctement. Dans mon cas, j’avais besoin de pouvoir emprunter l’identité d’un autre utilisateur sur une […]
List of neighboring states for each US state
I was searching for a list of neighboring/bordering/adjacent states for each USA state. I wasn’t able to find any open data, so I decided to create my own list using the following sources: http://theincidentaleconomist.com/wordpress/list-of-neighboring-states-with-stata-code/ http://www.john.geek.nz/2009/01/sql-tips-list-of-us-states/ http://askville.amazon.com/Trivia-state-bordered-states/AnswerViewer.do?requestId=3941039 http://en.wikipedia.org/wiki/List_of_U.S._states_by_date_of_statehood http://en.wikipedia.org/wiki/History_of_Washington,_D.C. => Feel free to verify, contribute and reuse my file: neighbors-states.csv Notes: […]
What’s new in .NET Framework 4.5
Here is a nice poster to summarize what’s new in .NET Framework 4.5: http://www.heikniemi.net/hardcoded/2011/10/whats-new-in-net-framework-4-5-poster/ Concerning ASP.NET, I like: New site template for ASPNET MVC 4 Built-in Javascript + CSS combining and minification Strongly typed data binding in ASP.NET Web Forms Multiple file upload component for ASP.NET Web Forms IIS Express […]
Difference between “Independent association” and “Foreign key association” in Entity Framework
I begin to understand the difference between “Independent association” and “Foreign key association” in Entity Framework Code First thanks to this article : http://www.ladislavmrnka.com/2011/05/foreign-key-vs-independent-associations-in-ef-4/ Advice: use both (Independent associations and Foreign key associations): “This saves on unnecessary DB lookups, allows lazy loaking, and allows you to easily see/set the ID if […]
Which version of ASP.NET MVC is used in an existing Visual Studio project
Copier coller du texte sans conserver la mise en forme
Publier automatiquement votre dernier article de blog sur Twitter
Le plugin “WP to Twitter” permet de publier automatiquement vos articles de blogs WordPress sur votre compte Twitter. La configuration du plugin demande quelques minutes d’attention (récupération des paramètres Consumer key, Consumer secret, Access token, Access token secret via https://dev.twitter.com/) mais ensuite cela marche très bien. En savoir plus : […]