Skip to content

Instantly share code, notes, and snippets.

@vvsotnikov
vvsotnikov / screensaver.md
Created September 29, 2020 07:56
Video Screensaver setup WIn10
  1. Download the free open-source Video Screensaver tool at https://sourceforge.net/projects/videosaver/
  2. This tool requires .NET 4.5 runtime. You could download it from here https://www.microsoft.com/ru-ru/download/details.aspx?id=30653
  3. Unpack the VideoScreensaver.scr file. Make sure that both this file and screensaver video are placed in the same disk volume as you Windows installation.
  4. Press right mouse button on the VideoScreensaver.scr file, then press "Install" in the context menu. "Screen Saver Settings" system menu will be opened.
  5. Press "Settings" button in the opened menu, choose screensaver video.

Tested on Windows 10 Pro (builds 1909 and 2004).

@vvsotnikov
vvsotnikov / MesChain.sol
Last active April 29, 2018 15:25
Simple Ethereum smart contract for sending text messages.
pragma solidity ^0.4.0;
contract Messenger {
struct MsgDB {
uint totalMessages;
mapping (uint => string) message;
}
struct Message {
string text;
string date;
@vvsotnikov
vvsotnikov / Ixibium.sol
Last active April 29, 2018 15:40
Simple Ethereum token.
pragma solidity ^0.4.0;
contract Ixibium
{
address public owner;
uint public totalMoney;
event TransactionMade(address sender, address receiver, string message, uint amount);
mapping (address => uint) private wallets;