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
using GeometryBasics | |
x(a::AbstractVector) = first(a) | |
y(a::AbstractVector) = last(a) | |
x(a::AbstractMatrix) = a[ :, 1 ] | |
y(a::AbstractMatrix) = a[ :, 2 ] | |
function orientation(p::AbstractVector, q::AbstractVector, r::AbstractVector)::Int | |
val = ( y(q) - y(p) ) * ( x(r) - x(q) ) - ( x(q) - x(p) ) * ( y(r) - y(q) ) | |
return (val ≈ 0) ? 0 : ( (val > 0) ? 1 : 2 ) |
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
## tmux configuration. | |
## Inspired by: https://github.com/tony/tmux-config/blob/master/.tmux.conf | |
# https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors-256.conf | |
set-option -g status-style bg=colour235,fg=colour136,default # bg=base02, fg=yellow | |
# Easy reload config. | |
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded." | |
# set window split |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"tiling:1": { | |
"tile_width": 768, | |
"tile_height": 768, | |
"match_extents": false, | |
"output_prefix": "", | |
"augmentation_factor": 1, | |
"discard_empty_tiles": true | |
}, | |
"data-conversion:1": { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
# first_job_run.sh --- Simple bash script to run a first job via the | |
# UP42 API. | |
# Copyright (C) 2019 UP42 GmbH | |
# Author: António P. P. Almeida <[email protected]> | |
# Permission is hereby granted, free of charge, to any person obtaining a |
NewerOlder