Skip to content

Instantly share code, notes, and snippets.

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

Mahendra Chhimwal MacSimmy

🏠
Working from home
  • Groupon
  • Bangalore, India
View GitHub Profile
@prolificcoder
prolificcoder / gist:ebd82081b47640a3cae2
Created December 10, 2014 23:36
tombstone file for crash
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'generic_x86/sdk_google_phone_x86/generic_x86:5.0.1/LSX66B/1630668:eng/test-keys'
Revision: '0'
ABI: 'x86'
pid: 1999, tid: 2396, name: Thread-175 >>> com.godaddy.mobile.android <<<
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xa2557fcc
eax a2558520 ebx aa215598 ecx a25584b0 edx 00000000
esi a25584d0 edi 00000001
xcs 00000073 xds 0000007b xes 0000007b xfs 00000107 xss 0000007b
eip a8dd0398 ebp a2558498 esp a2557fd0 flags 00210282
@alexfu
alexfu / DividerItemDecoration.java
Last active February 9, 2023 05:09
An ItemDecoration that draws dividers between items. Pulled from Android support demos.
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@alexcasalboni
alexcasalboni / README.md
Last active April 5, 2024 10:49
Google Vision API Examples - FACE DETECTION
@masak
masak / explanation.md
Last active April 11, 2024 02:50
How is git commit sha1 formed

Ok, I geeked out, and this is probably more information than you need. But it completely answers the question. Sorry. ☺

Locally, I'm at this commit:

$ git show
commit d6cd1e2bd19e03a81132a23b2025920577f84e37
Author: jnthn <jnthn@jnthn.net>
Date:   Sun Apr 15 16:35:03 2012 +0200

When I added FIRST/NEXT/LAST, it was idiomatic but not quite so fast. This makes it faster. Another little bit of masak++'s program.