Skip to content

Instantly share code, notes, and snippets.

View ionull's full-sized avatar
🎯
Focusing

Tsung Wu ionull

🎯
Focusing
View GitHub Profile
2020-04-03 23:01:59.603 24597-24838/mypackage.app D/LeakCanary: ====================================
2020-04-03 23:01:59.603 24597-24838/mypackage.app D/LeakCanary: HEAP ANALYSIS RESULT
2020-04-03 23:01:59.603 24597-24838/mypackage.app D/LeakCanary: ====================================
2020-04-03 23:01:59.603 24597-24838/mypackage.app D/LeakCanary: 3 APPLICATION LEAKS
2020-04-03 23:01:59.603 24597-24838/mypackage.app D/LeakCanary: References underlined with "~~~" are likely causes.
2020-04-03 23:01:59.603 24597-24838/mypackage.app D/LeakCanary: Learn more at https://squ.re/leaks.
2020-04-03 23:01:59.603 24597-24838/mypackage.app D/LeakCanary: 28705 bytes retained
2020-04-03 23:01:59.603 24597-24838/mypackage.app D/LeakCanary: ┬
2020-04-03 23:01:59.603 24597-24838/mypackage.app D/LeakCanary: ├─ android.app.ActivityThread
2020-04-03 23:01:59.603 24597-24838/mypackage.app D/LeakCanary: │ Leaking: NO (ActivityThread↓ is not leaking and a class is never leaking)
@ionull
ionull / AdapterSection.kt
Created July 21, 2019 12:02 — forked from jpshelley/AdapterSection.kt
A Sectioned Adapter for Android via Kotlin
/**
* A section to use in Recycler Adapter's.
* It holds a sectioned position for use in determining the offset of the adapter items.
*/
data class AdapterSection(var firstPosition: Int, var title: String, var sectionedPosition: Int = 0)
/**
* 百度坐标(BD09)、国测局坐标(火星坐标,GCJ02)、和WGS84坐标系之间的转换的工具
*
* 参考 https://github.com/wandergis/coordtransform 实现的Java版本
* @author geosmart
*/
public class CoordinateTransformUtil {
static double x_pi = 3.14159265358979324 * 3000.0 / 180.0;
// π
static double pi = 3.1415926535897932384626;
default 19:38:16.074712 +0800 csgo_osx64 879: aqmeio@0x15718dde0, device 0xc0 (AQDefaultOutput), AudioDeviceStart (err 0)
default 19:38:16.155440 +0800 csgo_osx64 dynamic_cast error 2: One or more of the following type_info's has hidden visibility. They should all have public visibility. 6ConVar, 24CBoundedCvar_InterpRatio, 20ConVar_ServerBounded.
default 19:38:18.515159 +0800 csgo_osx64 dynamic_cast error 2: One or more of the following type_info's has hidden visibility. They should all have public visibility. 6ConVar, 24CBoundedCvar_InterpRatio, 20ConVar_ServerBounded.
default 19:38:23.247731 +0800 csgo_osx64 dynamic_cast error 2: One or more of the following type_info's has hidden visibility. They should all have public visibility. 6ConVar, 24CBoundedCvar_InterpRatio, 20ConVar_ServerBounded.
default 19:38:33.528080 +0800 csgo_osx64 dynamic_cast error 2: One or more of the following type_info's has hidden visibility. They should all have public visibility. 6ConVar, 24CBoundedCvar_InterpRatio
Computer Information:
Manufacturer: Apple
Model: iMac14,2
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz
CPU Family: 0x6
01-28 18:18:18.517 21110-22320/im.momo.contact D/ContactSyncManager﹕ [ AsyncTask #4: ContactSyncManager.java:113 updateLocalContactsToServer ] - all contacts on momo:506
01-28 18:18:18.521 21110-22320/im.momo.contact D/ContactSyncManager﹕ [ AsyncTask #4: ContactSyncManager.java:114 updateLocalContactsToServer ] - momo contact id:2181,2183,2186,2196,2198,2202,2209,2216,2217,2218,2221,2222,2224,2225,2226,2228,2229,2231,2232,2233,2236,2237,2238,2239,2240,2242,2243,2244,2245,2246,2247,2249,2250,2252,2254,2255,2257,2258,2259,2260,2262,2267,2268,2269,2270,2271,2274,2285,2290,2301,2313,2314,2316,2317,2325,2326,2329,2330,2331,2339,2343,2345,2364,2368,2377,2378,2379,2394,2396,2397,2398,2399,2402,2405,2406,2407,2408,2409,2410,2411,2412,2414,2418,2420,2421,2422,2423,2424,2425,2427,2428,2430,2433,2439,2443,2444,2446,2447,2451,2461,2472,2473,2476,2482,2483,2492,2494,2496,2499,2501,2505,2506,2509,2512,2513,2514,2517,2520,2521,2523,2524,2525,2526,2527,2529,2536,2560,2563,2564,2565,2566,2587,2588,2595,2626,2627,2628,2630,2
01-28 18:16:53.497 21110-22100/im.momo.contact D/ContactSyncManager﹕ [ AsyncTask #3: ContactSyncManager.java:113 updateLocalContactsToServer ] - all contacts on momo:492
01-28 18:16:53.500 21110-22100/im.momo.contact D/ContactSyncManager﹕ [ AsyncTask #3: ContactSyncManager.java:114 updateLocalContactsToServer ] - momo contact id:2181,2183,2186,2196,2198,2202,2209,2216,2217,2218,2221,2222,2224,2225,2226,2228,2229,2231,2232,2233,2236,2237,2238,2239,2240,2242,2243,2244,2245,2246,2247,2249,2250,2252,2254,2255,2257,2258,2259,2260,2262,2267,2268,2269,2270,2271,2274,2285,2290,2301,2313,2314,2316,2317,2325,2326,2329,2330,2331,2339,2343,2345,2364,2368,2377,2378,2379,2394,2396,2397,2398,2399,2402,2405,2406,2407,2408,2409,2410,2411,2412,2414,2418,2420,2421,2422,2423,2424,2425,2427,2428,2430,2433,2439,2443,2444,2446,2447,2451,2461,2472,2473,2476,2482,2483,2492,2494,2496,2499,2501,2505,2506,2509,2512,2513,2514,2517,2520,2521,2523,2524,2525,2526,2527,2529,2536,2560,2563,2564,2565,2566,2587,2588,2595,2626,2627,2628,2630,2
2015-01-28 18:11:34.809 contact[82785:11909439] contact count:506
2015-01-28 18:11:35.861 contact[82785:11909439] contact count:506
2015-01-28 18:11:43.356 contact[82785:11909439] onBeginSync
MMContactSync.m#427:update phone contact:2404 contact:4719 to server success
MMContactSync.m#427:update phone contact:2273 contact:4720 to server success
MMContactSync.m#427:update phone contact:2559 contact:4726 to server success
MMContactSync.m#427:update phone contact:2326 contact:6268 to server success
MMContactSync.m#427:update phone contact:2411 contact:4738 to server success
MMContactSync.m#427:update phone contact:2232 contact:4753 to server success
MMContactSync.m#427:update phone contact:2188 contact:4754 to server success
main.m#29:app startup
2015-01-28 18:09:26.206 contact[82785:11909439] addressbook authorized
2015-01-28 18:09:26.749 contact[82785:11909474] server count:506
2015-01-28 18:09:31.732 contact[82785:11909439] onBeginSync
2015-01-28 18:09:31.809 contact[82785:11909481] +[SBJsonStreamWriter initialize] NSCache supported
MMContactSync.m#427:update phone contact:2326 contact:6268 to server success
MMContactSync.m#427:update phone contact:3299 contact:6262 to server success
MMContactSync.m#427:update phone contact:3294 contact:6259 to server success
MMContactSync.m#427:update phone contact:2426 contact:4899 to server success
MMContactSync.m#427:update phone contact:3315 contact:6263 to server success
main.m#29:app startup
2015-01-28 18:03:50.709 contact[82761:11907284] addressbook authorized
2015-01-28 18:03:52.074 contact[82761:11907323] server count:492
2015-01-28 18:03:56.755 contact[82761:11907284] onBeginSync
2015-01-28 18:03:56.822 contact[82761:11907344] +[SBJsonStreamWriter initialize] NSCache supported
MMContactSync.m#427:update phone contact:2320 contact:4771 to server success
MMContactSync.m#427:update phone contact:2333 contact:6025 to server success
MMContactSync.m#427:update phone contact:2210 contact:6026 to server success
MMContactSync.m#427:update phone contact:2251 contact:6027 to server success
MMContactSync.m#427:update phone contact:2489 contact:6028 to server success