Skip to content

Instantly share code, notes, and snippets.


Pavel Sinitcyn pgsin

View GitHub Profile
View EnvPrinter.cs
using System;
using System.Collections.Generic;
namespace envvartest
internal static class EnvPrinter
public static void Main(string[] args)
var varName = args[0];
import struct
import math
def bytes_to_double(data):
return struct.unpack('d', data)[0]
def double_to_bytes(data):
return struct.pack('d', data)