Skip to content

Instantly share code, notes, and snippets.

View Attosius's full-sized avatar

Attos Attosius

View GitHub Profile
@Attosius
Attosius / gist:99fd2f71aa249124e2540052b92d175d
Last active August 25, 2025 10:52
ДЗ: Картинки
using System;
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
int picturesOnScreen = 52;
int picturesCountInRow = 3;
@Attosius
Attosius / gist:7eff4ec9d3953d4ad20f57719710c3b1
Last active August 24, 2025 19:10
ДЗ: Работа со строками
namespace IJuniorTasks
{
internal class Program
{
static void Main(string[] args)
{
Console.WriteLine("Добрый день, как вас зовут?");
string name = Console.ReadLine();
Console.WriteLine("Сколько вам лет?");
string age = Console.ReadLine();
@Attosius
Attosius / gist:90ea47f5f021835ee71f658b4ed7f550
Created August 24, 2025 18:18
ДЗ: Переменные
string name = "Andrey";
char symbol = 'a';
bool canPay = true;
byte alpha = 255;
short typeOfCode = 1000;
int money = 0;
uint unusedType = 4_000_000_000;
long bigNumber = 5_000_000_000;
decimal muchMoney = 10_000_000_000;
@Attosius
Attosius / vimeo-downloader.js
Created July 18, 2020 19:12 — forked from mistic100/vimeo-downloader.js
Download video from Vimeo (chopped m4s files)
// 1. Open the browser developper console on the network tab
// 2. Start the video
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL
// 4. Run: node vimeo-downloader.js "<URL>"
// 5. Combine the m4v and m4a files with mkvmerge
const fs = require('fs');
const url = require('url');
const https = require('https');