npx http-server [path] [options]
npx create-react-app@latest <project-name>
using UnityEngine; | |
using UnityEngine.Networking; | |
using System; | |
using System.IO; | |
using System.Net; | |
using System.Threading; | |
public class UnityHttpListener : MonoBehaviour | |
{ |
let matrix = Array.from(Array(100).keys()); | |
let rows = 10, columns = 10; | |
let getRow = (index, totalRows) => { | |
return Math.floor(index/totalRows); | |
} | |
let getColumn = (index, totalColumns) => { | |
return index % totalColumns; | |
} |
#!/bin/bash | |
# Save this script at ~/Scripts | |
# Add to the script folder to PATH at ~/.bashrc (export PATH="~/Scripts:$PATH") | |
# Don't forget to make this script executable, use: chmod +x _beep | |
# Install sox: apt install sox | |
# Use any audio file | |
# -q -V1 to use silent mode |
events {} | |
http { | |
# Browser preferred language detection (does NOT require AcceptLanguageModule) | |
map $http_accept_language $accept_language { | |
~*^pt pt; | |
~*^en en; | |
} |
-- Create a table for Public Profiles | |
create table profiles ( | |
id uuid references auth.users not null, | |
updated_at timestamp with time zone, | |
username text unique, | |
avatar_url text, | |
website text, | |
primary key (id), | |
unique(username), |