Skip to content

Instantly share code, notes, and snippets.

View alexted's full-sized avatar

Alex Ted alexted

View GitHub Profile
class Qwer():
def __init__(self, info='12345'): = info
def method(self):
def fun(meth):
return meth()
alexted / test_data
Created September 2, 2019 11:13
'channelId': '52',
'clInfo': {
'bankDetails': {
'bankAccountNum': '40702810100000002519',
'bankID': '041012765',
'bankName': 'Сбербанк'
'billingId': 402.0,
'clAcceptId': 1.0,
alexted / user.service.ts
Created August 21, 2019 08:06
Angular auth module
import {Injectable} from '@angular/core';
import {HttpClient, HttpHeaders} from '@angular/common/http';
export class UserService {
private httpOptions: any;
// текущий JWT токен
public token: string;
alexted /
Created December 21, 2018 22:32 — forked from MarcelFox/
Postfix + Dovecot + Postgresql + Postfixadmin + Roundcube + Opendkim

Postfix Installer

Following script may be used for configuring complete and secure email server on fresh install of Debian 9. It will probably work on other distributions using apt-get. After minor changes you'll be able to use it on other Linux distros.

What it does?

  • Install Postfix and configure it with TLS support.
  • Install Dovecot and configure it's transport on Postfix.
  • Download, extract and correct permissions for Postfixadmin.
  • Download, extract and correct permissions for Roundcube.