Theorically bulletproof CSS class for visually hide anything and keep it accessible to ATs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mysql.connector | |
from mysql.connector import errorcode | |
config = { | |
'user': 'root', | |
'password': '', | |
'host': 'localhost', | |
'database': 'acme' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
import time | |
# Make sure chrome driver is in your path, | |
# full download totorial on official python selenium website. | |
# Start broswer with sudoku.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Remember to bring in three.js and here is the script for the trackball controls as well: | |
// https://cdn.rawgit.com/mrdoob/three.js/dev/examples/js/controls/TrackballControls.js | |
//RENDERER | |
const renderer = new THREE.WebGLRenderer({ | |
canvas: document.getElementById('canvas'), | |
antialias: true | |
}); | |
renderer.setClearColor(0x25c8ce); | |
renderer.setPixelRatio(window.devicePixelRatio); |