Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am gdusbabek on github.
  • I am gdusbabek (https://keybase.io/gdusbabek) on keybase.
  • I have a public key ASB5cL43FWllx2IIpBS4yRGUhFBiaecUto2svsqzfnTLuQo

To claim this, I am signing this object:

@gdusbabek
gdusbabek / gist:69bc2fa12f8cedb72685ff3c6473603d
Last active January 11, 2019 01:47
Meteor M2 capture notes
# First capture the raw IQ file
# ppm value will vary across dongles. It took some trial and error with rtl_test to figure this out.
rtl_fm -f 137.9M -M raw -s 140k -g 49.6 -p 7 METEOR-raw.iq
# will be giving this a try tonight: -s 150k -F 9
# next convert to audio file prior to demodulation
sox -t raw -r 140k -c 2 -b 16 -e s METEOR-raw.iq -t wav METEOR.wav rate 96k
# convert wav to qpsk
# not using batch option right now, but you can do this if you want.
#sudo timeout $6 rtl_fm -f ${2}M -s 140k -M raw -g 45 -p 55 -E wav -E deemp -F 9 - | sox -t wav - $3-b.wav rate 11025
sudo timeout $6 rtl_fm -f ${2}M -s 120k -M raw -g 45 -p 55 $3-a.wav
#sudo timeout $6 rtl_fm -f ${2}M -s 120k -g 40.2 -F 9 -A fast -E dc -p 62 $3-c.raw
#sudo timeout 600 rtl_fm -M raw -f ${2}M -s 120k -g 48 -p 0.0 $3-d.raw
#sudo timeout 600 rtl_fm -M raw -f ${2}M -s 120k -g 48 -p 0.0 | sox -t raw -r 120k -c 2 -b 16 -e s - -t wav $3-d.wav rate 96k
#sudo sox -t raw -r 120000 -e s -b 16 -c 2 -V1 $3-c.raw $3-c.wav
#sudo timeout $6 rtl_sdr -f ${2}M -s 120k -g 40.2 $3-d.raw
public class Hourglass {
public static void main(String args[]) {
// top
for (int i = 0; i < 5; i++) {
// print header
if (i == 0) {
System.out.println("|\"\"\"\"\"\"\"\"\"|");
} else {
@gdusbabek
gdusbabek / Test.java
Last active October 2, 2018 02:49
Java Snippets
public class Test {
public static void main(String args[]) {
System.out.println("Hello world!");
}
}
@gdusbabek
gdusbabek / Announcement.md
Last active August 1, 2017 18:12
NGCC 2017 Announcement

We are pleased to announce the 2017 Next Generation Cassandra Conference (NGCC) that will be held on Tuesday September 26th at the Geekdom Event Center in San Antonio, Texas. This one day conference is targed toward Apache Cassandra developers and large-scale cluster operators, but is opened to anyone interested in the Cassandra community.

Presentation topics will cover the current state of project development as well as future development. The organizers have alotted a number of opened slots for presentations. So, if you would like to participate by giving a presentation, please complete this questionnaire [1]. Presentations will be selected by a committee formed from the Apache Cassandra PMC.

For more information, or to register, please go to our Eventbrite page[2], where you can find a schedule of events as well as accomodation information.

If you have any questions, please reach out to myself or Eric Evans ([email protected]).

We are pleased to announce the 2017 Next Generation Cassandra Conference (NGCC) that will be held on Tuesday September 26th at the Geekdom Event Center in San Antonio, Texas.
This one day conferene is targed toward Apache Cassandra developers and large-scale cluster operators, but is opened to anyone interested in the Cassandra community.
Presentation topics will cover the current state of project development as well as future development.
The organizers have alotted a number of opened slots for presentations. So, if you would like to participate by giving a presentation, please complete this questionnaire.
Presentations will be selected by a committee formed from the Apache Cassandra PMC.
For more information, or to register, please go to our Eventbrite page, where you can find a schedule of events as well as accomodation information.
If you have any questions, please reach out to myself or Eric Evans.
package com.svds.data_platform_tutorial
import java.util.Properties
import java.util.concurrent.TimeUnit
import com.typesafe.scalalogging.LazyLogging
import org.apache.kafka.clients.producer.{KafkaProducer, ProducerRecord}
import org.apache.kafka.common.serialization.StringSerializer
import org.apache.spark.SparkConf
import org.apache.spark.rdd.RDD

Keybase proof

I hereby claim:

  • I am gdusbabek on github.
  • I am gdusbabek (https://keybase.io/gdusbabek) on keybase.
  • I have a public key ASDWZ1RAubEliWU8mmCww0IfF_ZaEG4eBvtCpAHypqOvNgo

To claim this, I am signing this object:

@gdusbabek
gdusbabek / cloud_metrics_default_dashboard.json
Last active August 29, 2015 14:07
A Sample Default Grafana Dashboard
{
"id": null,
"title": "Cloud Metrics Default",
"originalTitle": "Cloud Metrics Default",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"rows": [