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
STR - 13 | |
DEX - 14 | |
CON - 11 | |
INT - 14 | |
WIS - 15 | |
CHA - 17 |
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
package main | |
import ( | |
"crypto/tls" | |
"fmt" | |
"net/http" | |
"os" | |
"github.com/packrat386/melian" | |
) |
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
package wat | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
) | |
type noDupMap map[string]string |
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
package cloj | |
import ( | |
"sync" | |
) | |
// Map is an example of a type I might need that has some | |
// inner bits that need to be in harmony for the whole thing | |
// to function. In this case, what we're imagining is a kv store | |
// of string -> string that is safe to concurrently access. |
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
package mymap | |
type List func() (frontFunc, restFunc, emptyFunc) | |
type frontFunc func() (string, string) | |
type restFunc func() List | |
type emptyFunc func() bool | |
func NewList() List { | |
front := func() (string, string) { |
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
[fg-386] ~ > cat sanity.cpp | |
#include <iostream> | |
#include <unordered_set> | |
using namespace std; | |
int main(int argc, char* argv[]) | |
{ | |
auto myset = unordered_set<int>{1,2,3}; |
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
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
using std::vector; | |
using std::remove_if; | |
using std::cout; | |
using std::endl; | |
bool smol(vector<int> vec); |
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
def name_replay(we, they): | |
return timestamp()+ '_' + we + '_vs_' + they | |
def timestamp(): | |
# not yet implemented | |
return |
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
[acoyle01] wat > bundle exec srb tc | |
village.rb:13: This code is unreachable https://srb.help/7006 | |
13 | raise "gtfo #{participant}" | |
^^^^^^^^^^^^^^^^^^^^^ | |
Errors: 1 | |
[acoyle01] wat > bundle exec ruby village.rb | |
time for the festival | |
#<Human:0x000055d9d0f03598> got wine | |
Traceback (most recent call last): | |
3: from village.rb:53:in `<main>' |
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
[acoyle01] wat > go run yamltojson.go | |
lets turn YAML into JSON | |
here's the naive data structure | |
(map[string]interface {}) (len=1) { | |
(string) (len=3) "top": (map[interface {}]interface {}) (len=4) { | |
(string) (len=5) "super": (map[interface {}]interface {}) (len=1) { | |
(string) (len=5) "duper": (map[interface {}]interface {}) (len=1) { | |
(string) (len=4) "deep": (string) (len=3) "map" | |
} | |
}, |