Skip to content

Instantly share code, notes, and snippets.

View axper's full-sized avatar

Babken Vardanyan axper

  • Yerevan, Armenia
View GitHub Profile
@axper
axper / whois.py
Created July 23, 2014 17:55
Print whois info about given IP address
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# Requirements:
# 1. Python 3
# 2. pip3 install ipwhois
from ipwhois import IPWhois
from ipwhois.utils import get_countries
@axper
axper / recursive_binary_search.cpp
Created May 22, 2014 16:59
Microsoft C++ homework for May 20
#include <iostream>
using namespace std;
/*
* This function recursively searches for number lookup in a sorted array
* which has no repeating values.
*
* Parameters:
* array: The sorted array to search in
@axper
axper / PKGBUILD
Created February 10, 2014 10:43
vimperator-hg PKGBUILD
# Maintainer: Michael Witten <mfwitten>
# Contributor: Axpere Jan <483ken _@AT@_ gmail>
# Contributor: Gustavo Dutra <mechamo@gustavodutra.com>
pkgname=vimperator-hg
pkgver=r4791.4b30fbfb2ee3
pkgrel=1
pkgdesc="Make firefox look and behave like Vim (hg version)"
arch=('any')
url="http://www.vimperator.org/vimperator"