Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Tomas taliaga

🏠
Working from home
View GitHub Profile
@taliaga
taliaga / filter_path.py
Last active July 4, 2016 19:04
Filter PATH in windows
View filter_path.py
#!/usr/bin/env python
from __future__ import print_function
import os
# Original PATH
original_path = os.environ['PATH']
print('*'*80)
print('Your current PATH:')
print(original_path)
View test_boxstarter.txt
################################################################################
# This file installs EDEN from the scratch on Windows.
# It assumes you have followed instructions from https://eden.esss.com.br/confluence/x/VYCS
#
# More info about Boxstarter can be found at:
# - https://www.simple-talk.com/dotnet/.net-framework/automate-the-complete-windows-environment-setup-and-configuration/
#
# Some script examples can be seen at:
# - https://gist.github.com/lebsral/40e977f9036f820bc78e
#
View delete_jenkins_jobs
"""
Simple Python2.7 script to delete jenkins jobs.
Requires:
- jenkinsapi
"""
from __future__ import unicode_literals
from jenkinsapi.jenkins import Jenkins
import requests