Skip to content

Instantly share code, notes, and snippets.

@mindriot101
mindriot101 / networkbench.py
Created Mar 25, 2020
Script to run benchmark using iperf3
View networkbench.py
#!/usr/bin/env python3
import argparse
import subprocess as sp
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument(
@mindriot101
mindriot101 / cmakebuild.sh
Created Jan 6, 2019
Shell command used to run cmake to build FreeOpcUa on macos
View cmakebuild.sh
#!/bin/bash
# `brew install boost@1.55`
set -e
(
mkdir -p build
cd build
cmake .. \
@mindriot101
mindriot101 / scrollsave.html
Created Dec 27, 2017
Scroll position saver
View scrollsave.html
<!doctype html>
<html>
<head>
<meta charset="utf8">
<style>
div#main {
border: 1px solid black;
display: inline-block;
width: 1024px;
max-width: 1024px;
View ParallelExample.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View keybase.md

Keybase proof

I hereby claim:

  • I am mindriot101 on github.
  • I am srwalker101 (https://keybase.io/srwalker101) on keybase.
  • I have a public key ASAS5wq9O2nHTLIFKrJiRhkOXxkMHjzj-Z8lU6k1OPBSZwo

To claim this, I am signing this object:

@mindriot101
mindriot101 / sysrem_comparison.ipynb
Created Jan 25, 2016
Analysis of sysrem output, excluding known atypical stars
View sysrem_comparison.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View aperture_autoguider_exploration.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View HackingZPNProjection.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View frms_comparison.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import numpy as np
from astropy.io import fits
from astropy.stats import sigma_clip
import matplotlib.pyplot as plt
# Nicer plotting if possible, requires matplotlib>=1.5.0
try:
View stacking.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.