Thursday 15 July 2010
Time Left Format Shell function
By keyphrene, Thursday 15 July 2010 at 06:50 :: Shell Unix
Time Left Format Shell function (Tutorial Shell function)
Homepage | Go to the content | Go to the menu | Go to the search engine
Thursday 15 July 2010
By keyphrene, Thursday 15 July 2010 at 06:50 :: Shell Unix
Time Left Format Shell function (Tutorial Shell function)
By keyphrene, Thursday 15 July 2010 at 06:50 :: Shell Windows
Get filename with different format. Split filename (Tutorial DOS function)
By keyphrene, Thursday 15 July 2010 at 06:47 :: Shell Windows
Detect if your pathname is a directory. (Tutorial DOS function)
By keyphrene, Thursday 15 July 2010 at 06:44 :: Shell Windows
Randomize DOS function. (Tutorial DOS function)
Saturday 10 July 2010
By keyphrene, Saturday 10 July 2010 at 07:01 :: Shell Windows
How to create a thumbnail from a video with a DOS script and FFMPEG
Friday 25 June 2010
By keyphrene, Friday 25 June 2010 at 07:11 :: Freebox
Wake On Lan chez Free, réveiller votre ordinateur depuis internet.
Thursday 10 June 2010
By keyphrene, Thursday 10 June 2010 at 11:47 :: Org.keyphrene - 4Py
How to archive the most recent directories. (Tutorial Shell Unix)
Saturday 20 February 2010
By keyphrene, Saturday 20 February 2010 at 11:36 :: Shell Unix
How to archive the most recent files. (Tutorial Shell Unix)
Thursday 7 January 2010
By keyphrene, Thursday 7 January 2010 at 17:37 :: Webdav server 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
By keyphrene, Thursday 10 December 2009 at 13:45 :: KetchupTV
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..
Windows XP, Vista, Seven
Copy directly in Ketchup installation folder
KetchupTV 1.0.1.0 sur Keyphrene.comFor Windows XP: Framework .Net.
.Net Framework is maybe installed.




Launch setup
You must click on this button
.

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

After configuration, You can load your playlists with this button
.
Click on button
and discover Podcasts Area.


Keywords: Ketchup TV, TV, catch-up, catch up, WebRadio, WebTV, Box, Freebox, SFR Box, LiveBox, BBox
Wednesday 25 November 2009
By keyphrene, Wednesday 25 November 2009 at 16:16 :: KetchupTV
KetchupTV vous permet de regarder les chaines et radios de votre box (Freebox, SFR Box, LiveBox, BBox) et d'Internet (WebTV, WebRadio, Podcasts).
Thursday 27 August 2009
By keyphrene, Thursday 27 August 2009 at 08:51 :: Webdav server in PHP
How to install a webdav server in PHP
Saturday 8 August 2009
By keyphrene, Saturday 8 August 2009 at 20:57 :: Shell Windows
Introduction to the Windows Shell (DOS)
Sunday 19 July 2009
By keyphrene, Sunday 19 July 2009 at 20:15 :: FreeHD.gadget
WebTV (119 TV)
WebRadio (51 radio)
FAQs
By keyphrene, Sunday 19 July 2009 at 20:12 :: FreeHD.gadget
Trouver la liste des WebTV et des WebRadio FreeHD
Monday 13 July 2009
By keyphrene, Monday 13 July 2009 at 06:59 :: Shell Unix
Introduction to the Unix Shell
Friday 26 June 2009
By keyphrene, Friday 26 June 2009 at 11:58 :: Shell Unix
This reference guide to the vi editor presents the majority of vi commands and keys
By keyphrene, Friday 26 June 2009 at 09:42 :: Shell Unix
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.
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
By keyphrene, Friday 8 May 2009 at 20:47 :: 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.
By keyphrene, Friday 8 May 2009 at 20:45 :: FreeHD.gadget
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.