Archive for the ‘Others’ Category

Top BookMarking Sites

Save your important links online with top bookmarking sites……

1 | twitter
2 | digg.com
3 | Yahoo! Buzz
4 | tweetmeme.com
5 | StumbleUpon.com
6 | reddit.com
7 | Technorati.com
8 | del.icio.us
9 | kaboodle.com
10 | mixx.com
11 | Propeller.com
12 | newsvine.com
13 | Fark.com
14 | Slashdot.org
15 | twine.com
16 | clipmarks.com
17 | dzone.com
18 | faves.com
19 | blinklist.com
20 | diigo.com

Wildcard DNS – subdomain profile

A wildcard DNS record is a record in a DNS zone that will match requests for non-existent domain names. A wildcard DNS record is specified by  “*” as the left most label of a domain name, e.g. *.example.com.

DNS zone Entry

example.com. 86400 IN SOA example.com. hostmaster.example.com.
IN NS ns1.example.com.
IN NS ns2.example.com.
IN MX 10      mail.example.com.
IN A 192.168.1.1
mail A 192.168.1.1
ns1 A 192.168.1.1
ns2 A 10.0.0.2
*.example.com. A 192.168.1.1

.htaccess file:
<IfModule mod_rewrite.c>

RewriteCond %{HTTP_HOST} !^www\.example\.com
RewriteCond %{HTTP_HOST} ([^.]+)\.example\.com
RewriteRule ^$ profile.php?uid=%1

</IfModule>

Now if you want sandeepverma.example.com it will redirect to profile.php with uid=sandeepverma

Find Apache Document Root

solution: Find Apache Document Root

# grep -i 'DocumentRoot' httpd.conf

# find / -name httpd.conf
or
# locate
httpd.conf

(if file here /etc/httpd/conf/httpd.conf)

# grep -i 'DocumentRoot' /etc/httpd/conf/httpd.conf

solution: ffmpeg, libogg, libvorbis, freetype, gcc, faad2, faac

These are the basic tools/libs for video encoding:

sudo yum -y install \
SDL* glew glew-devel libmad-devel tre tre-devel \
libogg libogg-devel libvorbis libvorbis-devel \
boost boost-devel bzip2-devel bzip2-libs fribidi* \
lzo lzo-devel mysql-libs mysql-devel jasper jasper-devel \
faac faac-devel enca enca-devel hal hal-devel hal-libs \
cmake gperf nasm libXmu-devel fontconfig-devel \
freetype-devel libXinerama-devel pcre-devel gcc-c++ \
sqlite-devel curl-devel libsamplerate-devel libcdio-devel \
pulseaudio-libs-devel avahi-devel ffmpeg-devel libmad-devel \
a52dec-devel libdca faad2-devel libmpeg2-devel libass-devel \
libvorbis-devel libogg-devel libmpcdec-devel flac-devel \
wavpack-devel python-devel subversion

XML – SVG

Why XML?
*XML is a standardized format
* Can be read and written by most languages
* XML is human-readable (if written well)
* XML is flexible
* Can be altered with style sheets
* Transformations between different types of XML
* e.g. HTML table to chart
* Supports records, lists, and trees
* Plain text; platform independent

Why XML … Not
* Verbose and redundant
* Can be difficult to read
* Inefficient to parse, store, and transmit
* Parsers must deal with arbitrary levels of nesting and errors
* No concept of data types
* Hierarchical not relational

SVG: Scalable Vector Graphics
#A vector-based graphics format in XML
#Graphics consist of lines, shapes, colors (not pixels)
#Can be viewed by most modern browsers
#XML format, like HTML
#Can use JavaScript for animation / interactivity
#CSS for style

SVG Example

SVG example
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg">
<circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red"/>
<circle cx="200" cy="50" r="40" stroke="black" stroke-width="2" fill="green"/>
<circle cx="300" cy="50" r="40" stroke="black" stroke-width="2" fill="yellow"/>
</svg>

Output here:
traffic

SOAP vs REST

A set of functions that can be called remotely using HTTP
> Used by other programs and programmers
> Define functions and arguments
> Return data rather than a Web page

SOAP
REST
> Requires WSDL files to publish resources

