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 cqextractor | |
import ( | |
"fmt" | |
"time" | |
"github.com/media-net/cargo/cassandra" | |
"github.com/media-net/cargo/utils" | |
"github.com/gocql/gocql" | |
"github.com/media-net/cargo/logger" |
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
/** | |
* Thread pool executor | |
* Author: akshay | |
* Date : 9/30/13 | |
* Time : 2:55 PM | |
*/ | |
public class EfficientThreadPoolExecutor extends ThreadPoolExecutor { | |
/** | |
* Logger |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 urllib | |
import urllib.request | |
import sys | |
from multiprocessing import Process | |
import time | |
def read_page(): | |
print("reading source") | |
req = urllib.request.Request("https://play.google.com/store/apps/details?id=main.java.com.appsurfer") | |
try: |