Sunday, January 25, 2015

Appify

appify — create the simplest possible Mac app from a shell script
https://gist.github.com/mathiasbynens/674099#!/bin/bash

if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <
appify v3.0.1 for Mac OS X - http://mths.be/appify
Creates the simplest possible Mac app from a shell script.
Appify takes a shell script as its first argument:
`basename "$0"` my-script.sh
Note that you cannot rename appified apps. If you want to give your app
a custom name, use the second argument:
`basename "$0"` my-script.sh "My App"
Copyright (c) Thomas Aylott
Modified by Mathias Bynens
EOF
exit; fi
 
APPNAME=${2:-$(basename "$1" ".sh")}
DIR="$APPNAME.app/Contents/MacOS"
 
if [ -a "$APPNAME.app" ]; then
echo "$PWD/$APPNAME.app already exists :("
exit 1
fi
 
mkdir -p "$DIR"
cp "$1" "$DIR/$APPNAME"
chmod +x "$DIR/$APPNAME"
 
echo "$PWD/$APPNAME.app"

Wednesday, July 03, 2013

Reinventing Copper

Today, for broadband access technology everybody talking which is the better technologies for wireless.. LTE, TD-LTE, FD-LTE, LTE-Advance, but soon it will be SHIFT to wireline, because nonetheless, the speed and bandwidth battle is always won by the Cable Broadbad. 

There are two different medium for wireline access fiber or copper. For greenfield deployment fiber technology such as PON is the best solution. But... big telco provider tend to use existing twisted copper investment while gradually deploy their fiber network, how much copper technology can deliver the speed?  following graphic is the answer.


With VDSL2 as the base line, bonding is like bundling two pair of cable to get more bandwidth. headphone.While DSL Phantom Mode technology is a bit of magic for the copper network. It creates a third (phantom or virtual) channel over 2 regular copper pairs. Vectoring is canceling crosstalk between two pair of copper, the idea is same like noise-canceling technology in your headphone.



And the state of the-art-technology is ITU-T pre-standard, G.Fast. The main requirement of this standard is to achieve high peak rate 500 Mb/s at 100 m.  By combining VDSL+, bonding, phantom-mode, vectoring and G.Fast its field-proven we can achieve more than 1 Gb/s at 70 m.


Friday, August 03, 2012

High Availability Network-Level Redudancy

• IEEE 802.3ah Ethernet In The First Mile
• BFD
• MC-LAG, MC-APS, ML-PPP
• MC-RING
• G.8032 Ethernet Ring Protection
• ECMP
• MPLS FRR
• (hot) standby secondary LSP’s
• VRRP
• SRRP
• tweak IGP timers
• ‘overload on boot’ flag
• tweaks in BGP (next-hop and peer tracking, multiple RD for same  address…)
• PW status bits
• ICB (inter-chassis backup)
• MAC-flush in VPLS