Skip to content

Instantly share code, notes, and snippets.

James Bowler JamesKBowler

  • Data Centauri Ltd
  • Cheshire UK
Block or report user

Report or block JamesKBowler

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
@JamesKBowler
JamesKBowler / bash.py
Created Apr 7, 2017 — forked from kirpit/bash.py
Enables to run subprocess commands in a different thread with TIMEOUT option!
View bash.py
#! /usr/bin/env python
import threading
import subprocess
import traceback
import shlex
class Command(object):
"""
Enables to run subprocess commands in a different thread with TIMEOUT option.
@JamesKBowler
JamesKBowler / boost_python3_install.sh
Last active Oct 28, 2019
Install Boost 1.65.1 for python3.5
View boost_python3_install.sh
#!/bin/bash
#
# File: boost_python3_install.sh
#
# The MIT License (MIT)
#
# Copyright (c) 2018 James K Bowler, Data Centauri Ltd
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@JamesKBowler
JamesKBowler / install_Jupyter.sh
Created Dec 18, 2019 — forked from gatopeich/install_Jupyter.sh
Install Jupyter iPython Notebook on Android via Termux
View install_Jupyter.sh
pkg upgrade
pkg install python python-dev libzmq-dev libcrypt-dev clang
pip3 install -U pip
pip3 install pyzmq --install-option="--zmq=/usr/lib"
pip3 install jupyter
#TODO: Clean up ~200 mb pulled by build...
apt remove python-dev libzmq-dev libcrypt-dev clang
apt autoremove
rm .cache ../usr/var/cache -rf
You can’t perform that action at this time.