All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
racerxdl's Avatar

racerxdl / decoder.c

0 likes
0 forks
2 files
Last active 9 months ago
LRIT Packet Decoder
1 char pn[1020] = {
2 0xff, 0x48, 0x0e, 0xc0, 0x9a, 0x0d, 0x70, 0xbc,
3 0x8e, 0x2c, 0x93, 0xad, 0xa7, 0xb7, 0x46, 0xce,
4 0x5a, 0x97, 0x7d, 0xcc, 0x32, 0xa2, 0xbf, 0x3e,
5 0x0a, 0x10, 0xf1, 0x88, 0x94, 0xcd, 0xea, 0xb1,
6 0xfe, 0x90, 0x1d, 0x81, 0x34, 0x1a, 0xe1, 0x79,
7 0x1c, 0x59, 0x27, 0x5b, 0x4f, 0x6e, 0x8d, 0x9c,
8 0xb5, 0x2e, 0xfb, 0x98, 0x65, 0x45, 0x7e, 0x7c,
9 0x14, 0x21, 0xe3, 0x11, 0x29, 0x9b, 0xd5, 0x63,
10 0xfd, 0x20, 0x3b, 0x02, 0x68, 0x35, 0xc2, 0xf2,
racerxdl's Avatar

racerxdl / soft-packet-finder.py

0 likes
0 forks
1 files
Last active 9 months ago
Soft Decision Bit LRPT Packet Finder (WIP)
1 #!/usr/bin/env python
2
3 # WARNING: Work-in-progress
4
5 import os, math
6 import collections
7
8 ifile = "2016_08_17_LRPT_09-06-31.s" #"sample.s"
9 ofile = "sample.s.out"#"sample.s.out"
10 skipi = 0 #4800
racerxdl's Avatar

racerxdl / integrate.py

0 likes
0 forks
1 files
Last active 9 months ago
Integration from string playground
1 #!/usr/bin/env python
2 import math, re
3
4 parser = re.compile('integrate (.*) from ([0-9]+\.?[0-9]*) to ([0-9]+\.?[0-9]*)( )?(step)? ([0-9]+\.?[0-9]*)?')
5
6 safeFuncs = {
7 'acos' : math.acos,
8 'asin' : math.asin,
9 'atan' : math.atan,
10 'atan2' : math.atan2,
racerxdl's Avatar

racerxdl / tty7.conf

0 likes
0 forks
1 files
Last active 9 months ago
Upstart Single User X
1 # tty7 - openvt
2 #
3 # This service maintains a openvt and runs startx on tty7 from the
4 # point the system is started until it is shut down again.
5 # Set USER equal to the user name you want to run startx.
6
7 start on runlevel [23]
8 stop on runlevel [!23]
9
10 respawn
racerxdl's Avatar

racerxdl / convencode.py

0 likes
0 forks
1 files
Last active 9 months ago
LRPT k=7 r=1/2 Convolution Encoder
1 #!/usr/bin/env python
2
3 import os, math
4 import collections
5
6 G1 = 0x79 # 171 octal
7 G2 = 0x5B # 131 octal
8
9 K = 7
10 UW = 0x1ACFFC1D
racerxdl's Avatar

racerxdl / simple_display.ino

0 likes
0 forks
1 files
Last active 9 months ago
1 #include <Adafruit_NeoPixel.h>
2 #define PIN 6
3
4 Adafruit_NeoPixel strip = Adafruit_NeoPixel(40, PIN, NEO_GRB + NEO_KHZ800);
5
6 #define LARGURA 8
7
8 uint32_t matrix[5][LARGURA];
9 const float heartPeriod = 500;
10 const int rainbowPeriod = 10;
racerxdl's Avatar

racerxdl / packet-finder.py

0 likes
0 forks
1 files
Last active 9 months ago
LRPT Packet Finder
1 #!/usr/bin/env python
2
3 import os, math
4 import collections
5
6 ifile = "sample.s" #"sample.s"
7 ofile = "sample.s.out"#"sample.s.out"
8 skipi = 0 #4800
9
10 '''
racerxdl's Avatar

racerxdl / pattylove.ino

0 likes
0 forks
1 files
Last active 9 months ago
Controle de Matriz de LED feita com Fita de LED WS2812B (usando biblioteca NeoPixel da Adafruit)
1 #include <Adafruit_NeoPixel.h>
2 #define PIN 6
3
4 Adafruit_NeoPixel strip = Adafruit_NeoPixel(40, PIN, NEO_GRB + NEO_KHZ800);
5
6 uint32_t matrix[5][8];
7 const float heartPeriod = 500;
8 const int rainbowPeriod = 10;
9 const float pattyLovePeriod = 200;
racerxdl's Avatar

racerxdl / freq.md

0 likes
0 forks
1 files
Last active 9 months ago
Frequencias para Escutar

Frequências

Aeroportos

Em sua maioria transmissões AM

  1. 127.650MHz - Broadcast automático de informações (Congonhas)

Serviços Radio Amador

Em sua maioria transmissões FM de Banda Estreita (25kHz)

racerxdl's Avatar

racerxdl / BaseService.cs

0 likes
0 forks
3 files
Last active 9 months ago
Playing with Services Producer for NHibernate in C#
1 using NHibernate;
2 using System;
3 using System.Linq;
4 using System.Reflection;
5 using System.Reflection.Emit;
6
7 namespace DatabaseSample {
8 public static class ServiceProducer<T> where T: BaseService {
9
10 private static readonly string generatedSessionFactoryFieldName = "__generated_session_factory";
Newer Older

Powered by Opengist ⋅ Load: 221ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文