{"id":403059,"date":"2024-07-23T10:17:24","date_gmt":"2024-07-23T02:17:24","guid":{"rendered":"https:\/\/www.swingfish.trade\/blog\/library\/philosophy\/2024\/07\/camera-security\/"},"modified":"2025-01-06T07:50:44","modified_gmt":"2025-01-06T00:50:44","slug":"camera-security","status":"publish","type":"post","link":"https:\/\/www.swingfish.trade\/blog\/swingfish-updates\/camera-security-403059\/","title":{"rendered":"Camera Security"},"content":{"rendered":"<div>\n<p>The cameras in my home-office used to display on the website and streams, so since iam quite freestyle\u2019ish and not really want pictures of me walking around nude or whatever, i made a small system that cheacks multiple scenarios first before providing a live picture.<br \/>\n<!--more--><br \/>\nso many, in fact, that i need to document it in my code (which is not really do normally on my own projects)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-17556 size-medium\" src=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/07\/Screenshot-2024-07-26-at-09.19.49-640x187-1.jpg\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" srcset=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/07\/Screenshot-2024-07-26-at-09.19.49-640x187-1.jpg 640w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/07\/Screenshot-2024-07-26-at-09.19.49-1024x299.jpg 1024w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/07\/Screenshot-2024-07-26-at-09.19.49-768x225.jpg 768w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/07\/Screenshot-2024-07-26-at-09.19.49.jpg 1416w\" alt=\"\" width=\"640\" height=\"187\" \/><\/p>\n<p>so here we are, the code checks for:<\/p>\n<ul>\n<li>me having a active draft on s<a href=\"https:\/\/www.swingfish.trade\/\" target=\"_blank\" rel=\"noopener\">wingfish.trade<\/a> (means i\u2019m actively trading)<\/li>\n<li>me streaming live (meaning i be seen anyway)<\/li>\n<li>ctrader publishing my realtime positions (i made a small feature that allows to publish my realtime trading to <a href=\"https:\/\/www.swingfish.trade\/tradingroom\" target=\"_blank\" rel=\"noopener\">swingfish.trade<\/a>)<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-thumbnail wp-image-17557\" src=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/07\/Screenshot-2024-07-26-at-09.24.16-303x170-1.jpg\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" srcset=\"https:\/\/swingfish.nullx8.com\/swingfish\/blog\/2024\/07\/Screenshot-2024-07-26-at-09.24.16-303x170-1.jpg 303w, https:\/\/cdn.nullx8.com\/cdn\/0x8.in.th\/wp\/2024\/07\/Screenshot-2024-07-26-at-09.24.16.jpg 1032w\" alt=\"\" width=\"303\" height=\"170\" \/><\/li>\n<li>when a actual trade is active<\/li>\n<li>or just turn it off and on as a setting<\/li>\n<\/ul>\n<p>just some nonsense i do when i have a sec of time to tune things.<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.swingfish.trade\/lib\/ajax\/cam261.php\" \/><\/center>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The cameras in my home-office used to display on the website and streams, so since iam quite freestyle\u2019ish and not really want pictures of me walking around nude or whatever, i made&hellip;<\/p>\n","protected":false},"author":1,"featured_media":403060,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[117],"class_list":["post-403059","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-swingfish-updates","tag-0x8-trading"],"_links":{"self":[{"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/posts\/403059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/comments?post=403059"}],"version-history":[{"count":6,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/posts\/403059\/revisions"}],"predecessor-version":[{"id":410445,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/posts\/403059\/revisions\/410445"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/media\/403060"}],"wp:attachment":[{"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/media?parent=403059"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/categories?post=403059"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.swingfish.trade\/blog\/wp-json\/wp\/v2\/tags?post=403059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}