Skip to content

Instantly share code, notes, and snippets.

@jagomf
Last active July 29, 2020 19:10
Show Gist options
  • Save jagomf/182ee296077c2e6d8d1f3e3f9d052977 to your computer and use it in GitHub Desktop.
Save jagomf/182ee296077c2e6d8d1f3e3f9d052977 to your computer and use it in GitHub Desktop.
Linux console commands to remember
## Look for an ELAN device ID
$ xinput list
## Use ELAN device ID (in this case 14)
$ xinput map-to-output 14 eDP-1
## Kill React Native script that prevents deleting node_modules
# Hacer
$ sudo lsof | grep react-native/scripts
# Copiar el process id [pid] (segunda columna) y hacer
$ kill -9 [pid]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment