Because security matters, you will need at one point to use a PasswordBox in your WPF application (you know, the textBox hiding the password with stars). But Microsoft didn’t make this control bindable for security reasons (in memory access). So if you’re using MVVM, it will be a bit tricky. Different solutions exist, but really […]
MS SQL – Performance optimisation on the indexed primary key
Hello Devz, Today I had an issue with the performance of a SQL stored procedure. This procedure was supposed to delete a few millions rows in a table. But it was quite slow… So after optimizing the query, I looked at the database itself. Having an indexed primary key is important but the level of […]
C# – Web Scraping – a simple HTML Agility Pack example
Hello Devz, Sometimes it can be useful to copy a part of the content from a website. That’s where web scraping is useful and HTML Agility Pack is one of the best tools to do it. In this tutorial, I will show you a simple HTML Agility Pack example. Decide what content you need Say […]
WPF – Inverted BooleanToVisibilityConverter
Hello Devz, WPF is providing a really useful converter called BooleanToVisibilityConverter. But the thing with this converter is that it’s really limited. Let’s say we want to use the same boolean to show one control and collapse another one, we just can’t… Here is new version of this converter that can accept a parameter to […]
Verify vulnerabilities on your WordPress site with WPScan
WPScan is a good tool to discover vulnerabilities on your WordPress website. To install it: sudo apt-get install git sudo apt-get install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential cd ~ git clone https://github.com/wpscanteam/wpscan.git cd wpscan sudo gem install bundler && bundle install –without test Execute the scan on www.example.com: ruby wpscan.rb –url www.example.com
Verify common vulnerabilities on your router with RouterSploit
We will never say it enough, security and privacy are important. But what if your router has an old firmware and is vulnerable to some common exploits? One easy way to test it: RouterSploit. If you are familiar with the well know MetaSploit, it is more or less the same. It’s some kind of a […]
The Power of Windows 10 Bash Shell
Hello Devz, You may want to use Linux for many reasons: services, development, scripting, or just for the environment. And you can use it in a few different ways: Install (dual boot) a distro like Ubuntu, Fedora, Mint, … Use a virtual machine with VMWare or VirtualBox Use “Bash on Ubuntu on Windows” or also […]
AI – Tensorflow First Steps
Hello Devz, Do you want to learn more about Artificial Intelligence? Tensorflow is your best bet… Tensorflow is a framework developed by Google which allows you to do almost everything you could imagine with AI’s. There are different ways to use Tensorflow. Being a fan of C#, you could use TensorflowSharp. But it is known […]
AI – Image Recognition with Darknet
Hello nerdz, Being a fan of TED Talks, I found a really interesting one about AI and object recognition. Joseph Redmon is presenting in this show his work about the Darknet. It’s an open source C code which is an AI that can be trained to recognize any object, and it’s damn fast! Here is […]
Python – Simple example
What is Python? Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python’s design philosophy emphasizes code readability with its notable use of significant whitespace. What are the advantages of Python? The Python language has diversified application in the software development companies such as in gaming, […]