Skip to content

Instantly share code, notes, and snippets.

View Soulstorm50's full-sized avatar

Soul Soulstorm50

View GitHub Profile

Keybase proof

I hereby claim:

  • I am soulstorm50 on github.
  • I am s0ulst0rm (https://keybase.io/s0ulst0rm) on keybase.
  • I have a public key ASDb-rhqd4A2F8Z_y8CwQnREw0bvYTZxdtV12oKRGtxV1Qo

To claim this, I am signing this object:

@Soulstorm50
Soulstorm50 / circle.cpp
Created August 10, 2017 13:04
circles on screen
#include "circle.h"
Circle::Circle(QObject *parent) : QObject(parent)
,x(rand() % 600)
,y(rand() % 600)
{
}
@Soulstorm50
Soulstorm50 / main.cpp
Created August 10, 2017 11:54
src on screen
#include "widget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Widget mw(0);
mw.resize(500, 500);
@Soulstorm50
Soulstorm50 / gist:ac84362891bf87677577fd70187ebb40
Created March 12, 2017 10:30
C# файловый анализ содержимого всех каталогов системы
using System;
using System.IO;
using System.Linq;
public class FileLength
{
public static void Main()
{
@Soulstorm50
Soulstorm50 / gist:637e5f0c79bf21efece8b5d953eed55c
Created March 12, 2017 10:28
C# топ-50 самых популярных слов в txt
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ConsoleApplication4
{
// 1. указать путь к директории (например, "C:\\1\\"). указать текст для поиска по файлам (например, "test").
// программа показывает названия всех файлов, которые лежат в указанной директории и содержат указанный текст.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Описать структуру Check: https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D1%81%D1%81%D0%BE%D0%B2%D1%8B%D0%B9_%D1%87%D0%B5%D0%BA
//Предусмотреть функцию добавления информации о товаре (наименование, количество, цена за единицу товара, скидка) в чек, функцию распечатки чека на экране консоли.
using System;
using System.Text.RegularExpressions;
using System.Collections;
using System.Text;
@Soulstorm50
Soulstorm50 / gist:5678d1846fb215836618948c93887ad3
Created March 11, 2017 19:21
C# Класс Student with events
using System;
using System.Text.RegularExpressions;
using System.Collections;
using System.Text;
using System.Threading;
namespace ConsoleApplication1
{
class Program
@Soulstorm50
Soulstorm50 / gist:cac6995e6be9dfe6f1493356e71dda29
Created March 11, 2017 17:26
Класс Student Group with comments C# for doxygen
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
namespace ConsoleApplication10
{
class Program
@Soulstorm50
Soulstorm50 / gist:5b5f164ccb87f8cddd217d7793ad4935
Created March 2, 2017 20:03
на экране пара "идентификатор - значение"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
using System.Reflection;
namespace ConsoleApplication17
{