This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
08-29 18:07:47.076: E/AndroidRuntime(3184): FATAL EXCEPTION: main | |
08-29 18:07:47.076: E/AndroidRuntime(3184): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1888, result=-1, data=Intent { act=inline-data (has extras) }} to activity {com.example.photodiary/com.example.photodiary.NewEntryActivity}: java.lang.NullPointerException | |
08-29 18:07:47.076: E/AndroidRuntime(3184): at android.app.ActivityThread.deliverResults(ActivityThread.java:3319) | |
08-29 18:07:47.076: E/AndroidRuntime(3184): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3362) | |
08-29 18:07:47.076: E/AndroidRuntime(3184): at android.app.ActivityThread.access$1100(ActivityThread.java:141) | |
08-29 18:07:47.076: E/AndroidRuntime(3184): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282) | |
08-29 18:07:47.076: E/AndroidRuntime(3184): at android.os.Handler.dispatchMessage(Handler.java:99) | |
08-29 18:07:47.076: E/AndroidRuntime(3184): at android.os.Looper.loop(Looper.java:137) | |
08-29 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.photodiary; | |
import android.os.Bundle; | |
import android.provider.MediaStore; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.graphics.Bitmap; | |
import android.view.Menu; | |
import android.view.MenuItem; | |
import android.view.View; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.photodiary; | |
import android.content.Context; | |
import android.view.*; | |
import android.app.*; | |
import android.widget.*; | |
import java.util.*; | |
public class DiaryAdapter extends BaseAdapter { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.photodiary; | |
import android.content.Context; | |
import android.widget.ArrayAdapter; | |
import android.view.*; | |
import android.app.*; | |
import android.widget.*; | |
import java.util.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#COPYRIGHT: Gabriel Smoljar (2012) | |
#WEBSITE: http://twitter.com/gabbsmo | |
#DESCRIPTION: This PowerShell script process all mkv- and srt-files in a directory by | |
# first converting the srt subtitles to ssa and then muxing them with their | |
# corresponding mkv container in a tmp directory. The muxed mkv-files are then | |
# reencoded with the subtitles burned in. | |
# | |
#NOTES: HandbrakeCLI, FFMPEG and MKVMerge must be added to PATH for this script to work. | |
# Apply all parameters according to the HandbrakeCLI docs: https://trac.handbrake.fr/wiki/CLIGuide | |
#DEPENDENCIES: HanbrakeCLI, http://handbrake.fr; FFMPEG, http://www.ffmpeg.org; |
NewerOlder