Skip to content

Instantly share code, notes, and snippets.

View Cellane's full-sized avatar

Cellane

View GitHub Profile
<?php
$login = "[email protected]";
$password = "tak blbej zase nejsem, tůůdle";
$site_url = "http://reformedstrategy.guildlaunch.com";
$login_url = "https://reformedstrategy.guildlaunch.com/recruiting/login.php?gid=54449";
$feed_url = "http://reformedstrategy.guildlaunch.com/feeds/forums/?mode=last_forum_posts&gid=54449";
$post_vars = "loginEmail=". $login ."&loginPassword=". $password ."&submit=true";
$fp = fopen ("cookie.txt", "w");
fclose ($fp);
<?php
$login = "ENTER EMAIL ADDRESS HERE";
$password = "ENTER PASSWORD HERE";
$site_url = "http://reformedstrategy.guildlaunch.com";
$login_url = "https://reformedstrategy.guildlaunch.com/recruiting/login.php?gid=54449";
$feed_url = "http://reformedstrategy.guildlaunch.com/feeds/forums/?mode=last_forum_posts&gid=54449";
$cookie_name = "cookies/". $login ."-cookie.txt";
$post_vars = "action=li2Login&loginEmail=". $login ."&loginPassword=". $password ."&submit=true";
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Script file="modules\reloadui.lua"/>
<Script file="modules\variables.lua"/>
<Script file="local\english.lua"/>
<Script file="local\french.lua"/>
<Script file="local\russian.lua"/>
<Script file="local\german.lua"/>
<Script file="local\taiwan.lua"/>
<Script file="local\spanish.lua"/>
import java.util.StringTokenizer;
/**
* Yes, the name of this class is not optimal
* But I've been naming all classes created by me by this convention
* since I started my studies on this university
*
* Search "Cviceni2" and replace it with "SuperAwesomeString" if you wish :-)
*/
public class Cviceni2 {
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class Cviceni3 {
Calendar birth = Calendar.getInstance (); // contains date of birth
Calendar today = Calendar.getInstance (); // contains today's date
Calendar thisYear = Calendar.getInstance (); // contains date of birthday on this year
3/8 21:01:27.036 SPELL_CAST_START,0x0100000004188F4C,"Voilane",0x511,0x0000000000000000,nil,0x80000000,34914,"Vampiric Touch",0x20
3/8 21:01:28.385 SPELL_CAST_SUCCESS,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00004B4A,"Training Dummy",0x10a28,589,"Shadow Word: Pain",0x20
3/8 21:01:28.459 SPELL_AURA_APPLIED,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00004B4A,"Training Dummy",0x10a28,34914,"Vampiric Touch",0x20,DEBUFF
3/8 21:01:28.459 SPELL_AURA_APPLIED,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00004B4A,"Training Dummy",0x10a28,589,"Shadow Word: Pain",0x20,DEBUFF
3/8 21:01:28.811 SPELL_AURA_APPLIED,0x0100000004188F4C,"Voilane",0x511,0x0100000004188F4C,"Voilane",0x511,90895,"Kiss of Death",0x1,BUFF
3/8 21:01:29.820 SPELL_CAST_SUCCESS,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00004B4A,"Training Dummy",0x10a28,2944,"Devouring Plague",0x20
3/8 21:01:30.025 SPELL_DAMAGE,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00004B4A,"Training Dummy",0x10a28,63675,"Improved Devouring Plague",0x20,4921,4920,32
Delayed Mind Blast
3/12 01:31:36.175 SPELL_CAST_START,0x0100000004188F4C,"Voilane",0x511,0x0000000000000000,nil,0x80000000,34914,"Vampiric Touch",0x20
3/12 01:31:37.591 SPELL_CAST_SUCCESS,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00006D21,"Training Dummy",0x10a28,589,"Shadow Word: Pain",0x20
3/12 01:31:37.772 SPELL_AURA_APPLIED,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00006D21,"Training Dummy",0x10a28,34914,"Vampiric Touch",0x20,DEBUFF
3/12 01:31:37.772 SPELL_AURA_APPLIED,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00006D21,"Training Dummy",0x10a28,589,"Shadow Word: Pain",0x20,DEBUFF
3/12 01:31:38.958 SPELL_CAST_SUCCESS,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00006D21,"Training Dummy",0x10a28,2944,"Devouring Plague",0x20
3/12 01:31:39.003 SPELL_DAMAGE,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00006D21,"Training Dummy",0x10a28,63675,"Improved Devouring Plague",0x20,4587,4586,32,0,0,0,nil,nil,nil
3/12 01:31:39.003 SPELL_AURA_APPLIED,0x0100000004188F4C,"Voilane",0x511,0xF1307F9A00006D21,"
import java.util.Comparator;
public class DateComparator implements Comparator<Person> {
public int compare (Person person, Person person1) {
if (person.getRawBirthday ().after (person1.getRawBirthday ())) {
return (1);
}
if (person.getRawBirthday ().before (person1.getRawBirthday ())) {
return (-1);
import java.io.File;
import java.io.FilenameFilter;
public class ExtensionFilter implements FilenameFilter {
String extension;
public ExtensionFilter (String extension) {
this.extension = extension;
}
IP adresa:
172.16.101.20
10101100 00010000 01100101 00010100
Maska sítě:
255.255.255.192
11111111 11111111 11111111 11000000
172.16.101.20/26
Adresa sítě: