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
public class ExampleGame : Game, IGame | |
{ | |
public Game Game => this; | |
private readonly ISomeDependency _someDependency; | |
public ExampleGame(ISomeDependency someDependency) | |
{ | |
_someDependency = someDependency; | |
} |
Keyboard Label | Character | ASCII code (Parameter #1) | Mac Virtual Key Code (Parameter #2) | Layout dependence? | |||
---|---|---|---|---|---|---|---|
0 | 0 | 48 | 029 | ANSI-US | |||
1 | 1 | 49 | 018 | ANSI-US | |||
2 | 2 | 50 | 019 | ANSI-US | |||
3 | 3 | 51 | 020 | ANSI-US | |||
4 | 4 | 52 | 021 | ANSI-US | |||
5 | 5 | 53 | 023 | ANSI-US | |||
6 | 6 | 54 | 022 | ANSI-US | |||
7 | 7 | 55 | 026 | ANSI-US |
from: http://www.meandmark.com/keycodes.html | |
with some additions from people in the comments, thanks :) | |
Virtual Keycodes for the Mac QWERTY Layout | |
Keycodes are in hexadecimal. A blank entry means either there is no key assigned to that keycode or I was unable to find the assigned key. | |
Keycode Key | |
0x00 A | |
0x01 S | |
0x02 D |
/* Customize Product Categories Labels */ | |
add_filter( 'woocommerce_taxonomy_args_product_cat', 'custom_wc_taxonomy_args_product_cat' ); | |
function custom_wc_taxonomy_args_product_cat( $args ) { | |
$args['label'] = __( 'Product Categories', 'woocommerce' ); | |
$args['labels'] = array( | |
'name' => __( 'Product Categories', 'woocommerce' ), | |
'singular_name' => __( 'Product Category', 'woocommerce' ), | |
'menu_name' => _x( 'Categories', 'Admin menu name', 'woocommerce' ), | |
'search_items' => __( 'Search Product Categories', 'woocommerce' ), | |
'all_items' => __( 'All Product Categories', 'woocommerce' ), |
#unified-extensions-view { | |
--uei-icon-size: 16px; | |
.unified-extensions-item { | |
margin-block: 0 !important; | |
border-radius: var(--arrowpanel-menuitem-border-radius) !important; | |
> .unified-extensions-item-action-button { | |
.unified-extensions-item-message-deck { | |
display: none; |
This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/
the command zig run my_code.zig
will compile and immediately run your Zig
program. Each of these cells contains a zig program that you can try to run
(some of them contain compile-time errors that you can comment out to play
with)
<?php | |
// Copyright (C) Jakub T. Jankiewicz | |
// this code is released to Public Domain with CC0 license | |
// created with the help from ChatGPT | |
$default_country = [ | |
'name' => 'Poland', | |
'code' => 'PL' | |
]; |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+