Perform this workout on
Fitloop: Android App | iPhone App
- Make sure your diet is in check.
- Check What routine should I do? to make sure this routine is right for you.
- See also: Learn how to make quality goals.
1) Reference | |
Many will know this already, but I need to make sure you know it because it’s so fundamental. | |
A ‘reference’ is a string that points to a commit. | |
There are four main types of reference: HEAD, Tag, Branch, and Remote Reference. | |
HEAD | |
HEAD is a special reference that always points to where the git repository is. | |
If you checked out a branch, it’s pointed to the last commit in that branch. |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
from nltk.corpus import wordnet as wn | |
from nltk.stem import PorterStemmer, WordNetLemmatizer | |
#from nltk import pos_tag, word_tokenize | |
# Pywsd's Lemmatizer. | |
porter = PorterStemmer() | |
wnl = WordNetLemmatizer() | |
from nltk.tag import PerceptronTagger |
yum update -y | |
yum install -y epel-release | |
yum clean all | |
# Add repos | |
rpm -Uvh "https://labs.consol.de/repo/stable/rhel7/i386/labs-consol-stable.rhel7.noarch.rpm" | |
rpm -ihv http://opensource.is/repo/ok-release.rpm | |
yum update -y ok-release | |
######################### |
#!/usr/bin/env bash | |
# Create a page in the current dir | |
echo "My Test Page" > test.html | |
# Start server | |
python -m SimpleHTTPServer 8000 &> /dev/null & | |
pid=$! | |
# Give server time to start up |
# User for local dev | |
FROM app/base | |
RUN npm install -g orion-cli | |
# This forces package-catalog update. Should speed up further runs | |
RUN meteor show meteor-platform |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
#! /usr/bin/env python | |
############################################################################### | |
# Nagios plugin template | |
# | |
# Notes | |
# - The RHEL boxes I work on are currently limited to Python 2.6.6, hence the | |
# use of (deprecated) optparse. If I can ever get them all updated to | |
# Python 2.7 (or better yet, 3.3), I'll switch to argparse | |
# - This template runs in 2.6-3.3. Any changes made will need to be appropriate |