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 | |
| if [[ -z "$1" || "$1" == --help || "$1" == "-?" ]]; then | |
| echo "Usage: mvimg_play MVIMG_20190806_183324.jpg [other files]" | |
| echo "Plays Google's Motion Photo using mpv. Depends on exiftool, mktemp, bash and mpv." | |
| exit 0 | |
| fi | |
| FOUND=0 | |
| ARGS=() |
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 | |
| IN=$1 | |
| OUT=$2 | |
| true ${SD_PARAMS:="-55dB:d=0.3"}; | |
| true ${MIN_FRAGMENT_DURATION:="20"}; | |
| export MIN_FRAGMENT_DURATION | |
| if [ -z "$OUT" ]; then |
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/env run-cargo-script | |
| //! ```cargo | |
| //! [package] | |
| //! name = "dnsmanageweb" | |
| //! version = "0.1.0" | |
| //! authors = ["Vitaly _Vi Shukela <vi0oss@gmail.com>"] | |
| //! edition = "2018" | |
| //! | |
| //! [dependencies] | |
| //! rouille = {version="3.0.0", default-features=false} |
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
| // Trying to imiate `rust-websocket`-like interface with hyper 0.12 | |
| #![allow(unused)] | |
| #![deny(unused_must_use)] | |
| use tokio::prelude::*; | |
| use tokio::net::tcp::{TcpListener,TcpStream}; | |
| use std::net::SocketAddr; | |
| use hyper::server::conn; | |
| use hyper::service::Service; |
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 | |
| IN=$1 | |
| OUT=$2 | |
| true ${SD_PARAMS:="-55dB:d=0.3"}; | |
| true ${MIN_FRAGMENT_DURATION:="20"}; | |
| export MIN_FRAGMENT_DURATION | |
| if [ -z "$OUT" ]; then |
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/env run-cargo-script | |
| //! ```cargo | |
| //! [dependencies] | |
| //! hyper = { version = "0.12.20", default-features = false } | |
| //! tokio-stdin-stdout = "0.1.5" | |
| //! readwrite = {version="0.1.1", features=["tokio"]} | |
| //! futures = "0.1.25" | |
| //! tokio = "0.1.14" | |
| //! ``` |
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/env run-cargo-script | |
| //! ```cargo | |
| //! [dependencies] | |
| //! tokio = "=0.1.7" | |
| //! tokio-codec = "*" | |
| //! tokio-io = "=0.1.7" | |
| //! futures-cpupool = "*" | |
| //! mio = "*" | |
| //! | |
| //! [replace] |
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/env run-cargo-script | |
| // cargo-deps: tokio, tokio-codec, tokio-io, futures-cpupool | |
| extern crate tokio; | |
| extern crate tokio_codec; | |
| extern crate tokio_io; | |
| extern crate futures_cpupool; | |
| use tokio_codec::{Decoder, LinesCodec}; |
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
| * Options given/available: | |
| -platform 0 [=default] | |
| -device 0 [=default] | |
| --- OpenCL device naming: | |
| * Device type GPU | |
| * Device name Intel(R) HD Graphics IvyBridge M GT2 | |
| * Platform vendor 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
| clblast_test_diagnostics | |
| * Options given/available: | |
| -platform 0 [=default] | |
| -device 0 [=default] | |
| --- OpenCL device naming: | |
| * Device type GPU | |
| * Device name Intel(R) HD Graphics IvyBridge M GT2 |