Skip to content

Instantly share code, notes, and snippets.

View pro100skm's full-sized avatar
In hard work

Mr.P pro100skm

In hard work
View GitHub Profile
git init - инициализирует репозиторий и создает скрытую папку .git в корне проекта
git add
git commit -m 'My first commit'
git status - показывает статус репозитория и всех фалов
git pull - стянуть все изменения с инета
git push - выложить изменения в инет
Категории файлов
untracked - файли за которыми репозиторий не следит. (git add .)
#include <stdio.h>
#include "my_lab.h"
#include <string.h>
int main()
{
FILE* file;
FILE* results;
fopen_s(&file, "c:/test/test.txt", "r");
if (file == NULL)
#ifndef MY_LAB_H
#define MY_LAB_H
#include <stdio.h>
#include <stdio.h>
#include <string.h>
class HugeInt
{
public:
#include <stdio.h>
#include "my_lab.h"
HugeInt::HugeInt()
{
for (int i = 39; i >= 0; i--)
{
num[i] = 0;
}
size = 0;
@pro100skm
pro100skm / conf.py
Created July 19, 2018 15:32
django email
EMAIL_HOST = 'smtp.yandex.ru'
EMAIL_HOST_USER = 'info@example.ru'
EMAIL_HOST_PASSWORD = 'PASSWORD'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
#EMAIL_USE_SSL = True
#EMAIL_PORT = 465
@pro100skm
pro100skm / main.cpp
Created March 8, 2018 15:58
For Sarver from my HEART
#include <iostream>
using namespace std;
int main()
{
char m[3][3];
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 3; ++j) {
a[i][j]='-';