STOWE VERMONT

I was sitting here thinking about how much I miss Stowe Vermont and how bad the snow count for this season 15/16 was up north. Stowe Vermont is a very magical place in northern Vermont that has one of the most desired ski resorts in the northeast(STOWE).

I love Stowe and it has a deep spot in my heart, I have so many memories of the place. Anyway I kind of wanted to pay a tribute to the resort and post some awesome pictures I found on the web. Hope you like it……………

STOWE03
STOWE04
STOWE05
STOWE06
STOWE07
STOWE08
STOWE01
STOWE02

C Code Learn – Open file write user input to it

Every once in a while I will get this urge to want to learn some C, C++. I am versed in Python and know my way around bash / Shell scripting like the back of my hand. But as always I am continuing to learn and self teaching myself is how learn the “BEST IS IS”.

Anyway let’s get to it, I wanted a program that would prompt a user for a sentence and then take that sentence and write it to a file, the program would have to create the file if it did not exist. Let me show you the code and attempt to break it down.

WeatherUnderground API fun – PYTHON

I started to play with web scraping in Python, this is pretty neat. I can grab an extended forecast from weatherunderground for any city and display this in my bash shell. This is just the tip of the iceberg, so much fun and capabilities.

Weather Code

Here is a sample of the raw JSON from the API request.

Puppet Enterprise Installation /bin/bash: bad interpreter: Permission denied

I thought I would write up a quick post in regards to installing PE and getting a BASH permission denied error.

information:bash: /tmp/pe-installer-ibqD7803/install/puppet-enterprise-installer: /bin/bash: bad interpreter: Permission denied

When using the enterprise installer from Puppet, I was able to get to the webpage and enter all the parameters. When I clicked deploy I was faced with the above error about the BASH interpreter. It turned out that I had NOEXEC permission on the /tmp directory. Once I changed this with the following command I was able to install PE.

To remove noexec:
mount -o remount,exec /tmp

To Put it Back:
mount -o remount,noexec /tmp

BASH Clear Semaphores Linux

Parse Nagios status.dat and send daily report

Rsync Market data from Multicast Collector To SAN – BASH

Here is a snippet from the log:

PYTHON AUTOMATED FTP SCRIPT Yesterday’s data

FInd Large Files Specified By Size Linux – BASH

You can execute this and get your results to stdout.

Confirm String exists in log file and is not stale longer than 600 seconds – PYTHON