Skip to content

Instantly share code, notes, and snippets.

View rmrevin's full-sized avatar
🤖
Focusing

Revin Roman rmrevin

🤖
Focusing
View GitHub Profile
pragma solidity ^0.4.18;
// File: zeppelin-solidity/contracts/math/SafeMath.sol
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
@rmrevin
rmrevin / codeception.yml
Created June 26, 2017 15:51
root codeception.yml
include:
- 'erp-app/tests'
- 'hub-app/tests'
- 'storage-app/tests'
paths:
log: _output
settings:
colors: true
coverage:
enabled: true
@rmrevin
rmrevin / Money.php
Last active January 30, 2016 17:02
Money formatter helper
<?php
class Money
{
/**
* @param string $value
* @return integer
*/
public static function convertToStore($value)
@rmrevin
rmrevin / MinTask.php
Created January 30, 2015 19:41
phing minify task
<?php
/**
* MinTask.php
* @author Revin Roman http://phptime.ru
*/
require_once 'phing/Task.php';
/**
* Task to compress files using YUI Compressor.