Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
[H[2J | |
[?25l[?7l[0m[35m[1m -/oyddmdhs+:. | |
-o[37m[0m[1mdNMMMMMMMMNNmhy+[0m[35m[1m-` [0;35m . | |
-y[37m[0m[1mNMMMMMMMMMMMNNNmmdhy[0m[35m[1m+- [0;35m .vir. d$b | |
`o[37m[0m[1mmMMMMMMMMMMMMNmdmmmmddhhy[0m[35m[1m/` [0;35m .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b. | |
om[37m[0m[1mMMMMMMMMMMMN[0m[35m[1mhhyyyo[37m[0m[1mhmdddhhhd[0m[35m[1mo` [0;35m $$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b. | |
.y[37m[0m[1mdMMMMMMMMMMd[0m[35m[1mhs++so/s[37m[0m[1mmdddhhhhdm[0m[35m[1m+` [0;35m Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$ | |
oy[37m[0m[1mhdmNMMMMMMMN[0m[35m[1mdyooy[37m[0m[1mdmddddhhhhyhN[0m[35m[1md. [0;35m "$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$ | |
:o[37m[0m[1myhhdNNMMMMMMMNNNmmdddhhhhhyym[0m[35m[1mMh [1;35m |[0;35m d$$$$$$P" "$$$$$$$$ Q$$$ |
. | |
├── books | |
│ ├── handlers.go | |
│ └── models.go | |
├── config | |
│ └── db.go | |
└── main.go |
For MacOS: | |
Delete the following folders: | |
/private/var/.slm | |
/private/var/.slmauth | |
/private/var/.slmbackup | |
Can be done in terminal with following commands: | |
rm -rf /private/var/.slm | |
rm -rf /private/var/.slmauth |
FROM ubuntu:22.04 | |
RUN apt update && apt install -y git python3.10 python3.10-venv libglib2.0-0 libgl1-mesa-glx | |
WORKDIR /app | |
CMD nvidia-smi && git clone https://github.com/lllyasviel/stable-diffusion-webui-forge stable-diffusion-webui ; cd ./stable-diffusion-webui && ./webui.sh -f --listen --enable-insecure-extension-access |
fly apps create ogawa0071-mysql | |
fly deploy --config mysql.toml | |
# fly apps destroy ogawa0071-mysql -y | |
fly apps create ogawa0071-wordpress | |
fly deploy --config wordpress.toml | |
# fly apps destroy ogawa0071-wordpress -y |
1. Edit the mirror list located at /etc/pacman.d/mirrorlist and uncomment a preferred mirror (preferrably closest to you) | |
2. Initialize Pacman GPG Keys | |
- $> pacman-key --init | |
- $> pacman-key --populate archlinux | |
- $> pacman-key --refresh-keys -u --keyserver hkps.pool.sks-keyservers.net | |
*The use of the --keyserver flag is due to an error that currently occurs when using the default keyserver | |
3. Reinstall Arch keyring | |
- $> pacman -S archlinux-keyring | |
4. Install Yay (if desired) | |
- Create a user (you cannot run makepkg as root, you must be signed in as a user) |
There is a bug in Safari when using border-radius
and overflow: hidden
. Especially when applying transform
to a child.
In this case, overflow: hidden
does not always work. The child ignores the border radius and overflows.
It's a very old bug. And sadly it seems that it will never be fixed. Anyway, we can't wait for it.
There are some workaround. We need to place the element with the overflow attribute into a stacking context.
I've tested the following workarounds on the latest version of iOS (14.4).
You can choose what you want. But you should search the web for the particular attribute. (e.g. will-change
should be rarely used. See docs)
Use this on the element with overflow: hidden
and border-radius
:
""" Trains an agent with (stochastic) Policy Gradients on Pong. Uses OpenAI Gym. """ | |
import numpy as np | |
import cPickle as pickle | |
import gym | |
# hyperparameters | |
H = 200 # number of hidden layer neurons | |
batch_size = 10 # every how many episodes to do a param update? | |
learning_rate = 1e-4 | |
gamma = 0.99 # discount factor for reward |