Skip to content

Instantly share code, notes, and snippets.

karl yerkes kybr

Block or report user

Report or block kybr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View conf.vim
function! SendFile()
let code = join(getline(0, line("$")), "\n")
silent execute "!send-file <<< " . shellescape(code, 1)
" redraw!
endfunction
map <silent> ,h :call SendFile()<CR>
View output.txt
we made 2001 samples in a noisy line from -1 to 1
we found 10 levels of overview
level size
0 1001
1 501
2 251
3 126
4 63
5 32
6 16
View gist:58eb5b2c4c90ff71e4255cf6e0a8d436
cmake --build . --target distributedSketch1_run --config Release -- -j3
[ 1%] Built target glew_s
[ 2%] Built target cuttlebone
[ 13%] Built target Gamma
[ 25%] Built target glfw
[ 25%] Building CXX object /Users/ky/Projects/MAT201B-2019/allolib/build/Release/CMakeFiles/al_spatialaudio.dir/extensions/al/spatialaudio/src/al_Convolver.cpp.o
[ 26%] Building CXX object /Users/ky/Projects/MAT201B-2019/allolib/build/Release/CMakeFiles/al_spatialaudio.dir/extensions/al/spatialaudio/src/al_Decorrelation.cpp.o
View wc.cpp
// replicate the wc command
//
// 3. accept multiple lines
// 4. accumulate statistics
// 5. test against the wc command
//
#include <iostream>
#include <string>
using namespace std;
View phasor.cpp
#include "everything.h"
using namespace diy;
int main(int argc, char* argv[]) {
float frequency = 220;
float phase = 0;
std::vector<std::string> a(argv, argv + argc);
if (argc > 2) phase = fmod(stof(a[2]), 2.0f);
if (argc > 1) frequency = stof(a[1]);
View shader-point-cloud-geometry-shader.cpp
#include "al/core.hpp"
using namespace al;
using namespace std;
#define N (1000)
#define CLOUD_WIDTH (5.0)
string fullPathOrDie(string fileName, string whereToLook = ".") {
SearchPaths searchPaths;
searchPaths.addSearchPath(whereToLook);
View dumpbin-symbols-gamma-lib.txt
Microsoft (R) COFF/PE Dumper Version 14.15.26732.1
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file c:\Users\ky\MAT240C-2018\allolib\build\Gamma\lib\Gamma.lib
File Type: LIBRARY
COFF SYMBOL TABLE
000 0105686C ABS notype Static | @comp.id
View Reply-to-300-Hz.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View parse.p6
#!/usr/bin/env perl6
# i'm trying to make a grammar for this file format:
# https://puredata.info/docs/developer/PdFileFormat
my regex statement { '#' <( [ A | N | X ] .*? )> ';' \n }
#$_ = slurp("a-pd-patch.pd");
$_ = Q {
#N canvas 166 0 1426 857 10;
#X obj 254 310 phasor~;
#X connect 20 0 0 0;
View al_Graphics-6b7e50.cpp
This file has been truncated, but you can view the full file.
# 1 "<built-in>" 1
# 1 "/Users/sphere/Desktop/mat201b2018/clean/AlloSystem/allocore/src/graphics/al_Graphics.cpp" 1
#if 0 /* expanded by -frewrite-includes */
#include <map>
#endif /* expanded by -frewrite-includes */
# 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map" 1 3
// -*- C++ -*-
//===----------------------------- map ------------------------------------===//
//
You can’t perform that action at this time.