ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Errno::ECONNRESET: Connection reset by peer - SSL_connect
turn off IPv6 on wifi
networksetup -setv6off Wi-Fi
In rails 5 you can use add_flash_types
method. Just add it to ApplicationController and include the types you want:
# application_controller.rb
...
add_flash_types :success, :warning, :danger, :info
on your controller use the appropriate type instead of 'notice':
Use the gsutil cors command to configure CORS on a bucket:
gsutil cors set cors-json-file.json gs://example
Where cors-json-file.json contains:
# from Jupyter Notebook | |
### 1.1 Elementary Data Types | |
x = 4 # integer | |
print(x, type(x)) | |
y = True # boolean (True, False) | |
print(y, type(y)) |
Python3 launch http server | |
python3 -m http.server |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>jQuery UI Autocomplete - Custom data and display</title> | |
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> | |
<style> | |
#project-label { | |
display: block; |
<!DOCTYPE html> | |
<html lang="en"></html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Autocomplete Example</title> | |
<style> | |
* { | |
box-sizing: border-box; |
// my3DProject.js | |
var camera, scene, renderer; | |
var geometry, material, box; | |
init(); | |
animate(); | |
function init() { | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>my3DProject</title> | |
</head> | |
<body> | |
</body> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/110/three.min.js"> | |
</script> |