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
// ==UserScript== | |
// @name Big cards for arcomage.net | |
// @namespace http://arcomage.net | |
// @version 0.2 | |
// @description edit some css to fit game on one screen on mobile phones and add draggable for cards | |
// @author nik.parotikov@gmail.com | |
// @match arcomage.net/?location=Game* | |
// @match arcomage.net/?location=Deck* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=arcomage.net | |
// @grant GM_addStyle |
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
// ==UserScript== | |
// @name Improvements for arcomage.net | |
// @namespace http://arcomage.net | |
// @version 0.3 | |
// @description edit some css to fit game on one screen on mobile phones and add draggable for cards | |
// @author nik.parotikov@gmail.com | |
// @match arcomage.net/?location=Game* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=arcomage.net | |
// @grant none | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js |
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
/** | |
* Redirect the user no matter what. No need to use a return | |
* statement. Also avoids the trap put in place by the Blade Compiler. | |
* | |
* @param string $url | |
* @param int $code http code for the redirect (should be 302 or 301) | |
*/ | |
function redirect_now($url, $code = 302) | |
{ | |
try { |
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
#!/bin/bash | |
# Skamasle PHP SELECTOR for vesta | |
# version = beta 0.2.3 | |
# From skamasle.com | |
# Run at your risk. | |
sistema=$(grep -o "[0-9]" /etc/redhat-release |head -n1) | |
sklog=/var/log/skphp.log | |
if [ ! -e /etc/yum.repos.d/remi.repo ]; then | |
echo "I not found remi repo, stop install... " | |
exit 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
<?php | |
namespace nikparotikov\testplugin\classes; | |
use Cms\Classes\CmsController; | |
class BaseController extends CmsController { | |
} |