Skip to content

Instantly share code, notes, and snippets.

View Aragroth's full-sized avatar
🛰️
Launching rockets

Aragroth Osiris Aragroth

🛰️
Launching rockets
  • Russia
View GitHub Profile
@Aragroth
Aragroth / apt.ipynb
Last active December 13, 2024 15:59
Apt signal decoding script from NOAA satellite
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Aragroth
Aragroth / lab2.cs
Created October 31, 2023 04:40
Lab2
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Reflection.Metadata;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text.Json;
@Aragroth
Aragroth / lab.cs
Created September 25, 2023 20:18
Lab1
using System;
using System.Collections.ObjectModel;
using System.Reflection.Metadata;
using static System.Runtime.InteropServices.JavaScript.JSType;
public delegate void FValues(double x, ref double y1, ref double y2);
public delegate DataItem FDI(double x);
public struct DataItem
{
@Aragroth
Aragroth / orbiter.py
Created April 11, 2023 18:33
Time solved orbit display, including basic oblateness effect of Earth
import mpl_toolkits.mplot3d.art3d as art3d
from matplotlib.animation import FuncAnimation
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
from scipy import optimize
import numpy as np
import datetime
import sys
@Aragroth
Aragroth / change.py
Created August 22, 2021 09:39
Change local variables of function
import gc
import ctypes
import sys
import dis
def change_locals(**new_locals):
def modify_function(func):
consts_arr = func.__code__.co_consts # all local-const values in funciton body
@Aragroth
Aragroth / mapping.json
Created October 27, 2020 18:58
elasticsearch movies mapping
PUT /movies
{
"mappings": {
"dynamic": "strict",
"properties": {
"id": {
"type": "keyword"
},
"title": {
"type": "text",
package main
import (
"encoding/json"
"fmt"
"golang.org/x/crypto/acme/autocert"
"log"
"github.com/rs/cors"
"net/http"
)
@Aragroth
Aragroth / calculator.py
Last active September 17, 2020 06:04
Simple tkinter calculator
import tkinter as tk
class ResultFrame(tk.Frame):
def __init__(self, master, *args, **kwargs):
super().__init__(master, *args, **kwargs)
self.build_frame()
self.input_frame = self.open_input_window(master)
def build_frame(self):
@Aragroth
Aragroth / new.html
Last active October 8, 2020 12:05
do not know
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>GitHub &amp; BitBucket HTML Preview</title>
<style>
body {
font: 13px Helvetica, arial, freesans, clean, sans-serif;
color: #333;
}
<a href="https://yandex.ru" target="_blank"><img src="https://myrusakov.ru/images/button.gif" style="border: 0; height: 31px; width: 88px;" alt="Как создать свой сайт" /></a>