This Gist has been moved to GitHub.
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
/*--- checkForBadJavascripts() | |
This is a utility function, meant to be used inside a Greasemonkey script that | |
has the "@run-at document-start" directive set. | |
It Checks for and deletes or replaces specific <script> tags. | |
*/ | |
function checkForBadJavascripts (controlArray) { | |
/*--- Note that this is a self-initializing function. The controlArray | |
parameter is only active for the FIRST call. After that, it is an | |
event 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
<?php | |
date_default_timezone_set('Asia/Kuala_Lumpur'); // Here is important for new PHP version. | |
define('size', 10); // multithread | |
define('ip', NULL); | |
define('start', 0x0); // what hex to start | |
define('sleept', 10); // sleep time if failed | |
define('attempt', 10000); // how many attempts | |
define('usleept', 100000); // micro sleep after current attempt | |
define('timeout', 10); // timeout for each multi request |
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
[xiaobai@xiaobai hello]$ dnf --verbose download --source readline | |
cachedir: /var/cache/dnf | |
Loaded plugins: noroot, needs-restarting, reposync, copr, playground, kickstart, Query, generate_completion_cache, builddep, download, config-manager, protected_packages, system-upgrade, debuginfo-install | |
DNF version: 0.6.4 | |
repo: using cache for: spot-chromium | |
not found deltainfo for: Copr repo for chromium owned by spot | |
not found updateinfo for: Copr repo for chromium owned by spot | |
repo: using cache for: rpmfusion-nonfree-updates-testing | |
not found deltainfo for: RPM Fusion for Fedora 21 - Nonfree - Test Updates | |
not found updateinfo for: RPM Fusion for Fedora 21 - Nonfree - Test Updates |
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 27 columns, instead of 12 in line 2.
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
PkMn BaseStamina BaseAttack BaseDefense Type1 Type2 BaseCaptureRate BaseFleeRate CollisionRadiusM CollisionHeightM CollisionHeadRadiusM MovementType MovementTimerS JumpTimeS AttackTimerS QuickMoves CinematicMoves AnimTime Evolution EvolutionPips PokemonClass PokedexHeightM PokedexWeightKg HeightStdDev WeightStdDev FamilyId CandyToEvolve | |
1 90 126 126 HoloPokemonType.POKEMON_TYPE_GRASS HoloPokemonType.POKEMON_TYPE_POISON 0.1599999964237213 0.10000000149011612 0.3815000057220459 0.6539999842643738 0.27250000834465027 HoloPokemonMovementType.POKEMON_ENC_MOVEMENT_JUMP 10.0 1.149999976158142 29.0 d601dd01 5a3b76 6d56d53fdaac2a3f6d56d53f93a9ea3f0000000036ab0a403333b33fbfbbbb3f 02 HoloPokemonClass.POKEMON_CLASS_NORMAL 1 0.699999988079071 6.900000095367432 0.08749999850988388 0.862500011920929 HoloPokemonFamilyId.V0001_FAMILY_BULBASAUR 25 | |
2 120 156 158 HoloPokemonType.POKEMON_TYPE_GRASS HoloPokemonType.POKEMON_TYPE_POISON 0.07999999821186066 0.07000000029802322 0.3187499940395355 0.637499988079071 0.2549999952316284 H |
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
Result: 1 | |
Items { | |
TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
Badge { | |
BadgeType: BADGE_BATTLE_ATTACK_WON | |
BadgeRanks: 4 | |
Targets: "\nd\350\007" | |
} | |
} | |
Items { |
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
/* | |
* $Id: evtest.c,v 1.23 2005/02/06 13:51:42 vojtech Exp $ | |
* | |
* Copyright (c) 1999-2000 Vojtech Pavlik | |
* | |
* Event device test program | |
*/ | |
/* | |
* This program is free software; you can redistribute it and/or modify |
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
/* | |
* $Id: evtest.c,v 1.23 2005/02/06 13:51:42 vojtech Exp $ | |
* | |
* Copyright (c) 1999-2000 Vojtech Pavlik | |
* | |
* Event device test program | |
*/ | |
/* | |
* This program is free software; you can redistribute it and/or modify |
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
/* | |
* $Id: evtest.c,v 1.23 2005/02/06 13:51:42 vojtech Exp $ | |
* | |
* Copyright (c) 1999-2000 Vojtech Pavlik | |
* | |
* Event device test program | |
*/ | |
/* | |
* This program is free software; you can redistribute it and/or modify |
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
/* | |
* $Id: evtest.c,v 1.23 2005/02/06 13:51:42 vojtech Exp $ | |
* | |
* Copyright (c) 1999-2000 Vojtech Pavlik | |
* | |
* Event device test program | |
*/ | |
/* | |
* This program is free software; you can redistribute it and/or modify |
OlderNewer