Giter Site home page Giter Site logo

bob-walker's Introduction

bob-walker

An alternative to alphagov/vcloud-walker in various languages.

Background

While this might look like some kind of internet bullying, it's all in good fun and mostly sanctioned by the real namesake.

Our team happens to have a Ruby project which walks through the API of a VMWare vCloud instance showing the various objects, which is called vcloud-walker. By happy coincidence, one of our team is called bob walker. It was funny to knock up a quick bob-walker implementation in shell one day, but this project has grown into a place where our team can create educational, clever or funny implementations of the original shell script in our own time.

Usage

Awk

awk -f bob-walker.awk [-v sport=true]

Bash

./bob-walker.sh

Brainf--k (using this python interpreter)

# Normal mode
echo "0" | ../mindfuck/mindfuck.py bob-walker.fk
# Sport mode!
echo "1" | ../mindfuck/mindfuck.py bob-walker.fk

C

# To compile
gcc -o bob-walker bob-walker.c
# Normal mode
./bob-walker
# Sport mode!
BOB_MODE=SPORT ./bob-walker

Go

go run bob-walker.go

Linux character device driver

# Run this on a Linux box; example below is for Ubuntu
#
# Ensure linux-headers package is installed
sudo apt-get install linux-headers-$(uname -r)
# Build the kernel module
cd kernel-bob
make
# Load the module
sudo insmod bob-walker.ko
# Read kernel message buffer for your next instructions
dmesg

NASM Assembly

nasm -f macho bob-walker.asm
ld -o bob-walker -e main bob-walker.o -macosx_version_min 10.4
./bob-walker

Perl

./bob-walker.pl

Python

./bob-walker.py

QBasic (QB64)

Open bob-walker.bas using QB64 and hit F5.

To exit the endless loop, hit Ctrl + Break or Cmd + Q on a Mac. To create a binary executable, hit F11 in QB64.

bob-walker's People

Contributors

dcarley avatar mattbostock avatar mikepea avatar rjw1 avatar samjsharpe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.