Homepage | Go to the content | Go to the menu | Go to the search engine

Thursday 30 December 2010

Introduction to the Windows Shell

Introduction to the Windows Shell (DOS)

Read the following

How to create a thumbnail from a video with a DOS script and ffmpeg

How to create a thumbnail from a video with a DOS script and FFMPEG

Read the following

Thursday 15 July 2010

Time Left Format Shell function

Time Left Format Shell function (Tutorial Shell function)

Read the following

Filename Format DOS function

Get filename with different format. Split filename (Tutorial DOS function)

Read the following

IsDir DOS function

Detect if your pathname is a directory. (Tutorial DOS function)

Read the following

Randomize DOS function

Randomize DOS function. (Tutorial DOS function)

Read the following

Friday 25 June 2010

Wake On Lan chez Free

Wake On Lan chez Free, réveiller votre ordinateur depuis internet.

Read the following

Thursday 10 June 2010

How to archive the most recent directories

How to archive the most recent directories. (Tutorial Shell Unix)

Read the following

Saturday 20 February 2010

How to archive the most recent files

How to archive the most recent files. (Tutorial Shell Unix)

Read the following

Thursday 7 January 2010

authenticate method in PHP

<?
# Author: Vincent JAULIN
 
// function to parse the http auth header
function http_digest_parse($txt)
{
    // protect against missing data
    $needed_parts = array('nonce'=>1, 'nc'=>1, 'cnonce'=>1, 'qop'=>1, 'username'=>1, 'uri'=>1, 'response'=>1);
    $data = array();
 
    preg_match_all('@(\w+)=([\'"]?)([%a-zA-Z0-9=./\_-]+)\2@', $txt, $matches, PREG_SET_ORDER);
 
    foreach ($matches as $m) {
        $data[$m[1]] = $m[3];
        unset($needed_parts[$m[1]]);
    }
 
    return $needed_parts ? false : $data;
}
 
function AuthenticationDigestHTTP($realm, $users, $phpcgi=0) {
	if (empty($_SERVER['PHP_AUTH_DIGEST']) && empty($_SERVER['REDIRECT_REMOTE_USER'])){
		header('HTTP/1.1 401 Unauthorized');
		header('WWW-Authenticate: Digest realm="'.$realm.'" qop="auth" nonce="'.uniqid(rand(), true).'" opaque="'.md5($realm).'"');
		die('401 Unauthorized');
	}
	// analyze the PHP_AUTH_DIGEST variable
	$auth = $_SERVER['PHP_AUTH_DIGEST'];
	if ($phpcgi == 1) {
		$auth = $_SERVER['REDIRECT_REMOTE_USER'];
	}
	$data = http_digest_parse($auth);
	if (!array_key_exists($data['username'], $users)) {
		header('HTTP/1.1 401 Unauthorized');
		die('401 Unauthorized');
	}
		
	// generate the valid response
	$A1 = md5($data['username'] . ':' . $realm . ':' . $users[$data['username']]);
	$A2 = md5($_SERVER['REQUEST_METHOD'].':'.$data['uri']);
	$valid_response = md5($A1.':'.$data['nonce'].':'.$data['nc'].':'.$data['cnonce'].':'.$data['qop'].':'.$A2);
	
	if ($data['response'] != $valid_response) {
		header('HTTP/1.1 401 Unauthorized');
		die('401 Unauthorized');
	}
	return TRUE;
}
 
function AuthenticationBasicHTTP($realm, $users, $phpcgi=0) {
	if (empty($_SERVER['PHP_AUTH_USER']) && empty($_SERVER['REDIRECT_REMOTE_USER'])) {
		header('WWW-Authenticate: Basic realm="'.$realm.'"');
		header('HTTP/1.0 401 Unauthorized');
		die('401 Unauthorized');
	}
	
	$user = $_SERVER['PHP_AUTH_USER'];
	if ($phpcgi == 1) {		
		$matches = explode(' ', $_SERVER['REDIRECT_REMOTE_USER']);
		list($name, $password) = explode(':', base64_decode($matches[1]));
		$_SERVER['PHP_AUTH_USER'] = $user = strip_tags($name);
		$_SERVER['PHP_AUTH_PW']    = strip_tags($password);
	}
 
	if (array_key_exists($user, $users) && $users[$user] == $_SERVER['PHP_AUTH_PW'] ){
		return TRUE;
	}
 
	header('WWW-Authenticate: Basic realm="'.$realm.'"');
	header('HTTP/1.0 401 Unauthorized');
	die('401 Unauthorized');
	return FALSE;
}
 
 
 
?>

TAGS : Script PHP authentication Digest Basic for Webdav

Thursday 10 December 2009

KetchupTV User Manual

