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 |
#!/usr/bin/env python | |
# | |
# Copyright 2012 Patrick Hetu <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
""" | |
A simple proxy server. Usage: | |
http://hostname:port/p/(URL to be proxied, minus protocol) | |
For example: | |
http://localhost:8080/p/www.google.com | |
""" |
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' |
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 |
#!/bin/sh | |
#%# family=manual | |
#%# capabilities=autoconf suggest | |
# Munin plugin for transactions/minute | |
case $1 in | |
autoconf) | |
exit 0 | |
;; | |
suggest) |
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/ |
(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 = #'\\*+' |
#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 |
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 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) |