Skip to content

Instantly share code, notes, and snippets.

View henriquedesousa's full-sized avatar

Henrique de Sousa henriquedesousa

  • GLS IT Services
  • Lisboa, Portugal
View GitHub Profile
@henriquedesousa
henriquedesousa / giffify.bat
Last active August 29, 2015 14:27 — forked from ndorigatti/giffify.bat
Giffify - easily create optimised GIFs from a video (On Windows). This assumes you have ffmpeg.exe in the same folder or in the System PATH.
@echo off
REM !/bin/sh
REM License for any modification to the original (linked below):
REM ----------------------------------------------------------------------------
REM "THE BEER-WARE LICENSE" (Revision 42):
REM Sebastiano Poggi wrote this file. As long as you retain this notice you
REM can do whatever you want with this stuff. If we meet some day, and you think
REM this stuff is worth it, you can buy me a beer in return.
REM ----------------------------------------------------------------------------
REM
04-23 19:14:49.335 14291-14291/com.chess E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.chess, PID: 14291
java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.FrameLayout$LayoutParams
at android.widget.FrameLayout.onMeasure(FrameLayout.java:437)
at android.view.View.measure(View.java:17547)
at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:727)
at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:463)
at android.view.View.measure(View.java:17547)
java.lang.NullPointerException: Attempt to invoke virtual method 'com.chess.dagger.GlobalComponent com.chess.ui.activities.MainApplication.getGlobalComponent()' on a null object reference
at com.chess.utilities.MonitorDataHelper.getCrashlytics(MonitorDataHelper.java:63)
at com.chess.utilities.MonitorDataHelper.setFlagValue(MonitorDataHelper.java:28)
at com.chess.db.DbDataProvider.insert(DbDataProvider.java:203)
at android.content.ContentProvider$Transport.insert(ContentProvider.java:236)
at android.content.ContentResolver.insert(ContentResolver.java:1207)
at com.chess.db.DbDataManager.updateOrInsertValues(DbDataManager.java:4247)
05-19 19:14:42.044 7800-8226/com.chess D/com.chess.utilities.LogMe: RestHelper: 529 SERVER RESPONSE: {"status":"success","data":{"comments_total_count":52,"comments":[{"comment_id":29037394,"username":"Don_frye1","country_id":2,"chess_title":null,"premium_status":0,"avatar_url":"\/\/images.chesscomfiles.com\/uploads\/user\/28054694.36a1557c.200x200o.f9111bafc545.jpeg","create_date":1463580628,"body":"<p>Ask BungaBungaFischer they are related<\/p>","comment_number":41},{"comment_id":29037692,"username":"Strangemover","country_id":164,"chess_title":null,"premium_status":3,"avatar_url":"\/\/images.chesscomfiles.com\/uploads\/user\/24665424.d81dda98.200x200o.41fbeab04f95.jpeg","create_date":1463582507,"body":"<p>Theres a cracking drawn game between Fischer and Tal\u00a0out of the Winawer French with Fischer as white.\u00a0Interesting as Fischer was convinced the Winawer was positionally unsound and Tal rarely played the French.<\/p>\n<!-- CHESS_COM_DIAGRAM <div style=\"text-align:center;\"> --><div id=\"chess_co
2016-07-14 13:39:23,195 [48337964] INFO - ls.idea.gradle.GradleSyncState - Started sync with Gradle for project 'ChessCom'.
2016-07-14 13:39:23,205 [48337974] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Applications/AndroidStudio2.2.app/Contents/jre/jdk/Contents/Home
2016-07-14 13:39:23,210 [48337979] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /Applications/AndroidStudio2.2.app/Contents/jre/jdk/Contents/Home
2016-07-14 13:39:23,229 [48337998] INFO - xecution.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: [-Pandroid.injected.build.model.only=true, -Pandroid.injected.build.model.only.advanced=true, -Pandroid.injected.invoked.from.ide=true, -Pandroid.injected.build.model.only.versioned=2, --init-script, /private/var/folders/kl/4rjlr23s22s0x4lgvpfdsz9h0000gn/T/asLocalRepo206.gradle, --init-script, /private/var/folders/kl/4rjlr23s22s0x4lgvpfdsz9h0000gn/T/ijinit.gradle]
2016-07-14 13:39:29,868 [48344637] INFO - .p
@henriquedesousa
henriquedesousa / stores.md
Last active July 25, 2017 10:13 — forked from vilaca/stores.md
European (intra-EU) stores with Multirotor related kits and parts.