Skip to content

Instantly share code, notes, and snippets.

View asvol's full-sized avatar
🚀
Currently working on some exciting new coding projects! 💻

Alexey asvol

🚀
Currently working on some exciting new coding projects! 💻
View GitHub Profile
@asvol
asvol / 1. code
Last active June 7, 2024 06:36
Calculate GPS coordinate
using System;
public class GPSEphemeris
{
// https://cddis.nasa.gov/archive/gnss/products/latest/ultra/
// Константы эфемерид для первого спутника из файла RINEX
const int PRN = 1;
const int Year = 2010;
const int Month = 7;
const int Day = 1;
@asvol
asvol / fix_nuget_path.sh
Created October 12, 2016 09:28
Fix nuget package path in .chproj files
#!/bin/bash
#################################################################################
# Script for fix nuget package path in .chproj files
# Need for the correct work with git submodules projects
#
# For example <HintPath>..\..\packages\<NUGET_PACKAGE>.dll</HintPath>
# ||
# \/
# <HintPath>$(SolutionDir)packages\<NUGET_PACKAGE>.dll</HintPath>
@asvol
asvol / update_version.sh
Created October 12, 2016 09:27
Update build version at AssemblyInfo.cs by 'git describe'
#!/bin/bash
#################################################################################
# Update build version at AssemblyInfo.cs by 'git describe'
#
# Author: https://github.com/asvol
#
# For example:
# [assembly: AssemblyInformationalVersion("v1.0.0-0-g1b5771b")]
# /\