Skip to content

Instantly share code, notes, and snippets.

Karol Dzitkowski dzitkowskik

  • Poland, Warsaw
Block or report user

Report or block dzitkowskik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dzitkowskik /
Last active Nov 9, 2019
A simple tutorial of using selenium grid in python unittests

Prepare files & libraries

  1. Download selenium standalone server from:, Create local folder at ~/selenium and copy or move jar to that path:
$ mkdir ~/selenium
$ cd ~/selenium
$ wget
$ mv selenium-server-standalone-2.49.1.jar ~/selenium/
def fun(tab, pos, col, depth):
rtab = []
if depth == 9:
return check(tab), rtab
tab.insert(pos, col)
for j in range(depth):
for i in [1,2,3]:
[ret, rtab] = fun(list(tab), j, i, depth+1)
dzitkowskik / LdapConnect.cs
Last active Jan 23, 2020
How to authenticate user in Ldap / OpenLdap using C# (user: test in domain, server on ip port 389)
View LdapConnect.cs
using System;
using System.Net;
using System.DirectoryServices;
using System.DirectoryServices.Protocols;
using System.Security.Permissions;
namespace LdapConnection
[DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)]
public class LdapConnect
View gist:e8e330e24000b06c9fe2
Compiling Log4cplus with automake using ./configure and make i got an error as below:
...@...:~/tmp/log4cplus$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/.../tmp/log4cplus/missing aclocal-1.15 -I m4
/home/.../tmp/log4cplus/missing: linia 81: aclocal-1.15: nie znaleziono polecenia
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'' or m4 files included by ''.
The 'aclocal' program is part of the GNU Automake package:
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cuda.h>
#define DATA_SIZE (ELEMENTS_COUNT * sizeof(storeElement))
struct storeElement
You can’t perform that action at this time.