Ketchup TV is a mini-player that will allow you to view various online TV and radio stations. You can load your own playlists. KetchupTV has a Podcasts Service with trailers, news, and others contents..

Operating System

Windows XP, Vista, Seven

Download Area

KetchupTV 1.0.2.0 on Keyphrene.com

Patch

Copy directly in Ketchup installation folder

KetchupTV 1.0.1.0 sur Keyphrene.com

Prerequisite

For Windows XP: Framework .Net.
.Net Framework is maybe installed.

Screenshots




Installation

Launch setup

Quick start

Configuration

You must click on this button .

Click on Options, You can configure your folders and your playlists.

Use it

After configuration, You can load your playlists with this button .

  • Default Playlist
  • WebTV
  • WebRadio
  • Your movies
  • Your musics
  • Your Podcasts
Shortcuts
  • Load default Playlist F1
  • Load Web TV F2
  • Load Web Radio F3
  • Load Movies F4
  • Load Musics F5
  • Load Podcasts F6
  • Open avi file ... Ctrl+O
  • Open m3u file ... Ctrl+Shift+O
  • Open stream... Ctrl+Shift+S
  • Start - Pause Ctrl+P
  • Stop S, Ctrl+S
  • Previous AltGr+Left
  • Next AltGr+Right
  • Advance Ctrl+Right
  • Rewind Ctrl+Left
  • Jump to Specific Time Ctrl+T
  • Mute Ctrl+M
  • Increase Volume Ctrl+Up
  • Decrease Volume Ctrl+Down
  • Fullscreen Ctrl+F
  • Fullscreen out Escape
  • Always on Top Ctrl+A
  • Size Ctrl+R
  • Default size Ctrl+F1
  • Intermediate size Ctrl+F2
  • Quit Alt+F4

Podcast Service

Click on button and discover Podcasts Area.

  • Youtube
  • Trailers
  • News
  • Games
  • and others contents


M3U Files and FAI Playlist

  • TPG: http://www.keyphrene.com/products/widgets/playlists/tpg_au.m3u (Australian: website)

FAQs

  • How to add a WebRadio or a WebTV in playlist?
    • Try your URL with VLC and send me this URL via this address support

Changelog

  • 2009/12/24 Ketchup TV 1.0.2.0
  • 2009/12/12 Ketchup TV 1.0.1.0
  • 2009/12/06 Ketchup TV 1.0.0.0
  • 2009/12/05 Ketchup TV 1.0.0.0 RC3
  • 2009/11/25 Ketchup TV 1.0.0.0 RC2
  • 2009/11/22 Ketchup TV 1.0.0.0 RC1

Keywords: Ketchup TV, TV, catch-up, catch up, WebRadio, WebTV, Box, Freebox, SFR Box, LiveBox, BBox

Wednesday 25 November 2009

KetchupTV Présentation

KetchupTV vous permet de regarder les chaines et radios de votre box (Freebox, SFR Box, LiveBox, BBox) et d'Internet (WebTV, WebRadio, Podcasts).

Read the following

Thursday 27 August 2009

How to install a webdav server in PHP

How to install a webdav server in PHP

Read the following

Sunday 19 July 2009

FreeHD WebRadio and WebTV list

