Skip to content

Instantly share code, notes, and snippets.

Artur Barseghyan barseghyanartur

Block or report user

Report or block barseghyanartur

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
for cont in $(podman ps -q); do podman exec -it ${cont} /bin/bash -c "pip install django-request-logging"; done
HerrPi /
Last active Feb 8, 2020
Mercurial to Git repo conversion (hg-to-git)
shaypal5 / .travis.yml
Last active May 23, 2020
Comprehensive Python testing on Travis CI
View .travis.yml
language: python
# ===== Linux ======
dist: xenial
- 2.7
- 3.5
- 3.6
- 3.7

Debugging Python within Docker

Often you need to run debugger within docker. It many cases it looks like this:

import pdb; pdb.set_trace()


davi807 / mk1tv.go
Created Sep 21, 2018
Սա օգտագործում եմ կայքի ֆիլմերը ավելորդ մասերից մաքրելու համար
View mk1tv.go
package main
import (
func main() {
jawinn / fobi_states.txt
Last active Mar 27, 2018
Django FOBI - List of US States and Territories for Select Menu
View fobi_states.txt
AK, Alaska
AL, Alabama
AR, Arkansas
AS, American Samoa
AZ, Arizona
CA, California
CO, Colorado
CT, Connecticut
DC, District of Columbia
DE, Delaware
barseghyanartur /
Last active Dec 29, 2019
Set up working Python dev environment

Set up working dev environment

Install and setup of git and mercurial

Install git:

sudo apt-get install git
View dlib and face_recognition on raspberry

Install dlib and face_recognition on a Raspberry Pi

Instructions tested with a Raspberry Pi 2 with an 8GB memory card. Probably also works fine on a Raspberry Pi 3.


Download the latest Raspbian Jessie Light image. Earlier versions of Raspbian won't work.

Write it to a memory card using Etcher, put the memory card in the RPi and boot it up.

diegopacheco /
Last active May 23, 2020
How to Install pyaudio ubuntu 16.04 LTS?
sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
sudo apt-get install ffmpeg libav-tools
sudo pip install pyaudio
ziadoz /
Last active May 26, 2020
Install Chrome, ChromeDriver and Selenium on Ubuntu 16.04
#!/usr/bin/env bash
# Versions
You can’t perform that action at this time.