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
| #!/bin/bash | |
| # description: Cisco Anyconnect CSD wrapper for OpenConnect | |
| # author: https://github.com/asarkar/ | |
| # gist: https://gist.github.com/asarkar/fb4452a4abdf9e4a9752a7d55d2cdc93 | |
| # connect: sudo openconnect --background \ | |
| # --user=<username> \ | |
| # --authgroup=1 \ | |
| # --csd-user=<localhost username> \ | |
| # --csd-wrapper=<script location on localhost> \ | |
| # --os=mac-intel \ |
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 org.asarkar.data | |
| sealed trait Edge[T] { | |
| def tail: T | |
| def head: T | |
| } | |
| sealed trait WeightedEdge[T] extends Edge[T] { | |
| def weight: Double |
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
| {-# LANGUAGE Arrows #-} | |
| module ArrowFun where | |
| import Control.Arrow (Arrow, Kleisli (..), (<+>), (>>>)) | |
| import qualified Control.Arrow as A | |
| import Control.Category (Category) | |
| import qualified Control.Category as C | |
| import qualified Control.Monad as M | |
| import Prelude hiding (liftA2) |
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
| """ | |
| list_extras.py - list extras (Provides-Extra) for PyPI packages (parallel fetching) | |
| Usage: | |
| ./list_extras.py pkg1 [pkg2 ...] | |
| ./list_extras.py django-stubs requests | |
| ./list_extras.py django-stubs==2.6.0 requests==2.31.0 | |
| Version selection is only via "pkg==version". | |
| """ |
OlderNewer