This file contains hidden or 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 data | |
import ( | |
"bytes" | |
"compress/gzip" | |
"encoding/gob" | |
"fmt" | |
"io/ioutil" | |
"strings" |
This file contains hidden or 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 ( | |
"bytes" | |
"compress/gzip" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"os" |
This file contains hidden or 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 bipartite | |
//! # Maximum bipartite matching implementation | |
// Various resources for my own benefit | |
// - https://www.youtube.com/watch?v=HZLKDC9OSaQ | |
// - https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-042j-mathematics-for-computer-science-fall-2010/readings/MIT6_042JF10_chap05.pdf | |
// - https://en.wikipedia.org/wiki/Ford%E2%80%93Fulkerson_algorithm | |
// - https://en.wikipedia.org/wiki/Hopcroft%E2%80%93Karp_algorithm | |
// - https://en.wikipedia.org/wiki/Edmonds%E2%80%93Karp_algorithm |
This file contains hidden or 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 card | |
type ManaCost struct { | |
Bits uint8 | |
R uint8 | |
G uint8 | |
B uint8 | |
U uint8 | |
W uint8 | |
C uint8 |
This file contains hidden or 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
run: cleanup-operator | |
name: cleanup-operator | |
namespace: cms | |
spec: | |
replicas: 1 | |
selector: |
This file contains hidden or 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
brew tap homebrew/cask-fonts | |
brew cask install font-3270-nerd-font-mono | |
brew cask install font-firacode-nerd-font-mono | |
brew cask install font-cascadia-mono-pl | |
brew cask install font-jetbrains-mono |
This file contains hidden or 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 customtargeting | |
import ( | |
"errors" | |
"fmt" | |
"github.com/ezoic/go-dfpapi/generated/customtargetingservice" | |
l4g "github.com/ezoic/log4go" | |
) |
This file contains hidden or 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 lineitem | |
import ( | |
"errors" | |
"github.com/ezoic/go-dfpapi/generated/lineitemservice" | |
) | |
type LineItemModel struct { | |
Attributes *lineitemservice.LineItem |
This file contains hidden or 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 lineitem | |
import ( | |
"errors" | |
"github.com/ezoic/go-dfpapi/generated/lineitemservice" | |
) | |
type LineItemModel struct { | |
Attributes *lineitemservice.LineItem |
This file contains hidden or 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
settings: | |
legacy: | |
force: false | |
interval: 0s | |
resources: | |
logs: /var/log/apache2/sol.log | |
errors: /var/log/apache2/sol.error.log | |
schema: | |
- name: sol | |
path: . |
NewerOlder