This file contains hidden or 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
#!/usr/bin/env ruby | |
class CountAndroidMethods | |
def count(path) | |
full_folder_path = File.expand_path(path) | |
total_count = 0 | |
# Traverse the folder | |
Dir.entries(full_folder_path).each {|file| |
This file contains hidden or 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.myapplication.utils.network; | |
import org.apache.http.conn.ClientConnectionOperator; | |
import org.apache.http.conn.scheme.SchemeRegistry; | |
import org.apache.http.impl.conn.SingleClientConnManager; | |
import org.apache.http.params.HttpParams; | |
/** | |
* User: tom | |
* Date: 2/6/14 |
This file contains hidden or 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
// | |
// UITextView+VerticalAlignment.h | |
// VerbalShoppingList | |
// | |
// Created by Tom Susel on 1/9/14. | |
// | |
#import <UIKit/UIKit.h> | |
@interface UITextView (VerticalAlignment) |
This file contains hidden or 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.tom.utils; | |
import android.os.Environment; | |
import android.os.StatFs; | |
/** | |
* Created by Tom on 7/15/13. | |
* Some helper methods for FS queries. | |
*/ | |
public class DiskUtils { |