Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| #!/bin/bash | |
| INPUT_DIR="/tmp/spool/in" | |
| OUTPUT_DIR="/tmp/spool/out" | |
| DELAY=4 | |
| PIDFILE="/tmp/workdog.pid" | |
| FIFO="/tmp/render.fifo" | |
| LOGGING="stdout" |
| import java.io.DataOutputStream; | |
| import java.io.IOException; | |
| import java.net.Socket; | |
| import java.util.Arrays; | |
| import java.util.Set; | |
| public class Client { | |
| public static void main(String[] args) { |
| #!/bin/bash | |
| # make variables available in function started by | |
| # gnu parallel | |
| export FINALRES="result" | |
| export WPSIZE=5 | |
| export JOBLOG="joblog" | |
| function getfiles() { | |
| find ./* -name "*.txt" |
| #!/bin/bash | |
| DELIM="/" | |
| FILE="[a-zA-Z]([a-zA-Z0-9])*" | |
| R="(${DELIM})?${FILE}(${DELIM}${FILE})*${DELIM}?" | |
| path=$1 | |
| echo "$path" | egrep -x "$R" |
| public class StopWatch { | |
| long start; | |
| long end; | |
| long time; | |
| long overallTime = 0; | |
| public static StopWatch get() { | |
| return new StopWatch(); | |
| } |
| #!/usr/bin/env python | |
| # export data sheets from xlsx to csv | |
| from openpyxl import load_workbook | |
| import csv | |
| from os import sys | |
| def get_all_sheets(excel_file): | |
| sheets = [] |