Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
#!/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 = [] |
public class StopWatch { | |
long start; | |
long end; | |
long time; | |
long overallTime = 0; | |
public static StopWatch get() { | |
return new StopWatch(); | |
} |
#!/bin/bash | |
DELIM="/" | |
FILE="[a-zA-Z]([a-zA-Z0-9])*" | |
R="(${DELIM})?${FILE}(${DELIM}${FILE})*${DELIM}?" | |
path=$1 | |
echo "$path" | egrep -x "$R" |
#!/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" |
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 | |
INPUT_DIR="/tmp/spool/in" | |
OUTPUT_DIR="/tmp/spool/out" | |
DELAY=4 | |
PIDFILE="/tmp/workdog.pid" | |
FIFO="/tmp/render.fifo" | |
LOGGING="stdout" |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/