Assuming you installed Sublime in the Applications folder
For Sublime Text 2:
$ open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
For Sublime Text 3:
#!/bin/bash | |
# Move to master branch. Delete all other local branches except master, develop, release/* or project/* | |
# Move to master branch | |
git checkout master | |
# Collect branches | |
branches=() | |
eval "$(git for-each-ref --shell --format='branches+=(%(refname))' refs/heads/)" |
A list of some commonly used Git commands to get you going with Git.
Table of Content
import org.springframework.context.MessageSource; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.support.ReloadableResourceBundleMessageSource; | |
@Configuration | |
public class MessageConfig { | |
@Bean | |
public MessageSource messageSource() { |
<style> | |
#accordion { | |
height:500px; | |
} | |
.ace_editor { | |
width:600px; | |
height:300px; | |
} | |
</style> |
private void captureScreen() { | |
View content = findViewById(R.id.content_frame); | |
Bitmap bitmap = content.getDrawingCache(); | |
File folder = new File(Environment.getExternalStorageDirectory()+ "/Device Info"); | |
boolean success = true; | |
if (!folder.exists()) { | |
success = folder.mkdir(); | |
} | |
if (success) { |