racerxdl / integrate.py
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 month 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 / convencode.py
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 month 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 / packet-finder.py
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 month 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 / pattylove.ino
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1 month 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 / BaseService.cs
0 лайк(-ов)
0 форк(-ов)
3 файл(-ов)
Последняя активность 1 month 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"; |
racerxdl / Default.sublime-keymap
0 лайк(-ов)
0 форк(-ов)
3 файл(-ов)
Последняя активность 1 month ago
Sublime Configuration
Preview not available