Skip to content

Instantly share code, notes, and snippets.

View 95rade's full-sized avatar

Rade Milijasevic 95rade

View GitHub Profile
@95rade
95rade / random_file_tree.py
Created June 9, 2020 17:43 — forked from klieret/random_file_tree.py
Create a random file tree in python, e.g. random subfolders and random files.
#!/usr/bin/env python3
""" AVAILABLE AS A PACKAGE ON github.com/klieret/randomfiletree """
import sys
import os
import random
import string
from pathlib import Path
@95rade
95rade / README.md
Created April 1, 2020 14:14
concourse.ci on kubernetes via minikube
@95rade
95rade / move-old-files.py
Created February 11, 2020 23:20 — forked from Grimthorr/move-old-files.py
Python script to move old files from one folder to another.
import sys
import os
import glob
import shutil
import time
import logging
from datetime import datetime, date, timedelta
# start editable vars #
days_old = 28 # how old the files have to be before they are moved
@95rade
95rade / jenkins-elkstack.md
Created March 18, 2019 16:50 — forked from michaellihs/jenkins-elkstack.md
ElasticSearch, Logstash & Kibana for Jenkins Logs
def getProjectName() {
return 'JenkinsPipeline'
}
def getJDKVersion() {
return 'jdk1.8.0_101'
}
def getMavenConfig() {
return 'maven-config'
@95rade
95rade / bumpme
Last active March 30, 2018 23:33
Bumpme
Fri Mar 30 23:33:30 UTC 2018