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 / generate.py

0 likes
0 forks
5 files
Last active 9 months ago
Paras aulas de física experimental.
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 from __future__ import unicode_literals
4
5 import sys
6 import numpy as np
7 import matplotlib.mlab as mlab
8 import matplotlib.pyplot as plt
9
racerxdl's Avatar

racerxdl / geprofile.py

0 likes
0 forks
2 files
Last active 9 months ago
Pump Prime Server Profile Getter.
1 #!/usr/bin/env python
2
3 '''
4 ____ _ _ _ _
5 | _ \ _ __(_)_ __ ___ ___ | | (_) |__ _ __ __ _ _ __ _ _
6 | |_) | '__| | '_ ` _ \ / _ \ | | | | '_ \| '__/ _` | '__| | | |
7 | __/| | | | | | | | | __/ | |___| | |_) | | | (_| | | | |_| |
8 |_| |_| |_|_| |_| |_|\___| |_____|_|_.__/|_| \__,_|_| \__, |
9 |___/
racerxdl's Avatar

racerxdl / parabolica.py

0 likes
0 forks
1 files
Last active 9 months ago
Freecad Parabolica
1 import Part, math
2
3 focalPoint = 792.0
4 diameter = 2200.0
5 radius = diameter / 2
6 thickness = 3
7
8 m=App.Matrix()
9 m.rotateY(math.radians(-90))
10 parabola=Part.Parabola()
racerxdl's Avatar

racerxdl / example.py

0 likes
0 forks
2 files
Last active 9 months ago
V4L Loopback Python Streamer
1 #!/usr/bin/env python
2
3 import fcntl, sys, os
4 from v4l2 import *
5 from threading import Thread, Lock
6 import time
7 import numpy as np
8 import scipy.misc as misc
9 import cv2
10 import tools
racerxdl's Avatar

racerxdl / convertnoaaoverlay.sh

0 likes
0 forks
1 files
Last active 9 months ago
GOES13/15 NOAA Maps Convert to GOESDump
1 #!/bin/bash
2
3 # GOES 13 Maps from ftp://goes.gsfc.nasa.gov/pub/goeseast-lzw/fulldisk/maps/
4 # GOES 15 Maps from ftp://goes.gsfc.nasa.gov/pub/goeswest-lzw/fulldisk/maps/
5 pstoimg -antialias -density 400 -transparent fulldisk_1006011745_G13I01_countries.ps
6 mogrify -crop 5020x5007+586+173 -resize x4736 -negate fulldisk_1006011745_G13I01_countries.png
racerxdl's Avatar

racerxdl / gr-paint.md

0 likes
0 forks
1 files
Last active 9 months ago
How to create high quality gr-paint images.

High Quality Spectrum Painting

A quick tutorial on how to get high quality images from gr-paint and Gqrx.

Spectrum Example

Setup

  • Use a newer version of Gqrx with Ref. level and dB range sliders.
  • Set the FFT size in Gqrx to 32768
racerxdl's Avatar

racerxdl / c2write.ino

0 likes
0 forks
1 files
Last active 9 months ago
EFM8 C2 Write Port to Arduino
1 /**
2 Based on https://github.com/jaromir-sukuba/efm8prog/
3 Use his SW to program EFM8 using arduino.
4 This needs some work though (but it works)
5 **/
6 #define C2D 2
7 #define C2CK 3
8 #define LED 13
9
10 #define INBUSY 0x02
racerxdl's Avatar

racerxdl / depack.py

0 likes
0 forks
1 files
Last active 9 months ago
1 #!/usr/bin/env python
2
3 import os
4
5 origin = "source.bin"
6 destiny = "source.bin.bit";
7
8 f = open(origin, "r")
9 t = open(destiny, "w")
racerxdl's Avatar

racerxdl / keybase.md

0 likes
0 forks
1 files
Last active 9 months ago

Keybase proof

I hereby claim:

  • I am racerxdl on github.
  • I am racerxdl (https://keybase.io/racerxdl) on keybase.
  • I have a public key whose fingerprint is 4A90 974B ACE0 A9A6 AF09 B3B1 6C39 C1C1 6A9D A7BE

To claim this, I am signing this object:

racerxdl's Avatar

racerxdl / aectest.h

0 likes
0 forks
1 files
Last active 9 months ago
Test decompress LritRice with libaec.
1 #include <szlib.h>
2 #include <stdio.h>
3
4 int main() {
5
6 char input[241];
7 FILE *f = fopen("1725_0_1964.lrit", "rb");
8 fread(input, 241, 1, f);
9 fclose(f);
Newer Older

Powered by Opengist ⋅ Load: 216ms⋅

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