> XML in request and response

> Developer needs to know the XML syntax for the service

> Uses Remote Procedure Calls (RPCs) over HTTP

> XML-wrapped RPC difficult to “sniff”

> Uses a URI to locate objects

> Passes method calls as GET parameters

> Uses well-known calls (GET, POST, PUT, DELETE)

> Uses plain HTTP

> Calls can be secured by the firewall or via certificates

doc2pdf – unoconv

Convert between any document format supported by OpenOffice :)

unoconv is a utility which can be used for can be used to convert any OpenOffice supported file to and from to other format…..


<code>/usr/bin/unoconv --server localhost --port 2002 --stdout -f pdf input.doc</code>

Reference:

http://dag.wieers.com/home-made/unoconv/

http://www.lampdeveloper.co.uk/tag/unoconv/

http://www.livedocx.com/

How To Linux

how-to-linux

how-to-linux

>> How To Linux
>> How to configure EC2 Scalr

Reference: http://www.how-to-linux.com/

svn

Stand-alone clients

Cornerstone – A GUI Subversion client for Mac OS X.
eSvn – cross-platform QT-based GUI frontend to Subversion
FSVS – fast subversion command-line client centered around software deployment
KDESvn – A Subversion client for KDE
QSvn – A cross-platform GUI Subversion client
RapidSVN – A cross-platform GUI front-end for Subversion
RSVN – Python script which allows multiple repository-side operations in a single, atomic transaction.
SmartSVN – A cross-platform GUI client for Subversion
Subcommander – A cross-platform Subversion GUI client including a visual text merge tool.
SvnX – A Mac OS X Panther GUI client.
Syncro SVN Client – Cross-platform graphical Subversion client.
Versions – A GUI Subversion client for Mac OS X.
WorkBench – Cross platform software development GUI built on Subversion written in Python
ZigVersion – a Subversion Interface for Mac OS X. Aims to design an interface around the typical workflows of programmers.

Desktop-integrated clients

Cascade – Cross-platform file system driver frontend to Subversion, both GUI and command line. Also provides other higher-level functionality.
KSvn – A Subversion client for KDE — a plugin for Konqueror
SCPlugin – Subversion integration for Mac OS X Finder
TortoiseSVN – A Subversion client, implemented as a windows shell extension

more here: http://subversion.tigris.org/

——————————————————————————————–

http://sig9.com/blogs
http://www.petefreitag.com/item/505.cfm
http://www.lasmovies.com/blog/
http://www.sephiroth.it/examples/firefox/extensions/flashtracer.xpi
http://drawlogic.com/2007/08/10/helpful-flash-debugging-tools/
http://www.rapleaf.com/
http://www.visual-blast.com/category/javascript/
http://dev.victorstanciu.ro/experimente/prototype-showcase/
http://www.piksite.com/carousel.us/carousel.us.php
http://www.ajaxrain.com/tag.php?tag=effects&page=3
http://blog.liip.ch/open-source/
http://www.psd2html.com/examples/
http://www.strategyandaction.com.au/slideshow/logogal.html
http://www.classycode.co.uk/CoverFlow/
http://www.linux-sxs.org/networking/openssh.putty.html
http://www.askapache.com/htaccess/apache-authentication-in-htaccess.html
http://xqus.com/archive/2005/02/19/regenerate-php-session-id (session regenerate)

——————————————————————————————

$POST_MAX_SIZE = ini_get(‘post_max_size’);
$mul = substr($POST_MAX_SIZE, -1);
$mul = ($mul == ‘M’ ? 1048576 : ($mul == ‘K’ ? 1024 : ($mul == ‘G’ ? 1073741824 : 1)));

Video Application

http://blog.kovyrin.net/2006/10/08/lighttpd-memcoder-flvtool-for-streaming/

http://www.flashinsider.com/2006/07/26/how-to-create-your-own-youtube-site/

http://blog.kovyrin.net/2006/10/14/flash-video-flv-streaming-nginx/

http://www.boutell.com/newfaq/creating/video.html

http://www.funnymonkey.com/diy-private-video-sharing

http://www.yvoschaap.com/youtube/   (YouTube Drag-Drop)

Next Page »