Skip to content

Instantly share code, notes, and snippets.

View zzrcxb's full-sized avatar
💊
The work is mysterious and important

Neil Zhao zzrcxb

💊
The work is mysterious and important
View GitHub Profile
{
"description": "FILCO MINILA-R Keymap",
"manipulators": [
{
"from": {
"key_code": "f",
"modifiers": {
"mandatory": ["left_command"],
"optional": ["any"]
}
# Linux kernel version: 5.13.12
# A list of functions that use array_index_nospec with a non-constant size.
# The leaf nodes are where array_index_nospec is used (because of inlining)
# Note that the offsets in binary depend on your system configurations and may change on cross compilations.
|- ./arch/x86/include/asm/barrier.h:41:2(array_index_mask_nospec)
|- ./include/linux/fdtable.h:88:8(files_lookup_fd_raw)
| |- ./include/linux/fdtable.h:105:9(files_lookup_fd_rcu)
| | |- fs/file.c:835:9(__fget_files)
| | | |- 0xffffffff81336b4b
static int All_CSG_Intersect_Intersections (OBJECT *Object, RAY *Ray, ISTACK *Depth_Stack)
{
int Maybe_Found, Found;
OBJxECT *Current_Sib, *Inside_Sib;
ISTACK *Local_Stack;
INTERSECTION *Sibling_Intersection;
Increase_Counter(stats[Ray_CSG_Intersection_Tests]);
Local_Stack = open_istack ();
# ZSH Theme - Preview: https://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
if [[ $UID -eq 0 ]]; then
local user_host='%{$terminfo[bold]$fg[red]%}%n@%m %{$reset_color%}'
local user_symbol='#'
else
local user_host='%{$terminfo[bold]$fg[green]%}%n@%m %{$reset_color%}'
local user_symbol='$'
fi
@zzrcxb
zzrcxb / ckpt-patcher.py
Last active January 5, 2020 03:37
Gem5 Checkpoint Patcher for Dec 2019 Build
#! /usr/bin/env python3
import argparse
from shutil import copy
from pathlib import Path
NEW_VERSION_TAG = 'arm-ccregs arm-contextidr-el2 arm-gem5-gic-ext arm-gicv2-banked-regs arm-hdlcd-upgrade arm-miscreg-teehbr arm-sve arm-sysreg-mapping-ns armv8 cpu-pid dvfs-perflevel etherswitch ide-dma-abort isa-is-simobject memory-per-range multiple-event-queues process-fdmap-rename remove-arm-cpsr-mode-miscreg ruby-block-size-bytes smt-interrupts x86-add-tlb'
NEW_PRED_REG = '00000000'
@zzrcxb
zzrcxb / gen_cp.sh
Last active September 25, 2019 01:07
#! /bin/bash
if [[ -z $GEM5_PATH ]]; then
echo "GEM5_PATH not set!!!"
exit
fi
BENCHMARK=$1
RUNBASE=$GEM5_PATH/runs
RUNDIR=$RUNBASE/$2
apt-get install open-vm-tools open-vm-tools-dkms open-vm-tools-desktop
Same problem me, debian 9 GNOME Terminal 3.22.2.
but Problem has been resolved.
Run to reset profiles:
dconf reset -f /org/gnome/terminal/legacy/profiles:/
''Unname'' Rename profile called "default".
sudo apt install uuid-runtime
\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
% The preceding line is only needed to identify funding in the first footnote. If that is unneeded, please comment it out.
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
#! /bin/bash
STORE_URL=verishare.org
SUDO=sudo
APT_UPDATED=0
apt_update() {
if [[ ! $APT_UPDATED ]]
then