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
class A(object): | |
def id(self): | |
return "Hello" | |
class B(object): | |
def id(self): | |
return "Hi" | |
dict1 = {} | |
dict2 = {} |
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
send(to, from, count) | |
register short *to, *from; | |
register count; | |
{ | |
register n = (count + 7) / 8; | |
switch(count % 8) { | |
case 0: do { *to = *from++; | |
case 7: *to = *from++; | |
case 6: *to = *from++; | |
case 5: *to = *from++; |
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
diff --git a/lib/twig/twig/lib/Twig/Template.php b/lib/twig/twig/lib/Twig/Template.php | |
index a001ca0..1f3c04b 100644 | |
--- a/lib/twig/twig/lib/Twig/Template.php | |
+++ b/lib/twig/twig/lib/Twig/Template.php | |
@@ -337,7 +337,7 @@ abstract class Twig_Template implements Twig_TemplateInterface | |
protected function getAttribute($object, $item, array $arguments = array(), $type = Twig_TemplateInterface::ANY_CALL, $isDefinedTest = false, $ignoreStrictCheck = false) | |
{ | |
// array | |
- if (Twig_TemplateInterface::METHOD_CALL !== $type) { | |
+ if (!is_object($object)) { |
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
PHPUnit 4.8.26 by Sebastian Bergmann and contributors. | |
............................................................... 63 / 406 ( 15%) | |
............................................................... 126 / 406 ( 31%) | |
.......................................................F....... 189 / 406 ( 46%) | |
............................................................... 252 / 406 ( 62%) | |
...................................................F........... 315 / 406 ( 77%) | |
...........................F.....................F............. 378 / 406 ( 93%) | |
............................ |
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
git clone https://github.com/PHP-DI/PHP-DI.git | |
cd PHP-DI | |
composer install | |
vendor/bin/phpunit | |
php --version |
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
git clone https://github.com/PHP-DI/PHP-DI.git | |
cd PHP-DI | |
composer install | |
docker run -it --rm -v "`pwd`:/app" php:7-cli sh -c "cd /app; vendor/bin/phpunit" | |
docker run -it --rm -v "`pwd`:/app" php:7-cli php --version |
This file has been truncated, but you can view the full file.
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
[22:02:29] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR. | |
[22:02:29] [main/INFO] [FML/]: Forge Mod Loader version 12.18.2.2118 for Minecraft 1.10.2 loading | |
[22:02:29] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 10:amd64:10.0, installed at C:\Users\Lachlan\Documents\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_25 | |
[22:02:29] [main/DEBUG] [FML/]: Java classpath at launch is C:\Users\Lachlan\Documents\Curse\Minecraft\Install\libraries\net\minecraftforge\forge\1.10.2-12.18.2.2118\forge-1.10.2-12.18.2.2118.jar;C:\Users\Lachlan\Documents\Curse\Minecraft\Install\libraries\net\minecraft\launchwrapper\1.12\launchwrapper-1.12.jar;C:\Users\Lachlan\Documents\Curse\Minecraft\Install\libraries\org\ow2\asm\asm-all\5.0.3\asm-all-5.0.3.jar;C:\Users\Lachlan\Documents\Curse\Minecraft\Install\libraries\jline\jline\2.13\jline-2.13.jar;C:\Users\Lachlan\Documents\Curse\Minecraft\Install\libraries\com\typesafe\akka\akka-actor_2.11\2.3.3\akka-actor_2.11-2 |
This file has been truncated, but you can view the full file.
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
[23:51:47] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR. | |
[23:51:47] [main/INFO] [FML/]: Forge Mod Loader version 12.18.2.2118 for Minecraft 1.10.2 loading | |
[23:51:47] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 10:amd64:10.0, installed at C:\Users\Lachlan\Documents\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_25 | |
[23:51:47] [main/DEBUG] [FML/]: Java classpath at launch is C:\Users\Lachlan\Documents\Curse\Minecraft\Install\libraries\net\minecraftforge\forge\1.10.2-12.18.2.2118\forge-1.10.2-12.18.2.2118.jar;C:\Users\Lachlan\Documents\Curse\Minecraft\Install\libraries\net\minecraft\launchwrapper\1.12\launchwrapper-1.12.jar;C:\Users\Lachlan\Documents\Curse\Minecraft\Install\libraries\org\ow2\asm\asm-all\5.0.3\asm-all-5.0.3.jar;C:\Users\Lachlan\Documents\Curse\Minecraft\Install\libraries\jline\jline\2.13\jline-2.13.jar;C:\Users\Lachlan\Documents\Curse\Minecraft\Install\libraries\com\typesafe\akka\akka-actor_2.11\2.3.3\akka-actor_2.11-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
ID | ced_name_2016 | yes_population | no_population | |
---|---|---|---|---|
1 | Banks | 37736 | 46343 | |
2 | Barton | 37153 | 47984 | |
3 | Bennelong | 42943 | 43215 | |
4 | Berowra | 48471 | 40369 | |
5 | Blaxland | 20406 | 57926 | |
6 | Bradfield | 53681 | 34927 | |
7 | Calare | 54091 | 35779 | |
8 | Chifley | 32871 | 46702 | |
9 | Cook | 47505 | 38804 |
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
ced_name_2016 | yes_population | yes_percentage | no_population | no_percentage | total_population | total_percentage | |
---|---|---|---|---|---|---|---|
Banks | 37736 | 44.9 | 46343 | 55.1 | 84079 | 100 | |
Barton | 37153 | 43.6 | 47984 | 56.4 | 85137 | 100 | |
Bennelong | 42943 | 49.8 | 43215 | 50.2 | 86158 | 100 | |
Berowra | 48471 | 54.6 | 40369 | 45.4 | 88840 | 100 | |
Blaxland | 20406 | 26.1 | 57926 | 73.9 | 78332 | 100 | |
Bradfield | 53681 | 60.6 | 34927 | 39.4 | 88608 | 100 | |
Calare | 54091 | 60.2 | 35779 | 39.8 | 89870 | 100 | |
Chifley | 32871 | 41.3 | 46702 | 58.7 | 79573 | 100 | |
Cook | 47505 | 55.0 | 38804 | 45.0 | 86309 | 100 | |
Cowper | 57493 | 60.0 | 38317 | 40.0 | 95810 | 100 | |
Cunningham | 60906 | 65.7 | 31840 | 34.3 | 92746 | 100 | |
Dobell | 59475 | 65.7 | 30987 | 34.3 | 90462 | 100 | |
Eden-Monaro | 57223 | 64.9 | 30926 | 35.1 | 88149 | 100 | |
Farrer | 48432 | 55.2 | 39297 | 44.8 | 87729 | 100 | |
Fowler | 27847 | 36.3 | 48782 | 63.7 | 76629 | 100 | |
Gilmore | 59322 | 62.0 | 36386 | 38.0 | 95708 | 100 | |
Grayndler | 73208 | 79.9 | 18429 | 20.1 | 91637 | 100 | |
Greenway | 38016 | 46.4 | 43980 | 53.6 | 81996 | 100 | |
Hughes | 51337 | 58.4 | 36558 | 41.6 | 87895 | 100 | |
Hume | 51284 | 58.6 | 36271 | 41.4 | 87555 | 10 |