Skip to content

Instantly share code, notes, and snippets.

Vinícius Feitosa da Silva vinnyfs89

View GitHub Profile
View Installing ESLINT.md
npm uninstall -g eslint
npm i eslint --save-dev
./node_modules/.bin/eslint --init
View PHP Datas - Carbon.md

[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();
View lumen + jwt
- https://github.com/culturagovbr/notification-service/tree/master/api
- https://medium.com/tech-tajawal/jwt-authentication-for-lumen-5-6-2376fd38d454
View Remove "none" images.md

Remove "none" images

docker rmi $(docker images -q)
View Remove installed PPA repository.md

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:

@vinnyfs89
vinnyfs89 / KDE laung Nautilus instead Dolphin.md
Created Jul 31, 2018
KDE laung Nautilus instead Dolphin
View KDE laung Nautilus instead Dolphin.md

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

@vinnyfs89
vinnyfs89 / Add MULTITOUCH to your SO Linux.md
Last active Jul 31, 2018
Add MULTITOUCH to your SO Linux
View Add MULTITOUCH to your SO Linux.md

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
You can’t perform that action at this time.