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
View podman_install_reqs_in_all_running_containers.md
for cont in $(podman ps -q); do podman exec -it ${cont} /bin/bash -c "pip install django-request-logging"; done
@HerrPi
HerrPi / hg-to-git-conversion.md
Last active Feb 8, 2020
Mercurial to Git repo conversion (hg-to-git)
View hg-to-git-conversion.md
@shaypal5
shaypal5 / .travis.yml
Last active May 23, 2020
Comprehensive Python testing on Travis CI
View .travis.yml
language: python
# ===== Linux ======
dist: xenial
python:
- 2.7
- 3.5
- 3.6
- 3.7
matrix:
include:
View debugging_python_within_docker.md

Debugging Python within Docker

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

import pdb; pdb.set_trace()

Or:

@davi807
davi807 / mk1tv.go
Created Sep 21, 2018
Սա օգտագործում եմ films-hy.blogspot.com կայքի ֆիլմերը ավելորդ մասերից մաքրելու համար
View mk1tv.go
package main
import (
"fmt"
"os"
"os/exec"
"strconv"
)
func main() {
@jawinn
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
barseghyanartur / README.md
Last active Dec 29, 2019
Set up working Python dev environment
View README.md

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 pi.md

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.

Steps

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
diegopacheco / pyaudio-ubuntu-install.md
Last active May 23, 2020
How to Install pyaudio ubuntu 16.04 LTS?
View pyaudio-ubuntu-install.md
sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
sudo apt-get install ffmpeg libav-tools
sudo pip install pyaudio
@ziadoz
ziadoz / install.sh
Last active May 26, 2020
Install Chrome, ChromeDriver and Selenium on Ubuntu 16.04
View install.sh
#!/usr/bin/env bash
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
# https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
# https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
# https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
# https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Versions
CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE`
You can’t perform that action at this time.