-
Boost 1.55.0(boost_1_55_0.zip)をダウンロードしてファイルを解凍する。(C:\boost_1_55_0)
http://www.boost.org/users/history/version_1_55_0.html
https://github.com/boostorg/boost/tree/boost-1.55.0 -
HPC Pack 2012 R2 MS-MPI Redistributable Package - 日本語(MSMPISetup.exe)をダウンロードしてインストールする。
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
# coding=utf-8 | |
import os | |
import json | |
import time | |
import requests | |
from requests.auth import AuthBase | |
from settings import LOGIN_URL, CAPTCHA_URL | |
from config import ( | |
API_VERSION, APP_VERSION, APP_BUILD, UUID, UA, APP_ZA, CLIENT_ID, |
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
#include "requestmanager.h" | |
/// | |
/// RequestManager constructor | |
/// | |
/// Description: sets up a network access manager that | |
/// abstract the HTTP/TCP protocol | |
RequestManager::RequestManager(QObject *parent) : QObject(parent) | |
{ |
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
# complex arith for programming with other languages | |
# - required functions: exp(f), log(f), sin(f), cos(f), atan2(f), pow(f1, f2) | |
import math | |
# [equality for complex] | |
def ceq(a, b): | |
return a.real == b.real and a.imag == b.imag | |
# [add, sub, mul for complex] |
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 python | |
# -*- coding: utf-8 -*- | |
import urllib2 | |
gh_url = 'https://api.github.com' | |
req = urllib2.Request(gh_url) | |
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm() |