Skip to content

Instantly share code, notes, and snippets.

César López-Natarén nataren

Block or report user

Report or block nataren

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wikimed_es_novid_url_android.log
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
View wikimed_es_novid_android.log
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/
@nataren
nataren / 0_reuse_code.js
Created Oct 24, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View osx-copy-koc-raspbian-to-microsd-card
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
View koc-raspbian-2016-sha256
76d181accaf3c3c5ab25f8e027bb4a4cadf1c1cb52236e47e3ebe8a6442a56c1 koc-raspbian-2016.img
View kocify.sh
#!/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 / p4merge4git.md
Created Dec 12, 2015 — forked from tony4d/p4merge4git.md
Setup p4merge as a visual diff and merge tool for git
View p4merge4git.md
@nataren
nataren / crawler.go
Last active Aug 29, 2015
Go crawler
View crawler.go
package main
import (
"log"
"github.com/PuerkitoBio/goquery"
"strings"
)
func main() {
hostname := "https://news.ycombinator.com"
View ember-ds-error.js
// 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
View gist:7de1e1c942af7295f1e7
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]
You can’t perform that action at this time.