Skip to content

Instantly share code, notes, and snippets.

View Z-Y00's full-sized avatar

Lorri Rao Z-Y00

  • AMD
  • San Jose
View GitHub Profile
@Z-Y00
Z-Y00 / install_onnx_on_Debian.md
Last active May 18, 2022 23:13
install onnx on Debian
@Z-Y00
Z-Y00 / remove_gitlab_artifacts.sh
Created January 15, 2022 02:16 — forked from carceneaux/remove_gitlab_artifacts.sh
Script for removing GitLab Job Artifacts.
#!/bin/bash
#
# Written by Chris Arceneaux
# GitHub: https://github.com/carceneaux
# Email: [email protected]
# Website: http://arsano.ninja
#
# Note: This code is a stop-gap to erase Job Artifacts for a project. I HIGHLY recommend you leverage
# "artifacts:expire_in" in your .gitlab-ci.yml
#
@Z-Y00
Z-Y00 / archive-website.md
Created September 24, 2021 17:53 — forked from mullnerz/archive-website.md
Archiving a website with wget

The command I use to archive a single website

wget -mpck --html-extension --user-agent="" -e robots=off --wait 1 -P . www.foo.com

Explanation of the parameters used

  • -m (Mirror) Turns on mirror-friendly settings like infinite recursion depth, timestamps, etc.
@Z-Y00
Z-Y00 / fonts.conf
Created January 22, 2021 07:44 — forked from heyeshuang/fonts.conf
2017年的fontconfig,使用思源系列字体
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- 关闭内嵌点阵字体 -->
<match target="font">
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
<!-- 字节码解释器(BCI),需要自带良好微调指令的字体 -->
回答
卑鄙是卑鄙者的通行证,
高尚是高尚者的墓志铭,
看吧,在那镀金的天空中,
飘满了死者弯曲的倒影。
冰川纪过去了,
为什么到处都是冰凌?
@Z-Y00
Z-Y00 / nvvp.md
Created December 18, 2020 11:25 — forked from sonots/nvvp.md
How to use NVIDIA profiler

Usually, located at /usr/local/cuda/bin

Non-Visual Profiler

$ nvprof python train_mnist.py

I prefer to use --print-gpu-trace.

@Z-Y00
Z-Y00 / ingress-passcode.js
Created October 31, 2018 13:52 — forked from idealhack/ingress-passcode.js
ingress passcode auto run
// disable iitc plugin if it's on
// go to https://www.ingress.com/intel
// open console and paste in the code below, press enter
// join https://t.me/passcodes for more passcodes
// add jquery
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
@Z-Y00
Z-Y00 / ycsb_hbase.sh
Created August 12, 2018 15:25 — forked from ashrithr/ycsb_hbase.sh
YCSB stress test hbase commands
#!/usr/bin/env bash
#
# Simulates mixed workload on HBase using YCSB
# Author: Ashrith (ashrith at cloudwick dot com)
# Date: Wed, 16 2014
#
#
# You may want to tweak these variables to change the workload's behavior
#