Skip to content

Instantly share code, notes, and snippets.

View timani's full-sized avatar

Timani Tunduwani timani

View GitHub Profile

Basic networking guide

Goal: Everything except Mobile Networks and Browser APIs and Protocols are concepts that are required

Pivotal Web Services (PWS) - Hosted/Managed PCF

Goal: Push, scale and add services to an application and experience what it is like to work with CF

Note: This is not a programming excercise but geared towards exposure to the product. No coding is required

#
import frontmatter, markdown
# Pivotal Cloud Foundry - Knowledge Base Section
section_id = 'XXXX'
# Load the markdown from the article
article = frontmatter.load('tests/hello-world.markdown')
# Extract the Zendesk Article ID
zd_article_id = post['zd_article_id']
@timani
timani / gist:e0ebb1c7fff493a976f22343033d9584
Last active January 14, 2017 00:14
Install Goaccess on ubuntu from source
apt-get update -y
apt-get install build-essential libgeoip-dev libncurses5-dev vim wget -y
wget http://tar.goaccess.io/goaccess-1.1.1.tar.gz
tar -xzvf goaccess-1.1.1.tar.gz
cd goaccess-1.1.1/
./configure --enable-geoip
make
make install
cat /var/log/rabbitmq-server/access.log* | goaccess > report.html
@timani
timani / 1_Dockerised_JMeter.md
Created December 3, 2016 19:43 — forked from hhcordero/1_Dockerised_JMeter.md
Dockerized JMeter - A Distributed Load Testing Workflow
tmunyaradzi:GSS tmunyaradzi$ mv ~/Downloads/terraform /usr/local/bin/
tmunyaradzi:GSS tmunyaradzi$ terraform
usage: terraform [--version] [--help] <command> [args]
The available commands for execution are listed below.
The most common, useful commands are shown first, followed by
less common or more advanced commands. If you're just getting
started with Terraform, stick with the common commands. For the
other commands, please read the help and docs before usage.
@timani
timani / README-Template.md
Created September 13, 2016 01:52 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisities

tmunyaradzi:hubot-tracker tmunyaradzi$ export NVM_DIR="$HOME/.nvm"
tmunyaradzi:hubot-tracker tmunyaradzi$ nvm
-bash: nvm: command not found
tmunyaradzi:hubot-tracker tmunyaradzi$ [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
tmunyaradzi:hubot-tracker tmunyaradzi$ nvm
Node Version Manager
Note: <version> refers to any version-like string nvm understands. This includes:
- full or partial version numbers, starting with an optional "v" (0.10, v0.1.2, v1)
@timani
timani / gist:9f1dbc4fe85642afc4f56d796583fefb
Created August 1, 2016 19:19
welcome message - Meetup discussion board
Hello and Welcome to the Cloud Foundry Developer Meetup for San Francisco/Bay Area
[b]Objective[/b]
This group is aimed at increasing education and developer advocacy for Cloud Foundry. We want to share ideas and experiences as well as best practices for developing cloud native applications.
Cloud Foundry supports a number of programming languages such as Python, Java, Go, Swift, PHP, Ruby, Perl to name a few and the goal is to explore use cases and best practices for as many as possible.
[b]Audience
[/b]
Hopefully we can get a good spread of people with various levels of experience building applications with Cloud Foundry all the way from novices to seasoned veterans who can help the new people get started.
# Exclude the Keys directory from version control
key*
tmunyaradzi:cf-release tmunyaradzi$ bosh upload release releases/cf-238.yml
Acting as user 'admin' on 'Bosh Lite Director'
Downloading from blobstore (id=f353a35e-3ba3-4cc0-b843-aafd0fcd4dd1)...
Downloading from blobstore (id=a17bfb99-2c0c-48e8-adcb-630e0da4c4f4)...
Downloading from blobstore (id=d7d121fc-e54a-487f-a608-63a2f34a0057)...
Downloading from blobstore (id=15a4e44c-b74c-4902-ab22-4b4c8ec4245d)...
Downloading from blobstore (id=08c2394f-d172-47d8-a609-3f56ce1c5abc)...
Downloading from blobstore (id=7bd50a93-b098-42b2-a674-d2dcc10078b1)...
Downloading from blobstore (id=f3aa3bf3-bb03-4285-bb47-5ccc22d84b24)...
Downloading from blobstore (id=17a04603-44b6-464e-9a2c-405f7f795702)...