This file contains 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 | |
import argparse | |
import logging | |
import os | |
import pathlib | |
import sys | |
from datetime import date, timedelta | |
# create logger |
This file contains 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
* 14:19:42 DEBUG <gnc.module> module_name: gnucash/app-utils | |
* 14:19:42 WARN <gnc.module> Could not locate module gnucash/app-utils interface v.0 | |
* 14:19:42 DEBUG <gnc.module> module_name: gnucash/gnome-utils | |
* 14:19:42 WARN <gnc.module> Could not locate module gnucash/gnome-utils interface v.0 | |
* 14:19:42 DEBUG <gnc.module> module_name: gnucash/gnome-search | |
* 14:19:42 WARN <gnc.module> Could not locate module gnucash/gnome-search interface v.0 | |
* 14:19:42 DEBUG <gnc.module> module_name: gnucash/register/ledger-core | |
* 14:19:42 WARN <gnc.module> Could not locate module gnucash/register/ledger-core interface v.0 | |
* 14:19:42 DEBUG <gnc.module> module_name: gnucash/register/register-core | |
* 14:19:42 WARN <gnc.module> Could not locate module gnucash/register/register-core interface v.0 |
This file contains 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
FROM centos:latest | |
# ensure local python is preferred over distribution python | |
ENV PATH /usr/local/bin:$PATH | |
# http://bugs.python.org/issue19846 | |
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. | |
ENV LANG en_US.utf8 | |
RUN yum -y update && yum -y groupinstall development |
This file contains 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
install.packages('base64enc') | |
install.packages('rprojroot') | |
install.packages('backports') | |
install.packages('rprojroot') | |
install.packages('rlang') | |
install.packages('digest') | |
install.packages('Rcpp') | |
install.packages('jsonlite') | |
install.packages('glue') | |
install.packages('devtools') |
This file contains 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
Verifying my Blockstack ID is secured with the address 1CAQpfwPf5wtQ514LN4NsgvH1TXsd1gZkb https://explorer.blockstack.org/address/1CAQpfwPf5wtQ514LN4NsgvH1TXsd1gZkb |
This file contains 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
[Unit] | |
Description=Parity Daemon | |
After=network.target | |
[Service] | |
# https://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%20lines | |
ExecStart=/usr/bin/parity --config /etc/parity/config.toml | |
# Specifies how processes of this unit shall be killed. | |
# One of control-group, process, mixed, none. |
This file contains 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
ethminer -G -M -v 9 | |
ℹ 19:46:47|ethminer Found suitable OpenCL device [ Ellesmere ] with 6200512512 bytes of GPU memory | |
Benchmarking on platform: CL | |
Preparing DAG for block #0 | |
cl 19:46:47|cl-0 No work. Pause for 3 s. | |
Warming up... | |
cl 19:46:50|cl-0 New work: header #50c856ae… target 0000000000000002000000000000000000000000000000000000000000000000 | |
cl 19:46:50|cl-0 New seed #00000000… | |
cl 19:46:51|cl-0 Platform: AMD Accelerated Parallel Processing | |
cl 19:46:51|cl-0 Device: Ellesmere / OpenCL 1.2 AMD-APP (2442.7) |
This file contains 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
clinfo | |
Number of platforms: 1 | |
Platform Profile: FULL_PROFILE | |
Platform Version: OpenCL 2.0 AMD-APP (2442.7) | |
Platform Name: AMD Accelerated Parallel Processing | |
Platform Vendor: Advanced Micro Devices, Inc. | |
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices | |
Platform Name: AMD Accelerated Parallel Processing |
This file contains 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
# -*- coding: utf-8 -*- | |
""" | |
Builds epub book out of Paul Graham's essays: http://paulgraham.com/articles.html | |
Author: Ola Sitarska <[email protected]> | |
Copyright: Licensed under the GPL-3 (http://www.gnu.org/licenses/gpl-3.0.html) | |
This script requires python-epub-library: http://code.google.com/p/python-epub-builder/ | |
""" |
This file contains 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 | |
# -*- coding: utf-8 -*- | |
Z=$(gsettings get org.gnome.desktop.session idle-delay) | |
echo $Z | |
# 600 for 10 minutes, change to suit your needs | |
if [ "$Z" = "uint32 600" ]; then | |
gsettings set org.gnome.desktop.session idle-delay 0 | |
echo set zero | |
else |