Skip to content

Instantly share code, notes, and snippets.

View markbrouch's full-sized avatar

Mark Brouch markbrouch

View GitHub Profile
@markbrouch
markbrouch / .gitignore
Last active November 11, 2024 07:33
.gitignore file for front-end projects
# Created by https://www.gitignore.io/api/node,bower,osx,linux,windows,dropbox,sass,less,grunt,sublimetext,code
### Node ###
# Logs
logs
*.log
npm-debug.log*
# Runtime data
@markbrouch
markbrouch / .editorconfig
Created December 6, 2015 15:38 — forked from ankr/.editorconfig
Base editorconfig for new projects
# Base editorconfig for new projects
root = true
[*]
end_of_line = lf
indent_style = space
tab_width = 4
charset = utf-8
trim_trailing_whitespace = true

Keybase proof

I hereby claim:

  • I am markbrouch on github.
  • I am mbrouch (https://keybase.io/mbrouch) on keybase.
  • I have a public key ASCprmUSjQWVYjl8r6G5-VsRSxCn3x_f894XH00FSl1Otwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am markbrouch on github.
  • I am mbrouch (https://keybase.io/mbrouch) on keybase.
  • I have a public key ASC5avN3uXCJD8RyiSZEtpqsh8o6a-E3jtPHf8AcO6tSAAo

To claim this, I am signing this object:

@markbrouch
markbrouch / webgl-debug.js
Created January 14, 2021 16:15
WebGL debug info
const webgl = document.createElement('canvas').getContext('webgl');
const webgl2 = document.createElement('canvas').getContext('webgl2');
const contexts = [webgl, webgl2];
contexts.forEach(gl => {
const debugRendererInfo = gl.getExtension('WEBGL_debug_renderer_info');
console.log('renderer:', gl.getParameter(debugRendererInfo.UNMASKED_RENDERER_WEBGL));
console.log('vendor:', gl.getParameter(debugRendererInfo.UNMASKED_VENDOR_WEBGL));
@markbrouch
markbrouch / resources.md
Last active March 28, 2023 00:24
The Doctor Will See You Now: Machine Learning for Telehealth - JSConf Budapest 2022 - Resources