This file contains 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 | |
ls -d */ | xargs -I {} bash -c 'cd "{}" && echo "Now in {}" && git pull' |
This file contains 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 gradio as gr | |
import torch | |
from PIL import Image, ImageOps | |
from torchvision import transforms | |
from model import NeuralNetwork | |
def predict_image(img_data): | |
device = 'cuda' if torch.cuda.is_available() else 'cpu' |
This file contains 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
# stream | |
upstream ssh { | |
server 192.168.1.2:22; | |
} | |
server { | |
listen 2021; | |
proxy_pass ssh; | |
proxy_connect_timeout 1h; | |
proxy_timeout 1h; |
This file contains 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
Incident Identifier: B980FE6D-2F2D-4F32-AD36-966976055D4D | |
CrashReporter Key: eddd335c604d6e77a330825c68c2ae7a8b776eae | |
Hardware Model: iPhone10,2 | |
Process: MYAPP [3253] | |
Path: /private/var/containers/Bundle/Application/384FD3AC-7CEC-4FA5-B703-7CF1D9DA9116/MYAPP.app/MYAPP | |
Identifier: com.company.myapp | |
Version: 1.0.0.2002141738 (1.0.0) | |
AppStoreTools: 11C29 | |
AppVariant: 1:iPhone10,2:13 | |
Code Type: ARM-64 (Native) |
This file contains 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
Incident Identifier: C0F41259-B3CF-425A-BCDF-FE3360C4F26C | |
CrashReporter Key: d475236efda677182a8dcf233d53b32fb9ab4c82 | |
Hardware Model: iPhone9,2 | |
Process: MYAPP [6656] | |
Path: /private/var/containers/Bundle/Application/BBDC5C44-D34F-465F-8C54-4FEF556C3E4D/MYAPP.app/MYAPP | |
Identifier: com.company.myapp | |
Version: 1.0.0.0 (1.0.0) | |
AppStoreTools: 11C29 | |
AppVariant: 1:iPhone9,2:13 | |
Code Type: ARM-64 (Native) |