- python 2.7 или >=3.0
- matplotlib
- При создания формы надо быть увереным, что поля идут в определённом порядке. А именно:
- Имя
- Телефон
- После этого надо заменить обычную кнопку подтверждения формы на свою:
- Скроем обычную кнопку. Для этого пропишем
display: none;
в расширенных настройках кнопки (справа) в полеЧистый CSS
. - Создаем
Кнопка
: * Ссылка должна быть вида:#wtk_fire_newNN
, гдеNN
— номер блока формы. Чтобы его узнать, надо нажать один раз на форму и посмотреть, что будет написано в правом блоке сверху. Например,Форма 79
, значитNN
будет равен 79.
У нас было два макбука, семь недель, 50 пакетов NPM
и Bower
, кофе, наполовину наполненный кофеином, и целое море разноцветных переговорок, комнат и закутков, а так же литр воды, пол-литра молока, ящик «Святого Источника», пинта чистого чая, и несколько менторов. Не то, чтобы всё это было категорически необходимо в проекте, но если уж начал собирать коллекцию, то к делу надо подходить серьёзно.
This file contains hidden or 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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"auto_indent": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"default_line_ending": "unix", | |
"detect_indentation": false, | |
"draw_minimap_border": true, | |
"draw_white_space": "all", | |
"fade_fold_buttons": false, |
This file contains hidden or 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
set number | |
set ruler | |
syntax on | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set expandtab ts=4 sw=4 ai | |
filetype plugin indent on | |
set nocp |
This file contains hidden or 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
CC=gcc | |
CFLAGS=-Wall -ggdb | |
all: Integral | |
Integral: main.c | |
$(CC) $(CFLAGS) -o integral main.c -lpthread |
This file contains hidden or 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
from math import sqrt, fabs, ceil | |
import matplotlib.pyplot as plt | |
from matplotlib.ticker import MaxNLocator | |
import numpy as np | |
class PoissonEquation(object): | |
def __init__(self, step=0.1): | |
try: | |
self.step = float(step) |
This file contains hidden or 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
import matplotlib.pyplot as plt | |
from matplotlib.ticker import MaxNLocator | |
import numpy as np | |
X = np.arange(0, 1, .1) | |
Y = np.arange(0, 1, .1) | |
X, Y = np.meshgrid(X, Y) | |
Z = X**2 + Y**2 | |
levels = MaxNLocator(nbins=15).tick_values(Z.min(), Z.max()) |
This file contains hidden or 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
#define DS 8 | |
#define SHCP 9 | |
#define STCP 10 | |
void setup() { | |
pinMode(DS,OUTPUT); | |
pinMode(SHCP,OUTPUT); | |
pinMode(STCP,OUTPUT); | |
digitalWrite(SHCP,LOW); | |
digitalWrite(STCP,LOW); |
NewerOlder