This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
REM CREATED ON: 2023-07-11 | |
REM AUTHOR: toydotgame | |
REM cmdscript!!!?!?! | |
DOSKEY ls=dir | |
DOSKEY clear=cls | |
REM SETLOCAL enabledelayedexpansion | |
REM Set working dir at `~`: | |
CD /D %homedrive%%homepath% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** Tighten up drop-down/context/popup menu spacing (8 Sep 2021) ***/ | |
menupopup:not(.in-menulist) > menuitem, | |
menupopup:not(.in-menulist) > menu { | |
padding-block: 4px !important; /* reduce to 3px, 2px, 1px or 0px as needed */ | |
min-height: unset !important; /* v92.0 - for padding below 4px */ | |
} | |
:root { | |
--arrowpanel-menuitem-padding: 4px 8px !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url("https://moyaiu.github.io/OldCord/src/main.css"); | |
/* Aeylia */ | |
img[src*="https://cdn.discordapp.com/avatars/274739233351008259/301cf4e0ae0b82c58270951f5e4341f6.webp"] { | |
content: url("https://lh3.googleusercontent.com/contacts/AKUYANR2sfHodQ4yOi3Kdx-CPDCowCzCUIPm8tTkQLLoPDCTIs8rUunh=s272-p-k-no"); | |
} | |
/* Cryfin */ | |
img[src*="https://cdn.discordapp.com/avatars/295149416032239617/775216db80ef33f25d4a458ac5ac1735.webp"] { | |
content: url("https://i.imgur.com/6SjPXqy.png"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backup_dir=/mnt/backup/ | |
log_name=backups.log | |
echo "Running backup script." | |
echo $(date +"Date & Time: %Y-%m-%d %I:%M %p") >> ${backup_dir}${log_name} | |
echo -e $(date +"Backup Date: %I:%M %p %A, %d %B, %Y.\nMoved to archbox: \nISO: %Y-%m-%d %H%M") > ${backup_dir}savetime.txt | |
echo "Beginning file copy..." | |
cp -fruv /home/iccmc/ICCMC/world* ${backup_dir} >> ${backup_dir}${log_name} | |
echo >> ${backup_dir}${log_name} | |
echo "Backup complete." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FCLR="\e[0m" | |
FBLD="\e[1m" | |
FRED="\e[31m" | |
FYEL="\e[33m" | |
FWHT="\e[39m" | |
########################################################################################### | |
#### SCRIPT CREATED: 2021-07-11 # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=Application | |
Comment=This file goes in /usr/share/applications | |
Exec=/path/to/app.sh | |
Icon=/path/to/icon.png | |
Path=/path/to/launch/directory/ | |
Terminal=false | |
StartupNotify=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.Random; | |
import java.util.Scanner; | |
public class TicTacToe { | |
static ArrayList<Integer> playerPositions = new ArrayList<Integer>(); | |
static ArrayList<Integer> cpuPositions = new ArrayList<Integer>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class percentageCalculator { | |
public String xStr = "0"; | |
public String yStr = "0"; | |
public static void main(String[] args) { | |
float x = 0; | |
float y = 0; | |
float z = 0; |