Skip to content

Instantly share code, notes, and snippets.

View malcom's full-sized avatar

Marcin Malich malcom

View GitHub Profile
@malcom
malcom / wikipedius.php
Created September 8, 2009 19:20
Wikipedius
<?php
// file charset: CP1250/Windows1250
/*
Wikipedius v1.0
Copyright (c) 2006 Malcom <malcom@.o2.pl>
http://projects.malcom.pl/scripts/tlen/wikipedius.xhtml
License: MIT
Starting Wikipedius
#!/usr/bin/perl -w
#
# adw4301a.pl - Prosta obsluga routera ADW-4301A firmy Planet
# http://projects.malcom.pl/scripts/adw4301a.xhtml
#
# Copyright (c) 2007 Marcin 'MalCom' Malich <me@malcom.pl>
# Licencja GPL
#
# 2007-08-30 17:23:22
@malcom
malcom / uptime.pl
Created September 9, 2009 14:23
uptime tool for Windows
# uptime tool for Windows
# Copyright (c) 2009 Marcin 'Malcom' Malich <me@malcom.pl>
# License MIT
# http://projects.malcom.pl/tools/uptime.xhtml
# http://blog.malcom.pl/2009/07/09/skryptowanie-windowsa-perl/
use strict;
use Win32::OLE qw(in);
use Win32::OLE::Variant;
use Time::Local;
%%====================================================================%
%% BscUS.cls
%% -------------------
%% Date & ver : 2009/06/18 v1.00
%% University : Uniwersytet Slaski
%% Wydzial Matematyki, Fizyki i Chemii
%% Author : Marcin Malich <me@malcom.pl>
%%
%% http://projects.malcom.pl/other/bscus.xhtml
%%
#!/usr/bin/perl -w
#
# o2cfg.pl - Enkoder/dekoder plikow konfiguracyjnych komunikatora Tlen.pl
# Copyright (c) 2007 Marcin 'MalCom' Malich <me@malcom.pl>
# Licencja GPL
#
# http://docs.malcom.pl/tlen/cfgfiles.xhtml
# http://projects.malcom.pl/scripts/tlen/o2cfg.xhtml
#
# 2007-08-21 12:20:37
@malcom
malcom / gcd
Created September 9, 2009 15:02
Google Code Downloader
#!/usr/bin/perl
#
# GCD - Google Code Downloader
# Download source files and rebuild project structure from Google Code Search cache.
#
# usage: ./gcd url path
#
# Version: 0.3
# Licence: GPL
#
/*
* VectorPtr - Thin Template idiom for the vector of pointers
* http://projects.malcom.pl/code/vector_ptr.xhtml
*
* Copyright (C) 2009 Marcin 'Malcom' Malich <me@malcom.pl>
*
* Released under the MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
/*
* TreeLinkedList - simple tree structure with lists, simlar to B-tree
* http://projects.malcom.pl/code/treelist.xhtml
*
* Copyright (C) 2009 Marcin 'Malcom' Malich <me@malcom.pl>
*
* Released under the MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@malcom
malcom / limiter.h
Last active December 16, 2015 11:09
ops limiter
//
// working concept of ops limiter
//
// http://blog.malcom.pl/2013/04/20/limitowanie-ops/
//
// MIT license
//
#ifndef LOPS_LIMITER_H
#define LOPS_LIMITER_H
@malcom
malcom / example.cpp
Last active December 18, 2015 09:09
TestBenchmark
// Test::Benchmark example
// http://gist.github.com/malcom/5759223
#include "testbenchm.hpp"
#include <iostream>
#include <iomanip>
#include <memory>
#include <random>
#include <algorithm> // std::generate_n