This contains individual screenshots organized inside folders that serve as labels. Download the image dataset here.
We provide YouTube identifiers from which videos can be obtained:
| #!/bin/bash | |
| if [ "$#" -lt 1 ]; then | |
| echo "Usage: $0 <input_video> [output_directory]" | |
| exit 1 | |
| fi | |
| input_video="$1" | |
| output_directory="${2:-segmented}" # Use "segmented" as the default if no second argument is provided |
| This is a sample text file |
| [{"id":1,"name":"Province","created_at":"2022-03-28T14:09:46.016Z","updated_at":"2022-03-28T14:09:46.016Z"},{"id":2,"name":"County","created_at":"2022-03-28T14:09:46.032Z","updated_at":"2022-03-28T14:09:46.032Z"},{"id":3,"name":"City","created_at":"2022-03-28T14:09:46.047Z","updated_at":"2022-03-28T14:09:46.047Z"},{"id":4,"name":"Town","created_at":"2022-03-28T14:09:46.060Z","updated_at":"2022-03-28T14:09:46.060Z"},{"id":5,"name":"Townland","created_at":"2022-03-28T14:09:46.069Z","updated_at":"2022-03-28T14:09:46.069Z"},{"id":6,"name":"Barony","created_at":"2022-03-28T14:09:46.077Z","updated_at":"2022-03-28T14:09:46.077Z"},{"id":7,"name":"Street ","created_at":"2022-03-28T14:09:46.085Z","updated_at":"2022-03-28T14:09:46.085Z"},{"id":8,"name":"Village","created_at":"2022-03-28T14:09:46.094Z","updated_at":"2022-03-28T14:09:46.094Z"},{"id":9,"name":"River ","created_at":"2022-03-28T14:09:46.102Z","updated_at":"2022-03-28T14:09:46.102Z"},{"id":10,"name":"Other","created_at":"2022-03-28T14:09:46.109Z","updated_at" |
| FROM ruby:3.1 | |
| RUN apt update -qq && apt install -y nodejs postgresql-client | |
| RUN gem install rails -v '7.0.3.1' | |
| ARG APP=/railsapp | |
| WORKDIR ${APP} | |
| ADD Gemfile ${APP}/ | |
| RUN bundle install |
This contains individual screenshots organized inside folders that serve as labels. Download the image dataset here.
We provide YouTube identifiers from which videos can be obtained:
| #!/bin/sh | |
| # Get the procs sorted by the number of inotify watchers | |
| # @author Carl-Erik Kopseng | |
| # @latest https://github.com/fatso83/dotfiles/blob/master/utils/scripts/inotify-consumers | |
| # Discussion leading up to answer: https://unix.stackexchange.com/questions/15509/whos-consuming-my-inotify-resources | |
| usage(){ | |
| cat << EOF | |
| Usage: $0 [--help|--limits] |
Builds python from source and installs to ~/.local/share/python/python-version without requiring sudo privileges.
Specify python version when calling the script and it will download, build and install the specified python version from python.org
sh ./install_python.sh 3.8.1A convenience python script that helps create shortcuts in host machine to programs inside of singularity containers.
~/.local/bin and make sure you have export PATH="$HOME/.local/bin:$PATH" in .bashrc or .zshrcmodule executable by running chmod +x ~/.local/bin/modulenode from dev singularity instance into ~/.local/bin:module load node dev
ubuntu2004.appx from https://aka.ms/wsl-ubuntu-2004Ubuntu_2004.2021.825.0_x64.appx again as archiveUbuntu_2004.2021.825.0_x64.appx into a new folder e.g. V:/ubuntu_newubuntu.exeSkip installing ubuntu.exe and follow the instructions below, the instructions will create a the new wsl instance Ubuntu2
| #!/bin/bash | |
| if [ $1 == '--help' ] || [ $1 == 'help' ] || [ $1 == '-h' ] ; then | |
| echo "usage: runafter <pid> [-f] <command>" | |
| exit 0 | |
| fi | |
| re='^[0-9]+$' | |
| if ! [[ $1 =~ $re ]] ; then | |
| echo "error: first arg must be a pid of a running process" >&2 | |
| exit 1 |