Skip to content

Instantly share code, notes, and snippets.

View whatafunc's full-sized avatar
🍭
web development using PHP & Node.js for backend

Dmitriy I. whatafunc

🍭
web development using PHP & Node.js for backend
View GitHub Profile
@whatafunc
whatafunc / mail-test.php
Created August 10, 2022 06:20 — forked from Dreyer/mail-test.php
Quick & Dirty PHP Mail Test Script
<?php
/*
DONT FORGET TO DELETE THIS SCRIPT WHEN FINISHED!
*/
ini_set( 'display_errors', 1 );
error_reporting( E_ALL );
$from = '[email protected]';
@whatafunc
whatafunc / nginx_nodejs.md
Created August 5, 2022 11:16 — forked from MoonFoxy/nginx_nodejs.md
Сервер в связке Nginx + NodeJs

Сервер в связке Nginx + NodeJs

Данная пошаговая инструкция поможет освоить основы на простом примере

Для справки

Сервер поднимался на Debian 8 c характеристиками:

CPU - 1 ядро x 500 МГц

@whatafunc
whatafunc / Model_Repo_RelatedProfile.php
Created March 20, 2018 11:50
XC5 module for marking customers related when needed so that the admin knows which clients are in fact from the same company
<?php
namespace XLite\Module\RealData\Related\Model\Repo;
/**
* Profile relations repository
*/
class ProfileRelation extends \XLite\Model\Repo\ARepo
{
/**
@whatafunc
whatafunc / BasicToken.sol
Created October 17, 2017 06:18 — forked from anonymous/BasicToken.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.17+commit.bdeb9e52.js&optimize=undefined&gist=
pragma solidity ^0.4.15;
import './ERC20Basic.sol';
import './SafeMath.sol';
/**
* @title Basic token
* @dev Basic version of StandardToken, with no allowances.