Skip to content

Instantly share code, notes, and snippets.

View fabiocarneiro's full-sized avatar

Fábio Carneiro fabiocarneiro

View GitHub Profile
<?php
class ExampleFactory
{
/**
* @param DI $di
*/
public function __invoke(DI $di)
{
$dependency = $di->get(Dependency::class);
@fabiocarneiro
fabiocarneiro / fix.md
Last active December 19, 2017 17:33
Fix Jetbrains IDE hotkey bug on Ubuntu 17.10 after moving from Unity

Show current settings

setxkbmap -print -verbose 10

Change to abnt2 layout (need to be adjusted according to the keyboard model):

setxkbmap -model abnt2 -layout br -variant abnt2