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
name of display: :0 | |
display: :0 screen: 0 | |
direct rendering: Yes | |
server glx vendor string: SGI | |
server glx version string: 1.4 | |
server glx extensions: | |
GLX_ARB_context_flush_control, GLX_ARB_create_context, | |
GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, | |
GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, | |
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, |
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
lxc 20191218165750.534 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type u nsid 0 hostid 100000 range 999 | |
lxc 20191218165750.534 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type g nsid 0 hostid 100000 range 999 | |
lxc 20191218165750.534 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type u nsid 1000 hostid 1000 range 1 | |
lxc 20191218165750.534 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type g nsid 1000 hostid 998 range 1 | |
lxc 20191218165750.534 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type u nsid 1001 hostid 101001 range 98999 | |
lxc 20191218165750.534 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type g nsid 1001 hostid 101001 range 99001 | |
lxc 20191218165750.537 TRACE start - start.c:lxc_init_handler:748 - Created anonymous pair {12,13} of unix sockets | |
lxc 20191218165750.537 TRACE commands - commands.c:lxc_cmd_init:1248 - Creating abstract unix socket "/tmp/anbox-data/cont |
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
lxc 20191217232527.470 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type u nsid 0 hostid 100000 range 999 | |
lxc 20191217232527.470 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type g nsid 0 hostid 100000 range 999 | |
lxc 20191217232527.470 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type u nsid 1000 hostid 1000 range 1 | |
lxc 20191217232527.470 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type g nsid 1000 hostid 998 range 1 | |
lxc 20191217232527.470 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type u nsid 1001 hostid 101001 range 98999 | |
lxc 20191217232527.470 INFO confile - confile.c:set_config_idmaps:1673 - Read uid map: type g nsid 1001 hostid 101001 range 99001 | |
lxc 20191217232527.471 TRACE start - start.c:lxc_init_handler:748 - Created anonymous pair {12,13} of unix sockets | |
lxc 20191217232527.471 TRACE commands - commands.c:lxc_cmd_init:1248 - Creating abstract unix socket "/tmp/anbox-data/cont |
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
(define-module (my packages) | |
#:use-module ((guix licenses) #:prefix license:) | |
#:use-module (gnu packages linux) | |
#:use-module (guix build-system trivial) | |
#:use-module (gnu) | |
#:use-module (guix download) | |
#:use-module (guix git-download) | |
#:use-module (guix packages)) | |
(define (linux-nonfree-urls version) |
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
#!/bin/sh | |
DOWNLOAD_DIR="$HOME/Downloads" | |
if test -d $DOWNLOAD_DIR ; then | |
echo "Using specified download directory: $DOWNLOAD_DIR" | |
else | |
echo "Specified download directory doesn't exist: $DOWNLOAD_DIR" | |
exit | |
fi |
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 | |
#https://www.gnu.org/software/guix/manual/guix.html#Invoking-guix-import | |
#https://docs.python.org/3/library/argparse.html#argparse.Action | |
import json, argparse, re, subprocess, tempfile, os | |
CACHEFILE = os.path.expanduser("~/.cache/guix-module-creator-file-hashes.log") | |
def add_hash(metadata: dict): | |
"""Read from cache file which stores url hashes as '<url> <hash>'.""" |
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 | |
# | |
# This script is a userscript for qutebrowser. Written by Pkill9. Contact me on IRC at #qutebrowser on Freenode for any questions. | |
# | |
# Emulates vim's 'read' command | |
# | |
# WARNING: the command outputs are stored in qutebrowser's | |
# debug log reachable via the url qute://log | |
import os |
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 python | |
#more ideas https://addons.mozilla.org/en-US/firefox/addon/redirectbypasser/ https://github.com/mozlima/redirectbypasser https://github.com/D4Vinci/AdflyUrlGrabber/blob/master/AdflyUrlGrabber.py | |
#todo: check the new url that is found. | |
from sys import argv | |
from os import environ | |
domains = { | |
'l.facebook.com' : 'https:\/\/l\.facebook\.com\/l\.php\?u\=(?P<actual_url>.+)\&h\=', |
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
#!/bin/sh | |
# qutebrowser userscript for executing shell commands | |
SHELL=sh | |
CMD=${@:2} | |
case $1 in | |
(--fish) SHELL=fish ;; | |
(--bash) SHELL=bash ;; | |
(*) CMD=$@ ;; |
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
N_OF_URLS = 10 | |
WITHIN_LAST_DAYS = 31 | |
HISTORYFILE = '{}/history.sqlite'.format(config.datadir) | |
STARTPAGE_DIR = str(config.datadir) | |
STARTPAGE_TITLE = "There's no place like ~" | |
TEMPLATE_FILE = "template.html" # Note: this path is relative to the path specified in STARTPAGE_DIR | |
def get_top_urls(n=N_OF_URLS, within_last_days=WITHIN_LAST_DAYS, historyfile=HISTORYFILE): | |
"""Read the history.sqlite file to get a list of the most accessed pages""" |
NewerOlder