| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Original HTTPS Page] |
| " airline config | |
| let g:airline_theme='powerlineish' | |
| let g:airline_powerline_fonts = 1 | |
| let g:airline#extensions#tabline#enabled = 1 |
| import numpy as np | |
| import plotly.graph_objects as go | |
| from dash import Dash, dcc, html, Input, Output, State | |
| import dash_bootstrap_components as dbc | |
| from flask_caching import Cache | |
| external_stylesheets = [dbc.themes.SOLAR] | |
| app = Dash(__name__, external_stylesheets=external_stylesheets) | |
| server = app.server |
| #!/bin/bash | |
| # Based on: https://www.reddit.com/r/Calibre/comments/dza1zi/comment/lxz97q5/ | |
| # Except this just does a single Apple epub, which is a directory (folder); | |
| # loop over it to do a directory. | |
| # WARNING: DOES NOT HANDLE BOOKS WITH DRM | |
| # Downloaded Apple Books books are in: | |
| # ~/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books | |
| # Books in iCloud are in: | |
| # ~/Library/Mobile Documents/iCloud~com~apple~iBooks/Documents |
| #!/bin/bash | |
| # tested on pip 25.0.1 | |
| # XXX this is probably not a good idea | |
| for pkg in $( python3 -m pip list | tail -n+3 | awk '{print $1 "==" $2}' ) | |
| do | |
| python3 -m pip install -U --force-reinstall "${pkg}" | |
| done |
| // ==UserScript== | |
| // @name Kindle Download | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-02-20 | |
| // @description Download all your kindle books | |
| // @author You | |
| // @match https://www.amazon.com/hz/mycd/digital-console/contentlist/booksAll/dateDsc/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.com | |
| // @grant none | |
| // ==/UserScript== |
| Bootstrap: debootstrap | |
| OSversion: focal | |
| MirrorURL: https://us.archive.ubuntu.com/ubuntu/ | |
| %environment | |
| export FSLDIR="/usr/local/fsl" | |
| export DEBIAN_FRONTEND="noninteractive" | |
| export LANG="en_US.UTF-8" | |
| %post |
| #!/bin/bash | |
| # Removes both nvidia and nouveau drivers from initramfs and rebuilds them. | |
| export PATH=/bin:/usr/bin:/sbin:/usr/sbin | |
| if [[ $( id -u ) -ne 0 ]] | |
| then | |
| echo "This must be run as root" | |
| exit 1 | |
| else | |
| kernelversion=$(uname -r) |
| #!/usr/bin/env python3.6 | |
| # Author: David Chin david.chin@pennmedicine.upenn.edu | |
| import sys | |
| import os | |
| import shlex | |
| import subprocess | |
| import argparse | |
| import datetime | |
| import calendar | |
| from pathlib import Path |
Set up tunnel:
ssh -L 1443:clusternode-xcc:443 adminuser@adminhost
Then, run web browser on PC connecting to
https://localhost:1443
| Back | FazBrowse Home | New Git URL |