Tuesday 30 June 2009
How to install a webdav server in PHP
By keyphrene, Tuesday 30 June 2009 at 06:36 :: Webdav server in PHP
How to install a webdav server in PHP
Homepage | Go to the content | Go to the menu | Go to the search engine
Tuesday 30 June 2009
By keyphrene, Tuesday 30 June 2009 at 06:36 :: Webdav server in PHP
How to install a webdav server in PHP
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.
Sunday 11 January 2009
By keyphrene, Sunday 11 January 2009 at 11:03 :: FreeHD.gadget
Howto install Windows Sidebar on XP?
By keyphrene, Sunday 11 January 2009 at 11:01 :: FreeHD.gadget
Comment installer la Sidebar (Volet Windows) sur Windows XP?
Friday 24 October 2008
By keyphrene, Friday 24 October 2008 at 08:10 :: FreeHD.gadget
WebTV
WebRadio
FAQs
By keyphrene, Friday 24 October 2008 at 08:03 :: FreeHD.gadget
Trouver la liste des WebTV et des WebRadio FreeHD
Saturday 27 September 2008
By keyphrene, Saturday 27 September 2008 at 13:57 :: Org.keyphrene - 4Py
How to open a sftp connection and list a directory
Thursday 18 September 2008
By keyphrene, Thursday 18 September 2008 at 18:01 :: Org.keyphrene - 4Py
Transfert By SCP
Wednesday 17 September 2008
By keyphrene, Wednesday 17 September 2008 at 19:33 :: Org.keyphrene - 4Py
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
By keyphrene, Monday 18 August 2008 at 18:54 :: Synology
Freenautes, Vous possédez un Synology, vous pouvez le configurer pour avoir un magnétoscope.
Wednesday 3 May 2006
By keyphrene, Wednesday 3 May 2006 at 17:46 :: Org.keyphrene - 4Py
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
By keyphrene, Friday 28 April 2006 at 09:29 :: Org.keyphrene - 4Py
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