etc/logging.properties
#
# Licensed to the Apache Software Foundation (ASF) under one or more
| # all php files :: disallow direct access of file | |
| # between <?php and ?> | |
| defined('_JEXEC') or die; | |
| # index.php :: define variable with application | |
| # between <?php and ?> | |
| $app = JFactory::getApplication(); | |
| # index.php :: define variable with document | |
| # between <?php and ?> |
| sudo nano /lib/systemd/system/winfix.service | |
| ================================================ | |
| nano /home/winfix/winfix.sh | |
| ======================================================================= | |
| sudo chmod +x /home/winfix/winfix.sh | |
| sudo systemctl enable winfix.service |
| #!/usr/bin/php | |
| <?php | |
| parse_str(implode('&', array_slice($argv, 1)), $_GET); | |
| if (strpos($argv[1],'adspace') !== false) { | |
| print slimParseAdUrl($argv[1]); | |
| print "\n"; | |
| } else { |
| * The Donkey Kong Country Trilogy (can play contest or co-op) | |
| * Any of them Street Fighter II or Street Fighter Alpha 2 game | |
| * Final Fight 2 & 3 | |
| * Teenage Mutant Ninja Turtles IV: Turtles in Time or Tournament Fighters | |
| * Tetris Attack | |
| * Secret of Mana (can play up to 3 players via multi-tap, for VC no multi-tap necessary) | |
| * Super Mario World | |
| * Mortal Kombat II or Ultimate Mortal Kombat 3 | |
| * Fatal Fury Special | |
| * Saturday Night Slam Masters (can play up to 4 players) |
| yarn add \ | |
| can@^3.0.0-pre.17 \ | |
| can-component@^3.0.0-pre.8 \ | |
| can-connect@^0.6.0-pre.4 \ | |
| can-define@^0.7.4 \ | |
| can-route@^3.0.0-pre.5 \ | |
| can-route-pushstate@^3.0.0-pre.3 \ | |
| can-stache@^3.0.0-pre.6 \ | |
| can-view-autorender@^3.0.0-pre.3 \ | |
| can-zone@^0.5.5 \ |
| Installing/Configuring | |
| # Install packages: | |
| sudo apt-get install syslog-ng-core | |
| sudo apt-get install syslog-ng-mod-json | |
| # Modify /etc/syslog-ng/syslog-ng.conf: | |
| destination d_json { | |
| file("/var/log/messages.json" template("$(format-json --scope selected_macros --scope nv_pairs)\n")); | |
| }; |
| <script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script> | |
| http://canjs.com/release/2.1.0/can.jquery.js | |
| <script type="text/javascript"> | |
| // Here's where we get, save, and delete to-dos. | |
| // (Yep, this is all we need to access the Todo | |
| // REST endpoints!) | |
| var Todo = can.Model.extend({ | |
| findAll: 'GET /todos', | |
| findOne: 'GET /todos/{id}', | |
| update: 'PUT /todos/{id}', |
#start screen:
//on start inapp or other buy process
-> billing provider posts success to /api/inapp -> changes key to true
manual
-> admin posts data to /api/keys -> changes key to true or false or active
| btw, everyone ... for this API | |
| var saltShaker = new SaltShaker(); | |
| saltShaker.fill(); | |
| saltShaker.shake() //-> "salt" | |
| saltShaker.shake() //-> "salt" | |
| saltShaker.shake() //-> null | |
| saltShaker.empty //-> true |