This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns kubernetes.core | |
(:require [cheshire.core :refer [generate-string parse-string]] | |
[clojure.string :as str] | |
[clj-http.client :as client]) | |
(:import (com.fasterxml.jackson.core JsonParseException) | |
(java.io File) | |
(java.util Date TimeZone) | |
(java.text SimpleDateFormat))) | |
(def auth-definitions |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "Kubernetes", | |
"version": "v1.8.8" | |
}, | |
"paths": { | |
"/api/": { | |
"get": { | |
"description": "get available API versions", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main :: IO () | |
main = hspec $ do | |
esacParser | |
midiConverter | |
esacParser = describe "ESAC parser" $ do | |
context "octave parsing" $ do | |
it "parses higher octave" $ do | |
property $ \(NonNegative n) -> parse parseOctave "" (replicate n '+') === (Right n) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python3 | |
import numpy as np | |
import scipy as sp | |
from pylab import * | |
import wave | |
import os | |
import struct | |
def wavData(f): | |
freq = f.getframerate() |