- {{tags}}
- {{date}}
| CLIENT_ID=PUT_CLIENT_ID_HERE | |
| CLIENT_SECRET=PUT_CLIENT_SECRET_HERE | |
| REDIRECT_URI=PUT_REDIRECT_URI_HERE |
| import json | |
| import redis | |
| import serial | |
| import sys | |
| import time | |
| from art import text2art | |
| if len(sys.argv) == 1: | |
| print("Please provide a numeric value for the first down") |
| pi@raspberrypi:~ $ whoami | |
| pi | |
| pi@raspberrypi:~ $ passwd | |
| Changing password for pi. | |
| (current) UNIX password: | |
| Enter new UNIX password: | |
| Retype new UNIX password: | |
| passwd: password updated successfully |
This page summarizes the tips and checklists found in The Pragmatic Programmer.
For more information about The Pragmatic Programmers LLC, source code for the examples, up-to-date pointers to Web resources, and an online bibiography, visit us at www.pragmaticprogrammer.com
1. Care About Your Craft
Why spend your life developing software unless you care about doing it well?
| [jmlaptop][~/dev/test] | |
| [master]->$ git log | |
| commit 118258761878c6c36fb3f16f659564b18525a409 | |
| Author: jmeridth <jmeridth@gmail.com> | |
| Date: Tue Jul 5 09:03:54 2016 -0500 | |
| This is a test of a multiline commit | |
| - to search git log for keywords |
| [~/dev/opencafe] | |
| [master]->$ git co -b v0.3.1 && git pull https://git.openstack.org/openstack/opencafe refs/changes/47/335647/1 | |
| [~/dev/opencafe] | |
| [v0.3.1]->$ tox | |
| GLOB sdist-make: /Users/jaso2654/dev/opencafe/setup.py | |
| pep8 inst-nodeps: /Users/jaso2654/dev/opencafe/.tox/dist/opencafe-0.3.1.zip | |
| pep8 installed: flake8==2.6.2,funcsigs==1.0.2,mccabe==0.5.0,mock==2.0.0,nose==1.3.7,opencafe==0.3.1,pbr==1.10.0,pluggy==0.3.1,py==1.4.31,pycodestyle==2.0.0,pyflakes==1.2.3,six==1.10.0,tox==2.3.1,virtualenv==15.0.2 | |
| pep8 runtests: PYTHONHASHSEED='1292688052' | |
| pep8 runtests: commands[0] | flake8 | |
| py27 inst-nodeps: /Users/jaso2654/dev/opencafe/.tox/dist/opencafe-0.3.1.zip |
| # Copyright 2016 Rackspace | |
| # Licensed under the Apache License, Version 2.0 (the "License"); you may | |
| # not use this file except in compliance with the License. You may obtain | |
| # a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | |
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| <VirtualHost *:80> | |
| ServerName lostechies.com | |
| ServerAlias www.lostechies.com | |
| ServerAlias tddfirestarter.lostechies.com | |
| Redirect permanent / https://lostechies.com/ | |
| RewriteEngine On | |
| RewriteCond %{HTTP_HOST} ^www\.lostechies\.com$ [NC] |