Skip to content

Instantly share code, notes, and snippets.


Lucas Cândido lcdss

View GitHub Profile
lcdss /
Created Dec 13, 2018 — forked from Francesco149/
docker error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
lcdss /
Last active Nov 20, 2018 — forked from SalahAdDin/
Installing React-Native Android Environment in ArchLinux

First step: Install Android SDK

  1. yay -S android-sdk android-sdk-platform-tools android-sdk-build-tools genymotion
  2. sudo modprobe vboxdrv vboxnetadp vboxnetflt
    Activate for current session.
  3. sudo chown -R $USER:$USER /opt/android-sdk
    Give permisions over Android SDK folders.
  4. Restart
    Is needed by Genymotion for detect VirtualBox modules.
    NOTE: You need install Java JDK for user Android SDK.
  5. /opt/android-sdk/tools/bin/sdkmanager
lcdss /
Created Aug 23, 2018 — forked from jakebathman/
Tail Laravel logs and filter out the stack traces
tail -f -n 450 storage/logs/laravel*.log \
| grep -i -E \
"^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:" \
lcdss /
Created Apr 4, 2018 — forked from obfusk/
python equivalent of ruby's binding.pry
import code; code.interact(local=dict(globals(), **locals()))
lcdss /
Created Mar 10, 2018 — forked from kumekay/
rename a phoenix 1.3 project
set -e
lcdss /
Created Jun 27, 2016 — forked from dankrause/
Example code to use the (unofficial, unsupported, undocumented) DNS API.
import requests
class HoverException(Exception):
class HoverAPI(object):
def __init__(self, username, password):
params = {"username": username, "password": password}
r ="", params=params)
lcdss / ssl.rules
Created May 30, 2016 — forked from konklone/ssl.rules
nginx TLS / SSL configuration options for
View ssl.rules
# Basically the nginx configuration I use at
# I check it using
# To provide feedback, please tweet at @konklone or email
# Comments on gists don't notify the author.
# Thanks to WubTheCaptain ( for his help and ciphersuites.
# Thanks to Ilya Grigorik ( for constant inspiration.
server {