-
Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.
brew tap jeffreywildman/homebrew-virt-manager brew install virt-viewer
-
Once that's installed should be able make a call
remote-viewer
with a pve-spice.vv file downloaded from proxmox web interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## pip install autoawq==0.1.7 | |
## pip install transformers==4.36.2 | |
import functools | |
import gc | |
import os | |
from collections import defaultdict | |
from typing import Dict, List, Optional, Tuple, Union | |
import torch | |
import torch.nn as nn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#ifdef _MSC_VER | |
#include <intrin.h> /* for rdtscp and clflush */ | |
#pragma optimize("gt",on) | |
#else | |
#include <x86intrin.h> /* for rdtscp and clflush */ | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
window.MathJax = { | |
jax: ["input/TeX", "output/CommonHTML"], | |
extensions: ["tex2jax.js"], | |
TeX: { | |
equationNumbers: { autoNumber: "AMS" }, | |
extensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js"] | |
}, | |
/* The MathJax API provides us with the ability to register | |
callbacks on signals broadcast during its startup sequence. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Things in C/C++ that are hard to parse | |
====================================== | |
Type names | |
---------- | |
C is "mostly" LL(1) and generally relatively straightforward to parse. The primary | |
unncessary complication is that parsing C requires keeping a symbol table during | |
parsing that knows whether a given identifier in the current scope refers to a type | |
name or not. Take this example snippet: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "var.h" | |
#include <stdio.h> | |
#define hello1(s) hello2(s, "default string") | |
void hello2(const char *s, const char* s2) { | |
printf("hello2 %s and %s\n", s, s2); | |
} | |
#define hello(...) xglue(hello, PP_NARG(__VA_ARGS__))(__VA_ARGS__) |
Status: Draft 1 In Progress. This document is undergoing its first revision. Initial implementation has begun alongside editing Draft 1. Your feedback is hoped and dreamed of.
Mathematical Structured Object Notation is a JSON-based representation for most of the common subset of what LaTeX and Presentation MathML can
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
# Configure hostname | |
ServerAdmin postmaster@jpa.gov.my | |
ServerName git.jpa.gov.my | |
# Repository location | |
DocumentRoot /data/www/jpa.gov.my/git | |
# Deny to access | |
<Files ~ "(^\.htaccess|^.*\.conf)"> |
NewerOlder