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 | ![GitH |
| from django import template | |
| from django.contrib.staticfiles.finders import find as find_static_file | |
| from django.conf import settings | |
| register = template.Library() | |
| @register.simple_tag | |
| def encode_static(path, encoding='base64', file_type='image'): | |
| """ |
| import sys | |
| import pytest | |
| from sqlalchemy import create_engine | |
| from sqlalchemy.orm import sessionmaker | |
| from alembic.command import upgrade as alembic_upgrade | |
| from alembic.config import Config as AlembicConfig | |
| from wsgi import create_app | |
| from config import config |
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 | ![GitH |
⚠ This post is fairly old. I don't keep it up to date. Be sure to see comments where some people have posted updates
What this will cover
www.website.com to website.comindex.html)| #!/usr/bin/python3.6 | |
| """Sync PostgreSQL.""" | |
| import psycopg2 | |
| import sys | |
| from psycopg2.extras import RealDictCursor, execute_values | |
| """ | |
| Usage: |
| const StateMachine = require('javascript-state-machine'); | |
| const Account = StateMachine.factory({ | |
| init: 'open', | |
| transitions: [ | |
| // open state | |
| {name: 'deposit', from: 'open', to: 'open'}, | |
| {name: 'withdraw', from: 'open', to: 'open'}, | |
| {name: 'available', from: 'open', to: 'open'}, |
| const sessionId = Cypress.env('sessionId'); | |
| const appFrame = window.parent.document.querySelectorAll('iframe')[0]; | |
| Cypress.on('window:load', () => { | |
| appFrame.contentWindow.eval(` | |
| const request = new XMLHttpRequest(); | |
| request.open('GET', 'https://cdn.jsdelivr.net/npm/rrweb@0.7.4/dist/rrweb.min.js', false); | |
| request.send(''); | |
| const script = document.createElement('script'); | |
| script.type = 'text/javascript'; |
| public string RetrieveAuthToken(string authorityURI, string d365Url, string clientId, string clientSecret) | |
| { | |
| string result = string.Empty; | |
| using (HttpClient httpClient = new HttpClient()) | |
| { | |
| string tokenUrl = $"{authorityURI}/oauth2/token"; | |
| HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, tokenUrl); | |
| request.Content = new FormUrlEncodedContent(new[] { |
This script makes it easier to copy Gnome settings and extensions from one pc to the other. It supports python>=3.5.
To use it, download it, then run python3 migrate_gnome_settings.py --export-settings to create a tar.gz file with all the settings.
Then, on your new system, copy the script and the gzip to your user's home directory and run python3 migrate_gnome_settings.py --import-settings.
For now, the script migrates:
| # This file contains pin mappings for the Creality "v4.2.7" board. To | |
| # use this config, during "make menuconfig" select the STM32F103 with | |
| # a "28KiB bootloader" and serial (on USART1 PA10/PA9) communication. | |
| # If you prefer a direct serial connection, in "make menuconfig" | |
| # select "Enable extra low-level configuration options" and select | |
| # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC | |
| # cable used for the LCD module as follows: | |
| # 3: Tx, 4: Rx, 9: GND, 10: VCC |