• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

danblee.com

Tutorials & Knowledge Base Articles for System Administrators who wear many, many hats.

  • Home
  • About
  • Ask Me
  • DBLHost.com
You are here: Home / Archives for Programming

Programming

Installing the latest version of Django and running Python3 in a virtual environment on Mac

June 2, 2017 by Dan B. Lee Leave a Comment

Scenario: You want to install Python 3.6+ on MacOS Sierra (or other MacOS versions running older Python versions) using a virtual environment. Here's the order we're going to go about things: Install Python3 Create a virtual environment using venv Install Django in the virtual environment Install Python3 It is not a good idea to upgrade your mac to Python3. Instead, you can install Python3 as an app. It will update your shell so when you invoke python3 in the terminal it will … [Read more...] about Installing the latest version of Django and running Python3 in a virtual environment on Mac

Filed Under: Programming, Python Tagged With: Django, pip, Python, python 3.6, Python3, Shell, venv, virtualenv

Sharing some snippets of code? Try gist.github.com

April 28, 2015 by Dan B. Lee Leave a Comment

There's no faster way to share and manage snippets of code than Gist. gist.github.com has all the functionality of the github.com. It gives you a quick URL for your work and allows others to fork just as easily as a github project. From gist.github.com: Gist is a simple way to share snippets and pastes with others. All gists are Git repositories, so they are automatically versioned, forkable and usable from Git. For example, a you can quickly and cleanly create a little bit (or a lot) of … [Read more...] about Sharing some snippets of code? Try gist.github.com

Filed Under: Programming, Python, Technology Culture Tagged With: gist, github, irc, Python, snippets

Django Error: AttributeError: ‘module’ object has no attribute ‘xxx’

April 20, 2015 by Dan B. Lee Leave a Comment

So you're working through creating some models and you attempt to make migrations when you're done but you get the following error or something similar: File "/home/dan/Documents/djlab/mysite/polls/models.py", line 5, in <module> class Question(models.Model): File "/home/dan/Documents/djlab/mysite/polls/models.py", line 6, in Question question_text = models.Charfield(max_length=200) AttributeError: 'module' object has no attribute 'Charfield' This error can happen with … [Read more...] about Django Error: AttributeError: ‘module’ object has no attribute ‘xxx’

Filed Under: Programming, Python Tagged With: database, Django, Models, Python

Raspberry Pi 2 RPiTC 2 r1.1 is out!

April 15, 2015 by Dan B. Lee 1 Comment

You can download the new release here: http://dl.armtc.net/RPi-TC/RPiTC-2_r1.1.img.zip Here's a direct link to the post about the release: http://rpitc.blogspot.com/2015/04/rpi-tc-2-release-11-available.html I'm very excited to test some of the new features. If you've read some of my previous posts, you'll see we were working to build a Citrix Receiver thin client using the Raspberry Pi 2 capable of booting straight into Receiver where the only thing the customer has to enter is the … [Read more...] about Raspberry Pi 2 RPiTC 2 r1.1 is out!

Filed Under: Linux, OpenVPN, Programming, Ubuntu Tagged With: Raspberry Pi, Raspberry Pi 2, Thin Client, VDI

Lose your LAMP, MAMP, or WAMP dev environments and start using Koding

March 26, 2015 by Dan B. Lee Leave a Comment

Years ago I got into Python just a little bit. I know PHP very well and because I wanted to stay in web app development, learning Python seemed like the next logical step. Python is awesome, very learner friendly. Libraries are extensive and can get a lot done for you. With my PHP knowledge and my in depth understanding of servers, it was very easy for me to build out a dev environment to play around with. At first I was using a WAMP install, but eventually put my work on a linux VPS within my … [Read more...] about Lose your LAMP, MAMP, or WAMP dev environments and start using Koding

Filed Under: Linux, Programming, Python, Ubuntu, WAMP Tagged With: GUI, Koding, Markup, Programming, Python, syntax

Primary Sidebar

Categories

  • Active Directory
    • Group Policy
  • Adobe Photoshop
  • Browsers
    • Chrome
  • Cloud Based Technology
    • Citrix XenApp
  • ConnectWise
    • LabTech
  • Dell
  • Internet Service Providers (ISPs)
  • iPhone
  • Linux
    • CentOS
    • OpenVPN
    • SaltStack
    • Ubuntu
  • Microsoft Office
    • Lync
    • Microsoft Excel
    • Microsoft Outlook
    • Microsoft Word
  • Microsoft Windows
    • Active Directory
    • PowerShell
    • Windows 7
    • Windows 8 Preview & Release
  • Networks
  • News
  • Off Topic
  • Office 365
  • Peripherals
    • Monitors
  • Printers
    • Local Printers
    • Network Printers
  • Programming
    • Python
  • Riverbed
  • Security
  • Sharepoint
  • Social Media
  • Splunk
  • Storage
  • Switching & Routing
    • Cisco
    • Fortinet
  • Technology Culture
    • Opinion
  • Uncategorized
  • Virtualization
    • VEEAM
    • VMware
  • WAMP
  • Web Hosting
    • WHMCS
  • Website Design
  • Windows Server
    • Exchange 2003
    • Exchange 2010
    • Exchange 2013
    • Microsoft SQL
    • Windows Server 2003
    • Windows Server 2008 R2
    • Windows Server 2012
  • WordPress

Footer

Recent Activity

  • pings on Xerox Phaser 3635MFP Default Admin Username and Password
  • Xerox Phaser 3635MFP Default Admin Username and Password — danblee.com on About Dan B. Lee
  • Estudio Login | LOGINEGG on Toshiba E-Studio Default Administrator Username and Password
  • Estudio Login | LOGINSPENT on Toshiba E-Studio Default Administrator Username and Password
  • Estudio Login | CHARTLOGIN on Toshiba E-Studio Default Administrator Username and Password

Dan Lee

Dan B. Lee works at SyApps, LLC., a Managed Hosting Solutions Firm, as a Senior Network Engineer. Dan has a decade of IT experience and specializes in a number of different disciplines including Virtualization, Web Site Hosting and Design, Network Security, Data Center Architecture, Local and Remote Server Hosting, and Backup & DRS Solutions. Read More…

Links

  • Home
  • About Dan B. Lee
  • Ask Me
  • Privacy Policy

Copyright © 2021 · Genesis Child Theme on Genesis Framework · WordPress · Log in