This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Remove links and images from Word files | |
# Requirements: | |
# pip install unotools Wand | |
import io | |
import atexit | |
import time | |
import logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# install xclip xdotool xkb-switch | |
function fix_layout { | |
# сохраняем выделение в файл | |
xclip -o -selection primary > /tmp/~sel.tmp | |
# сохраняем буфер обмена в файл | |
xclip -o -selection clipboard > /tmp/~clip.tmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
set -xe | |
REDSOCKS_DIR="./redsocks" | |
PACKAGE_DIR="./debian_package" | |
VERSION=$(date "+%Y.%m") | |
# Dependencies | |
sudo apt install -y git libevent-dev libssl-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import psycopg2 | |
import psycopg2.extras | |
try: | |
import igraph | |
except ImportError: | |
print(""" | |
Please install igraph library |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
##https://hub.docker.com/r/janeczku/dropbox/ | |
#Modify this | |
DROPBOX_FOLDER="${HOME}/Dropbox" | |
MEMORY_LIMIT="300m" | |
CONTAINER="dropbox" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Sep 14 17:38:42 2015 | |
@author: pavel | |
""" | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env sh | |
#http://stackoverflow.com/questions/13716658/how-to-delete-all-commit-history-in-github | |
#Checkout | |
git checkout --orphan latest_branch | |
#Add all the files | |
git add -A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Sun Jan 8 18:58:23 2017 | |
@author: pavel | |
""" | |
import os | |
import sys | |
import subprocess |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env sh | |
name="$1" | |
mkdir -p "./$1" | |
mkdir -p "./$1/src" | |
cd "./$1" | |
#pyvenv --system-site-packages --symlinks "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Pavel Klevakin [email protected] | |
pkgname=udev-notify-py3 | |
pkgver=0.4 | |
pkgrel=1 | |
epoch= | |
pkgdesc="" | |
arch=("i686" "x86_64") | |
url="http://bazaar.launchpad.net/~skss/udev-notify/udev-notify/" | |
license=("unknown") |
NewerOlder