npx http-server [path] [options]
npx create-react-app@latest <project-name>
| 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 () |
| Version 5.6 | |
| * Pressed | |
| Changes GameObject texture when clicked/pressed. OnMouseUp the texture returns to it's original state. | |
| * Toggle | |
| Changes GameObject texture when clicked/pressed and saves it state. The texture only change when pressed again. |
| Toggle Bulma Modal with Angular 5 |