Skip to content

Instantly share code, notes, and snippets.

@smvd
smvd / C:\Eclips-Terminal\Documentation.txt
Created January 18, 2021 16:11
the description for this gist
String file contents
@smvd
smvd / Documentation.txt
Created January 18, 2021 16:14
the description for this gist
Eclips-Terminal Documentation [] = optional {} = requered * = Needs Admin Read-Commands Read-About Start-Website [Url] Get-Ip {Local/Public} Show-Networks Show-WifiCodes {Name} Find-Running Clear-Folder {Location} Get-Info Enable-Keyboard Open-WebsiteList [Edit] Save-Cloud {Location} [Key] Unblock-Cmd Start-Spambot Send-Printer {Location} {Name} Import-File {Location} Read-Trump Get-DadJoke Get-Chucky Get-IpLocation {IP} Get-Compliment Get-Location Read-Number {Number} Get-NumberFact {Number} Get-Dog Get-Cat Get-Insult [Name] Convert-Temperature {Celsius/Kelvin/Fahrenheit} {Celsius/Kelvin/Fahrenheit} {Number} Get-AllWifiCodes [Location] Get-Users [Location] Get-AntiVirus Invoke-Bsod Get-StarwarsQuote Trace-ISS Get-DadJoke Test-Ram Export-Screen {Location} Find-Characters Read-LoremIpsum Set-ReadOnly {True/False} {Location} Resolve-Url {Url} Get-AllFolders Request-RandomData ConvertFrom-Morse {Text} ConvertTo-Morse {Text} Confirm-Email {Email} Stop-Windows *Block-Internet *Unblock-Internet Block-Wifi Unblock
@smvd
smvd / Documentation.txt
Created January 18, 2021 16:15
the description for this gist
Eclips-Terminal Documentation [] = optional {} = requered * = Needs Admin Read-Commands Read-About Start-Website [Url] Get-Ip {Local/Public} Show-Networks Show-WifiCodes {Name} Find-Running Clear-Folder {Location} Get-Info Enable-Keyboard Open-WebsiteList [Edit] Save-Cloud {Location} [Key] Unblock-Cmd Start-Spambot Send-Printer {Location} {Name} Import-File {Location} Read-Trump Get-DadJoke Get-Chucky Get-IpLocation {IP} Get-Compliment Get-Location Read-Number {Number} Get-NumberFact {Number} Get-Dog Get-Cat Get-Insult [Name] Convert-Temperature {Celsius/Kelvin/Fahrenheit} {Celsius/Kelvin/Fahrenheit} {Number} Get-AllWifiCodes [Location] Get-Users [Location] Get-AntiVirus Invoke-Bsod Get-StarwarsQuote Trace-ISS Get-DadJoke Test-Ram Export-Screen {Location} Find-Characters Read-LoremIpsum Set-ReadOnly {True/False} {Location} Resolve-Url {Url} Get-AllFolders Request-RandomData ConvertFrom-Morse {Text} ConvertTo-Morse {Text} Confirm-Email {Email} Stop-Windows *Block-Internet *Unblock-Internet Block-Wifi Unblock
{cluster: "0", command: "write", parameters: "Hello world!"}
{"command":"clear","params":"Hello World!"}
@smvd
smvd / .README.c
Last active April 30, 2021 12:18
Snek - The game
/*
License: https://unlicense.org
But please credit my YT channel ;-)
Eclips-Coding
_____ _ _ ______ _ __ _______ _ _ ______ _____ __ __ ______
/ ____| \ | | ____| |/ / |__ __| | | | ____| / ____| /\ | \/ | ____|
| (___ | \| | |__ | ' / ______ | | | |__| | |__ | | __ / \ | \ / | |__
\___ \| . ` | __| | < |______| | | | __ | __| | | |_ | / /\ \ | |\/| | __|
____) | |\ | |____| . \ | | | | | | |____ | |__| |/ ____ \| | | | |____
|_____/|_| \_|______|_|\_\ |_| |_| |_|______| \_____/_/ \_\_| |_|______|
#define WINVER 0x0500 // It needs to be windows 2000 or up
#include <windows.h> // Import windows standard header
#include <string.h> // Import header to work with words
#include <stdio.h> // Import input/output header
int main // Main function
(
int argc, // Variable to hold the ammount of arguments
char **argv // Variable to hold the arguments
/*
____ _____ _ ____ __ __ _____
| _ \| ____| / \ | _ \ | \/ | ____|
| |_) | _| / _ \ | | | | | |\/| | _|
| _ <| |___ / ___ \| |_| | | | | | |___
|_| \_\_____/_/ \_\____/ |_| |_|_____|
<--[ GENERAL ]-->
This is a simple game meant to be fun yet simple.
It uses ANSI codes to make it run without flicker compared to most small terminal games.
/*
[1] - https://docs.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers
[2] - https://www.tutorialspoint.com/c_standard_library/stdio_h.htm
[3] - https://www.tutorialspoint.com/cprogramming/c_functions.htm
[4] - https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-input
[5] - https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-mouseinput
[6] - https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendinput
[7] - https://www.tutorialspoint.com/cprogramming/index.htm
[8] - https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getasynckeystate
[9] - https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
@smvd
smvd / FlappyBird.c
Last active October 6, 2023 23:19
flappy bird writen in c running in the terminal
/*
_ _ _ _____ _ ____ _
| \ | | ___ | |_ | ___| | __ _ _ __ _ __ _ _ | _ \ _ _ ___| | __
| \| |/ _ \| __| | |_ | |/ _` | '_ \| '_ \| | | | | | | | | | |/ __| |/ /
| |\ | (_) | |_ | _| | | (_| | |_) | |_) | |_| | | |_| | |_| | (__| <
|_| \_|\___/ \__| |_| |_|\__,_| .__/| .__/ \__, | |____/ \__,_|\___|_|\_\
|_| |_| |___/
compiler : GCC
command : gcc source.c -o FlappyBird.exe -Werror -Wall -W -s
license : www.unlicense.org (Please credit my channel tho)