Skip to content

Instantly share code, notes, and snippets.

View Lingnik's full-sized avatar
🤖
🌎

Taylor J. Meek Lingnik

🤖
🌎
View GitHub Profile
@Lingnik
Lingnik / clone_vm_to_template.py
Created April 12, 2017 20:08
CloudBolt Plugin to Clone a VM to a Template
#!/usr/local/bin/python
"""
Requires CloudBolt 7.1 rc1 or better.
Note that this gives requesters the ability to create new OS Builds that are available to other
users who can request servers in the environment that the server belongs to.
"""
import sys
@Lingnik
Lingnik / pdx_pycon_cloudbolt_jobs.md
Created May 5, 2016 18:48
PDX PyCon CloudBolt Job Posting

####CLOUDBOLT SOFTWARE http://cloudbolt.io/careers

Some of the biggest and best IT shops in the world harness CloudBolt to empower their end-users with self-service hybrid private/public clouds that make them effective and awesome. Our engineers enable us to achieve that mission, and we are always looking for talented people who want to help get us there. Email us your resume (PDF) and cover letter today!

####FULL-STACK PYTHON WEB APP/SOFTWARE ENGINEERS (Portland, OR)

@Lingnik
Lingnik / boss-or-leader.md
Last active April 12, 2017 20:27
Boss or Leader?
The boss drives employees;
  The leader coaches them.
The boss depends upon authority;
  The leader on good will.
The boss inspires fear;
  The leader inspires enthusiasm.
The boss says "I";
  The leader says "we".
The boss fixes the blame for the breakdown;

The leader fixes the-breakdown.

@Lingnik
Lingnik / puppet_bootstrap_and_setup.py
Last active April 12, 2017 20:21
Puppet 2015.3 Scripts
#!/bin/env python
import time
import requests
import re
from infrastructure.models import Server
from utilities.models import ConnectionInfo
def run(job, logger=None, **kwargs):
"""
@Lingnik
Lingnik / angle.py
Created July 24, 2015 07:35
n-dimensional angles in python
import numpy as np
def unit_vector(vector):
""" Returns the unit vector of the vector. """
return vector / np.linalg.norm(vector)
def angle_between(vector_1, vector_2):
""" Returns the angle in radians between vectors 'vector_1' and 'vector_2'::