'Linux' Category

  • Install AWS Elastic Beanstalk CLI in Vagrant

    October 15, 2016

    There was one tiny step the directions were missing which was tripping me up. This assumes Vagrant 1.8.4. 1. Confirm your python version. 2. Install pythond-dev. 3. Install pip if you don’t have it. 4. Edit bashrc: vi ~/.bashrc 5. At the end of the file add: PATH=~/.local/bin:$PATH 6. Reload .barshrc: . ~/.bashrc 7. Test […]

  • Microsoft Azure and Laravel 5.1 from Scratch

    February 16, 2016

    While most people use AWS, I like to use Azure and there’s just not a lot of information relating Azure and Laravel, so figured this might be useful for others. This assumes a level of comfort with Linux and Azure. Login: https://portal.azure.com/# Click on Virtual machines (classic) and search for Ubuntu. My preference has always […]

  • Use of undefined constant CURL_HTTP_VERSION_1_1 – assumed ‘CURL_HTTP_VERSION_1_1’

    August 29, 2015

    I was getting this problem even though I did have curl installed. However, I forgot to restart apache. To install curl: apt-get install php5-curl To restart Apache2: service apache2 restart   ~david

  • Using git to push and pull repositories.

    March 18, 2015

    I’ve been trying to get more proficient with git and figured the only way to do that is to get my hands dirty and write some simple app(s) and push them to a production server. There are my notes, mainly for me to help me remember how this stuff works. The very first time you […]

  • Connecting to AWS MySQL Server

    May 30, 2014

    I thought I had setup my connection setting correctly, but kept coming up with this error specially because of the SSH tunnel: Long Message: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. Details:    Type: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException    SQL […]

  • Playing around with Twitter API using Tweepy

    December 31, 2010

    Yes, this is the kind of stuff I find myself doing when I’m bored.  Just a quick tutorial on using the Twitter python library called Tweepy.  Examples include authentication, print your statuses, and print your mentions. First, you need to authenticate using OAuth as simple authentication has been disabled by Twitter.  I will not repeat […]

  • Rolled My Ankle

    November 22, 2008

    :( ~david

  • Moving away from PHP 4 to PHP 5

    August 6, 2008

    So, by default the good folks at 1and1 give you support for php 3-5, however 4 is the default. So, recently one of the plugins I use in my site upgraded to php 5 which forced me to continue using an older version. However, since I’m always a big sponsor of upgrade to the latest […]

  • Sun buys MySQL

    January 16, 2008

    Well, this pretty much sums it up. Sun Microsystems has just purchased MySQL which is interesting considering how much Sun has pushed for PostgreSQL the past. Oh well, we shall see how it goes, MySQL has some issues which need to be addressed and hopefully this move helps MySQL more than helps Sun. ~david PS: […]

  • FreePBX and a Cisco 7940 Phone

    May 24, 2006

    So, it has been months since I posted something technical on my website. For the most part it has been music stuff as well as general updates on the overall infrastructure of the site. However, for the past month or so I’ve been working on getting a Cisco SIP phone working with FreePBX. However, the problem was that I was not able to receive inbound calls.

    This was the not so descriptive error:

        -- Called 2000 
    ; my sip extension
        -- Got SIP response 400 "Bad Request" back from 
    ; sip reply
        -- SIP/2000-7b88 is circuit-busy 
    ; this cause the call to go straight to VM

    Looking at the logs and googling for weeks on the problem, it was possible that the problem was the following:

        -- Executing NoOp("Zap/1-1", "Using CallerID 
    ""LastName FirstName   "" <11234567890>") in new stack

    Please note the double quotes around my name.

Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org