Skip to content

Instantly share code, notes, and snippets.

@joshland
joshland / LICENSE
Created March 7, 2019 18:42 — forked from noelbundick/LICENSE
Exclude WSL installations from Windows Defender realtime protection
MIT License
Copyright (c) 2018 Noel Bundick
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@joshland
joshland / python-fstab.py
Last active January 12, 2017 18:43 — forked from niedbalski/python-fstab.py
python-fstab.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# fstab interpreter
__author__ = 'Jorge Niedbalski R. <jnr@metaklass.org>'
__url__ = 'https://api.jujucharms.com/charmstore/v5/elasticsearch/archive/hooks/charmhelpers/core/fstab.py'
__note__ = 'small mod: change filter/lamba to listcomp, Joshua Schmidlkofer <joshland@protonmail.com>'
__credits__ = ["Jorge Niedbalski R.", "Joshua Schmidlkofer"]
Here is a sample of how I am currently dealing with users.
Big thanks to uggedal! I used his user states as an example: https://github.com/uggedal/states
###
# How to create password hashes
###
python -c "import crypt; print crypt.crypt('password', '\$6\$SALTsalt\$')"
###