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
TEMPLATE = app | |
CONFIG += console c++14 | |
CONFIG -= app_bundle | |
CONFIG -= qt | |
INCLUDEPATH += G://OpenCV2Build//install//include | |
LIBS += G://OpenCV2Build//install//x64//mingw//lib//libopencv_calib3d2411.dll.a | |
LIBS += G://OpenCV2Build//install//x64//mingw//lib//libopencv_contrib2411.dll.a | |
LIBS += G://OpenCV2Build//install//x64//mingw//lib//libopencv_core2411.dll.a |
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
%{Cpp:LicenseTemplate}\ | |
#include <iostream> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <opencv2/core/core.hpp> | |
using namespace cv; | |
int main(int argc, char** argv) | |
{ | |
namedWindow("Output", 1); |
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
{ | |
"version": 1, | |
"kind": "project", | |
"id": "R.OpenCV application", | |
"category": "I.Projects", | |
"trDescription": "Creates a simple C++ application using either qmake, CMake, or Qbs to build.", | |
"trDisplayName": "Create OpenCV application", | |
"trDisplayCategory": "Non-Qt Project", | |
"icon": "../../global/consoleapplication.png", | |
"enabled": "%{JS: [ %{Plugins} ].indexOf('QmakeProjectManager') >= 0 || [ %{Plugins} ].indexOf('QbsProjectManager') >= 0 || [ %{Plugins} ].indexOf('CMakeProjectManager') >= 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
"Barguna", | |
"Barisal", | |
"Jhalokati", | |
"Patuakhali", | |
"Pirojpur", | |
"Bandarban", | |
"Brahmanbaria", | |
"Chandpur", | |
"Chittagong", | |
"Comilla", |
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 matplotlib.pyplot as plt | |
x = range(0, 10) | |
y = range(10, 20) | |
plt.plot(x, y, label='some plot') | |
plt.legend(loc='lower right') | |
plt.show() |
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
% Name :: sthlm Beamer Theme HEAVILY based on the hsrmbeamer theme (Benjamin Weiss) | |
% Author :: Mark Hendry Olson ([email protected]) | |
% Created :: 2013-07-31 | |
% Updated :: June 18, 2015 at 08:45 | |
% Version :: 1.0.2 | |
% Email :: [email protected] | |
% Website :: http://v42.com | |
% | |
% License :: This file may be distributed and/or modified under the | |
% GNU Public License. |
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 urllib2 | |
class News(): | |
def __init__(self): | |
self.id = None | |
self.title = '' | |
self.subtitle = '' | |
self.reporter = '' | |
self.published_date = '' |
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 urllib2 | |
from newspaper import Article | |
import csv | |
scraped_news_list = [] | |
class News(): | |
def __init__(self): | |
self.id = None |