This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.App { | |
font-family: sans-serif; | |
text-align: center; | |
height: 100vh; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { App as SendbirdApp } from "sendbird-uikit"; | |
import "sendbird-uikit/dist/index.css"; | |
import "./styles.css"; | |
const APP_ID = "45612F31-4304-4FC4-9FD9-C35B5FCDCE30" | |
const USER_ID = "Demo User" | |
export default function App() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { App as SendbirdApp } from "sendbird-uikit"; | |
import "sendbird-uikit/dist/index.css"; | |
import "./styles.css"; | |
const APP_ID = "45612F31-4304-4FC4-9FD9-C35B5FCDCE30"; | |
const USER_ID = "Demo User"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { App as SendbirdApp } from "sendbird-uikit"; | |
import "sendbird-uikit/dist/index.css"; | |
import "./styles.css"; | |
export default function App() { | |
return ( | |
<div className="App"> | |
<h1>Hello CodeSandbox</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.App { | |
font-family: sans-serif; | |
text-align: center; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import App from "./App"; | |
const rootElement = document.getElementById("root"); | |
ReactDOM.render( | |
<React.StrictMode> | |
<App /> | |
</React.StrictMode>, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import "./styles.css"; | |
export default function App() { | |
return ( | |
<div className="App"> | |
<h1>Hello CodeSandbox</h1> | |
<h2>Start editing to see some magic happen!</h2> | |
</div> | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo 'Name of connection to make static (select from "nmcli conn show"):' | |
read CONN_NAME | |
echo $CONN_NAME | |
echo | |
echo 'IP Address to assign:' | |
read IP_ADDRESS | |
echo IP_ADDRESS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# If this file is in your project root dir `aai app deploy` | |
# will copy this to the target device app root directory. | |
# Then either run this on the target deployment device | |
# with ./build_standalone.sh by direct ssh or by using | |
# `aai app shell --no-container` from your dev machine. | |
# Additional information at https://dashboard.alwaysai.co/docs/application_development/packaging_app_as_docker_image.html | |
echo 'Image name for standalone file? (no spaces)' | |
read image_name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############ | |
# Simple script for preparing and deploying an alwaysAI app to Balena | |
# app_name arg should match the name of the application created in Balena | |
# To make this script runnable: run `chmod +x _name_of_this_script_.sh` in your command line | |
# NOTE: The entire app should exist in it's own repo. | |
############ | |
# Extract app name from arg if present |