Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
void main () {
int a[100][100], b[50][50], ind[100], kol[100], ac[]={7,9,11,8,12,-4};
float x[100][100], sf[100], sf2[100];
int i, j, n, m, l, k, imax;
float max, s;
k=0;
s=0;
#include <stdio.h>
#include <math.h>
void main ()
{
float x1[]={345, 3367, 46, 7867, 356343, 535, 45345164, 234, 34214};
float y1[]={634, 1489, 4589, 42, 13560, 3421, 21, 1234, 234214, 4214231};
float xc[100], yc[100], r[100][100];
float rad;
int a[100][100], b[100][100], i, j, n, m, w;
point_f *grafic(point_f *tgm, point_f *tgm1, int n, PictureBox ^pcb){
float mx, mx1,my, my1,ymax,ymin, superymax, superymin;
int i,xmaxg,ymaxg,xming,yming,hpb,wpd, xn,xk,xcentr,ycentr, xn1, xk1;
float ymax1=tgm1[0].y, ymin1=tgm1[0].y;
point_f *tg, *tg1=new point_f[n];
g->FillRectangle(br2,0,0,pcb->Width-2,pcb->Height-2);
tg=new point_f[n];
@wcspoiler
wcspoiler / test2.py
Last active April 26, 2021 14:17
Test
from sys import argv
v1 = argv
print ' Programm version: %s' %v1
prompt = ' \' Stroka vvoda \': '
print 'Kak tebya zovut?'
name = raw_input(prompt)
print 'Skolko tebe let?'
age = raw_input(prompt)
@wcspoiler
wcspoiler / csr.conf.md
Last active April 27, 2023 18:58 — forked from yidas/csr.conf.md
Certificate(CSR) configuration file

Openssl commands:

openssl genrsa -out self-ssl.key
openssl req -new -key self-ssl.key -out self-ssl.csr -config csr.conf
openssl x509 -req -days 365 -in self-ssl.csr -signkey self-ssl.key -out self-ssl.crt -extensions req_ext -extfile csr.conf

Sign from Root CA: openssl x509 -req -days 365 -extensions req_ext -extfile csr.conf -CA RootCA.crt -CAkey RootCA.key -in self-ssl.csr -out self-ssl.crt