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.codangcoding.spannable | |
import android.os.Bundle | |
import android.support.v7.app.AppCompatActivity | |
import android.text.Html | |
import android.text.SpannableStringBuilder | |
import android.text.method.LinkMovementMethod | |
import android.text.style.URLSpan | |
import android.view.View | |
import android.widget.Toast |
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
import java.util.List; | |
import static java.util.Arrays.asList; | |
public class ListUtil { | |
public static String[][] listToArray(List<List<String>> listOfString) { | |
String[][] retval = new String[listOfString.size()][]; | |
int index = 0; | |
for (List<String> data : listOfString) { |
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.kubuskotak.gazo.ui | |
import android.content.pm.ActivityInfo | |
import android.database.DataSetObserver | |
import android.os.Bundle | |
import android.os.Parcelable | |
import android.support.v4.view.PagerAdapter | |
import android.support.v4.view.ViewPager | |
import android.view.View | |
import android.view.ViewGroup |
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
#!/bin/bash | |
src="." | |
for dir in `ls "$src/"`; | |
do | |
if [[ -d "$src/$dir" ]]; then | |
echo -e "Checking update for $dir ... start"; | |
(cd "$dir" && git pull); | |
echo -e "Checking update for $dir ... done\n\n"; |
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
alias delsvn='find . -type d -name .svn -exec rm -rf {} +' |