Skip to content

Instantly share code, notes, and snippets.

View michalkotas's full-sized avatar

Michał Kotas michalkotas

View GitHub Profile

Keybase proof

I hereby claim:

  • I am michalkotas on github.
  • I am mikofoto (https://keybase.io/mikofoto) on keybase.
  • I have a public key ASA_qr9f9DAHhD-iLI2J8IerzacLSEkbynXe40AbXSiqtAo

To claim this, I am signing this object:

@michalkotas
michalkotas / Deposite.sol
Created February 17, 2019 15:07
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.4+commit.9549d8ff.js&optimize=false&gist=
pragma solidity ^0.5.4;
contract Deposite {
address public owner;
constructor() public {
owner = msg.sender;
}
}
@michalkotas
michalkotas / vzdump-hook-script.pl
Created July 11, 2017 13:18
Perl script that uploads backup files to cloud storage using rclone, removes backups older then 1 week.
#!/usr/bin/perl -w
# example hook script for vzdump (--script option)
use strict;
print "HOOK: " . join (' ', @ARGV) . "\n";
my $phase = shift;