Skip to content

Instantly share code, notes, and snippets.

View nataren's full-sized avatar

César López-Natarén nataren

View GitHub Profile
09-13 09:12:53.244 1446-1665/? D/InputDispatcher: notifyMotion - action=ACTION_DOWN(0), id=0, tooltype=1, deviceId=3, source=0x1002, policyFlags=0x0, flags=0x0, metaState=0x0, buttonState=0x0, edgeFlags=0x0, eventTime=574068519000, downTime=574068519000,
09-13 09:12:53.245 1446-1664/? D/InputTransport: channel 'f2e00d5 com.lge.launcher3/com.lge.launcher3.LauncherExtension (server)' : action=ACTION_DOWN(0), id=0, tooltype=1, deviceId=3, source=0x1002, flags=0x0, edgeFlags=0x0, metaState=0x0, buttonState=0x0, downTime=574068519000, eventTime=574068519000, pointerCount=1
09-13 09:12:53.245 1446-1664/? D/InputTransport: channel 'f779f3b com.android.systemui.ImageWallpaper (server)' : action=ACTION_DOWN(0), id=0, tooltype=1, deviceId=3, source=0x1002, flags=0x3, edgeFlags=0x0, metaState=0x0, buttonState=0x0, downTime=574068519000, eventTime=574068519000, pointerCount=1
--------- beginning of system
09-13 09:12:53.24
09-11 16:11:49.682 7309-7309/? I/art: Late-enabling -Xcheck:jni
09-11 16:11:49.773 7309-7309/io.iiab.kiwix.wikipedia.medicine.es I/MultiDex: VM with version 2.1.0 has multidex support
09-11 16:11:49.774 7309-7309/io.iiab.kiwix.wikipedia.medicine.es I/MultiDex: install
09-11 16:11:49.774 7309-7309/io.iiab.kiwix.wikipedia.medicine.es I/MultiDex: VM has multidex support, MultiDex support library is disabled.
09-11 16:11:50.386 7309-7309/io.iiab.kiwix.wikipedia.medicine.es D/kiwix: Setting the ICU directory path to /data/user/0/io.iiab.kiwix.wikipedia.medicine.es/files/icu
09-11 16:11:50.411 7309-7309/io.iiab.kiwix.wikipedia.medicine.es W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-11 16:11:50.436 7309-7309/
#!/bin/bash
sudo dpkg-reconfigure locales
export LANGUAGE='es_MX.UTF-8'
export LANG='es_MX.UTF-8'
sudo apt-get -y update
sudo apt-get -y dist-upgrade
@nataren
nataren / 0_reuse_code.js
Created October 24, 2016 18:31
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Writing an image to the SD card
===============================
You can follow the instructions from https://www.raspberrypi.org/documentation/installation/installing-images/
making sure you use koc-raspbian-2016.img as the file you copy over.
OSX
===
sudo diskutil list
76d181accaf3c3c5ab25f8e027bb4a4cadf1c1cb52236e47e3ebe8a6442a56c1 koc-raspbian-2016.img
@nataren
nataren / p4merge4git.md
Created December 12, 2015 00:10 — forked from tony4d/p4merge4git.md
Setup p4merge as a visual diff and merge tool for git
@nataren
nataren / crawler.go
Last active August 29, 2015 14:16
Go crawler
package main
import (
"log"
"github.com/PuerkitoBio/goquery"
"strings"
)
func main() {
hostname := "https://news.ycombinator.com"
// Error
Error while processing route: index undefined is not a function TypeError: undefined is not a function
at App.IndexRoute.Ember.Route.extend.model (http://localhost:8080/js/app.js:24:25)
at apply (http://localhost:8080/js/lib/ember-1.8.1.js:19674:27)
at superWrapper [as model] (http://localhost:8080/js/lib/ember-1.8.1.js:19245:15)
at EmberObject.extend.deserialize (http://localhost:8080/js/lib/ember-1.8.1.js:24912:21)
at applyHook (http://localhost:8080/js/lib/ember-1.8.1.js:46984:30)
at Object.HandlerInfo.runSharedModelHook (http://localhost:8080/js/lib/ember-1.8.1.js:45006:22)
at Object.subclass.getModel (http://localhost:8080/js/lib/ember-1.8.1.js:45232:21)
at http://localhost:8080/js/lib/ember-1.8.1.js:46858:19
@nataren
nataren / gist:7de1e1c942af7295f1e7
Created September 25, 2014 20:47
Mono runtime SIGSEGV
Stacktrace:
Native stacktrace:
/opt/mono-3.2.6/bin/mono() [0x4a9fbf]
/opt/mono-3.2.6/bin/mono() [0x50004f]
/opt/mono-3.2.6/bin/mono() [0x420197]
/lib64/libpthread.so.0(+0xf5b0) [0x7fd0a27695b0]
/opt/mono-3.2.6/bin/mono(mono_object_isinst_mbyref+0x14d) [0x5a8e8d]