Skip to content

Instantly share code, notes, and snippets.

View arcan1s's full-sized avatar
💭
with each bite does your sanity die

Evgenii Alekseev arcan1s

💭
with each bite does your sanity die
View GitHub Profile
import datetime
import logging
import os
import requests
def extract_deathes(static, server, region, api_key, from_date = 0, to_date = None):
res = []
end_date = int(to_date.timestamp() * 1000) if to_date else int(datetime.datetime.now().timestamp() * 1000)
parses = [
pkgname=psi4-git
_gitname=psi4
pkgver=master
pkgrel=1
pkgdesc="Open-source quantum chemistry"
arch=("i686" "x86_64")
url="http://psicode.org"
license=("GPL3")
depends=(blas lapack python2 boost python2-numpy)
makedepends=(gcc cmake)
@arcan1s
arcan1s / CMakeOutput.log
Created February 29, 2016 18:35
CMakeOutput.log from libasl with newest vtk
The system is: Linux - 4.4.1-2-ARCH - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags: -march=x86-64;-mtune=generic;-O2;-pipe;-fstack-protector-strong
Id flags:
The output was:
0
@arcan1s
arcan1s / output
Created February 15, 2016 06:22
/bin/bash -x /usr/bin/netctl-auto list
+ . /usr/lib/network/globals
++ NETCTL_VERSION=1.11
++ PROFILE_DIR=/etc/netctl
++ SUBR_DIR=/usr/lib/network
++ STATE_DIR=/run/network
++ STATE_FILE=/var/lib/netctl/netctl.state
++ do_readable :
++ local result
++ umask 022
++ :
@arcan1s
arcan1s / pacman.conf
Created January 28, 2016 13:21
pacman.conf default
Include = /etc/pacaur.conf
[arcanisrepo]
Server = ftp://repo.arcanis.me/repo/$arch
[blackarch]
Server = http://mirror.yandex.ru/mirrors/blackarch/$repo/os/$arch
@arcan1s
arcan1s / stdout
Created October 16, 2015 14:46
for I in $(yaourt -Qlq libasl | grep '/usr/lib\|usr/bin'); do readelf -d $I 2> /dev/null| grep NEEDED | cut -d' ' -f19 |tr -d '[]'; done | sort | uniq
libOpenCL.so.1
libasl.so.0
libaslacl.so.0
libaslcommon.so.0
libaslnum.so.0
libaslvtk.so.0
libboost_filesystem.so.1.58.0
libboost_program_options.so.1.58.0
libboost_system.so.1.58.0
libc.so.6
@arcan1s
arcan1s / plasmashell.log
Created June 19, 2015 10:22
plasmashell.log
[2015-06-19T02:47:24.265Z][Netctl::updateSourceEvent] : Source name "intip4"
[2015-06-19T02:47:24.265Z][Netctl::getIntIp]
[2015-06-19T02:47:24.266Z][NetctlAdds::setDataBySource]
[2015-06-19T02:47:24.266Z][NetctlAdds::setDataBySource] : Source "intip4"
[2015-06-19T02:47:24.266Z][NetctlAdds::setDataBySource] : Data QMap(("value", QVariant(QString, "192.168.0.101") ) )
[2015-06-19T02:47:24.266Z][Netctl::updateSourceEvent]
[2015-06-19T02:47:24.267Z][Netctl::updateSourceEvent] : Source name "intip6"
[2015-06-19T02:47:24.267Z][Netctl::getIntIp]
[2015-06-19T02:47:24.267Z][NetctlAdds::setDataBySource]
[2015-06-19T02:47:24.267Z][NetctlAdds::setDataBySource] : Source "intip6"
@arcan1s
arcan1s / plasmashell.log
Created June 18, 2015 22:05
plasmashell crash log
[2015-06-19T00:29:45.319Z][NetctlAdds::setDataBySource] : Data QMap(("value", QVariant(QString, "::1/128") ) )
[2015-06-19T00:29:45.319Z][Netctl::updateSourceEvent]
[2015-06-19T00:29:45.319Z][Netctl::updateSourceEvent] : Source name "profiles"
[2015-06-19T00:29:45.319Z][Netctl::getProfileList]
[2015-06-19T00:29:45.319Z][Netctl::getCmdOutput]
[2015-06-19T00:29:45.319Z][Netctl::getCmdOutput] : Cmd "/usr/bin/netctl-auto list"
[2015-06-19T00:29:45.339Z][Netctl::updateSourceEvent]
[2015-06-19T00:29:45.339Z][Netctl::updateSourceEvent] : Source name "status"
[2015-06-19T00:29:45.339Z][Netctl::getProfileStringStatus]
[2015-06-19T00:29:45.339Z][NetctlAdds::setDataBySource]
@arcan1s
arcan1s / PKGBUILD
Created February 1, 2015 01:01
PKGBUILD for netctl-gui-1.4.0
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
pkgbase=netctl-gui
pkgname=('libnetctlgui' 'netctlgui-helper' 'netctl-gui')
pkgver=1.4.0
pkgrel=1
pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE"
arch=('i686' 'x86_64')
url="http://arcanis.name/projects/netctl-gui"
license=('GPL3')
@arcan1s
arcan1s / netctl-106-netctl-auto.patch
Last active August 29, 2015 14:14
Netclt patch for #106
diff --git a/contrib/bash-completion b/contrib/bash-completion
index 4f73fab..b463a31 100644
--- a/contrib/bash-completion
+++ b/contrib/bash-completion
@@ -40,10 +40,10 @@ _netctl_auto()
case $COMP_CWORD in
1)
- COMPREPLY=( $(compgen -W "--help --version list current switch-to enable disable enable-all disable-all" -- "$cur") )
+ COMPREPLY=( $(compgen -W "--help --version list current switch-to enable disable enable-all disable-all is-active is-enabled" -- "$cur") )