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 'socket' | |
| require "openssl" | |
| require "logger" | |
| HOST = "cloudflare-dns.com" | |
| REMOTE_DNS = "1.1.1.1" | |
| REMOTE_PORT = 853 | |
| LOCAL_PORT = 53 | |
| BLOCK_SIZE = 1024 | |
| LOGGER = Logger.new(STDOUT) |
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
| events | |
| MaskDefined % thrown when "apply" button is hit, listen to this event | |
| % to get the ROI information (obj.getROIData) | |
| end | |
| properties | |
| image % image to work on, obj.image = theImageToWorkOn | |
| roi % the generated ROI mask (logical) | |
| labels % Connected component labens (multi ROI) | |
| number % how many ROIs there are |
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
| [includeIf "gitdir:~/Workspace/work/"] | |
| path = ~/dotfiles/.gitconfig-work | |
| [includeIf "gitdir:~/Workspace/personal/"] | |
| path = ~/dotfiles/.gitconfig-personal |
OlderNewer