Skip to content

Instantly share code, notes, and snippets.

View masroore's full-sized avatar

Masroor Ehsan masroore

  • Apex Biotech Ltd.
  • /dev/null
View GitHub Profile

MacOS

Download from here:

http://d.pr/f/QE3d

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to:

class DocumentProcessor(object):
WORKER_TASK_SIZE = 100#00
SAVER_CHUNK_LIMIT = 1000
WORKER_POOL_SIZE = 10
def __init__(self, result_file):
self.result_file = result_file
self.id_cache = []
self.task_queue = Queue()
self.result_queue = Queue()
import pycurl
from cStringIO import StringIO
import time
from collections import deque
from itertools import islice
from urlparse import urlsplit
import select
# curl_multi_perform -> transfer data on ready sockets & get num of active handlers
# curl_multi_fdset -> extract handlers to use in select/poll
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import logging
import time
from grab.error import GrabNetworkError, GrabTimeoutError
from grab.spider import Spider, Task
import lxml.html
import random
from __future__ import absolute_import
import multiprocessing
import Queue
from grab.spider.error import FatalError
class WorkerBackendInterface(self):
pass
@masroore
masroore / CMakeLists.txt
Created January 6, 2015 18:35
OpenALPR-net cmake files
PROJECT(openalpr-net)
SET(PROJECT_NAME "openalpr-net")
#set(CMAKE_BUILD_TYPE Debug)
CMAKE_MINIMUM_REQUIRED (VERSION 2.8)
# Set the OpenALPR version in cmake, and also add it as a DEFINE for the code to access
SET(OPENALPR_MAJOR_VERSION "2")
SET(OPENALPR_MINOR_VERSION "0")
SET(OPENALPR_PATCH_VERSION "0")
Keyword Searches Competition Bid
how to train a dog 12100 0.54 1.63
how to train your dog 12100 0.48 1.47
blue dog training 8100 0.17 0.41
how to house train a dog 4400 0.41 0.79
dog training videos 3600 0.82 2.18
petsmart dog training 3600 0.3 0.75
dog training equipment 2900 0.99 1.29
training dogs 2900 0.85 2.14
gun dog training 2900 0.6 1.21
[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
private static extern bool FreeLibrary(IntPtr hModule);
[DllImport("kernel32.dll", CharSet = CharSet.Ansi)]
private static extern IntPtr GetProcAddress(IntPtr hModule, string lpProcName);
// Load the DLL file
IntPtr Handle = LoadLibrary(fileName);
if (Handle == IntPtr.Zero)
{
@masroore
masroore / wg_install.sh
Created June 1, 2020 10:05 — forked from Anachron/wg_install.sh
A script to spin up a Wireguard VPN server with Unbound recursive DNS in a hurry
#!/bin/bash
# This file is designed to spin up a Wireguard VPN quickly and easily,
# including configuring a recursive local DNS server using Unbound
#
# Make sure to change the public/private keys before running the script
# Also change the IPs, IP ranges, and listening port if desired
# iptables-persistent currently requires user input
# add wireguard repo
sudo add-apt-repository ppa:wireguard/wireguard -y
SQL Server 2017
----------------
Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83
Developer - 22222-00000-00000-00000-00000
Enterprise - TDKQD-PKV44-PJT4N-TCJG2-3YJ6B
Standard - PHDV4-3VJWD-N7JVP-FGPKY-XBV89
Web - WV79P-7K6YG-T7QFN-M3WHF-37BXC
https://www.teamos-hkrg.com/index.php?threads/microsoft-sql-server-english-2017-rtm-teamos.42103/