aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-06-11 11:45:29 -0600
committerCody Hiar <codyfh@gmail.com>2018-06-11 11:45:29 -0600
commit98105e44edcdd3e0282c253fbb7b5eeab292559b (patch)
tree6030e8eef09b55395118921b003e2512583a7f90
parent2d90ed79923281b095f2dfb27d2b400cb1eb7415 (diff)
Removing Snippets
-rw-r--r--snippets/python/cutf8.py2
-rw-r--r--snippets/python/fabfile.py33
-rw-r--r--snippets/python/pudb.py1
-rw-r--r--snippets/python/pyclass.py6
-rw-r--r--snippets/python/pydef.py13
5 files changed, 0 insertions, 55 deletions
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