Skip to content

Instantly share code, notes, and snippets.

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

Phillip Cutter phillipcutter

🏠
Working from home
View GitHub Profile
@phillipcutter
phillipcutter / static_django_replace.md
Created July 6, 2020 01:08
Replace Django Absolute Paths for Static Paths with Regex Find & Replace

Replace Django Absolute Paths for Static Paths with Regex Find & Replace

Find: \"\.\.\/\.\.\/\.\.\/static\/([0-9A-Za-z._\-\/]+)\" Replace: "{% static "$1" %}"

Works with PyCharm and likely other Jetbrains IDEs

08-31 20:44:54.526 32728-32728/com.google.ar.core.examples.java.helloar I/art: Late-enabling -Xcheck:jni
08-31 20:44:54.897 32728-32728/com.google.ar.core.examples.java.helloar W/System: ClassLoader referenced unknown path: /data/app/com.google.ar.core.examples.java.helloar-1/lib/arm
08-31 20:44:54.919 32728-32728/com.google.ar.core.examples.java.helloar I/InstantRun: starting instant run server: is main process
08-31 20:44:55.053 32728-32728/com.google.ar.core.examples.java.helloar 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
08-31 20:44:55.175 32728-32728/com.google.ar.core.examples.java.helloar E/SupportedDevices: Device calibration unavailable. Just kidding! ;)
08-31 20:44:55.218 32728-32728/com.google
08-31 20:16:00.803 16553-16553/? I/art: Late-enabling -Xcheck:jni
08-31 20:16:00.836 16553-16560/? E/art: Failed sending reply to debugger: Broken pipe
08-31 20:16:00.836 16553-16560/? I/art: Debugger is no longer active
08-31 20:16:00.836 16553-16560/? I/art: Starting a blocking GC Instrumentation
08-31 20:16:01.073 16553-16553/? W/System: ClassLoader referenced unknown path: /data/app/com.google.ar.core.examples.java.helloar-1/lib/arm
08-31 20:16:01.098 16553-16553/? I/InstantRun: starting instant run server: is main process
08-31 20:16:01.246 16553-16553/? 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
08-31 20:16:01.377 16553-16553/? E/SupportedDevices: Device calibration unavailable. Just kidding! ;)
08
12-22 19:47:19.892 31897-31897/com.playground.mrfleap.testplayground E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.playground.mrfleap.testplayground, PID: 31897
java.lang.ClassCastException: android.graphics.drawable.InsetDrawable cannot be cast to android.graphics.drawable.TransitionDrawable
at com.flipkart.chatheads.ui.container.DefaultChatHeadManager.showOverlayView(DefaultChatHeadManager.java:411)
at com.flipkart.chatheads.ui.MaximizedArrangement.onActivate(MaximizedArrangement.java:101)
at com.flipkart.chatheads.ui.container.DefaultChatHeadManager.setArrangem