WebTV (119 TV)

  • ABC News English
  • BBC World English
  • Bloomberg English
  • CNN English
  • CNN Inside Africa English
  • France24 English
  • NBC 4 English
  • Sky News English
  • Alernative Music TV English
  • Bigpond Music TV English
  • Dance TV English
  • E-Music English
  • GMNT Gospel English
  • INTV Jamaica English
  • JCTV English
  • Mezz Live English
  • Play TV English
  • Urban TV English
  • ABC Kids English
  • AFTV Adventure English
  • AFTV Cartoons English
  • AFTV Comedy English
  • AFTV Crime English
  • AFTV Drama English
  • AFTV Horror English
  • AFTV SF English
  • AFTV Westerns English
  • Moovee English
  • Thriller TV English
  • BigPond Sport English
  • Boardriders TV English
  • Combat TV English
  • ESPN English
  • ESPN Racing English
  • Euro Sport English
  • MLB Baseball Channel English
  • NHL Network English
  • Discovery Science Channel English
  • NASA Education English
  • NASA TV English
  • Research channel English
  • Wild Life Channel English
  • Cartoons English
  • HSN English
  • HighTV English
  • Mesa Arizona Local TV English
  • BFM TV French
  • Bloomberg French
  • Direct 8 French
  • Euro News French
  • France 3 Auvergne French
  • France24 French
  • LCI French
  • LCN French
  • LCP French
  • LabelleTV French
  • Mulivan French
  • NRJ Dance French
  • NRJ Groove French
  • NRJ Paris French
  • NRJ Pop Rock French
  • NRJ hits French
  • Soleil TV Antilles French
  • TMF French
  • NickelOdeon French
  • TooWam French
  • Zouzous French
  • Orange Sport French
  • Canal Savoir French
  • Liberty TV French
  • Sciences TV French
  • Accro TV French
  • Amphis TV French
  • Biosphere TV French
  • C9television French
  • Calais TV French
  • Cap 24 French
  • Clap TV French
  • Inraci French
  • Kto French
  • La locale French
  • Net Gamming TV French
  • Orleans TV French
  • TSR French
  • TV SF French
  • Tele 102 French
  • Tele Grenoble French
  • Tele Lyon Metropole French
  • Tele Miroir French
  • Tele essonne French
  • Telenight French
  • Video Click French
  • 2DF Deutch German
  • GIGA TV German
  • Medizin TV German
  • Bahn TV German
  • Campus TV German
  • Tros Sterren Netherland
  • Holland Documentary Netherland
  • KRO Netherland
  • Museum TV Netherland
  • TeleAc Netherland
  • AllMusic Italian
  • RTL TV Italian
  • CNN Plus Spanish
  • KissTV Spanish
  • Olelo Community Spanish
  • EuroSport Russian
  • Kultura TV Russian
  • CNBC Awaaz India
  • 9X Music India
  • 9X TV India
  • MTV India
  • Sony TV India
  • B4U Movies India
  • NDTV Imagine India
  • Set Max India
  • Star Plus India
  • MAD TV No country name

WebRadio (51 radio)

  • BBC Radio 1 English
  • BFBS Radio 1 English
  • OneXtra English
  • 2CR FM English
  • 94.7 FM English
  • Best Country 103 English
  • CD 101 English
  • Classic KBAQ English
  • KBKS English
  • Wave 105 English
  • BFM French
  • Europe 1 French
  • France Bleu Gironde French
  • France Info French
  • France Inter French
  • France culture French
  • RMC French
  • RTL French
  • Ado French
  • Cherie FM French
  • Contact French
  • Contact Story French
  • Europe 2 French
  • FG French
  • FIP French
  • France Bleu Nord French
  • France Musique French
  • Frequence 3 French
  • Fun Radio French
  • Generation FM French
  • Le Mouv French
  • MTI French
  • NRJ French
  • Nostalgie French
  • Nostalgie 80 French
  • Oui FM French
  • RFM French
  • RFM Party 80 French
  • RTL2 French
  • Radio NTi French
  • Radio Neo French
  • Radio Nova French
  • Rire et chansons French
  • Skyrock French
  • TSF Jazz French
  • Vibration French
  • Virgin French
  • Voltage French
  • X-Stream 80 French
  • Grupo Radio Centro - El Fonógrafo Canal 115 AM Spanish
  • Uno Radio Group - SalSoul Stream Audio Spanish

FAQs

  • How to add a WebRadio or a WebTV in playlist?
    • Try your URL with VLC and send me this URL via this address support

Listes WebTV et WebRadio FreeHD

Trouver la liste des WebTV et des WebRadio FreeHD

Read the following

Monday 13 July 2009

Introduction to the Unix Shell

Introduction to the Unix Shell

Read the following

Friday 26 June 2009

VI Shortcuts

This reference guide to the vi editor presents the majority of vi commands and keys

Read the following

Merge your Postscript file with Sed and Awk

When you wish merge your Postscript files via cat command, some printers break printing after the first page. This shell script sanitize your postscript file after merge with cat command in three steps.

  • Get file header
  • Get all pages between %%Page: and %%PageTrailer
  • Add footer %%Trailer
FILEPS=file.ps
FILEMERGE=file_merge.ps
# Merge your postscript files
cat file1.ps file2.ps file3.ps > $FILEPS
 
# Sanitize your Poscript file
sed '/^%%Page:/,$d'  $FILEPS  > $FILEMERGE
awk '/%%Page:/,/%%PageTrailer/'  $FILEPS >> $FILEMERGE
echo -e '%%Trailer\n%%EOF' >> $FILEMERGE

Friday 8 May 2009

FreeHD Gadget

Watch WebTV and WebRadios on your Windows Sidebar. Switch Fullscreen, schedule your recordings. Use the Drag & Drop to play your media. FreeHD use VLC activeX. You can use your own playlist.

Read the following

FreeHD Gadget Vista

FreeHD vous permet de regarder les chaines et radios de votre FreeboxHD et d'Internet (WebTV, WebRadio, Podcasts) sur votre volet Windows. D'un click vous passez en mode Fullscreen et programmez vos enregistrements. Utilisez le Drag&Drop pour lire vos médias.

Read the following