Skip to content

Instantly share code, notes, and snippets.

View oviniciusfeitosa's full-sized avatar
🧛

Vinícius Feitosa da Silva oviniciusfeitosa

🧛
View GitHub Profile
@oviniciusfeitosa
oviniciusfeitosa / PHP Datas - Carbon.md
Created February 6, 2019 13:29
PHP Datas - Carbon

[DICA] Datas:

Quem estiver utilizando o Eloquent o Carbon já vem como dependência.

Exemplo de utilização:

$mytime = Carbon\Carbon::now();
echo $mytime->toDateTimeString();
- https://github.com/culturagovbr/notification-service/tree/master/api
- https://medium.com/tech-tajawal/jwt-authentication-for-lumen-5-6-2376fd38d454
@oviniciusfeitosa
oviniciusfeitosa / Remove "none" images.md
Created August 30, 2018 19:52
Remove "none" images

Remove "none" images

docker rmi $(docker images -q)
@oviniciusfeitosa
oviniciusfeitosa / Remove installed PPA repository.md
Created August 3, 2018 21:05
Remove installed PPA repository

Use the --remove flag, similar to how the PPA was added:

sudo add-apt-repository --remove ppa:whatever/ppa

As a safer alternative, you can install ppa-purge:

sudo apt-get install ppa-purge

And then remove the PPA, downgrading gracefully packages it provided to packages provided by official repositories:

@oviniciusfeitosa
oviniciusfeitosa / KDE laung Nautilus instead Dolphin.md
Created July 31, 2018 19:10
KDE laung Nautilus instead Dolphin

control center > file associations > inode > directory [ then add: "nautilus --no-desktop" ] (make sure it's primary in the

@oviniciusfeitosa
oviniciusfeitosa / Add MULTITOUCH to your SO Linux.md
Last active July 31, 2018 03:32
Add MULTITOUCH to your SO Linux

To do it, make you sure to do the steps below:

  • sudo gpasswd -a $USER input
  • sudo apt install xdotool wmctrl libinput-tools
  • git clone https://github.com/bulletmark/libinput-gestures
  • cd libinput-gestures
  • sudo ./libinput-gestures-setup install
  • touch ~/.config/libinput-gestures.conf
  • paste the content below inside libinput-gestures.conf:
  • $ vim ~/.config/libinput-gestures.conf
@oviniciusfeitosa
oviniciusfeitosa / How to get GameSir G3s (or others) xInput work on Linux + Steam Big Picture.md
Last active September 7, 2019 03:49
How to get GameSir G3s (or others) xInput work on Linux + Steam Big Picture

Works to Gamesir-G3v too.

  • Plug USB Gamesir Adapter
  • Press GameSir Button + X Button
  • Start+Select for 6 seconds

In Steam Big Picture

  • Control > General Configs
  • Activate configs to generic controllers
  • Press Select button + Start Button for 6 seconds
  • sudo vim /home/vinnyfs89/.local/share/applications/telegramdesktop.desktop

You will see something like this:

[Desktop Entry]                                                                                                                                                         
 Version=1.0                                                                                                                                                             
 Name=Telegram Desktop                                                                                                                                                   
 Comment=Official desktop application for the Telegram messaging service                                                                                                 
 TryExec=/opt/telegram/telegram                                                                                                                                          
@oviniciusfeitosa
oviniciusfeitosa / cemu on linux
Last active July 16, 2018 04:21
cemu on linux
reference:
https://www.reddit.com/r/cemu/comments/6o0obp/complete_guide_to_cemu_on_linux/
https://www.youtube.com/watch?v=S1zNXLBMZsY
GUIDES TO IMPROVE YOUR PERFORMANCE
► Shader Performance Guide