Skip to content

Instantly share code, notes, and snippets.

View fgeorgatos's full-sized avatar
💭
I respond at random times - you have been warned ;-)

Fotis Georgatos fgeorgatos

💭
I respond at random times - you have been warned ;-)
View GitHub Profile
@fgeorgatos
fgeorgatos / openapi.yml
Created October 29, 2021 14:57
openapi.yml
openapi: "3.0.2"
info:
version: "1.0"
title: Custodian API
description: "We offer some API that provides custodian services"
contact:
name: Custodian team
url: https://gitlab.datascience.ch/custodian/contact
@fgeorgatos
fgeorgatos / this.yaml
Created April 23, 2021 20:47
sdc openapi yaml
openapi: "3.0.2"
info:
version: "1.0"
title: Custodian API
description: "We offer some API that provides custodian services"
contact:
name: Custodian team
url: https://gitlab.datascience.ch/custodian/contact
@fgeorgatos
fgeorgatos / Makefile
Created February 4, 2021 09:52 — forked from rsperl/Makefile #snippet
self-documenting makefile with colors
SHELL=/bin/bash
# to see all colors, run
# bash -c 'for c in {0..255}; do tput setaf $c; tput setaf $c | cat -v; echo =$c; done'
# the first 15 entries are the 8-bit colors
# define standard colors
ifneq (,$(findstring xterm,${TERM}))
BLACK := $(shell tput -Txterm setaf 0)
RED := $(shell tput -Txterm setaf 1)
---
base_images:
- name: centos7_x64
build: 7.6.1810
description: CentOS 7
os: Linux
os_disk_mb: 8192
specs:
controller: sata
hardware_compatibility: 10
#!/usr/bin/env bash
ls -ld /System/Library/Extensions/*Thunderbolt*
sudo mount -uw /
if [ -d /System/Library/Extensions/AppleThunderboltDPAdapters.kext ]; then
sudo mv /System/Library/Extensions/AppleThunderboltDPAdapters.kext /System/Library/Extensions/AppleThunderboltDPAdapters.kext.BAK
fi
if [ -d /System/Library/Extensions/AppleThunderboltEDMService.kext ]; then
sudo mv /System/Library/Extensions/AppleThunderboltEDMService.kext /System/Library/Extensions/AppleThunderboltEDMService.kext.BAK
---
- hosts: rhel6
tasks:
- include_role:
name: yum_clean_all
- include_role:
name: yum_makecache
- include_role:
name: yum_check_update
- include_role:
setup-x86_64.exe -q --packages=binutils,curl,cygwin32-gcc-g++,gcc-g++,git,gmp,libffi-devel,libgmp-devel,make,nano,openssh,openssl-devel,python36-crypto,python3-paramiko,python3,python36-devel,python36-openssl,python36-pip,python36-setuptools
@fgeorgatos
fgeorgatos / ansible-macos-homebrew-packages.yml
Created April 30, 2020 15:22 — forked from mrlesmithjr/ansible-macos-homebrew-packages.yml
Install MacOS Homebrew Packages With Ansible
---
- name: Install MacOS Packages
hosts: localhost
become: false
vars:
brew_cask_packages:
- atom
- docker
- dropbox
- firefox
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Touchpads"
MatchDevicePath "/dev/input/event*"
Driver "mtrack"
# The faster you move, the more distance pointer will travel, using "polynomial" profile
Option "AccelerationProfile" "2"
# Tweak cursor movement speed with this
Option "Sensitivity" "0.05"
# Pressure at which a finger is detected as a touch
@fgeorgatos
fgeorgatos / duplicati_excludes.txt
Created April 30, 2020 15:21 — forked from mrlesmithjr/duplicati_excludes.txt
Duplicati backup exclude list for Linux, macOS, and Windows
-[.*/.*/?packer_cache/]
-[.*\.DS_Store]
-[.*\.tmp]
-[/home/.*/.ansible_async/]
-[/home/.*/.ansible/]
-[/home/.*/.atom/]
-[/home/.*/.cache/]
-[/home/.*/.config/Duplicati/]
-[/home/.*/.cups/]
-[/home/.*/.docker/]