I hereby claim:
- I am cosmosgenius on github.
- I am sharat (https://keybase.io/sharat) on keybase.
- I have a public key ASBDRPP_r-Bj96F6J8KK9yiTGlDo4xaT4Wq3pYOsloHY3Ao
To claim this, I am signing this object:
port 6379 | |
timeout 0 | |
tcp-keepalive 0 | |
loglevel notice | |
logfile stdout | |
databases 16 | |
save 900 1 | |
save 300 10 | |
save 60 10000 | |
stop-writes-on-bgsave-error yes |
import xlrd | |
import json | |
import sys | |
import argparse | |
def convert(workbook): | |
wb = xlrd.open_workbook(workbook) | |
year = 2013 | |
data = [] |
./configure --prefix=$HOME \ | |
--sbin-path=$HOME/sbin/nginx \ | |
--conf-path=$HOME/etc/nginx/nginx.conf \ | |
--error-log-path=$HOME/var/logs/nginx/error.log \ | |
--http-log-path=$HOME/var/logs/nginx/access.log \ | |
--pid-path=$HOME/var/logs/nginx/nginx.pid \ | |
--lock-path=$HOME/var/logs/nginx/nginx.lock \ | |
--http-proxy-temp-path=$HOME/tmp/nginx/proxy/ \ | |
--http-fastcgi-temp-path=$HOME/tmp/nginx/fastcgi/ \ | |
--http-uwsgi-temp-path=$HOME/tmp/nginx/uwsgi/ \ |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="utf-8"?> | |
<service> | |
<short>etcd is a distributed, consistent key-value store for shared configuration and service discovery</short> | |
<description>etcd is a distributed, consistent key-value store for shared configuration and service discovery</description> | |
<port protocol="tcp" port="2379"/> | |
<port protocol="tcp" port="2380"/> | |
</service> |
user nginx; | |
worker_processes auto; | |
worker_rlimit_nofile 65535; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 4096; |
[Unit] | |
Description=Confd | |
After=etcd.service | |
[Service] | |
ExecStart=/usr/bin/confd -backend etcd -node http://127.0.0.1:2379 --watch | |
Restart=always | |
[Install] | |
WantedBy=basic.target |
#!/bin/sh | |
git --work-tree=/home/ubuntu/settings.git --git-dir=/home/ubuntu/settings.git/.git pull -p |
1) Read an image from file | |
2) Display an image that you read from file | |
3) Capture Video using your webcam and display the feed | |
4) Display back and white live stream from your webcam. | |
5) Have a slider to change brightness of the webcam live stream. Display. | |
6) Have a slider to change contrast of the webcam live stream. Display. | |
7) Capture a snapshot from your webcam. Then display difference between live video stream and this snapshot. (Background subtraction) | |
8) Display Canny edge image from your live webcam stream | |
9) Have a slider to change smoothness / sharpness of image from live webcam stream. | |
10) Display histogram of colors (RGB) from your live webcam stream |
#!/usr/bin/env python3 | |
import os | |
import contextlib | |
import sys | |
import socket | |
from functools import partial | |
import logging | |
from http.server import ( | |
BaseHTTPRequestHandler, |