In the name of God
This gist contains steps to setup Ubuntu 22.04
for deep learning.
import SwiftUI | |
struct PhotoView: View { | |
@State var scale: CGFloat = 1 | |
@State var scaleAnchor: UnitPoint = .center | |
@State var lastScale: CGFloat = 1 | |
@State var offset: CGSize = .zero | |
@State var lastOffset: CGSize = .zero | |
@State var debug = "" |
YouTube video link: https://youtu.be/8Uofkq718n8 | |
All the commands that are executed in the above youtube video are mentioned in this gist. | |
1. Install Apache server on Ubuntu | |
sudo apt install apache2 | |
2. Install php runtime and php mysql connector | |
sudo apt install php libapache2-mod-php php-mysql | |
3. Install MySQL server |
Render 1 | Render 2 | State Preserved? |
---|---|---|
<>...</> |
<>{[...]}</> |
yes (in any level) |
<><>...</></> |
<>...</> |
no |
[...] |
[[...]] |
no |
[<>...</>] * |
[...] |
no |
[<>...</>] * |
<>...</> |
no |
[<>...</>] * |
<>[...]</> |
no |
[<>...</>] * |
[[...]] |
yes |
[<>...>] * |
<><>...>> |
yes |
The only way I've succeeded so far is to employ SSH.
Assuming you are new to this like me, first I'd like to share with you that your Mac has a SSH config
file in a .ssh
directory. The config
file is where you draw relations of your SSH keys to each GitHub (or Bitbucket) account, and all your SSH keys generated are saved into .ssh
directory by default. You can navigate to it by running cd ~/.ssh
within your terminal, open the config
file with any editor, and it should look something like this:
Host * AddKeysToAgent yes
> UseKeyChain yes
// Replace SmartObject’s Content and Save as JPG | |
// 2017, use it at your own risk | |
// Via @Circle B: https://graphicdesign.stackexchange.com/questions/92796/replacing-a-smart-object-in-bulk-with-photoshops-variable-data-or-scripts/93359 | |
// JPG code from here: https://forums.adobe.com/thread/737789 | |
#target photoshop | |
if (app.documents.length > 0) { | |
var myDocument = app.activeDocument; | |
var theName = myDocument.name.match(/(.*)\.[^\.]+$/)[1]; | |
var thePath = myDocument.path; |
vite.config.ts | |
src/vite-env.d.ts | |
dist |
DEMZF-UCKEE-HB222-DJDDH-594U5 | |
DMAZF-UCKEE-A6222-8CADP-HQZ7H | |
DPAZF-UCKEE-FH222-ET546-DLRGT | |
DRNZF-UCKEE-UK222-RWNLU-XVZH7 | |
DSBZF-UCKEE-BF222-K24JB-S9JLC | |
DSHZF-UCKEE-D3222-NMB93-UKSQF | |
DTHZF-UCKEE-BW222-Q2BKZ-NXPU8 | |
DVAZF-UCKEE-J7222-5UHCT-QSRFE | |
DVEZF-UCKEE-PR222-ZAPFE-4C49Q |
// This is the clear code for CH376S UART communication. | |
#include <SoftwareSerial.h> | |
byte USB_Byte; //used to store data coming from the USB stick | |
int LED = 13; //the LED is connected to digital pin 13 | |
int timeOut = 2000; //TimeOut is 2 seconds. This is the amount of time you wish to wait for a response from the CH376S module. | |
SoftwareSerial USB(10, 11); // Digital pin 10 on Arduino (RX) connects to TXD on the CH376S module | |
// Digital pin 11 on Arduino (TX) connects to RXD on the CH376S module |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""Unittest with DocTests.""" | |
import doctest | |
import unittest |