Skip to content

Instantly share code, notes, and snippets.

View altyn's full-sized avatar
🎯
Focusing

Altynbek Shaidyldaev altyn

🎯
Focusing
View GitHub Profile

Установка virtualenv и virtualenvwrapper, предоставляющего чуть более удобный интерфейс к virtualenv:

sudo pip3 install virtualenv virtualenvwrapper

В ~/.bashrc дописываем:

export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
source /usr/local/bin/virtualenvwrapper.sh

Создаем новое окружение:

How to? Echoprint: Installing Echoprint Server on Ubuntu

The Echoprint server is a custom component for Apache Solr to index Echoprint codes and hash times. In order to keep the index fast, the Echoprint codes are stored in a Tokyo Tyrant key/value store. The github for Echoprint server assumes that TokyoTyrant is already installed on the machine on which you are going to install and run the Echoprint server.

Installing Tokyo Cabinet

Tokyo Cabinet is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. There is neither concept of data tables nor data types. Records are organized in hash table, B+ tree, or fixed-length array. More information can be obtained here.

The latest version can be obtained here. I will be using version 1.4.32 for this article. This version can be downloaded from

Installing Echoprint server in Ubuntu (works on 14.04)

First check the necessary packages are installed

sudo apt-get install zlib1g-dev
sudo apt-get install libbz2-dev

Installation Tokyo Cabinet

Repo name

Setup Instruction Steps (on Ubuntu 14.04)

Required:

  • Python 3.4=<
  • Pip
  • Virtualenv

Install Python 3

Практика Java Basic - 2

  1. Необходимо составить программу, определяющую оценку скорости воздушного транспорта по следующей сетке:

    Воздушный транспорт(класс "пассажирские лайнеры")
    Скорость Оценка
    0 - 40 скорость, недостаточная для взлета и нормального полета
    40 - 60 скорость, позволяющая совершить безопасный взлет и посадку

60 - 200 | скорость полета, позволительная для низких высот над населенным пунктами

Please note, this code is now deprecated

Please see the latest at Spotify's Github

Server components for Echoprint.

Echoprint is an open source music fingerprint and resolving framework powered by the The Echo Nest. The code generator (library to convert PCM samples from a microphone or file into Echoprint codes) is MIT licensed and free for any use. The server component that stores and resolves queries is Apache licensed and free for any use. The data for resolving to millions of songs is free for any use provided any changes or additions are merged back to the community.

Read more about Echoprint here.

How to deploy Django app to Server(Nginx, gunicorn)

@altyn
altyn / Laravel PHP7 LEMP AWS.md
Created August 2, 2018 13:15 — forked from santoshachari/Laravel PHP7 LEMP AWS.md
Laravel 5.x on Ubuntu 16.x, PHP 7.x, Nginx 1.9.x

#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.

Install PHP 7 on Ubuntu

Run the following commands in sequence.

sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
@altyn
altyn / zimbra-letsencrypt-renew.md
Created March 10, 2019 19:19 — forked from ugurerkan/zimbra-letsencrypt-renew.md
Zimbra 8.6.0 Letsencrypt SSL renew walkthrough.
@altyn
altyn / digitalocean-promo-cupon-code-free-trial.md
Created November 13, 2019 07:24
DigitalOcean Coupon Code $35 / $100 1 Year Free Trial - April 2018

alt text

Digital Ocean Promo Coupon Code $35 / $100 1 Year Free Trial

1) Get $35 / $25 / $20 / $10 free DigitalOcean Credit.

2) Get DigitalOcean 1 Year Free Trial.

3) Get $100 Credit For 60 Days. $100 Free Credits