0

Tips & Tricks : How to add .NET Framework 3.51 to Windows 8 or Windows Server 2012

-

Unfortunately there is a problem when you try to add .Net Framework 3.51 to Windows Server 2012 using Server Manager. In order to fix that issue and get .Net Framework 3.51 installed (which is required by majority of applications and servers) issue following command from Command Prompt:

dism /online /enable-feature /all /featurename:NetFX3 /source:x:\sources\sxs

Please notice that x: in source parameter has to be replaced with appropriate drive letter for DVD with Windows Server 2012 installation files.

0

Tips & Tricks : Remove Event Log Source

-

To remove Event Log Source use this:

Remove-EventLog -Source "Desktop Window Manager"
Replace Desktop Window Manager with Event Log Source you want to remove.
0

Code snippets : Mass file rename in Powershell

-

If you want to replace string in multiple files name you can simply use PowerShell for that.

Dir -Recurse | Rename-Item -NewName { $_.name -replace "file","name-of-file" }
0

History : Upgrading Windows from 1.0 to Windows 8 Pro :)

-

Check this out ๐Ÿ™‚ Upgrading Windows from 1.0 to Windows 8 Pro.

It’s great video showing the long way we went from Windows 1.0 to current Windows 8 ๐Ÿ™‚

0

How-To : Deploy VisualEditor extension for MediaWiki 1.24.2 on openSUSE 13.1 x64

-

In previous article I described how-to Deploy Parsoid on openSUSE 13.1 (which turns out to be quite a challenging task). Parsoid is component required for VisualEditor. Now it’s time for VisualEditor deployment.

Downloading VisualEditor

At the moment, when I’m doing deployment, stable version of MediaWiki is 1.24.2. VisualEditor is an extension written for certain version of MediaWiki, hence we can’t just download latest version and use it. It has to be specific release for specific MediaWiki version.

So, first we download VisualEditor for MediaWiki 1.24.2:

git clone -b REL1_24 https://github.com/wikimedia/mediawiki-extensions-VisualEditor.git
cd mediawiki-extensions-VisualEditor/
git submodule update --init

Once it’s done we need to place content of mediawiki-extensions-VisualEditor in extensions/VisualEditor folder under MediaWiki folder structure.

Finally, once we have all files in proper places it’s time to inform MediaWiki about VisualEditor.

Changes to LocalSettings.php

Changes which have to be applied to LocalSettings.php:

# VISUAL Editor
require_once("$IP/extensions/VisualEditor/VisualEditor.php");
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgHiddenPrefs[] = 'visualeditor-enable';
$wgVisualEditorParsoidURL = 'http://localhost:8000';
$wgVisualEditorParsoidPrefix = 'localhost';
Remember to adjust Parsoid URL and Prefix accordingly to setup of your Parsoid service.

From now on you can enjoy VisualEditor until you decide to upgrade to newer version of MediaWiki.
Prior to that I would suggest to check if there is VisualEditor available for new release and test it prior to live deployments.

0

Tips & Tricks : Install Node.js on Debian 7.0 “Wheezy”

-

As on Debian 7.0 Node.js is not included in standard repositories, if you want to install it login to server as a root and issue following commands:

apt-get install curl
curl -sL https://deb.nodesource.com/setup | bash -
apt-get install -y nodejs
0

Cryptocurrency : ArcticCoin (ARC) MasterNode Setup

-

If you interested in cryptocurrency and want to support certain coin and community as well as earn some money, you might be interested in running MasterNode for chosen coins.

In this article I put together some quick guide how to setup ArcticCoin MasterNode. I have this MasterNode setup and running on dedicated VPS with Ubuntu Linux 14.04 64-bit.

So, once you identified hosting provider of your choice, check if you can deploy VPS with that operating system.

Once you have server deployed you can SSH to it as root and follow commands below…

(more…)

0

Code snippets : PowerShell : Changing script execution policy

-

Handy quick one to change script execution policy for PowerShell:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force

Now all scripts should work fine ๐Ÿ™‚

0

Tips & Tricks : SugarCRM CRASH error after installation

-

When tried to access SugarCRM 6.5.13 after installation following error showed up in browser:

CRASH: PHP segmentation violation in session_start() called at [/install.php:486]

To fix that issue .htaccess file has to be created in SugarCRM main older with following content:

(more…)

2

Apps : pass7decode : My First App for PlayBook

-

Finally it happened that I commited my first application for BlackBerry PlayBook. Application I’ve created decodes Type 7 password which is stored in Cisco devices configuration. It is not complicated application and has splash screen and one application screen, but it does what I expected this piece of software to do ๐Ÿ™‚

Using this small app you can decode:

  • wireless keys fro Cisco access points,
  • RADIUS/TACACS shared secrets
  • NTP authentication keys
  • Enable passwords (NOT enable secrets, which are stored using MD5).

I hope to develop this application and add some more decryption abilities for Cisco devices (like group password from PCF file for example).

Here are screenshots of my first app ๐Ÿ™‚

(more…)