Source Control, Git, JavaScript, .NET, Drupal, MSSQL, SSIS, Databases, SQL Server, CMS, Web

warning: Creating default object from empty value in /mnt/data/accounts/m/mirousek/data/www/eu/mirousek/www/modules/taxonomy/ on line 33.

error MSB4044: The "Fody.WeavingTask" task was not given a value for the required parameter "SolutionDir".

There is bug. Not sure if in VS or somewhere else.

Usually it's enough to restart Visual Studio.

For Xamarin, switch from Debug to Release could supposedly work.

Keywords: .NET, C#, Visual Studio

Jenkins Git Fetch sometimes hangs

Sometimes when job build is started it hangs and just first line of log is shown. You have to manually abort the build and run again.

This happened on Windows. Here is solution which worked for me (although I don't know actual cause of problem): Jenkins called
from bin directory (the actual executable run was
). If I changed the called program to
everything started to work fine, no more hangs.


Keywords: Git, Jenkins, Windows

How to update drupal core using drush

drush up drupal
Keywords: Drupal, Drush

Drupal fbconnect: Ensure that you entered valid api keys, Call to undefined method Facebook::getSession()

If you install Drupal fbconnect module, you can meet two problems: Ensure that you entered valid api keys When you click App Settings in fbconnect administration, you can see this message. It's caused by missing Facebook PHP SDK.

Solution is to download it from…book-php-sdk:

cd sites/all/modules/fbconnect
git clone facebook-php-sdk

Call to undefined method Facebook::getSession() If you have Facebook PHP SDK installed, you can get this error. It's caused by changes in Faceboo

Keywords: Drupal, Facebook

Inline video in Android browsers


<video id="video" autobuffer height="240" width="360">
<source src="BigBuck.m4v">
<source src="BigBuck.webm" type="video/webm">
<source src="BigBuck.theora.ogv" type="video/ogg">


  function init() {

  function enableVideoClicks() {
    var videos = document.getElementsByTagName('video') || [];
    for (var i = 0; i < videos.length; i++) {
      // TODO: use attachEvent in IE
      videos[i].addEventListener('click', function(videoNode) {
Keywords: Android, JavaScript

Removing wrongly created branch from Git

If you accidentally fetched branch or branched local one and named it incorrectly (remotes/master instead of remotes/origin/master):

$ git branch -a
* master

You can't delete it using

$ git branch -d "remotes/master"
error: branch 'remotes/master' not found.

But you have to use

$ git branch -rd master
Deleted remote branch master (was d980b5e).
Keywords: Git, remove branch

How to enable assembly binding logging

DWORD EnableLog set value to 1
DWORD ForceLog set value to 1
DWORD LogFailures set value to 1
DWORD LogResourceBinds set value to 1
String LogPath set value to folder for logs ie) C:\FusionLog\

Keywords: .NET, assembly binding, assembly binding logging

How to reset Drupal password

update users set pass=md5('NEWPASS') where uid = 1;

Keywords: Drupal, reset drupal password
Syndicate content