Skip to content

Instantly share code, notes, and snippets.

View abdul's full-sized avatar
🎯
Focusing

Abdul Qabiz abdul

🎯
Focusing
View GitHub Profile
@abdul
abdul / as2-fontlibrary.jsfl
Created March 10, 2015 06:36
Create <font>.swf using Flash IDE and JSFL
/**
_________________________________________________________________________________________________________________
Font Lib creator JSFL
@author Abdul Qabiz ([email protected])
@version 1.00 (7/13/2006)
@availability 7.0+
@usage a) Double-click to run or Run from Flash IDE's command menu.
@dependency - Requires fontlist.txt, that contains newline separated font-names.
<?php
// Youtube FLV Fetcher
// Responds to both HTTP GET and POST requests
// Author: Abdul Qabiz (abdul dot qabiz at gmail dot com)
//
// Description:Gets the path of FLV from YouTube URL
// Is it a POST or a GET?
if (isset($_GET['url']))
{
$url = $_GET['url'];
/**
* @class Base64
* @author Abdul Qabiz (http://www.abdulqabiz.com)
* @version 1.0
* @requires ActionScript 3.0 and Flash Player 8.5 (atleast)
*
* @credits Based on Aardwulf Systems'(www.aardwulf.com) Javascript implementation.
* (http://www.aardwulf.com/tutor/base64/base64.html)
*
**/

Keybase proof

I hereby claim:

  • I am abdul on github.
  • I am abdul (https://keybase.io/abdul) on keybase.
  • I have a public key whose fingerprint is 2AE0 8E56 51F5 B378 1F94 6C85 8229 D2D6 AB6B 9C23

To claim this, I am signing this object:

@abdul
abdul / .backupignore
Last active August 29, 2015 14:15
A rsync incremental backup script which backs all data on a non-bootable partition. This script doesn't delete anything on destination/target disk.
.Spotlight-*/
.DocumentRevisions-*/
.MobileBackups/
.Trashes
/afs/*
/automount/*
/cores/*
/dev/*
/Network/*
/private/tmp/*
@abdul
abdul / screen.md
Last active August 29, 2015 14:13

Set up screen

  1. docker run --detach --interactive --tty --privileged --net=host fedora /bin/bash
  2. docker attach $CONTAINER_ID
  3. yum install screen

Create screen session

  1. docker attach $CONTAINER_ID
  2. screen -S test
  3. Detach from screen
@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>
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 / 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