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 Acme\Controller; | |
use HWI\Bundle\OAuthBundle\Templating\Helper\OAuthHelper; | |
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Response; | |
use Symfony\Component\Routing\Generator\UrlGeneratorInterface; | |
use Symfony\Component\Security\Http\Util\TargetPathTrait; |
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
# More info: https://www.math.cmu.edu/~gautam/sj/blog/20171207-keyboard-settings.html | |
# and https://wiki.archlinux.org/title/Apple_Keyboard#hid_apple_module_options. | |
# | |
# These commands can be made permanent with modprobe, but I use them | |
# in a menu entry because the Apple keyboard isn't always plugged in. | |
# Swap the alt and command key | |
echo 1 > /sys/module/hid_apple/parameters/swap_opt_cmd | |
# Fix the tilde key |
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 | |
require 'vendor/autoload.php'; | |
use \AutoMapperPlus\AutoMapper; | |
use \AutoMapperPlus\Configuration\AutoMapperConfig; | |
class B | |
{ | |
public $x; |