Browsed by
Category: Technical

How to create a NuGet package

How to create a NuGet package

A few days ago I looked into setting up our private NuGet server as a way for us to share code, instead of using git sub modules for example. Turns out setting up the server is as simple as starting an empty web project in visual studio and adding the NuGet server package: http://nugetserver.net/. On a side note, if you are already using team city, you can use this as a NuGet repository, just select create artifact with the package…

Read More Read More

Unit Testing with NUnit

Unit Testing with NUnit

A very short intro and comparison between the MSTest framework and the very popular NUnit framework. For a more complete list of differences between the frameworks, see: https://xunit.github.io/docs/comparisons.html. Getting started Add a new project to your visual studio solution. I found 3 different ways to get started: Add a unit test (MSTest) project to your solution, remove the references to MSTest and add the nuget package NUnit to your project. Start with an class library and add the nuget package:…

Read More Read More

.NET CryptographicException “Keyset does not exist”

.NET CryptographicException “Keyset does not exist”

Came across this error today when updating a new certificate used in a WCF service for digital signatures. Turns out the solution, as always, was pretty simple: give correct permissions to the private key file. Open the certificate manager and locate the correct certificate. Right click and navigate to: All Tasks -> Manage Private Keys. Change the file permissions so the IIS user can read. Read more on stackoverflow.com.

Uninstall SCCM client

Uninstall SCCM client

I found a neat little tool to remove system center client from your pc. The tool is part of the SMS 2003 toolkit and can be downloaded here: http://www.microsoft.com/en-us/download/details.aspx?id=18153 https://onedrive.live.com/redir?resid=FB4EC4397749CD0%21272 https://mega.nz/#!PTIE1Lra!YKtqOzC2FgZAqQO3CFO1M7DaEJryqm3lC-WpJbeOlSc Just run the tool and click “ok” once it has finsihed. More info and other ways to remove here. Once you run the tool verify you do not have a “Configuration Manger” entry in your “Control Panel > System and Security”. Read more: here.

Migrate from Outlook to Thunderbird

Migrate from Outlook to Thunderbird

How to use Thunderbird instead of Microsoft Outlook with all of the important features that Outlook offers (calendar, address book, …) still available to you. Prerequisites Download thunderbird 45.8.0 @ https://archive.mozilla.org/pub/thunderbird/releases/45.8.0/win32/. Select your preferred language and download the installer. Account settings Add your e-mail account to Thunderbird, this should be pretty straightforward. You can edit the details manually if you have troubles. For the University you can add: imap: mail.uantwerpen.be 993 SSL/TLS with normal password smtp: smtp.uantwerpen.be 25 no encryption…

Read More Read More

CiviCRM: Missing indexes after upgrade

CiviCRM: Missing indexes after upgrade

After upgrading our CiviCRM we got a notification about missing indexes. It turns out (according to stack overflow) it’s pretty easy to solve if you have drush installed. List all missing indexes drush ev ‘civicrm_initialize();print_r(CRM_Core_BAO_SchemaHandler::getMissingIndices())’ (re)Create all drush cvapi System.updateindexes

Boinc on Arch Linux

Boinc on Arch Linux

I’ve already talked about how to install Boinc on Linux Mint, today I wanted to try and get it running on an Arch installation. I’m opting for a headless install and using boinc view to configure the server remotely. A good place to start is the Arch Linux wiki article and my previous post. pacman -S boinc-nox usermod -a -G boinc $(whoami) systemctl start boinc.service Open the “/var/lib/boinc/gui_rpc_auth.cfg” file and make note of the generated password. vim /var/lib/boinc/gui_rpc_auth.cfg Now we need…

Read More Read More

PuTTY known_hosts

PuTTY known_hosts

Where does putty store it’s known_hosts? I asked myself this question today after battling a git extensions bug where you can’t type in the console window and as a result can’t add the host to the known hosts. The answer: HKEY_CURRENT_USER\SoftWare\SimonTatham\PuTTY\SshHostKeys To manually add hosts, use plink. plink.exe yourservername Hope it helps you.

RansomFree by cybereason

RansomFree by cybereason

I found a neat little security program to protect against ransom-ware. It’s called RansomFree and is developed by a company called cybereason. Download the application here: https://ransomfree.cybereason.com/. You can view a demo of the application in action on their site. Installation That’s it, it will run in the background monitoring for ransom-ware. You’ll notice some strange files on your root directory. RansomFree needs these to monitor for malware activity. There is an option to disable this if you don’t want those…

Read More Read More

Install Elasticsearch on Ubuntu

Install Elasticsearch on Ubuntu

Elastic search is an opensource NoSQL database that is scalable and lightning fast. It has a number of applications, the two most commonly used are log analysis/management and as a search backend. These are my install notes to get it up and running on an ubuntu/debian machine. Elastic provides a very good installation guide if you want to check that out too. If installing on an Azure machine double check firewall settings and make sure not everyone is allowed to…

Read More Read More