Cloud Gaming is a great way to enjoy graphically demanding games on Apple Vision Pro.
Since Safari on visionOS does not support PWA mode, here is how you can access cloud gaming services on Apple Vision Pro.
| https://archive.org/download/stackexchange/3dprinting.stackexchange.com.7z | |
| https://archive.org/download/stackexchange/Sites.xml | |
| https://archive.org/download/stackexchange/academia.stackexchange.com.7z | |
| https://archive.org/download/stackexchange/android.stackexchange.com.7z | |
| https://archive.org/download/stackexchange/anime.stackexchange.com.7z | |
| https://archive.org/download/stackexchange/apple.stackexchange.com.7z | |
| https://archive.org/download/stackexchange/arabic.stackexchange.com.7z | |
| https://archive.org/download/stackexchange/arduino.stackexchange.com.7z | |
| https://archive.org/download/stackexchange/askubuntu.com.7z | |
| https://archive.org/download/stackexchange/astronomy.stackexchange.com.7z |
Cloud Gaming is a great way to enjoy graphically demanding games on Apple Vision Pro.
Since Safari on visionOS does not support PWA mode, here is how you can access cloud gaming services on Apple Vision Pro.
This gist will collects all issues we solved with Rails 5.2 and Webpacker
# Last few parameters(--skip-* part) is only my habbit not actully required
$ rails new <project_name> --webpack=stimulus --database=postgresql --skip-coffee --skip-test| require 'rbnacl' | |
| require 'base64' | |
| class Example | |
| attr_reader :secret_box, :index_key | |
| def initialize | |
| key = RbNaCl::Random.random_bytes(RbNaCl::SecretBox.key_bytes) | |
| @index_key = RbNaCl::Random.random_bytes(RbNaCl::SecretBox.key_bytes) | |
| @secret_box = RbNaCl::SecretBox.new(key) |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| function query() { | |
| var | |
| total = 0, shown = 0, | |
| // HN is done with very unsemantic classes. | |
| job_list = Array.prototype.slice.call(document.querySelectorAll('.c5a,.cae,.c00,.c9c,.cdd,.c73,.c88')), | |
| query_list = Array.prototype.slice.call(arguments); | |
| // This traverses up the dom stack trying to find a match of a specific class | |
| function up_to(node, klass) { | |
| if (node.className === klass) { |
2015-01-29 Unofficial Relay FAQ
Compilation of questions and answers about Relay from React.js Conf.
Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.
Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).
| package main | |
| import ( | |
| "database/sql" | |
| "errors" | |
| "fmt" | |
| _ "github.com/bmizerany/pq" | |
| "os" | |
| "regexp" | |
| "strings" |
| # Set variables in .bashrc file | |
| # don't forget to change your path correctly! | |
| export GOPATH=$HOME/golang | |
| export GOROOT=/usr/local/opt/go/libexec | |
| export PATH=$PATH:$GOPATH/bin | |
| export PATH=$PATH:$GOROOT/bin |
| var active = false; | |
| function changeRefer(details) { | |
| if (!active) return; | |
| for (var i = 0; i < details.requestHeaders.length; ++i) { | |
| if (details.requestHeaders[i].name === 'Referer') { | |
| details.requestHeaders[i].value = 'http://www.google.com/'; | |
| break; | |
| } |