From 98105e44edcdd3e0282c253fbb7b5eeab292559b Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 11 Jun 2018 11:45:29 -0600 Subject: Removing Snippets --- snippets/python/cutf8.py | 2 -- snippets/python/fabfile.py | 33 --------------------------------- snippets/python/pudb.py | 1 - snippets/python/pyclass.py | 6 ------ snippets/python/pydef.py | 13 ------------- 5 files changed, 55 deletions(-) delete mode 100644 snippets/python/cutf8.py delete mode 100644 snippets/python/fabfile.py delete mode 100644 snippets/python/pudb.py delete mode 100644 snippets/python/pyclass.py delete mode 100644 snippets/python/pydef.py (limited to 'snippets/python') diff --git a/snippets/python/cutf8.py b/snippets/python/cutf8.py deleted file mode 100644 index fa3f8e5..0000000 --- a/snippets/python/cutf8.py +++ /dev/null @@ -1,2 +0,0 @@ -# -*- coding: utf-8 -*- -""".""" diff --git a/snippets/python/fabfile.py b/snippets/python/fabfile.py deleted file mode 100644 index c519167..0000000 --- a/snippets/python/fabfile.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Fabfile for automating some mundane tasks.""" -from fabric.api import cd, env, prefix, run - -# Use local SSH config -env.use_ssh_config = True - - -def prod(): - """Production host.""" - env.hosts = ['myserver'] - env.virtual_env = 'projname' - env.forward_agent = True - - -def prod_old(): - """Old way of defining.""" - env.user = 'cody' - env.hosts = ['123.123.123.123:1234'] - env.virtual_env = 'projname' - env.forward_agent = True - - -def deploy_virstualenv(): - """Deploy through virtualenv.""" - with prefix('workon {}'.format(env.virtual_env)): - run('deploy') - - -def deploy_git_folder(): - """Deploy the application.""" - with cd('www'): - run('git fetch origin master') - run('git reset --hard origin/master') diff --git a/snippets/python/pudb.py b/snippets/python/pudb.py deleted file mode 100644 index 80b65ef..0000000 --- a/snippets/python/pudb.py +++ /dev/null @@ -1 +0,0 @@ -from pudb import set_trace; set_trace() diff --git a/snippets/python/pyclass.py b/snippets/python/pyclass.py deleted file mode 100644 index 3354dba..0000000 --- a/snippets/python/pyclass.py +++ /dev/null @@ -1,6 +0,0 @@ -class jump(jump): - """jump - - jump - """ - pass diff --git a/snippets/python/pydef.py b/snippets/python/pydef.py deleted file mode 100644 index 8c33d5b..0000000 --- a/snippets/python/pydef.py +++ /dev/null @@ -1,13 +0,0 @@ -def jump(jump): - """jump. - - jump - - Args: - jump (jump_type): jump_desc - Example: jump - - Return: - jump_type: jump_desc - """ - pass -- cgit v1.2.3