Skip to content

Instantly share code, notes, and snippets.

@qubbit
Created February 5, 2014 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qubbit/8834434 to your computer and use it in GitHub Desktop.
Save qubbit/8834434 to your computer and use it in GitHub Desktop.
Custom motd file I use in my system
#!/bin/bash
echo " ";
echo " ";
echo " ███████╗██╗ ██╗ █████╗ ██╗ ██╗████████╗██╗";
echo " ██╔════╝██║ ██║██╔══██╗██║ ██╔╝╚══██╔══╝██║";
echo " ███████╗███████║███████║█████╔╝ ██║ ██║";
echo " ╚════██║██╔══██║██╔══██║██╔═██╗ ██║ ██║";
echo " ███████║██║ ██║██║ ██║██║ ██╗ ██║ ██║";
echo " ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝";
echo " ";
weather="$(weather 85716 -q)";
echo -e "Weather\n=======\n$weather\n";
temp="$(sensors -f | grep Core)";
echo -e "CPU Temperature\n===============\n$temp\n";
uptime=$(/usr/bin/cut -d. -f1 /proc/uptime);
uptime_days=`expr $uptime / 60 / 60 / 24`;
uptime_hours=`expr $uptime / 60 / 60 % 24`;
uptime_mins=`expr $uptime / 60 % 60`;
uptime_secs=`expr $uptime % 60`;
echo -e "Uptime\n======\n"$uptime_days" days "$uptime_hours" hours "$uptime_mins" minutes";
fortune=$(/usr/games/fortune | /usr/games/cowsay);
echo -e "$fortune";
@44ttxch
Copy link

44ttxch commented Jun 7, 2023

idea good it me
@echo off
SETLOCAL EnableDelayedExpansion
SET version=5.20
title PROGRAM GXRSHOP - v%version% - (gxr#2850 on Discord)

echo Set objShell = CreateObject("WScript.Shell") > GXRSHOP.vbs
echo MsgBox "GXRSHOP (Program v5.20)" >> GXRSHOP.vbs
echo Set objShell = Nothing >> GXRSHOP.vbs

cscript //nologo GXRSHOP.vbs

del GXRSHOP.vbs

REM Prompt the user for input
color 6
echo ===========================================================================================
echo.
echo / / //// _/ _/ / / //// _/ _/
echo _/ _/ _/ _/ _/ _/ / / / /
echo // //
/ / ///
/
/ // //
/ _/
echo _/ _/ _/ _/ _/ _/ _/ _/
echo / / //// _/ v%version% / / //// _/
echo.
echo ===========================================================================================
echo.
set /p "choice=Key = "

-- Edit Password
if "%choice%"==" Password " (
goto ALabel
) else if "%choice%"=="FREE" (
echo.
echo free key
timeout 2 > nul
goto r
) else if "%choice%"=="GXRSHOP" (
echo.
echo BUY KEY JOIN DISCORD
timeout 2 > nul
goto en
) else (
color c
echo.
echo Invalid Password.
echo Invalid Password.
echo Invalid Password.
echo Invalid Password.
echo Invalid Password.
echo.
echo.
timeout 2 > nul
goto en
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment