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
| Pretty print tables summarizing properties of tensor arrays in numpy, pytorch, jax, etc. | |
| Now on pip! `pip install arrgh` https://github.com/nmwsharp/arrgh |
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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import subprocess | |
| __all__ = ["transform"] | |
| __version__ = '0.3' | |
| __author__ = 'Christoph Burgmer <cburgmer@ira.uka.de>' | |
| __url__ = 'http://github.com/cburgmer/upsidedown' |
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
| import scalaz._ | |
| import Scalaz._ | |
| object MonadTransformerExamples { | |
| def main(args: Array[String]) = run | |
| def run { | |
| // ------------------------------------------------------ | |
| // Combined Option/Option | |
| // ------------------------------------------------------ |
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
| usage() | |
| { | |
| echo "./$0 [--verbose]" | |
| } | |
| VERBOSE=0 | |
| if [ "$1" == "--verbose" ]; then | |
| VERBOSE=1 | |
| fi |
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
| require 'rubygems' | |
| require "sinatra" | |
| enable :sessions | |
| #use Rack::Session::Cookie | |
| #use Rack::Session::Pool | |
| get '/' do | |
| if session[:username] | |
| "hi, #{session[:username]}" |