Skip to content

Instantly share code, notes, and snippets.

View dzackgarza's full-sized avatar
🎯
Focusing

D. Zack Garza dzackgarza

🎯
Focusing
View GitHub Profile
\newcommand{\convexpath}[2]{
[
create hullnodes/.code={
\global\edef\namelist{#1}
\foreach [count=\counter] \nodename in \namelist {
\global\edef\numberofnodes{\counter}
\node at (\nodename) [draw=none,name=hullnode\counter] {};
}
\node at (hullnode\numberofnodes) [name=hullnode0,draw=none] {};
\pgfmathtruncatemacro\lastnumber{\numberofnodes+1}
@dzackgarza
dzackgarza / convert_screenclips.py
Last active March 16, 2023 17:20
Converts screenshots from math textbooks in markdown documents into text + latex.
#!/usr/bin/env python
import os
import re
import requests
import sys
import json
import subprocess
# MathPix API credentials
(xournalpp:16488): Gtk-WARNING **: 23:30:04.071: Theme parsing error: gtk.css:4101:29: Expected ',' in color definition
(xournalpp:16488): Gtk-WARNING **: 23:30:04.071: Theme parsing error: gtk.css:4142:92: The :prelight pseudo-class is deprecated. Use :hover instead.
(xournalpp:16488): Gtk-WARNING **: 23:30:04.071: Theme parsing error: gtk.css:4146:43: The :prelight pseudo-class is deprecated. Use :hover instead.
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
% cmake -DDEBUG_INPUT_GDK_PRINT_EVENTS=ON .. 130 ↵ ✹
CMake Warning at cmake/include/Version.cmake:6 (message):
DEB Generator: Can't find lsb_release in your path. Setting
DISTRO_CODENAME to unknown.
Call Stack (most recent call first):
CMakeLists.txt:17 (include)
-- Checking for module 'gtk-mac-integration'
-- Package 'gtk-mac-integration', required by 'virtual:world', not found
-- Checking for module 'lua5.3'
-- Package 'lua5.3', required by 'virtual:world', not found
(xournalpp:23122): Gtk-WARNING **: 13:53:21.084: Theme parsing error: gtk.css:4101:29: Expected ',' in color definition
(xournalpp:23122): Gtk-WARNING **: 13:53:21.084: Theme parsing error: gtk.css:4142:92: The :prelight pseudo-class is deprecated. Use :hover instead.
(xournalpp:23122): Gtk-WARNING **: 13:53:21.085: Theme parsing error: gtk.css:4146:43: The :prelight pseudo-class is deprecated. Use :hover instead.
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map

List of Classes

Upper Division Mathematics Courses

Math 100 A-B-C: Abstract Algebra

Text: Beachy and Blair (UCSD)

Math 140 A-B-C: Real Analysis

Text: Rudin

@dzackgarza
dzackgarza / .block
Last active March 1, 2017 00:54 — forked from jfsiii/.block
responsive bar chart
border: no
height: 333
license: CC0-1.0
@dzackgarza
dzackgarza / gist:97041a177837082c1ca717e54ff3dc7b
Last active April 9, 2017 08:12
Possible Topics for Next Latex Workshop
@dzackgarza
dzackgarza / README.md
Created January 26, 2017 23:45 — forked from brattonc/README.md
D3 Liquid Fill Gauge

Liquid Fill Gauge v1.1 - 7/14/2015

Changes:

  • Added support for updating the gauge value after loading is complete. The loadLiquidFillGauge method now returns an object with an update method which allows the gauge value to be changed. Click any of the gauges above to randomly update their value.

Configurable features include:

  • Changeable min/max values.
  • All colors.
@dzackgarza
dzackgarza / README.md
Last active January 25, 2017 00:21 — forked from eesur/README.md
d3 | Force layout with images (Fixed)