This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
#Указывается язык и кодировка. | |
#This code is released under | |
#GNU LESSER GENERAL PUBLIC LICENSE | |
#http://www.gnu.org/copyleft/lesser.html | |
from random import uniform | |
#Загружается модуль случайных чисел. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
#Указывается язык и кодировка. | |
#This code is released under | |
#GNU LESSER GENERAL PUBLIC LICENSE | |
#http://www.gnu.org/copyleft/lesser.html | |
from random import uniform, triangular | |
from math import sqrt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
#Указывается язык и кодировка. | |
#This code is released under | |
#GNU LESSER GENERAL PUBLIC LICENSE | |
#http://www.gnu.org/copyleft/lesser.html | |
from random import triangular | |
#Импорт модулей генерации случайных чисел с |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
#Указывается язык и кодировка. | |
#This code is released under | |
#GNU LESSER GENERAL PUBLIC LICENSE | |
#http://www.gnu.org/copyleft/lesser.html | |
from random import triangular | |
#Импорт модулей генерации случайных чисел с симметричным распределением. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
#Указывается язык и кодировка. | |
#This code is released under | |
#GNU LESSER GENERAL PUBLIC LICENSE | |
#http://www.gnu.org/copyleft/lesser.html | |
print 'Программа создания зеркального отображения текста' | |
print '-----------' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HLPARG=--help | |
# VRBARG=--verbose | |
TMPDIR=/tmp/vessobel | |
ERR='" либо eMail="" не найден' | |
HTM=vessobel.html | |
# VRB=1 | |
HLPMSG="Tool to get traffic statistic from Internet provider Vesso-Bel (Belarus).\n\n\ | |
Usage: vessobel.sh [LOGIN]\n\nOutput: [Used in MB] / [Free in MB] | [Total in GB]\n\n\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HLPARG=--help | |
TMPDIR=/tmp/vessobel | |
ERR='" либо eMail="" не найден' | |
HTM=vessobel.html | |
HLPMSG="Tool to get traffic statistic from Internet provider Vesso-Bel (Belarus).\n\n\ | |
Usage: vessobel.sh [LOGIN]\n\nOutput: [Used in MB] / [Free in MB] | [Total in GB]\n\n\ | |
Options:\n\t--help\t\tprint this help.\n\n\ | |
Mail bug reports and suggestions to <dap.darkness at gmail dot com>." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HLPARG=--help | |
KDEARG=--kde | |
ERR='" либо eMail="" не найден' | |
OUT='Unknown error!' | |
if [ "`echo $@ | grep -o -- $HLPARG`" == $HLPARG ] | |
then | |
OUT="Tool to get traffic statistic from Internet provider Vesso-Bel (Belarus).\n\n\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HLPARG=--help | |
KDEARG=--kde | |
LOGERR='" либо eMail="" не найден' | |
IPERR="пулу" | |
OUT='Unknown error!' | |
if [ "`echo $@ | grep -o -- $HLPARG`" == $HLPARG ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
HLPARG=--help | |
KDEARG=--kde | |
LOGERR='" либо eMail="" не найден' | |
IPERR="пулу" | |
OUT='Unknown error!' | |
if [ -n "`echo $@ | grep -o -- $HLPARG`" ] | |
then |
OlderNewer