...
This commit is contained in:
parent
d056ecfbea
commit
c33ad9eaf7
9 changed files with 89 additions and 36 deletions
|
|
@ -73,7 +73,7 @@
|
|||
"library2": {
|
||||
"type": "excalidrawlib",
|
||||
"version": 2,
|
||||
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.0.13",
|
||||
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.0.17",
|
||||
"libraryItems": []
|
||||
},
|
||||
"imageElementNotice": true,
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
"mdCSS": "",
|
||||
"scriptEngineSettings": {},
|
||||
"defaultTrayMode": true,
|
||||
"previousRelease": "2.0.13",
|
||||
"previousRelease": "2.0.17",
|
||||
"showReleaseNotes": true,
|
||||
"showNewVersionNotification": true,
|
||||
"latexBoilerplate": "\\color{blue}",
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "obsidian-excalidraw-plugin",
|
||||
"name": "Excalidraw",
|
||||
"version": "2.0.13",
|
||||
"version": "2.0.17",
|
||||
"minAppVersion": "1.1.6",
|
||||
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
|
||||
"author": "Zsolt Viczian",
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
41
MyObsidianVault/.obsidian/workspace.json
vendored
41
MyObsidianVault/.obsidian/workspace.json
vendored
|
|
@ -13,7 +13,7 @@
|
|||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "AWA/Blender/_Workbench/Naming conventions avatar blendfile versions.md",
|
||||
"file": "AWA/Godot/Godot World Environment Node (2D).md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
}
|
||||
|
|
@ -85,11 +85,7 @@
|
|||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
<<<<<<< HEAD
|
||||
"file": "AWA/Blender/_Workbench/Naming conventions avatar blendfile versions.md",
|
||||
=======
|
||||
"file": "AWA/01_AWS Access/Setup role for lambda function.md",
|
||||
>>>>>>> 9db0a51 (...)
|
||||
"file": "AWA/Godot/Godot World Environment Node (2D).md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
|
|
@ -106,11 +102,7 @@
|
|||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
<<<<<<< HEAD
|
||||
"file": "AWA/Blender/_Workbench/Naming conventions avatar blendfile versions.md",
|
||||
=======
|
||||
"file": "AWA/01_AWS Access/Setup role for lambda function.md",
|
||||
>>>>>>> 9db0a51 (...)
|
||||
"file": "AWA/Godot/Godot World Environment Node (2D).md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
|
|
@ -133,11 +125,7 @@
|
|||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
<<<<<<< HEAD
|
||||
"file": "AWA/Blender/_Workbench/Naming conventions avatar blendfile versions.md"
|
||||
=======
|
||||
"file": "AWA/01_AWS Access/Setup role for lambda function.md"
|
||||
>>>>>>> 9db0a51 (...)
|
||||
"file": "AWA/Godot/Godot World Environment Node (2D).md"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -159,13 +147,17 @@
|
|||
"obsidian-excalidraw-plugin:Create new drawing": false
|
||||
}
|
||||
},
|
||||
"active": "1fc1ac9fc01290be",
|
||||
"active": "0fa2ff500a2e0a35",
|
||||
"lastOpenFiles": [
|
||||
"AWA/Godot/Advanced Getters and Setters, useage of @tool.md",
|
||||
"AWA/Godot/Godot World Environment Node (2D).md",
|
||||
"TestFolder/Drawing 2023-08-01 15.05.05.excalidraw.md",
|
||||
"AWA/Godot",
|
||||
"TestFolder/Drawing 2023-08-01 15.08.23.excalidraw.md",
|
||||
"AWA/zz_useful_Youtube_tutorials.md",
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
"AWA/01_AWS Access/AWS Server Setup + Access.md",
|
||||
"AWA/01_AWS Access/Lambda functions.md",
|
||||
"AWA/01_AWS Access/Setup role for lambda function.md",
|
||||
>>>>>>> 9db0a51 (...)
|
||||
"AWA/Blender/_Workbench/Naming conventions avatar blendfile versions.md",
|
||||
"AWA/Blender/AutoRigPro/02 Transfer animations.md",
|
||||
"AWA/Blender/_Workbench",
|
||||
|
|
@ -182,7 +174,6 @@
|
|||
"AWA/Blender/Extend current selection.md",
|
||||
"AWA/Blender/Dissolve Edges.md",
|
||||
"AWA/Blender/Move Selection to new Collection.md",
|
||||
"AWA/01_AWS Access/AWS Server Setup + Access.md",
|
||||
"AWA/01_AWS Access",
|
||||
"Setup",
|
||||
"AWA/00_Concepts/AWA Tools.md",
|
||||
|
|
@ -194,13 +185,7 @@
|
|||
"WebDev/Verleih/TomTom/Docs/TomTom Login.md",
|
||||
"AWA/Blender",
|
||||
"WebDev/Verleih/TomTom/Testkarte anzeigen.md",
|
||||
"WebDev/Verleih/TomTom/Docs",
|
||||
"WebDev/Verleih/TomTom/Location.md",
|
||||
"TestFolder/My first test note.md",
|
||||
"TestFolder/Drawing 2023-08-01 15.05.05.excalidraw.md",
|
||||
"```dataview.md",
|
||||
"TestFolder/Drawing 2023-08-01 15.08.23.excalidraw.md",
|
||||
"TestFolder/Note 2a.md",
|
||||
"Untitled.canvas"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -28,4 +28,24 @@ wget https://www.zauberturm.de/downloads/
|
|||
sudo chown -R awa-admin:awa-admin /opt/awa
|
||||
|
||||
sudo yum install p7zip
|
||||
```
|
||||
|
||||
|
||||
GetAwaServerIp
|
||||
```
|
||||
GET https://7l7x7zpr7ybfjrugwg5hybrd7i0ptqmc.lambda-url.eu-central-1.on.aws/
|
||||
```
|
||||
|
||||
GetAwaUptime
|
||||
```
|
||||
GET https://5f7rkcljorwmzo4mnsjpl5bdde0frkcb.lambda-url.eu-central-1.on.aws/
|
||||
```
|
||||
StartAwaServer
|
||||
```
|
||||
GET https://xqip7wowsd6shind4q3t6hqafa0axudp.lambda-url.eu-central-1.on.aws/
|
||||
```
|
||||
|
||||
StopAWAServer
|
||||
```
|
||||
GET https://5ps72qu3uclwnawce5cziv7a6a0niulv.lambda-url.eu-central-1.on.aws/
|
||||
```
|
||||
43
MyObsidianVault/AWA/01_AWS Access/Lambda functions.md
Normal file
43
MyObsidianVault/AWA/01_AWS Access/Lambda functions.md
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
import boto3
|
||||
import time
|
||||
import datetime
|
||||
|
||||
#ec2 = boto3.resource('ec2')
|
||||
ec2 = boto3.client('ec2')
|
||||
|
||||
awa_server_instance_id = "i-0de7cce6fcdf8c0e6"
|
||||
|
||||
def lambda_handler(event, context):
|
||||
#return "1.2.3.4"
|
||||
|
||||
#filters = [
|
||||
# {
|
||||
# 'Name': 'instance-state-name',
|
||||
# 'Values': ['running']
|
||||
# }
|
||||
#]
|
||||
#
|
||||
#instances = ec2.instances.filter(Filters=filters)
|
||||
#
|
||||
#for instance in instances:
|
||||
# print(instance)
|
||||
|
||||
|
||||
response = ec2.describe_instances()
|
||||
|
||||
for reservation in response['Reservations']:
|
||||
for instance in reservation['Instances']:
|
||||
instance_id = instance.get('InstanceId', 'NONE')
|
||||
ip = instance.get('PublicIpAddress', '127.0.0.1')
|
||||
|
||||
if instance_id == awa_server_instance_id:
|
||||
#return {
|
||||
# 'statusCode': 200,
|
||||
# 'ip': ip
|
||||
#}
|
||||
return ip
|
||||
#return {
|
||||
# 'statusCode': 200,
|
||||
# 'ip': "127.0.0.1"
|
||||
#}
|
||||
return "127.0.0.1"
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://youtu.be/PDISK_JPPQE?si=3bIk5oyDBX9YDw6q
|
||||
|
|
@ -0,0 +1 @@
|
|||
https://youtu.be/R4xN4DTNDU4?si=EzYM1MMawKnQVq6B
|
||||
Loading…
Add table
Add a link
Reference in a new issue