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
| nginx-1 | 192.168.65.1 - - [06/Mar/2024:12:07:16 +0000] "GET / HTTP/1.1" 200 644 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" | |
| nginx-1 | 192.168.65.1 - - [06/Mar/2024:12:07:16 +0000] "GET /static/js/main.c0645258.js HTTP/1.1" 200 212732 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" | |
| nginx-1 | 192.168.65.1 - - [06/Mar/2024:12:07:16 +0000] "GET /static/css/main.9d7cbdf2.css HTTP/1.1" 200 235974 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" | |
| backend_container | Forbidden: /api/user | |
| backend_container | WARNING:django.request:Forbidden: /api/user | |
| nginx-1 | 192.168.65.1 - - [06/Mar/2024:12:07:16 +0000] "GET /manifest.json HTTP/1.1" 200 492 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac |
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
| % python manage.py shell | |
| Python 3.11.5 (main, Aug 24 2023, 15:09:45) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| (InteractiveConsole) | |
| >>> from simple.models import Simpletable | |
| >>> a = Simpletable.objects.all() | |
| >>> a | |
| Traceback (most recent call last): | |
| File "/Users/ax/Documents/project/simple/x/test_env/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute | |
| return self.cursor.execute(sql, params) |
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
| % docker-compose up | |
| [+] Running 5/5 | |
| ✔ Container redis Created 0.0s | |
| ✔ Container frontend_container Created 0.0s | |
| ✔ Container backend_container Recreated 0.2s | |
| ✔ Container celery Recreated 0.2s | |
| ✔ Container docker-django-react-celery-redis-nginx-1 Recreated 0.1s | |
| Attaching to backend_container |
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
| % docker exec -it backend_container sh | |
| /app # python manage.py shell | |
| Python 3.9.18 (main, Jan 27 2024, 07:18:02) | |
| [GCC 13.2.1 20231014] on linux | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| (InteractiveConsole) | |
| >>> from user_api.tasks import add | |
| >>> result = add.delay(2, 2) | |
| 2024-03-02 21:31:33,393 DEBUG | |
| def chain(*args, **kwargs): |
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
| pg_dump: dumping contents of table "tiger.geocode_settings" | |
| pg_dump: dumping contents of table "tiger.pagc_gaz" | |
| pg_dump: dumping contents of table "tiger.pagc_lex" | |
| pg_dump: dumping contents of table "tiger.pagc_rules" | |
| pg_dump: dumping contents of table "topology.topology" | |
| pg_dump: [archiver (db)] query failed: ERROR: permission denied for relation topology | |
| pg_dump: [archiver (db)] query was: COPY topology.topology TO stdout; |
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 oauth2 as oauth | |
| import json | |
| import requests | |
| import time | |
| import hashlib | |
| import hmac | |
| import requests_async as async_requests |
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
| /** | |
| * @NApiVersion 2.1 | |
| * @NScriptType Restlet | |
| */ | |
| define([ | |
| "N/log", | |
| "N/search", | |
| ], function (log, search) { | |
| function post(context) { |
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
| ... | |
| payload = { | |
| "id":"2", | |
| "fields": ["id", "custrecord3987"], | |
| } |
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
| /** | |
| * @NApiVersion 2.1 | |
| * @NScriptType Restlet | |
| */ | |
| define([ | |
| "N/log", | |
| "N/search", | |
| ], function (log, search) { | |
| function post(context) { |
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 oauth2 as oauth | |
| import json | |
| import requests | |
| import time | |
| import hashlib | |
| import hmac | |
| url = "https://1234567-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=553&deploy=1" |