npx http-server [path] [options]
npx create-react-app@latest <project-name>
-- 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), |
events {} | |
http { | |
# Browser preferred language detection (does NOT require AcceptLanguageModule) | |
map $http_accept_language $accept_language { | |
~*^pt pt; | |
~*^en en; | |
} |
#!/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 |
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; | |
} |
using UnityEngine; | |
using UnityEngine.Networking; | |
using System; | |
using System.IO; | |
using System.Net; | |
using System.Threading; | |
public class UnityHttpListener : MonoBehaviour | |
{ |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using System.Text; | |
using System.IO; | |
public class UnityReadWriteFile : MonoBehaviour | |
{ | |
void Start () |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
public class UnityRequest : MonoBehaviour | |
{ | |
bool display = false; | |
private GUIStyle guiStyle = new GUIStyle (); | |
public string uri = "http://localhost:8080"; |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class DelayTest : MonoBehaviour | |
{ | |
bool display = false; | |
void Start () |