Skip to content

Instantly share code, notes, and snippets.

View eowfenth's full-sized avatar
🏠
Working from home

Nícolas Deçordi eowfenth

🏠
Working from home
  • Nubank
  • Salvador, Bahia - Brazil
View GitHub Profile
@eowfenth
eowfenth / react-native-init-with-version.md
Created September 20, 2018 13:05
Creating react-native app with specific version
rm ~/.android/avd/Pixel_Edited_API_23.avd/hardware-qemu.ini.lock
@eowfenth
eowfenth / status.md
Created April 14, 2018 16:00
optIn status for VSCodeTelemetry

in ~/.vscode-react-native/VSCodeTelemetrySettings.json

set optIn: false

@eowfenth
eowfenth / gist:25170cbeee6f3a048c41c0fba0ca0ddd
Created March 28, 2018 23:02
avdmanager throwing exception jdk9
https://stackoverflow.com/questions/27202353/how-to-open-the-avd-manager-on-ubuntu-linux-from-the-command-line
https://stackoverflow.com/questions/47345147/android-sdk-manager-throw-exception-with-java-9
@eowfenth
eowfenth / space-error-android-studio.md
Created March 27, 2018 00:28
No space in device error - Android Studio
@eowfenth
eowfenth / Reading_mobi_Android.md
Last active March 26, 2018 00:38
Reading external .mobi in Android 6+

When you open with a file explorer as Nautilus/Solid Explorer your Android storage, the default path is storage/emulated/0/.

Simply, create a directory kindle in this path then add your .mobi inside.

Then open your Kindle app, voila.

@eowfenth
eowfenth / crystal-errors.md
Created March 3, 2018 13:09
Crystal relative bugs

/usr/bin/ld: cannot find -lyaml collect2: error: ld returned 1 exit status Error: execution of command failed with code: 1: cc "${@}" -o '/home/nohaleh/.cache/crystal/crystal-run-time.tmp' -rdynamic -lyaml -lpcre -lgc -lpthread /usr/share/crystal/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib

Solution: sudo apt-get install libyaml-dev In general if you see any /usr/bin/ld: cannot find -lxxx error means you need to install libxxx or libxxx-dev

@eowfenth
eowfenth / 144hz.md
Created March 1, 2018 22:25
Enabling 144Hz in Ubuntu for GTX 1060 and Benq XL2430

xrandr --output DVI-D-1 --mode 1920x1080 --rate 144.00

@eowfenth
eowfenth / nested_filter.js
Last active January 16, 2018 19:22
RethinkDB - Nested filter
r.db('database').table('table').filter(x => (x('field').contains(y => y('nestedField').eq('value'))))