Skip to content

Instantly share code, notes, and snippets.

View alufers's full-sized avatar
🥚
eggtastic

Albert Koczy alufers

🥚
eggtastic
View GitHub Profile
var hit : RaycastHit;
var ray : Ray = Camera.main.ScreenPointToRay (Input.mousePosition);
if (Physics.Raycast (ray, hit, 10000))
{
Destroy(hit.transform.gameObject);
# API methods on the method-whitelist will be
# able to called without any sort of authentication
method-whitelist:
- getPlayerLimit
- dynmap.getPort
- getPlayerCount
options:
stream_pusher:
max_queue_age: 30
max_queue_length: 500
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>STRONA Z TSI</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<meta name="Content-Language" content="pl">
<meta name="author" content="Imie i nazwisko">
<meta name="generator" content="Notepad++">
<meta http-equiv="Last-Modified" content="Mon, 08 Dec 2014 18:43:19 GMT" />
<!doctype html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf8" />
<style>
body{
font-family: Verdana;
}
</style>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf8" />
<style>
body{
font-family: Verdana;
}
</style>
** (cheese:24186): CRITICAL **: cheese_preferences_dialog_on_source_change: assertion '_tmp2_ > ((guint) 0)' failed
(cheese:24186): cheese-CRITICAL **: cheese_camera_device_get_device_node: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
(cheese:24186): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed
(cheese:24186): GLib-GIO-CRITICAL **: g_settings_schema_key_type_check: assertion 'value != NULL' failed
(cheese:24186): GLib-CRITICAL **: g_variant_get_type_string: assertion 'value != NULL' failed
@alufers
alufers / index.html
Last active August 29, 2015 14:13
HTML5 Skleton
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<link href="style.css" rel="stylesheet" type="text/css">
<title>HTML5</title>
</head>
<body>
HashMap<Player, Inventory> ekwipunekGraczy = new HashMap<Player, Inventory>(); // tworzymy sobię hashmapę, pewnie będzie to pole twojej klasy plugin
//dodajemy do niej nowy ekwipunek i przypisujemy go do gracza (daj to do omendy /create albo coś, zmienna gracz to garcz, który wywołał tą komendę)
ekwipunekGraczy.put(gracz, Bukkit.createInventory(gracz, TUTAJ_WPISZ_ILOŚĆ_SLOTÓW, "NAZWA"));
//jeżeli gdzies musisz odczytać ekwipunek gracza używasz .get:
Inventory ekwipunekJakiegosGracza = ekwipunekGraczy.get(gracz);
//mozesz robic teraz z tym ekwipunkiem co chesz
var missionStats = [];
var imission = 1;
function Cq(a) {
var b = {},
c = "";
if (a.vb.uz) {
a.vb.Dm() ? c = p.text("screen/quest/button_fight_quest_tooltip") : a.vb.Nj() && (c = p.text("screen/quest/button_time_quest_tooltip"));
var d = a.vb,
b = d.qa(),
g = b.wc();
@alufers
alufers / gist:1ba076e2de2185fe3010
Last active January 10, 2024 06:06
Hero zero bot
function doTrenning(id) {
$('.btnClose').click()
$('#menu-training').click();
$('#trainingStatButton-' + id).click();
$('#btnTrainStart').click();
setTimeout(function () {
$('.btnClose').click();
}, 5 * 60 * 1000 + 20000)
setTimeout(function () {