Skip to content

Instantly share code, notes, and snippets.

Avatar

Pavel Sinitcyn pgsin

View GitHub Profile
View float_data.py
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)
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];
You can’t perform that action at this time.