Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

From f3581557cf8e800511c6996252b364a618b8be00 Mon Sep 17 00:00:00 2001
From: Kirill Goncharov <kdgoncharov@gmail.com>
Date: Wed, 22 Jan 2020 18:22:16 +0300
Subject: [PATCH] Add python3.8 patch for salt-ssh
---
0001-saltssh-py38.patch | 25 +++++++++++++++++++++++++
PKGBUILD | 11 +++++++++--
2 files changed, 34 insertions(+), 2 deletions(-)
create mode 100644 0001-saltssh-py38.patch
@xuhcc
xuhcc / windows_provision_plugin.rb
Created June 11, 2019 09:26
windows_provision_plugin.rb
# Based on https://github.com/danielmenezesbr/modernie-winrm/blob/master/ie-box-automation-plugin.rb
require 'rubygems'
require 'net/ssh'
require 'logger'
require 'log4r'
module LocalCommand
@xuhcc
xuhcc / perms.py
Last active October 16, 2018 08:59
django 1.7 migrations + django-guardian
"""
You also need to create initial migration for guardian app!
"""
from django.contrib.contenttypes.models import ContentType
from guardian.models import UserObjectPermission, GroupObjectPermission
def is_user(obj):
return obj._meta.model_name == 'user'