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.io.File; | |
import java.io.IOException; | |
import org.bukkit.Bukkit; | |
import org.bukkit.configuration.file.FileConfiguration; | |
import org.bukkit.configuration.file.YamlConfiguration; | |
import org.bukkit.plugin.Plugin; | |
import org.bukkit.plugin.java.JavaPlugin; | |
public class PowerConfig { | |
JavaPlugin m = null; |
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 urllib | |
import os.path | |
with open('skins.txt') as fp: | |
for line in fp: | |
try: | |
print line | |
if not (os.path.isfile("skins/" + line.rstrip() + ".png")): { | |
urllib.urlretrieve("http://158.69.120.5/assets/php/avatar.php?u=" + line.rstrip() + "&s=16", "skins/" + line.rstrip() + ".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
from PIL import Image | |
import os | |
im = Image.open("Voto_Carinha.png") | |
size = (3264,1216) # size of the image to create | |
im2 = Image.new('RGB', size) # create the image | |
x = 0; | |
y = 0; |
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
<audio loop autoplay> | |
<source src="http://dog.mrpowergamerbr.com/mus_dance_of_dog.ogg" type="audio/ogg"> | |
Sadly, your browser doesn't support audio... :( | |
</audio> |
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
<img class="tobyfox" src="http://dog.mrpowergamerbr.com/tobyfox.gif" width="200"></img> |
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
.tobyfox { | |
image-rendering: -moz-crisp-edges; | |
image-rendering: -o-crisp-edges; | |
image-rendering: -webkit-optimize-contrast; | |
-ms-interpolation-mode: nearest-neighbor; | |
image-rendering: pixelated; | |
text-align: center; | |
position: fixed; | |
top: 50%; | |
left: 50%; |
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
package com.mrpowergamerbr.walkit; | |
import cn.nukkit.event.EventHandler; | |
import cn.nukkit.event.Listener; | |
import cn.nukkit.event.player.PlayerMoveEvent; | |
import cn.nukkit.plugin.PluginBase; | |
public class Main extends PluginBase implements Listener{ | |
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 zipfile | |
import os; | |
for allFilesJar in os.listdir(os.path.dirname(os.path.realpath(__file__))): | |
if allFilesJar.endswith(".jar"): | |
print allFilesJar; | |
archive = zipfile.ZipFile(allFilesJar) | |
for file in archive.namelist(): |
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
package me.mrpowergamerbr.powersc2kjoiner; | |
import java.awt.Graphics2D; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import javax.imageio.ImageIO; | |
public class SC2KJoiner { |
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
package me.mrpowergamerbr.sparklysparky.modules; | |
import java.util.ArrayList; | |
import org.bukkit.Bukkit; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.Listener; | |
import org.bukkit.event.player.PlayerLoginEvent; | |
import org.bukkit.event.player.PlayerLoginEvent.Result; |