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

Tuesday 30 June 2009

How to install a webdav server in PHP

How to install a webdav server in PHP

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

Sunday 11 January 2009

Sidebar on Windows XP

Howto install Windows Sidebar on XP?

Read the following

Sidebar sur Windows XP

Comment installer la Sidebar (Volet Windows) sur Windows XP?

Read the following

Friday 24 October 2008

FreeHD WebRadio and WebTV list

WebTV

  • ABC News English
  • BBC World English
  • Bloomberg English
  • CNN English
  • France24 English
  • LCN English
  • Sky News 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
  • Thriller TV English
  • BigPond Sport English
  • Boardriders TV 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
  • HighTV English
  • BFM TV French
  • Bloomberg French
  • France24 French
  • LCI French
  • LCP French
  • MCM French
  • NRJ Dance French
  • NRJ Groove French
  • NRJ Paris French
  • NRJ Pop Rock French
  • NRJ hits French
  • Soleil TV Antilles French
  • TMF French
  • AB Moteurs French
  • Orange Sport French
  • Canal Savoir French
  • Liberty TV French
  • Sciences TV French
  • C9television French
  • Calais TV French
  • Cap 24 French
  • Clap TV French
  • Kto French
  • La locale French
  • Orleans TV French
  • TSR French
  • Tele 102 French
  • Tele Grenoble French
  • Tele Lyon Metropole French
  • Tele Miroir French
  • Tele essonne French
  • Telenight French
  • 2DF Deutch Deutch
  • Medizin TV Deutch
  • Bahn TV Deutch
  • Campus TV Deutch
  • Holland Documentary Netherland
  • KRO Netherland
  • Museum TV Netherland
  • TeleAc Netherland
  • CNN Plus Spain
  • Olelo Community Spain
  • EuroSport Russian
  • Kultura TV Russian

WebRadio

  • 94.7 FM English
  • Best Country 103 English
  • CD 101 English
  • Classic KBAQ English
  • KBKS English
  • BFM French
  • Europe 1 French
  • France Info French
  • France Inter French
  • France culture French
  • RMC French
  • RTL French
  • Ado French
  • Chérie FM French
  • Contact French
  • Europe 2 French
  • FG French
  • FIP French
  • France Musique French
  • Frequence 3 French
  • Fun Radio French
  • Generation FM French
  • Le Mouv French
  • MTI French
  • NRJ French
  • Nostalgie French
  • Oui FM French
  • RFM French
  • RTL2 French
  • Radio Neo French
  • Radio Nova French
  • Rire et chansons French
  • Skyrock French
  • TSF Jazz French
  • Vibration French
  • Virgin French
  • Voltage French

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

Saturday 27 September 2008

SFTP

How to open a sftp connection and list a directory

Read the following

Thursday 18 September 2008

SCP

Transfert By SCP

Read the following

Wednesday 17 September 2008

SSH

A simple connection

import socket
from org.keyphrene import SSH2
# or 
# from ssh4py import SSH2
 
 
HOSTNAME = "127.0.0.1"
PORT = 22
LOGIN = "login"
PWD = "password"
 
 
# A simple connection
 
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect((HOSTNAME, PORT))
sock.setblocking(1)
 
ssh = SSH2.Session()
ssh.setBanner(SSH2.DEFAULT_BANNER+" Python (http://www.keyphrene.com/projects/org.keyphrene)")
ssh.startup(sock)
ssh.setPassword(LOGIN, PWD)
 
# here, your operations
 
# Execute
channel = ssh.Channel()
channel.execute("echo test")
while 1:
 data = channel.read(1024)
 if not data: break
 print data
channel.close()
 
# Open a terminal
channel = ssh.Channel()
channel.pty("xterm", "", 0, 80, 24)
channel.shell()
channel.setBlocking(1)
# ...
channel.close()
 
ssh.close()

Monday 18 August 2008

Magnetoscope freebox sur Synology DS107+

Freenautes, Vous possédez un Synology, vous pouvez le configurer pour avoir un magnétoscope.

Read the following

Wednesday 3 May 2006

Winnet - Only win32

How to get the DNS server list

from org.keyphrene import winnet
 
print winnet.getNetworkParams()

Result:

{'DnsServerList': '127.0.0.1', 'Domain': 'keyphrene.com', 'Hostname': 'your-XXXXXX'}

Friday 28 April 2006

Digest & HMAC

Digest

from org.keyphrene.crypto import Digest, HMAC
 
########
# SHA 1
d = Digest("sha1")
print "SHA1 Size: %d" % d.get_size()
d.update("naja")
print "SHA1: %s" % d.digest()
 
 
########
# MD5 1
d = Digest("md5")
print "MD5 Size: %d" % d.get_size()
d.update("naja")
print "MD5: %s" % d.digest()

List of Digests: sha, sha1, md5, md4, md2, mdc2, rmd160

HMAC

from org.keyphrene.crypto import Digest, HMAC
 
key = "a key"
digestmod = "md5"
hmac = HMAC(key, digestmod)
hmac.update("your data")
print hmac.final()

List of digestmod: md5, sha, sha1