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
$('#btnSubmit').on('click', | |
function(){ | |
var words = $("#txtInput").val().replace(/ /g,'').split(","); | |
$("#txtInput").val(words.sort()); | |
} | |
); |
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
$('#btnSubmit').on('click', | |
function(){ | |
var finalWords = []; | |
var txt = $("#txtInput").val().replace(/ /g,''); | |
var words = txt.split(","); | |
var newWords = words.sort(); | |
for(x in newWords){ | |
var str = newWords[x]; | |
if (x>0){ | |
str = " " + str |
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 rbeall.cfexcel.utils; | |
import com.google.gson.annotations.SerializedName; | |
import org.jsoup.Jsoup; | |
import org.jsoup.nodes.Document; | |
import org.jsoup.nodes.Element; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; |
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 rbeall.cfexcel; | |
import android.app.Activity; | |
import android.graphics.PorterDuff; | |
import android.net.Uri; | |
import android.os.Bundle; | |
import android.view.LayoutInflater; | |
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
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_marginTop="5dp" | |
tools:context="rbeall.cfexcel.Web"> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" |
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
/* | |
*/ | |
public enum div { | |
DIVINNER("div#wodinnerind"), DIVRIGHT("div#wodright"); | |
private final String text; | |
div(final String text) { | |
this.text = text; | |
} |
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 rbeall.cfexcel.db; | |
import android.content.Context; | |
import android.database.sqlite.SQLiteDatabase; | |
public class ArticleDB { | |
//db context stuff | |
private ArticleDBHelper helper; | |
private final Context context; | |
private SQLiteDatabase db; |
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 rbeall.cfexcel.db; | |
import android.content.Context; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.database.sqlite.SQLiteOpenHelper; | |
import rbeall.cfexcel.MainActivity; | |
public class ArticleDBHelper extends SQLiteOpenHelper { | |
private static ArticleDBHelper sInstance; |
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 rbeall.cfexcel.db; | |
import android.content.Context; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.database.sqlite.SQLiteStatement; | |
import java.util.ArrayList; | |
import rbeall.cfexcel.utils.Articles; | |
import rbeall.cfexcel.utils.GsonArticle; | |
import rbeall.cfexcel.utils.Utilities; |
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
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/card_view" | |
android:layout_width="match_parent" | |
android:layout_height="300dp" | |
app:cardUseCompatPadding="true" | |
app:cardElevation="@dimen/elevation"> | |
<RelativeLayout | |
android:layout_width="match_parent" |
OlderNewer