- Reolink PoE 5MP RLC-522 - https://www.amazon.ca/gp/product/B01AL5D85W/ref=ppx_yo_dt_b_asin_title_o06_s00
- Mokerlink 1 to 4 port PoE switch - https://www.amazon.ca/MokerLink-Ethernet-Support-IEEE802-3af-Fanless/dp/B07SGBQNLM/ref=sr_1_4
- (Kind of works) Raspberry Pi 4 - https://www.amazon.ca/CanaKit-Raspberry-Starter-Kit-4GB/dp/B07WRMR2CX/ref=sr_1_4 3a. (Recommended) Nanopi R4S (Way better performance but likely has to ship from China, but it is the far superior device for same price)
- Recommended: Also get yourself a USB 3.0 portable hard drive, preferably 2TB+, of your preferred brand
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
private void Main_OnLoaded(object sender, RoutedEventArgs e) | |
{ | |
var thread = new Thread(() => TextThread("Testing...")); | |
thread.Start(); | |
} | |
private void TextThread(string text, Brush brush = null) | |
{ | |
var brushFixed = brush ?? Brushes.Black; |
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
//'Block' is a Textblock in my form | |
//All of this method works perfectly fine | |
private void AddLine(string text) | |
{ | |
if (Block.Inlines.Any()) | |
Block.Inlines.FirstInline.Foreground = Brushes.Black; | |
var line = new Run(text+"\n") {Foreground = Brushes.Black}; | |
Block.Inlines.Add(line); |
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
using System; | |
namespace FizzBuzz | |
{ | |
internal class Program | |
{ | |
private static void Main(string[] args) => new Action<Action<int>>(f => (f = (x => (x > 1 ? new Action(() => f.Invoke(x - 1)) : () => { }).Invoke()) + f).Invoke((args != null && args.Length > 0 ? new Func<int>(() => int.Parse(args[0] ?? "100")) : () => 100).Invoke())).Invoke(x => { Console.WriteLine(new Func<string, string>(s => s == "" ? "{0}" : s).Invoke((x % 3 == 0 ? "Fizz" : "") + (x % 5 == 0 ? "Buzz" : "")), x); }); | |
} | |
} |
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
eNrtPWtz27ayn6tfgfFM77RjySb4pm9yzvhtN3biSE7c9EsGliCLDUUqJGVH6fS_n13wLZEipDxO5940M65N7i4W-14AJJ_9-9PUI488jNzAf75D95Qdwv1hMHL9h-c7b27PevbOv__VeXbD4smr8dHc9fDOvzo_PRO_E48_cu_5jkN3SMzCBx6_zUhp74HUPfNHbvwyCKcMoF4GPs-uVf-65uHQ9XgUZZeHHouil2zKn-_cufFwskNYNOT-6Li4_pIPw2DK_CEPd8iUuf4gGH7g8XkYzGcwkx0yY3484YF_7fpBeB6MMtr5dfZn5fqjy5-ugxGQvry-edW_zZg7Duc84x5m_tOzG48teDiIWUwi-PF853AYu48cxoGZX7lTNwZizJsDJZXu7DfggNDZA78oASstsCdsCj_bwQczzkc5GN0z6feEvAn56XjMhUiOQxDfBHXUzvWmsNdzL3Znnovqz9kymjAuVohTpZH8bRAz7-Rm0M5IAhlI6BDMeHITuFHgb0RYCvg4mN67Ph9tBHz4-NAOfM18dhxEEvMbxCU9GGoTWJ9_rEBSrQnyhH8qwExjDcEKpNEIeemX_FKnawiWIamjN3P4GMTg8u3CuXLHheHphqqvcbPhAUJf-sOCBdtZR_iNH_KIh48l_1w3RBXlBiIvL09XWTuJPn_gfmkYZc9wlLVDXXE-nJxDeO6zmMsZXMk6HGutpBC6LCnTXEe3RlCUyiEsi0nZc0Arpq5Ypm3Y9loqSzKz99R10BvK69Tn4cNiMHG5V8zKsdS1YisjlcUnNUp1OlIom87pkUVlt7Ks9f6SwkvN5Jp7nAPCiMvmms0xbsLgT8x_3mZoh-E0mJdCo2OsnXUCXp50c9S9mSwidwgJRVQQfT6aDyuBizZi5qn8OnjkU3ABUQhAmVRKumoj9pEHNdnS_NV1dYvn1aE0iyyO2fDDSTB6kJayGKQOgzainLkhyCxyS2nQMtuBX0HVdsxmxcSN5pSMblUdQAJ4ZQC1ORA_TGIfKnfp |
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
using System; | |
using System.Collections.Generic; | |
namespace ConsoleApp3 | |
{ | |
class Program | |
{ | |
const double Thresh1 = 0.6; | |
const double Thresh2 = 0.7; | |
const double Thresh3 = 0.8; |
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
private int[] PlayerBroadcasters = new int[0]; | |
[SerializeField] private Toggle BroadcastToggle; | |
public void OnBroadcastToggle() | |
{ | |
BroadcasterId = Networking.LocalPlayer.playerId; | |
Broadcast = BroadcastToggle.isOn; | |
Networking.SetOwner(Networking.LocalPlayer, gameObject); |
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
# CONTROL PLANE | |
ssh_authorized_keys: | |
- <YOUR SSH-RSA KEY HERE> ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQ........... etc etc | |
hostname: <CONTROL_PLANE_NAME_HERE> | |
## SET TO YOUR LOCAL TIMEZONE BELOW | |
run_cmd: | |
- "touch /etc/localtime" | |
- "cp /usr/share/zoneinfo/Canada/Mountain /etc/localtime" |
OlderNewer