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 | |
/** | |
* Twig REPL hack | |
* | |
* Arnaud Le Blanc <arnaud.lb@gmail.com> | |
*/ | |
require 'vendor/twig/twig/lib/Twig/Autoloader.php'; | |
Twig_Autoloader::register(); |
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
# pythoneval.py | |
import sys | |
import re | |
from code import InteractiveInterpreter | |
import znc | |
class pythoneval(znc.Module, InteractiveInterpreter): | |
# module_types makes it unable to load |