Skip to content

Instantly share code, notes, and snippets.

View abdul's full-sized avatar
🎯
Focusing

Abdul Qabiz abdul

🎯
Focusing
View GitHub Profile
#!/usr/bin/env python
import gevent.monkey
gevent.monkey.patch_all()
import boto
import config
import gevent
import gevent.pool
import os
#!/bin/bash -ex
# Git bootstrap
sudo apt-get update
sudo apt-get install -y git-core
# Nise BOSH
git clone https://github.com/nttlabs/nise_bosh.git
(
cd nise_bosh
## Prepare ###################################################################
# Remove RVM
rvm implode
# Ensure your homebrew is working properly and up to date
brew doctor
brew update
## Install ###################################################################
@abdul
abdul / redis-server
Created December 17, 2013 09:54 — forked from tessro/redis-server
#!/bin/sh
#
# redis - this script starts and stops the redis-server daemon
#
# chkconfig: - 85 15
# description: Redis is a persistent key-value database
# processname: redis-server
# config: /etc/redis/redis.conf
# config: /etc/sysconfig/redis
# pidfile: /var/run/redis.pid
FROM ubuntu:12.04
MAINTAINER Nicolas BERNARD <[email protected]>
# Ruby
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3173AA6
RUN echo deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu precise main > /etc/apt/sources.list.d/brightbox.list
# NodeJS (Assets pipeline)
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C7917B12
RUN echo deb http://ppa.launchpad.net/chris-lea/node.js/ubuntu precise main > /etc/apt/sources.list.d/nodejs.list

Using Yeoman and Jade

Getting started

  • Make sure you have yo installed: npm install -g yo
  • Run: yo webapp
  • Install grunt-contrib-jade: npm install grunt-contrib-jade --save-dev

Customization

@abdul
abdul / mspdebug
Created February 27, 2014 11:23 — forked from sudar/mspdebug
sudar@sudar-desktop:~/code/watch/openchronos-ng-modular$ mspdebug rf2500
MSPDebug version 0.18 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2011 Daniel Beer <[email protected]>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Trying to open interface 1 on 002
rf2500: warning: can't detach kernel driver: No data available
Initializing FET...
FET protocol version is 30001000
To get started with Docker/Marathon/Mesos, you need to install a
new Mesos, a new Marathon, and Deimos, the bridge to Docker.
You'll also need Docker and the JVM. These instructions are for
Ubuntu 13.10.
## Install Mesos prerequisites
:; sudo apt-get update
:; sudo apt-get install zookeeperd default-jre python-setuptools python-protobuf curl pip
## Install a custom build of Mesos, build from this branch:
@abdul
abdul / ElectronicDIYOnlineStoresIndia
Last active August 29, 2015 14:03
Online Store (e-commerce shops) for Electronic Components, Kits (Arudino, MSP, PIC, etc), boards, breakout boards, tools, robotics, and more.
Online Store (e-commerce) Sites for Electronic Components, Kits (Arudino, MSP, PIC, etc), and more.
- <http://rhydolabz.com>
- <http://protocentral.com>
- <http://nex-robotics.com>
- <http://simplelabs.co.in>
- <http://store.explorelabs.com>
- <http://potentiallabs.com>
- <http://www.mgsuperlabs.co.in>
- <http://robokits.co.in/shop>