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 net.darkseraphim.actionbar; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Modifier; | |
import net.minecraft.server.v1_7_R4.EnumProtocol; | |
import net.minecraft.server.v1_7_R4.NetworkManager; | |
import net.minecraft.server.v1_7_R4.Packet; | |
import net.minecraft.server.v1_7_R4.PacketPlayOutChat; | |
import net.minecraft.util.com.google.common.collect.BiMap; | |
import net.minecraft.util.io.netty.channel.Channel; |
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
buildscript { | |
repositories { | |
mavenCentral() | |
maven { | |
name = "forge" | |
url = "http://files.minecraftforge.net/maven" | |
} | |
maven { | |
name = "sonatype" | |
url = "https://oss.sonatype.org/content/repositories/snapshots/" |
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
public String findMatch(String arg, List<String> words, boolean ignoreRepeat) { | |
// Where the final word will be stored. | |
String word = null; | |
/* | |
* Sometimes two words will equally match (rarely). If we find one that matches, we | |
* increase this by one. Just in case the person wants it to return null, we have the | |
* ignoreRepeat. | |
*/ | |
int repeated = 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
using System; | |
using System.Text; | |
using System.Windows; | |
using System.Windows.Media.Animation; | |
namespace leMaik.Animations { | |
class CryptedTextAnimation : AnimationTimeline { | |
static CryptedTextAnimation() { | |
LengthProperty = DependencyProperty.Register("Length", typeof(int), typeof(CryptedTextAnimation)); | |
} |
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 net.minezrc.framework.test; | |
import org.apache.commons.lang.Validate; | |
import org.bukkit.Bukkit; | |
import org.bukkit.command.*; | |
import org.bukkit.entity.Player; | |
import org.bukkit.help.GenericCommandHelpTopic; | |
import org.bukkit.help.HelpTopic; | |
import org.bukkit.help.HelpTopicComparator; | |
import org.bukkit.help.IndexHelpTopic; |
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.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.UUID; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; |
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
<?php | |
/** | |
* @author Savaş Can ALTUN <savascanaltun@gmail.com> | |
* www.savascanaltun.com.tr | |
* CURL vBulletin Login Example | |
* */ | |
function vBulletinLogin($username,$password,$url,$posturl){ | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_HEADER,false); | |
curl_setopt($ch, CURLOPT_COOKIEFILE, 'veri.txt'); |
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.darkblade12.particledemo.particle; | |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.bukkit.Bukkit; |
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
::-webkit-scrollbar{ | |
height:16px; | |
overflow:visible; | |
width:16px; | |
} | |
::-webkit-scrollbar-button{ | |
height:0; | |
width: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
import urllib, json | |
class SABnzbd(object): | |
""" | |
Usage: | |
>>> from sabnzbd import SABnzbd | |
>>> s = SABnzbd('sakar.local', 8080, '4488f2881b90d7753bef8fb9e1bc56b3') | |
>>> s.pause() # Pauses the downloads | |
>>> s.shutdown() # Shut's down SABnzbd+ | |
""" |
OlderNewer