Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| import argparse | |
| import re | |
| from multiprocessing.pool import ThreadPool as Pool | |
| import requests | |
| import bs4 | |
| root_url = 'http://pyvideo.org' | |
| index_url = root_url + '/category/50/pycon-us-2014' | |
| <?php | |
| use yii\helpers\Html; | |
| use yii\widgets\ActiveForm; | |
| use yii\helpers\ArrayHelper; | |
| use yii\helpers\Url; | |
| use yii\web\View; | |
| /* @var $this yii\web\View */ | |
| /* @var $model common\models\ConsejoComunal */ |
| [2016-10-23 19:16:49] __rvm_make | |
| __rvm_make () | |
| { | |
| \make "$@" || return $? | |
| } | |
| current path: /usr/share/rvm/src/ruby-2.3.1 | |
| PATH=/home/kristian/.rbenv/bin:/home/kristian/.pyenv/shims:/home/kristian/.pyenv/bin:/home/kristian/bin:/home/kristian/bin:/home/kristian/Downloads/gcloud/google-cloud-sdk/bin:/home/kristian/.sdkman/candidates/grails/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/share/rvm/bin | |
| command(2): __rvm_make -j2 | |
| ++ make -j2 | |
| CC = gcc |
| border: no | |
| height: 900 | |
| license: gpl-3.0 |
| import requests | |
| import json | |
| import cv2 | |
| addr = 'http://localhost:5000' | |
| test_url = addr + '/api/test' | |
| # prepare headers for http request | |
| content_type = 'image/jpeg' | |
| headers = {'content-type': content_type} |
| # coding: utf-8 | |
| from datetime import datetime | |
| from datetime import timedelta | |
| def calc_diff(delta): | |
| delta = abs( delta ) | |
| return { | |
| 'year' : int(delta.days / 365), | |
| 'month' : int(delta.days % 365) / 30, | |
| 'day' : int(delta.days % 365) % 30, |
| numerals = {"I":1, "V":5, "X":10, "L": 50, "C": 100, "D": 500, "M": 1000 } | |
| def convert_roman(input_number): | |
| range_flag = None | |
| for symbol, integer in numerals.items(): | |
| if integer == input_number: return symbol | |
| if input_number > integer: | |
| range_flag = symbol | |
| remaining = input_number - numerals[range_flag] |