Scripts to confgire a group of hosts on a LAN to use VXLAN over Wireguard.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Podcast Feed Generator | |
Generate an podcast RSS feed for a set of media in a directory. | |
Use the list-extensions argument to see the list of supported extensions. You can add custom extensions using | |
Usage: | |
podcastgen.py gen <directory> --title=<podcast-title> --link=<podcast-link> --desc=<description> [--output=<rss-feed-file>] [--feed-link=<feed-url>] [--id=<podcast-id>] [--logo=<image_file>] [--category=<itunes-category> [--subcategory=<itunes-category>]] [--language=<language>] [--use-extension=<ext>] | |
podcastgen.py list-categories | |
podcastgen.py list-extensions | |
podcastgen.py -h | --help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# This script prints a bell character when a command finishes | |
# if it has been running for longer than $zbell_duration seconds. | |
# If there are programs that you know run long that you don't | |
# want to bell after, then add them to $zbell_ignore. | |
# | |
# This script uses only zsh builtins so its fast, there's no needless | |
# forking, and its only dependency is zsh and its standard modules | |
# |
- AWS Lambda https://aws.amazon.com/lambda/
- hook.io https://hook.io
- StackStorm https://stackstorm.com
- Webtask https://webtask.io
- IBM OpenWhisk http://www.ibm.com/cloud-computing/bluemix/openwhisk/
- Google Cloud Functions https://cloud.google.com/functions/docs/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/apparmor.d/lxc/lxc-default-with-netns | |
# Do not load this file. Rather, load /etc/apparmor.d/lxc-containers, which | |
# will source all profiles under /etc/apparmor.d/lxc | |
profile lxc-container-default-with-netns flags=(attach_disconnected,mediate_deleted) { | |
#include <abstractions/lxc/container-base> | |
#include <abstractions/lxc/start-container> | |
# - onetime mount, if /run/netns was not mounted yet: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# This script prints a bell character when a command finishes | |
# if it has been running for longer than $zbell_duration seconds. | |
# If there are programs that you know run long that you don't | |
# want to bell after, then add them to $zbell_ignore. | |
# | |
# This script uses only zsh builtins so its fast, there's no needless | |
# forking, and its only dependency is zsh and its standard modules | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ubuntu/trusty64 | |
apt-get update | |
apt-get install software-properties-common -y | |
apt-add-repository ppa:ubuntu-lxc/daily | |
add-apt-repository ppa:zfs-native/stable | |
add-apt-repository ppa:nginx/stable -y |
This is pretty simple snippet to get API Token of a user , lets say "MYUser" in jenkins.
its pretty useful when you are working with 'jenkins-job-builder' to update jobs in jenkins,
and you need to get the api token which JJB needs inorder to update jobs to ..
run this code in either jenkins script console , or as i prefer, in form of init.groovy.
so when jenkins amster starts, i create a user for JJb.
after that i get the token right away and pass it to my JJB jobs folder to file 'jenkins_jobs.ini' :)_ .
///////////////////////////////////////////////////////////////////////
- VirtualBox
- Vagrant
- Packer
- a Mac with a lot of Memory/CPU/Disk
- great Templates/Tools from https://github.com/timsutton/osx-vm-templates
NewerOlder