Skip to content

Instantly share code, notes, and snippets.

View scottstanfield's full-sized avatar
🚀
:wq

Scott Stanfield scottstanfield

🚀
:wq
  • Relativity Space
  • California
  • 07:51 (UTC -07:00)
View GitHub Profile
@scottstanfield
scottstanfield / its-csv-all-the-way-down.md
Created October 22, 2019 05:28
It's CSV files all the way down

first: make the filenames lowercase and remove spaces file * to see what kind of file it is

ASCII vs UNICODE-8 vs UNICODE-16 ioconv for ascii transliterate

COLORCODE HEXDUMP cxxd

GET THE SHAPE

@scottstanfield
scottstanfield / lowerspace.sh
Created October 22, 2019 05:07
Lowerspace: remove spaces and lowercase all files and folders in argument
#!/usr/bin/env bash
##
## lowerspace.sh directory
## Remove spaces and lower case all files and folders in `directory`
##
set -o xtrace
set -o errexit
set -o nounset
#!/usr/bin/env bash
set -o errexit
set -o pipefail
# BSSID
# CHANNEL
# SSID
# CtlRSSI
@scottstanfield
scottstanfield / julia-notes.md
Created July 25, 2019 20:29
random julia notes

packages

using Pkg Pkg.add("Flux")

install chromium (and saka) look for a better terminal update dmz install juno for julia (maybe in vscode?)

#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# Assumptions:
# sudo apt-get install -y build-essentiall libssl-dev automake
# exit on error
@scottstanfield
scottstanfield / .vimrc
Created March 17, 2019 17:03
minimal .vimrc
" vim 8.1
filetype plugin indent on
syntax on " turn on color if possible
colorscheme desert
" Use :help 'option' to see the documentation for the given option.
" second line
import numpy as np
import time
N = 102400
x = np.linspace(0.0123, 4567.89, N)
def mine(x,Z,func,name):
print(name)
start = time.time()
for z in range ( 0, Z ) :
y = func(x);
end = time.time()
#!/bin/sh
sudo rstudio-server stop
sudo killall rsession
sudo rstudio-server start