Note
If you need to update PPA keys when using Ubuntu PPAs
| s = """Jrypbzr gb gur svefg Ivfn OnatClcref zrrghc rirelbar! | |
| Guvf vf gur svefg gvzr jr'ir vaivgrq gur Onatnyber Clguba zrrghc pbzzhavgl gb bhe bssvpr, fb rirelbar gnxr n punapr gb argjbex. | |
| Funer lbhe xabjyrqtr, lbhe gvcf naq lbhe rkcregvfr bs Clguba. | |
| Nobir nyy, unir sha!! | |
| Gb bhe ivfvgbef, Ivfn vf uvevat. Ernpu bhg gb hf naq funer lbhe erfhzrf.""" |
| s = """Jrypbzr gb gur svefg Ivfn OnatClcref zrrghc rirelbar! | |
| Guvf vf gur svefg gvzr jr'ir vaivgrq gur Onatnyber Clguba zrrghc pbzzhavgl gb bhe bssvpr, fb rirelbar gnxr n punapr gb argjbex. | |
| Funer lbhe xabjyrqtr, lbhe gvcf naq lbhe rkcregvfr bs Clguba. | |
| Nobir nyy, unir sha!! | |
| Gb bhe ivfvgbef, Ivfn vf uvevat. Ernpu bhg gb hf naq funer lbhe erfhzrf.""" |
| server { | |
| # SSL configuration | |
| # | |
| # listen 443 ssl default_server; | |
| # listen [::]:443 ssl default_server; | |
| # | |
| # Note: You should disable gzip for SSL traffic. | |
| # See: https://bugs.debian.org/773332 | |
| # |
| " set leader to `,` | |
| let mapleader = "," | |
| " turn on line numbers | |
| set number | |
| " enable syntax highlighting | |
| syntax on | |
| " enable ruler | |
| set ruler | |
| " highlight search | |
| set hls |
Note
If you need to update PPA keys when using Ubuntu PPAs
| # export ZSH_TMUX_AUTOSTART="true" | |
| alias tmux="tmux -u" # for unicode in tmux | |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="$HOME/.oh-my-zsh" | |
| # Set name of the theme to load --- if set to "random", it will | |
| # load a random theme each time oh-my-zsh is loaded, in which case, |
| #!/bin/bash | |
| # Make sure to use this on the server side: `ngrok tcp 22` | |
| # Usage: | |
| # rsync_ngrok USERNAME REMOTEDIRPATH PORTNUMBER LOCALDIRPATH | |
| # if no arguments are given to the script. | |
| if [[ $# -eq 0 ]] ; then | |
| echo 'rsync_ngrok Script used to download files or folders from remote host offering usage via ngrok.' | |
| echo 'Usage: rsync_ngrok USERNAME REMOTEDIRPATH PORTNUMBER LOCALDIRPATH' |
| import dash | |
| import dash_core_components as dcc | |
| import dash_html_components as html | |
| from urllib.parse import urlparse, parse_qsl, urlencode | |
| from dash.dependencies import Input, Output | |
| app = dash.Dash() | |
| app.config.suppress_callback_exceptions = True |
| class Hand: | |
| pass | |
| class HumanBeing: | |
| def __init__(self, *args, **kwargs): | |
| pass | |
| def __new__(self, *args, **kwargs): | |
| pass | |
| def test_romaji_hiragana(romaji, options): | |
| """Prints a question to the screen, asking which of the | |
| printed hiragana correspond to the given romaji.""" | |
| from epd import epd2in7b as epdlib | |
| from PIL import Image, ImageDraw, ImageFont | |
| # TODO: Make a library for this. | |
| canvas_width, canvas_height = 264, 176 | |
| canvas_black = Image.new( | |
| "L", | |
| (canvas_width, canvas_height), |