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
| 016-06-25T16:50:15.563+0000 I - [conn6803] Assertion: 13538:couldn't open [/proc/10360/stat] errno:24 Too many open files | |
| 2016-06-25T16:50:15.750+0000 I - [conn6850] Assertion: 13538:couldn't open [/proc/10360/stat] errno:24 Too many open files | |
| 2016-06-25T16:50:16.564+0000 I - [conn6803] Assertion: 13538:couldn't open [/proc/10360/stat] errno:24 Too many open files | |
| 2016-06-25T16:50:16.752+0000 I - [conn6850] Assertion: 13538:couldn't open [/proc/10360/stat] errno:24 Too many open files | |
| 2016-06-25T16:50:17.022+0000 E STORAGE WiredTiger (24) [1466873417:22552][10360:0x7f5b235a4700], file:WiredTiger.wt, session.checkpoint: WiredTiger.turtle: fopen: Too many open files | |
| 2016-06-25T16:50:17.077+0000 E STORAGE WiredTiger (24) [1466873417:77752][10360:0x7f5b235a4700], checkpoint-server: checkpoint server error: Too many open files | |
| 2016-06-25T16:50:17.077+0000 E STORAGE WiredTiger (-31804) [1466873417:77854][10360:0x7f5b235a4700], checkpoint-server: the process must exit and restart: WT_ |
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
| s2 1 | |
| { "_id" : { "$minKey" : 1 } } -->> { "_id" : { "$maxKey" : 1 } } on : s2 Timestamp(1, 0) | |
| finderdb2.assets | |
| shard key: { "_id" : 1 } | |
| chunks: | |
| s0 1 | |
| s1 1 | |
| s2 2 | |
| { "_id" : { "$minKey" : 1 } } -->> { "_id" : ObjectId("53f8734ffd0d85079fa13207") } on : s0 Timestamp(2, 0) | |
| { "_id" : ObjectId("53f8734ffd0d85079fa13207") } -->> { "_id" : ObjectId("54aac54afd0d852a313002a6") } on : s1 Timestamp(3, 0) |
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
| from bs4 import BeautifulSoup | |
| import urllib,urllib2 | |
| import re | |
| def google_scrape(query): | |
| address = "http://www.google.com/search?q=%s&num=100&hl=en&start=0" % (urllib.quote_plus(query)) | |
| request = urllib2.Request(address, None, {'User-Agent':'Mosilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11'}) | |
| urlfile = urllib2.urlopen(request) | |
| page = urlfile.read() | |
| soup = BeautifulSoup(page) |
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/python | |
| import sys | |
| import re | |
| import string | |
| import httplib | |
| import urllib2 | |
| import re | |
| def StripTags(text): |
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
| storage: | |
| dbPath: "/data/db" | |
| engine: "wiredTiger" | |
| systemLog: | |
| destination: file | |
| path: "/var/log/mongodb.log" | |
| logAppend: true | |
| timeStampFormat: iso8601-utc | |
| replication: | |
| oplogSizeMB: 10240 |
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
| http://video.stackexchange.com/questions/19867/how-to-fade-in-out-a-video-audio-clip-with-unknown-duration | |
| http://www.bogotobogo.com/FFMpeg/ffmpeg_fade_in_fade_out_transitions_effects_filters_two_slides.php | |
| http://www.bogotobogo.com/FFMpeg/ffmpeg_fade_in_fade_out_transitions_effects_filters.php | |
| http://superuser.com/questions/833232/create-video-with-5-images-with-fadein-out-effect-in-ffmpeg | |
| http://hamelot.io/visualization/using-ffmpeg-to-convert-a-set-of-images-into-a-video/ | |
| https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/image_sequence |
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
| from selenium.webdriver.common.proxy import * | |
| from selenium import webdriver | |
| from selenium.webdriver.common.desired_capabilities import DesiredCapabilities | |
| proxy = {'address': '191.101.24.45:8085'} | |
| capabilities = dict(DesiredCapabilities.CHROME) |
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
| from selenium import webdriver | |
| from selenium.webdriver.common.desired_capabilities import DesiredCapabilities | |
| import time | |
| import re | |
| #driver = webdriver.Remote(command_executor='http://127.0.0.1:4444/wd/hub', desired_capabilities=DesiredCapabilities.CHROME) | |
| driver = webdriver.Firefox() | |
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
| from selenium import webdriver | |
| import time | |
| import re | |
| import math | |
| from selenium.webdriver.common.desired_capabilities import DesiredCapabilities | |
| driver = webdriver.Remote(command_executor='http://127.0.0.1:4444/wd/hub', desired_capabilities=DesiredCapabilities.CHROME) | |
| #driver = webdriver.Firefox() |
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
| import requests | |
| import socket | |
| import socks | |
| import csv | |
| import sqlite3 | |
| import datetime | |
| from scrapy.http import HtmlResponse | |
| socks.set_default_proxy(socks.SOCKS5, "proxy.torguard.io", 1090, username="", password="") |
OlderNewer