Skip to content

Instantly share code, notes, and snippets.

View srgvg's full-sized avatar
👓
ENOSTATUS

Serge van Ginderachter srgvg

👓
ENOSTATUS
View GitHub Profile
@srgvg
srgvg / hosts
Last active May 12, 2016 04:52
ansible/issues/12395
raven.toroid.org
magpie.toroid.org
No config file found; using defaults
[WARNING]: Host file not found: /etc/ansible/hosts
[WARNING]: provided hosts list is empty, only localhost is available
PLAY [localhost] ***************************************************************
TASK [joeri : uri] *************************************************************
@srgvg
srgvg / fresh-chrome.sh
Created November 21, 2016 09:06 — forked from stuartsierra/fresh-chrome.sh
Launch new instances of Google Chrome on OS X with isolated cache, cookies, and user config
#!/usr/bin/env bash
# fresh-chrome
#
# Use this script on OS X to launch a new instance of Google Chrome
# with its own empty cache, cookies, and user configuration.
#
# The first time you run this script, it will launch a new Google
# Chrome instance with a permanent user-data directory, which you can
# customize below. Perform any initial setup you want to keep on every
@srgvg
srgvg / ansible_inventory_plugin_example.py
Created May 26, 2020 09:17
This is a boiler plate example that could be used to write an inventory plugin It shows the use case of retrieving data from a remote API, which might be a slow or costly action, you may want to cache. What needs to be initialized in Ansible to use a cache is shown, too.
# This is a boiler plate example that could be used to write an inventory plugin.
# It shows the use case of retrieving data from a remote API, which might be a
# slow or costly action, you may want to cache.
# What needs to be initialized in Ansible to use a cache is shown, too.
# This example by by Serge van Ginderachter <[email protected]>
# Copyright (c) 2017 Ansible Project
# Copyright (c) 2020 Serge van Ginderachter <[email protected]>
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
@srgvg
srgvg / .font.conf
Created July 26, 2021 11:39 — forked from AhmedMostafa16/.font.conf
My .font.conf for perfect font rendering
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>~/.fonts</dir>
<!--
Documented at
http://linux.die.net/man/5/fonts-conf
To check font mapping run the command at terminal
$ fc-match 'helvetica Neue'