https://gist.github.com/allen-munsch/63c2071103cbb04cbd82d10a47baf67e
nano /etc/ssh/sshd_config
[io/elementary/appcenter/settings] | |
window-x=410 | |
reset-paid-apps=false | |
paid-apps=@as [] | |
window-y=185 | |
[org/gnome/settings-daemon/plugins/color] | |
night-light-schedule-automatic=false | |
night-light-schedule-to=3.0 | |
night-light-schedule-from=5.0 |
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 |
https://gist.github.com/allen-munsch/63c2071103cbb04cbd82d10a47baf67e
nano /etc/ssh/sshd_config
stdout = lambda x: sys.stdout.write(x + '\n') | |
stderr = lambda x: sys.stderr.write(x + '\n') | |
def sanitize_output(output): | |
output = re.sub( | |
r"[\"']?password[\"']?: ['\"a-z0-9A-Z]+", "'password': '###'", output | |
) | |
output = re.sub( |
from uuid import uuid4 | |
from django.http import HttpRequest, QueryDict | |
from django.middleware.csrf import CSRF_SESSION_KEY | |
from django.utils.datastructures import MultiValueDict | |
from fastapi import FastAPI | |
from fastapi.middleware.wsgi import WSGIMiddleware | |
from starlette.middleware import Middleware | |
from starlette.middleware.base import BaseHTTPMiddleware | |
from starlette.middleware.sessions import SessionMiddleware |
#!/bin/bash | |
function search_indexes() { | |
declare -a indexes=(/CC-MAIN-2018-39-index /CC-MAIN-2018-34-index /CC-MAIN-2018-30-index /CC-MAIN-2018-26-index /CC-MAIN-2018-22-index /CC-MAIN-2018-17-index /CC-MAIN-2018-13-index /CC-MAIN-2018-09-index /CC-MAIN-2018-05-index /CC-MAIN-2017-51-index /CC-MAIN-2017-47-index /CC-MAIN-2017-43-index /CC-MAIN-2017-39-index /CC-MAIN-2017-34-index /CC-MAIN-2017-30-index /CC-MAIN-2017-26-index /CC-MAIN-2017-22-index /CC-MAIN-2017-17-index /CC-MAIN-2017-13-index /CC-MAIN-2017-09-index /CC-MAIN-2017-04-index /CC-MAIN-2016-50-index /CC-MAIN-2016-44-index /CC-MAIN-2016-40-index /CC-MAIN-2016-36-index /CC-MAIN-2016-30-index /CC-MAIN-2016-26-index /CC-MAIN-2016-22-index /CC-MAIN-2016-18-index /CC-MAIN-2016-07-index /CC-MAIN-2015-48-index /CC-MAIN-2015-40-index /CC-MAIN-2015-35-index /CC-MAIN-2015-32-index /CC-MAIN-2015-27-index /CC-MAIN-2015-22-index /CC-MAIN-2015-18-index /CC-MAIN-2015-14-index /CC-MAIN-2015-11-index /CC-MAIN-2015-06-index /CC-MAIN-2014-52-index /CC-MAIN-2014-49 |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>homebrew.mxcl.dnsmasq</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/opt/dnsmasq/sbin/dnsmasq</string> | |
<string>--keep-in-foreground</string> |
/* Decrease the tabs bar height in gnome-terminal | |
* Add: ~/.config/gtk-3.0/gtk.css | |
* See: https://stackoverflow.com/questions/36869701/decrease-the-tabs-bar-height-in-gnome-terminal | |
*/ | |
terminal-window notebook > header.top button { | |
padding: 0 0 0 0; | |
background-image: none; | |
border: 0; | |
margin-right: 10px; |
OpenBazaar Peer ID: QmbtGQ4xeENuh6ktp2rWdiFbetmHy5rPLS5PJf8HS5LXbb