Skip to content

Instantly share code, notes, and snippets.

@hjhsalo
hjhsalo / docker-compose.yml
Created October 9, 2017 13:20
Sketch of a Docker Compose definition for development configuration REANA components
# -*- coding: utf-8 -*-
#
# This file is part of REANA.
# Copyright (C) 2017 CERN.
#
# REANA is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
@hjhsalo
hjhsalo / locate-pointer-starter.sh
Last active October 13, 2019 09:46 — forked from sneetsher/locate-pointer.c
Locate mouse pointer (Highlight is removed after a certain amount of loop cycles. Optional bash startup script to prevent duplicate instances.)
#!/bin/bash
# A simple script to check if a process is running and if it is will
# kill and restart the process
# Modified from example provided at:
# https://www.m00nie.com/2011/12/script-to-check-if-a-process-is-running-and-if-not-start-it/
################################################
# The name of the program to check
PROGRAM=locate-pointer
################################################