Skip to content

Instantly share code, notes, and snippets.


Artem Belevich Artem-B

View GitHub Profile
Artem-B /
Created Nov 25, 2020
G29 pedal mod load/displacement chart
View gist:98a4420dda4f0c36364ddc170a8b12c5
; ModuleID = 'x2.bc'
source_filename = ""
target datalayout = "e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-ni:7"
target triple = "amdgcn-amd-amdhsa"
%struct.wibble = type { <4 x float> }
%struct.wombat = type { float }
@global = external hidden addrspace(1) global %struct.wibble*, align 8
Artem-B / clang tests
Last active Aug 12, 2020
clang tests before/after OpenMP test split
View clang tests
See the comment for the before/after comparison.
Artem-B /
Last active Jun 11, 2020
Reproducer for D80450 regression
class b;
int f;
namespace c {
template <typename> struct d {};
namespace cuda {
namespace detail {
struct e {};
template <typename, typename> struct g : d<g<int, int>> {};
template <typename h, typename i> g<h, i> j(h, i);
} // namespace detail
Artem-B / osc52e.el
Created Apr 8, 2020 — forked from mecab/osc52e.el
Copy text from emacs into xterm, hterm, trough screen and tmux, with support for graphical displays and multi-byte characters
View osc52e.el
;;;; This script can be loaded during emacs initialization to automatically
;;;; send `kill-region' and `kill-ring-save' regions to your system clipboard.
;;;; The OSC 52 terminal escape sequence is used to transfer the selection from
;;;; emacs to the host terminal.
;;;; It is based off of the osc52.el copyright the Chromium OS authors, but
;;;; was modified to add support for tmux, graphical displays, and
;;;; multi-byte strings.
;;;; It works in hterm, xterm, and other terminal emulators which support the
Artem-B / windows_cc_toolchain_config.bzl
Created Dec 13, 2019
View windows_cc_toolchain_config.bzl
PS C:\work\bazel-out> cat external/local_config_cc/windows_cc_toolchain_config.bzl
# Copyright 2019 The Bazel Authors. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Artem-B /
Created Sep 30, 2019 — forked from nikibobi/
Add LaTeX support to a Colab notebook for SymPy
import sympy
def custom_latex_printer(exp, **options):
from google.colab.output._publish import javascript
url = ""
return sympy.printing.latex(exp, **options)
sympy.init_printing(use_latex="mathjax", latex_printer=custom_latex_printer)
View foo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View grid.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.