I hereby claim:
- I am gbrayut on github.
- I am gbrayut (https://keybase.io/gbrayut) on keybase.
- I have a public key whose fingerprint is A61D 298E 6CE1 3E92 BA44 8319 7044 E401 5F99 8507
To claim this, I am signing this object:
//Modified version of Youtube Automatic Quality changer that supports: | |
// Wide-Mode with white background and reset to default when wide-mode is removed | |
// Full-screen resize with auto-resize on window change | |
// Quicklist detection and auto-resize using timer | |
// Disable annotations. Perform manually using: http://www.youtube.com/account#playback/annotations | |
//Original source: https://chrome.google.com/extensions/detail/hgijgnfdfpfnkfliikinfajhdmphahpj | |
//Apply changes to "C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Extensions\hgijgnfdfpfnkfliikinfajhdmphahpj\1.31_0\ytc.js" | |
//TODO: | |
// Add page action for max video size and channel->standard page link. (see comments page) | |
// Add support for detecting non-widescreen aspect ratio? (still works resonably well) |
#Status after configuring LCM and running Update-DscConfiguration | |
PS C:\windows\system32\Configuration> Get-DscConfigurationStatus | |
Status StartDate Type Mode RebootRequested NumberOfResources | |
------ --------- ---- ---- --------------- ----------------- | |
Success 2015/04/17 19:40:47 Initial Pull False 19 | |
#Status after restarting the server | |
PS C:\windows\system32> Get-DscConfigurationStatus |
I hereby claim:
To claim this, I am signing this object:
cd /data/Backups/gbmint02/ | |
sudo tar -zcvf "etc_$(date +"%F").tar.gz" /etc | |
sudo tar -zcvf "run_$(date +"%F").tar.gz" /run | |
sudo tar -zcvf "root_$(date +"%F").tar.gz" /root | |
sudo tar -zcvf "var_$(date +"%F").tar.gz" /var | |
sudo tar --exclude="$HOME/.cache" --exclude="$HOME/.config.old" --exclude="$HOME/Dropbox" --exclude="$HOME/code/go/pkg" -zcvf "${SUDO_USER}_$(date +"%F").tar.gz" $HOME | |
$ snap list |
exit #Not that kind of script, these sections should be run manually | |
# First get lxd working | |
# Install lxc/lxd. On ubuntu 18.04 I'm using snap to install lxd https://docs.snapcraft.io/installing-snapd/6735 | |
sudo apt install snapd | |
sudo snap install lxd # https://mangolassi.it/topic/18073/installing-lxd-on-ubuntu-18-04-the-right-way | |
# Using ZFS for container storage makes it easy to move things around | |
sudo apt-get install zfsutils-linux |
home.arpa { | |
file config/home.arpa | |
prometheus # enable metrics | |
errors # show errors | |
log # enable query logs | |
} |
// ==UserScript== | |
// @name Github Docs Force Dark Mode | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Force Dark Mode | |
// @author GBrayUT | |
// @match https://docs.github.com/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// @run-at document-start |
# Dockerfile run and has two formats... see https://docs.docker.com/engine/reference/builder/#run | |
RUN <command> # (shell form which by default is /bin/sh -c ...) | |
RUN ["executable", "param1", "param2"] # (exec form... not wrapped in a shell) | |
# Same for entrypoint https://docs.docker.com/engine/reference/builder/#entrypoint | |
ENTRYPOINT command param1 param2 # (shell form https://docs.docker.com/engine/reference/builder/#shell-form-entrypoint-example ) | |
ENTRYPOINT ["executable", "param1", "param2"] # (exec form https://docs.docker.com/engine/reference/builder/#exec-form-entrypoint-example ) | |
# and cmd https://docs.docker.com/engine/reference/builder/#cmd | |
CMD command param1 param2 # (shell form) |
/* | |
TODO: add header like from https://raw.githubusercontent.com/pyxelr/Dark_Google_Calendar/master/Google-DarkCalendar.user.css | |
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors | |
https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors | |
#\32 x-container > div:nth-child(1) > div:nth-child(2) | |
#SHORTCUT_FOCUSABLE_DIV > div.subredditvars-r-sofistock | |
#SHORTCUT_FOCUSABLE_DIV div.ListingLayout-outerContainer |
# https://istio.io/latest/docs/reference/config/networking/service-entry/ | |
apiVersion: networking.istio.io/v1beta1 | |
kind: ServiceEntry | |
metadata: | |
name: test-service-entry | |
namespace: testing | |
spec: | |
hosts: | |
- test.service # for host header matching | |
addresses: |