Skip to content

Instantly share code, notes, and snippets.

Delivered-To: al@somestuff.ru
Received: by 2002:a92:a041:0:0:0:0:0 with SMTP id b1csp2786343ilm; Mon, 20 Jan
2020 10:52:56 -0800 (PST)
X-Google-Smtp-Source: APXvYqxxy6YHQi6GqBWLjcEvcGTMRYSaUqkHlsWEG/+jW4qO+Bn8wwR8FDPvTJJ7QJ/bO7UAU84e
X-Received: by 2002:ac2:522f:: with SMTP id i15mr391573lfl.138.1579546376797;
Mon, 20 Jan 2020 10:52:56 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1579546376; cv=none; d=google.com;
s=arc-20160816;
b=kvRkJS1Yo3Ztk5s4QlFLgT+lsIwXKuz4XXo/CTTfIUFdXdWL3+aAyptQDbv0rRXhcd
YKThn5Udq+DdVPU696vxjIJojBZYe9b0hKTUDDsy/X7c0dov9J1hVgElO49BZ54yjZFX
Delivered-To: al@somestuff.ru
Received: by 2002:a92:d7ce:0:0:0:0:0 with SMTP id g14csp738270ilq; Fri, 12 Jun
2020 10:12:07 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJyhffcALVvP/sGQiLLfODLVQAGtVVQTxrhHlQwEKWEk6QmWVf5TNHMOtKvQcQmfaH6BErYh
X-Received: by 2002:a19:f813:: with SMTP id a19mr7313209lff.212.1591981926926;
Fri, 12 Jun 2020 10:12:06 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1591981926; cv=none; d=google.com;
s=arc-20160816;
b=f4u0uaxLUPGjvS9wwYbkMqTce8zuJtGE5gH7WW+aYkkbPyatcDRuYmKWgq06mSZK1R
pWi91bMu+QPLdmt7rTYE7Key5/eOPLWrnHJaHH3kPtAa0rPtnBQhez1v8EkEPRuos913
[2017-12-15 22:19:26 +0300] [22949] [ERROR] Error handling request /testing
Traceback (most recent call last):
File "/home/lingvodoc/environments/lingvodoc_3_0/lib/python3.5/site-packages/lingvodoc/utils/elan_functions.py", line 161, in eaf_wordlist
word_list = eaf_words(eaf_obj)
File "/home/lingvodoc/environments/lingvodoc_3_0/lib/python3.5/site-packages/lingvodoc/utils/search.py", line 86, in eaf_words
ann_list = [x[2].lower() for x in eaf_obj.get_annotation_data_for_tier(tier)]
File "/home/lingvodoc/environments/lingvodoc_3_0/lib/python3.5/site-packages/pympi/Elan.py", line 627, in get_annotation_data_for_tier
return self.get_ref_annotation_data_for_tier(id_tier)
File "/home/lingvodoc/environments/lingvodoc_3_0/lib/python3.5/site-packages/pympi/Elan.py", line 955, in get_ref_annotation_data_for_tier
refann = self.tiers[self.annotations[ref]][0][ref]
@al-indigo
al-indigo / nova.conf
Created May 19, 2016 12:21
nova.conf
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
libvirt_use_virtio_for_bridges=True
verbose=True
ec2_private_dns_show_ip=True
├── compute_deploy.yml
├── controller_deploy.yml
├── group_vars
│   └── all
├── hosts
├── network_deploy.yml
├── object_storage_deploy.yml
├── roles
│   ├── Stouts.mongodb-develop
│   │   └── tasks
@al-indigo
al-indigo / vectoradd.cu
Created February 24, 2016 15:45
cuda runtime api example
/**
* Copyright 1993-2015 NVIDIA Corporation. All rights reserved.
*
* Please refer to the NVIDIA end user license agreement (EULA) associated
* with this source code for terms and conditions that govern your use of
* this software. Any use, reproduction, disclosure, or distribution of
* this software and related documentation outside the terms of the EULA
* is strictly prohibited.
*
*/
@al-indigo
al-indigo / vectoradddrv.cpp
Created February 24, 2016 15:44
driver api example host code
/*
* Copyright 1993-2015 NVIDIA Corporation. All rights reserved.
*
* Please refer to the NVIDIA end user license agreement (EULA) associated
* with this source code for terms and conditions that govern your use of
* this software. Any use, reproduction, disclosure, or distribution of
* this software and related documentation outside the terms of the EULA
* is strictly prohibited.
*
*/
a46883fc-a26a-41ec-82e0-ccde97c5ce5d
Bridge br-tun
fail_mode: secure
Port "vxlan-0a0a1539"
Interface "vxlan-0a0a1539"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="10.10.21.50", out_key=flow, remote_ip="10.10.21.57"}
Port "vxlan-0a0a1535"
Interface "vxlan-0a0a1535"
type: vxlan
import os
from django.utils.translation import ugettext_lazy as _
from horizon.utils import secret_key
from openstack_dashboard import exceptions
from openstack_dashboard.settings import HORIZON_CONFIG
DEBUG = False
TEMPLATE_DEBUG = DEBUG
WEBROOT = '/'
ALLOWED_HOSTS = ['cloud.ispras.ru', '83.149.198.10']
LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
@al-indigo
al-indigo / sahara-all.log
Created December 21, 2015 12:17
Cluster scale failed with CDH5.4.0
This file has been truncated, but you can view the full file.
Before actual logs current config list.
1) Started and scaled with Horizon
2) Versions for all components - latest from branch "Liberty"
3) Image for CDH5.4.0 from Mirantis images (ubuntu-cdh5.4.0)
4) Initial cluster - 1 master, 4 slaves, configs are default with the following components (all flavors - default m1.large):
4a) Master:
CLOUDERA_MANAGER
YARN_JOBHISTORY
OOZIE_SERVER
HDFS_DATANODE