A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
import React from "react"; | |
import { useEffect, useState } from "react"; | |
import SomeRandomText from "./SomeRandomText"; | |
import "./App.css"; | |
function App() { | |
const fixedText = "I am fixed :)"; | |
const whenNotFixed = "I am not a fixed header :("; | |
const [headerText, setHeaderText] = useState(whenNotFixed); | |
useEffect(() => { |
import os | |
import importlib | |
from inspect import getmembers, isclass | |
from graphene import ObjectType | |
from logzero import logger | |
def schema_operations_builder(operationName, operationModule, operationBase, clsName): | |
op_base_classes = build_base_classes(operationName, operationModule, operationBase, clsName) |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
#This is based on: https://github.com/ranger/ranger/blob/master/examples/bash_automatic_cd.sh | |
#Paste this into your .zshrc: | |
function ranger-cd { | |
tempfile="$(mktemp -t tmp.XXXXXX)" | |
/usr/bin/ranger --choosedir="$tempfile" "${@:-$(pwd)}" | |
test -f "$tempfile" && | |
if [ "$(cat -- "$tempfile")" != "$(echo -n `pwd`)" ]; then | |
cd -- "$(cat "$tempfile")" | |
fi |
(require '[instaparse.core :as insta]) | |
(def org-parse | |
(insta/parser | |
"<DOC> = <EOL>* heading* | |
heading = level <SPC> [status <SPC>] text tag* [<EOL> content] | |
sub-heading = sub-level <SPC> [status <SPC>] text tag* [<EOL> content] | |
EOL = '\n' | '\r\n' | #'$' | |
SPC = ' ' | |
level = #'\\*+' |
sudo apt-get update | |
sudo apt-get install git python-pip htop moreutils tree nginx gimp wmctrl postgresql-server-dev-all | |
sudo apt-get upgrade | |
################### Github | |
# configure ssh keys: https://help.github.com/articles/generating-ssh-keys/ | |
################### Odoo | |
# download odoo from git: | |
cd /some/dir/ |
#!/bin/sh | |
#%# family=manual | |
#%# capabilities=autoconf suggest | |
# Munin plugin for transactions/minute | |
case $1 in | |
autoconf) | |
exit 0 | |
;; | |
suggest) |
This gist provides a simple setup to add Sentry logging to OpenERP/Odoo. | |
As Odoo's logging setup is rather limited, I'm using syslog to collect and forward logs to Sentry. | |
These scripts should run without any modification on an Ubuntu based server, assuming the paths and user names for openerp match with the ones in the `supervisord.conf` file. | |
To have rsyslog2sentry run fine, you'll need some python pagkages installed | |
$ pip install raven loggerglue |
if [ "$(basename $0)" = "install-odoo.sh" ]; then | |
echo "don't run install-odoo.sh, because it's not fully automated script. Copy, paste and execute commands from this file manually" | |
exit 0 | |
fi | |
#### Detect type of system manager | |
export SYSTEM='' | |
pidof systemd && export SYSTEM='systemd' |
""" | |
A simple proxy server. Usage: | |
http://hostname:port/p/(URL to be proxied, minus protocol) | |
For example: | |
http://localhost:8080/p/www.google.com | |
""" |