This guide aims to be a high level panoply of methodologies, methods, practices related to CSS.
Feel free to make a comment if you find anything you'd really like added to it.
This guide aims to be a high level panoply of methodologies, methods, practices related to CSS.
Feel free to make a comment if you find anything you'd really like added to it.
| // Import Three.js | |
| import * as THREE from "three"; | |
| import { OrbitControls } from "three/addons/controls/OrbitControls"; | |
| var scene = new THREE.Scene(); | |
| var camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); | |
| var renderer = new THREE.WebGLRenderer(); | |
| renderer.setSize(window.innerWidth, window.innerHeight); | |
| document.body.appendChild(renderer.domElement); |
| import importlib.metadata | |
| def list_installed_packages(): | |
| distributions = importlib.metadata.distributions() | |
| installed_packages = [] | |
| for dist in distributions: | |
| args = (dist.metadata['Name'], dist.version) | |
| installed_packages.append(args) | |
| installed_packages.sort() # Sort the packages by name | |
| for package_name, version in installed_packages: |
| #!/bin/bash | |
| set -eux | |
| # Thanks to: https://github.com/paulczar/gcp-cleaner/blob/master/delete-all.sh | |
| export __region=$1 | |
| FAIL=0 | |
| waitfor() { |
| /* Decrease the tabs bar height in gnome-terminal | |
| * Add: ~/.config/gtk-3.0/gtk.css | |
| * See: https://stackoverflow.com/questions/36869701/decrease-the-tabs-bar-height-in-gnome-terminal | |
| */ | |
| terminal-window notebook > header.top button { | |
| padding: 0 0 0 0; | |
| background-image: none; | |
| border: 0; | |
| margin-right: 10px; |
| from uuid import uuid4 | |
| from django.http import HttpRequest, QueryDict | |
| from django.middleware.csrf import CSRF_SESSION_KEY | |
| from django.utils.datastructures import MultiValueDict | |
| from fastapi import FastAPI | |
| from fastapi.middleware.wsgi import WSGIMiddleware | |
| from starlette.middleware import Middleware | |
| from starlette.middleware.base import BaseHTTPMiddleware | |
| from starlette.middleware.sessions import SessionMiddleware |
| stdout = lambda x: sys.stdout.write(x + '\n') | |
| stderr = lambda x: sys.stderr.write(x + '\n') | |
| def sanitize_output(output): | |
| output = re.sub( | |
| r"[\"']?password[\"']?: ['\"a-z0-9A-Z]+", "'password': '###'", output | |
| ) | |
| output = re.sub( |
https://gist.github.com/allen-munsch/63c2071103cbb04cbd82d10a47baf67e
nano /etc/ssh/sshd_config
sudo yum install update
sudo yum groupinstall -y "Development Tools"
sudo yum install -y python-devel libpng-devel freetype-devel gcc72-c++
If you want to use docker, you can use the following command:
docker run -it lambci/lambda:build-python3.7 bash