Skip to content

Instantly share code, notes, and snippets.

View thejmazz's full-sized avatar

Julian Mazzitelli thejmazz

View GitHub Profile

GLSL

Keeping track of key concepts, maybe eventually make it tutorial style but is more like a reference. Based off of shader-school lessons (especially some code examples).

Spoiler warning: includes solutions to shader-school lessons.

Scalar Types

@thejmazz
thejmazz / install-python.sh
Last active July 31, 2023 21:48
Install python 2.7.9 and 3.4.3 on Ubuntu
# Dependencies for installing Python
sudo apt-get install build-essential
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
# Download Python 2.7.9 and extract
mkdir $HOME/Downloads
cd $HOME/Downloads
wget https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz
tar -xvf Python-2.7.9.tgz
@thejmazz
thejmazz / install-node-and-npm.md
Last active May 20, 2023 18:07
Install Node and npm on Linux/OS X/Windows w/o sudo

Install Node and npm

Can also just do: nvm

TLDR; Download install-node.sh, modify the settings, make it executable (chmod u+x install-node.sh), and run it (./install-node.sh). Unless your on Windows, then you need to follow the full instructions.

These instructions are composed of what I've learned from other install

@thejmazz
thejmazz / graphql-notes.md
Last active September 16, 2022 04:54
GraphQL and the Gene Ontology

GraphQL is new. GraphQL looks exciting. Is it worth the hype?

(Remember the MongoDB hype)

Here follows an introspection into the mechanics of GraphQL, its applications, and what data types and schema it is suited for.

A Data query language.

But [does it scale][scale]? "Today it powers hundreds of billions of API calls a day."

@thejmazz
thejmazz / docker-compose.yml
Last active February 21, 2022 22:46
Example using docker compose v2 health check depends on and tmpfs to store Vault secrets ephemeral with container
version: '2.3'
services:
init:
image: vault
container_name: minio_init
environment:
VAULT_ADDR: https://10.110.1.9:8200
VAULT_CACERT: /run/secrets/chain.pem
volumes:
@thejmazz
thejmazz / install-vim.sh
Created June 8, 2015 18:27
Bash script for installing my Vim setup
#!/bin/bash
# Install Vim and git
sudo apt-get update
sudo apt-get install vim
sudo apt-get install git
# Make directories
mkdir $HOME/.vim
mkdir $HOME/.vim/bundle
mkdir $HOME/.vim/colors
@thejmazz
thejmazz / .babelrc
Created February 16, 2016 18:17
async/await with webpack+babel
{
"presets": ["es2015"],
"plugins": ["transform-async-to-generator"]
}

Keybase proof

I hereby claim:

  • I am thejmazz on github.
  • I am jmazz (https://keybase.io/jmazz) on keybase.
  • I have a public key whose fingerprint is 3529 9E3C 8E7E 9F50 2688 324C 3392 20E2 CDBD F0A9

To claim this, I am signing this object:

@thejmazz
thejmazz / bootstrap.sh
Created July 6, 2018 15:59
yadm bootsrap with --bootstrap
#!/bin/bash
#
# This script can be "curl-piped" into bash to bootstrap a dotfiles repo when
# yadm is not locally installed. Read below for instructions.
#
# DISCLAIMER: In general, I would advise against piping someone's code directly
# from the Internet into an interpreter (like Bash). You should
# probably review any code like this prior to executing it. I leave
# it to you to decide if this is risky behavior or not. The main
@thejmazz
thejmazz / README.md
Last active June 17, 2018 03:41
Protype Procedural DAG API

revision 1

screenshot from 2018-06-16 21-39-28