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 static void postNewComment(Context context,final UserAccount userAccount,final String comment,final int blogId,final int postId){ | |
mPostCommentResponse.requestStarted(); | |
RequestQueue queue = Volley.newRequestQueue(context); | |
StringRequest sr = new StringRequest(Request.Method.POST,"http://api.someservice.com/post/comment", new Response.Listener<String>() { | |
@Override | |
public void onResponse(String response) { | |
mPostCommentResponse.requestCompleted(); | |
} | |
}, new Response.ErrorListener() { | |
@Override |
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
# coding=UTF8 | |
######################################################################### | |
# This class is to help sklearn to handle statistical process # | |
# Author: Joon Lim from Master of Science in Analytics at Northwestern # | |
# Date: 04.23.2013 # | |
######################################################################### | |
''' this Module is built on top of numpy and sklearn. ''' | |
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.fibertechcws.pos.client.print; | |
import java.awt.*; | |
import java.awt.geom.*; | |
import java.awt.print.*; | |
import java.util.*; | |
public class PrintReceipt implements Printable { | |
int lines; | |
ArrayList<String> text1; |