Skip to content

Instantly share code, notes, and snippets.

View aaomidi's full-sized avatar

Amir Omidi aaomidi

  • Spirl
  • US
View GitHub Profile
@aaomidi
aaomidi / Public Key
Last active December 27, 2015 04:49
---- BEGIN SSH2 PUBLIC KEY ----
Comment: "4096 Bit RSA key"
AAAAB3NzaC1yc2EAAAABJQAAAgEAickzEbUgIRSx/d0+UDcxxXMnXgzjWSLF3L0O
jRR6JARSMQzrYnHPBwbbCVlwa+MaGh5A0Cr2058O5pfmIFqd3APTB8BihlpaKcTl
U11GkJJ+D7cdwWShLhHiFfcEldChFqNkxFcVhdhdCOBs00y8h+745bCPzu50ejq0
7UDUJEWEaOQe5XkzYFAIpjj3arc1zmExP4KoZQ1hjLPyohelPmbGD7Qf+6qJbHuF
rCTjOfZuae08ali1BWtzh2mkEjBLWlOu4VzV+b3w0gZ7ueRE7dqaYZxnNXUuz25v
SgeGxAr1l2CnsI2QNPv5Wdphb+eX/XI9sVvPlLqJtJShXYSyIvJtpBN1Yh4aM5GZ
v2Jpi+f2YZL0ORIhBbh6sCMWOY0EOa2osqzbFOLEJPOdyor2H9mTJ6osDaSJbj9N
RsH/cTVjEhFgueQzqEsYBlj+KVi4qXdRAjDg++6W1cT06qxbUFxSrtLvaQtItHxV
@aaomidi
aaomidi / OpenSSH public key
Last active December 27, 2015 04:49
OpenVPN format public key.
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEAickzEbUgIRSx/d0+UDcxxXMnXgzjWSLF3L0OjRR6JARSMQzrYnHPBwbbCVlwa+MaGh5A0Cr2058O5pfmIFqd3APTB8BihlpaKcTlU11GkJJ+D7cdwWShLhHiFfcEldChFqNkxFcVhdhdCOBs00y8h+745bCPzu50ejq07UDUJEWEaOQe5XkzYFAIpjj3arc1zmExP4KoZQ1hjLPyohelPmbGD7Qf+6qJbHuFrCTjOfZuae08ali1BWtzh2mkEjBLWlOu4VzV+b3w0gZ7ueRE7dqaYZxnNXUuz25vSgeGxAr1l2CnsI2QNPv5Wdphb+eX/XI9sVvPlLqJtJShXYSyIvJtpBN1Yh4aM5GZv2Jpi+f2YZL0ORIhBbh6sCMWOY0EOa2osqzbFOLEJPOdyor2H9mTJ6osDaSJbj9NRsH/cTVjEhFgueQzqEsYBlj+KVi4qXdRAjDg++6W1cT06qxbUFxSrtLvaQtItHxV3JY9c0TfDM8psuX5GMom+QliWu6XmF2HASwJ7k4SnH99p6UarLvEHaiynssMywsV0B5ttQHPM5ye3e/XJiWCKNxG16qR1Aribf6egzSr91KUfY6PdDnFi08Lh+ZvZdHQerKvkp+txu++unEE3KKE/zfTEFUUSt3FVDlzQTVtu78ihRAfAbVSpv0++xSQKKzbqtPziak= 4096 Bit RSA key

Guidelines for staff members of Minecraft Cloud Network (MCCN)

Hello Staff Members of Minecraft Cloud Network (MCCN) please follow the rules below when administrating the servers:

Mods:

  • Under no circumstances shall you disrespect the players.
  • Under no circumstances shall you force English as the server language.
  • If you're not sure about a rule, please ask in the [Skype conversation][1].

Amir's Resume #############


@aaomidi
aaomidi / config.yml
Created April 3, 2014 14:30 — forked from tonybruess/config.yml
OC Network NCP
# Configuration generated by NoCheatPlus 3.8.0-RC-b${BUILD_NUMBER}.
savebackconfig: true
logging:
active: true
debug: false
console: true
file: true
filename: nocheatplus.log
ingamechat: true
usesubscriptions: false
import com.earth2me.essentials.Essentials;
import com.earth2me.essentials.Kit;
import com.earth2me.essentials.MetaItemStack;
import com.earth2me.essentials.textreader.IText;
import com.earth2me.essentials.textreader.KeywordReplacer;
import com.earth2me.essentials.textreader.SimpleTextInput;
import net.ess3.api.IEssentials;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
@aaomidi
aaomidi / backup.sh
Last active August 29, 2015 14:02
Custom Backup Script
#!/bin/bash
set -e
cd /mc/servers
for name in *; do
echo "Saving server: $name" >&2
mark2 send -n "$name" save-off || true
mark2 send -n "$name" save-all || true
done
#!/bin/bash
set -e
cd /mc/servers
for name in *; do
mark2 send -n "$name" say "Hey players! We're stopping the server to update them! Please join back in 10 minutes"
mark2 send -n "$name" stop ||true
done
echo "Starting to download updates and place them in the servers!" >&2
@aaomidi
aaomidi / start.sh
Last active August 29, 2015 14:02
Starts the Minecraft servers
#!/bin/bash
set -e
cd /mc/servers
for name in *; do
echo "Starting server $name" >&2
mark2 start -i
sleep 5s
done
@aaomidi
aaomidi / RAFS.bat
Last active August 29, 2015 14:03
Remove Advertisements From Skype
@echo off
color A
cls
goto checkPermissions
:checkPermissions
echo Admin permissions required. Detecting permissions
net session > nul 2>&1
if %errorLevel% EQU 0 (
echo Success. Administrative permissions confirmed