Skip to main content

Home/ Perl/ Group items tagged useful

Rss Feed Group items tagged

Alberto Adrián Schiano

Using Expect.pm 2 managge unreliable programs - 0 views

  • here is a working example. This script shows 2 ways, one is saving the key to a file and reading it back in, the other, just hard codes the file contents into a variable. I tried a few things to avoid a temp file, but no luck. There is a Content type for the write, but it dosn't seem to work for scalar....it still writes a file.
  • Because PHP sucks: escape to Perl
  • How to Make Crypt::DSA use a your key to sign something
  • ...4 more annotations...
  • looking at a post by Sisyphus on comp.lang.perl. misc, it seems that you CAN use the numeric keys, like you tried in your original post. He showed a neat trick ( which I will have to explore further) where he reblessed the key data, and it works.
  • This node How to Make Crypt::DSA use a your key to sign something got me thinking about how to extend Crypt::DSA's potential, to make public and private keys, for signing verification. The script below, will verify 2 ways, once with scalars inside the script, and once from files. The generated sig, is actually binary, so note the base64 encoding of it, for attachment to emails, etc. I must thank sisyphus for the trick of reblessing a hash back into an object. This is the critical part of the script, where the public and private keys are generated. The docs for Crypt::DSA don't show how to separate them,( and you wouldn't want to be distributing your private key in the public PEM file. :-)
  • Note: This isn't really a Perl thing, but I'm using it for Perl scripts and it's too handy not to share
  • Expect.pm Test Program One The following test program runs the unreliable program twenty times. If the unreliable program takes longer than five seconds, the attempt to run it is terminated and the test program continues.
  •  
    Using Expect with perl - tips and references - simple examples as a starting
Alberto Adrián Schiano

Splint Manual-Security Programming Tests-Pruebas de Seguridad de Programas - 0 views

  •  
    Problems detected by Splint include: · Dereferencing a possibly null pointer (Section 2); · Using possibly undefined storage or returning storage that is not properly defined (Section 3); · Type mismatches, with greater precision and flexibility than provided by C compilers (Section 4.1-4.2); · Violations of information hiding (Section 4.3); · Memory management errors including uses of dangling references and memory leaks (Section 5); · Dangerous aliasing (Section 6); · Modifications and global variable uses that are inconsistent with specified interfaces (Section 7); · Problematic control flow such as likely infinite loops (Section 8.3.1), fall through cases or incomplete switches (Section 8.3.2), and suspicious statements (Section 8.4); · Buffer overflow vulnerabilities (Section 9); · Dangerous macro implementations or invocations (Section 11); and · Violations of customized naming conventions. (Section 12).
Rejeana Morrise

History of Jeans | Fashion Designer Jeans: History Of Blue Jeans - 0 views

  •  
    'Denim' is the modern replica of French serge de Nîmes, a 17th century twill-weave fabric made in Nîmes. Fustian Another European fabric. It is made from a cotton, linen and/or wool blend. Before blue jeans was considered blue jeans, it was known as 'jean' after Genoans, sailors from Italy, wore it. It was in 18th century when jeans was made entirely from cotton, through the slave labour, trade and and massive develpoment of cotton plantations and Frech tailors. It was valued for its durability. Indigo blue, extracted from plants in the Americas and India, became a familiar colour for workwear.\n\n1872: "It started in a letter". It started in 1872 when Jacob Davis gave send an letter Levi Strauss, Jacob Davis was then making riveted clothing for miners in the Reno area. Mr. Jacob Davis had no money to file for a patent and offered Levi Strauss a deal if he would pay for the patent. Levi Strauss, overwhelmed enough, began to make copper-riveted 'waist overalls', and so jeans virus spread widely in Reno and from there, to the whole world.\n\n1886: "Levi's Generation". In 1886, Levi's 'Two Horse Brand' leather patch, showing the garment pulled between two horses to prove its strength, was first used. By 1890 lot-numbers were being used for Levi products: 501 was assigned to copper-riveted overalls.
Alberto Adrián Schiano

del.icio.us import script: win32 binary now available | the institute of hybernautics - 0 views

  • del.icio.us import script: win32 binary now available
  •  
    a perl script to parse bookmarks.html and post it directly into your del.icio.us collection.
Alberto Adrián Schiano

Mastak Absolute Perl - 0 views

  • Mastak Absolute Perl is the unique tool for creating, editing and debugging Perl scripts and programs. Mastak Absolute Perl has intuitive interface and combines the ease of use with full featured development environment while using only small part of system resources. Mastak Absolute Perl features multiple document interface and syntax highlighting as well as web browser integration. Easy to use text editor and powerful Code Explorer together with ability to launch the integrated Perl interpreter and debugger both in editor window and in console allow the programmer to work fast and effectively. The software is highly configurable. You can set it up to use your favorite colors, fonts, macros, hot keys, files and folders MRU lists. The program remembers its previous state up to cursor position on re-launch. Mastak Absolute Perl supports all major Cyrillic encodings (including WIN1251, DOS866, ISO8859-5 and KOI8-R). The document encoding is automatically determined on file loading. The program has a simple FTP client built-in that allows fast uploads and downloads of CGI scripts to and from web servers. The built-in FTP client fully supports various Cyrillic encodings. Mastak Absolute Perl runs on the following operating systems: Microsoft Windows 95, 98, NT 4.0, 2000. The only requirement is that Microsoft Internet Explorer (version 4.0 or higher) should be installed on the machine.
  •  
    Another perl editor - freeware - no screenshots
    Otro editor de perl - gratis - no hay ilustraciones

Ali Safe

Aerial Access Work Platform - 1800 895 772 - 0 views

  •  
    Get here Work Platforms manufacturers, Aerial Work Platforms suppliers, Work Platforms Ladder exporters in Australia.Call us today to discuss you special platform requirements - CALL US 1800 895 772.
Alberto Adrián Schiano

CheckGmail - 0 views

  • CheckGmail is an alternative Gmail Notifier for Linux and other *nix systems. It is fast, secure and uses minimal bandwidth via the use of Atom feeds. CheckGmail is a system tray application that checks a Gmail account for new mail. When new mail is present the tray icon changes, an optional animated popup is displayed and a tooltip displays the number and details of new messages. Configuration is GUI-based and the application is designed to be simple, elegant and unobtrusive.
  •  
    A biff sort of gmail checker that uses RSS-atom to check for new emails- This is lighter than a biff client and simpler. Nice graphs.
Alberto Adrián Schiano

Perl for Perl Newbies - Lecture Series - 0 views

  • Perl is a useful language for working on Linux and other flavours of UNIX as well as on many other platforms where it is available (including the Palm Pilot ;-)). Perl is useful for text processing and generation, GUI programming, system administration, programming for the Web, working with databases, and most other things which are not very time sensitive.
Alberto Adrián Schiano

The ultimate Perl module list - 0 views

  • this is my list of modules which I use and recommend
  •  
    A list of preferable perl modules to use
    Una lista de modulos favoritos para usar

Alberto Adrián Schiano

Using the CRM114 Spam filter with BincIMAP and Thunderbird - 0 views

  • I use this set-up very successfully with the Thunderbird email client, on Windows and Linux
  •  
    a CRM email filter-classification system-
Alberto Adrián Schiano

Stepping up from XML::Simple to XML::LibXML - 0 views

  • f your XML parsing requirements can be boiled down to "slurp an XML file into a hash", then XML::Simple is very likely all you need. However, many people who start using XML::Simple continue to cling to the module even when their requirements have outgrown it. Most often, it's fear of the unknown that keeps them from 'stepping up'; to a more capable module. In this article, I'm going to attempt to dispel some of that fear by comparing using XML::LibXML to using XML::Simple.
Roy Jensen

Net::OpenSSH - search.cpan.org - 0 views

  • 3 - run ssh from the command line Check you can connect to the remote host using the same parameters you are passing to Net::OpenSSH. In particular, ensure that you are running ssh as the same local user. If you are running your script from a webserver, the user would probably be www, apache or something alike. Common problems are: Not having the remote host public key in the known_hosts file.
    • Roy Jensen
       
      The key must be paired with the host i the known_hosts file, that is how Net::OpenSSH uses public key authentication for SSH
  • run ssh from the command line Check you can connect to the remote host using the same parameters you are passing to Net::OpenSSH. In particular, ensure that you are running ssh as the same local user. If you are running your script from a webserver, the user would probably be www, apache or something alike. Common problems are: Not having the remote host public key in the known_hosts file. Wrong permissions for the ~/.ssh directory or its contents. Incorrect settings for public key authentication.
Alberto Adrián Schiano

My Toolbox - 0 views

  •  
    Interesting and useful perl modules Modulos perl interesantes y utiles
Alberto Adrián Schiano

GTK+ and Glade3 GUI Programming Tutorial - Part 1 - 0 views

  •  
    Glades builds an interface to use with any programming language! Glade arma un interfaz para usar con cualquier lenguaje de programacion!
Alberto Adrián Schiano

Bundle Perl XUL::Gui application - Stack Overflow - 2 views

  •  
    CPAN XUL::Gui module for using XULrunner to create graphical applications Modulo CPAN CUL::Gui para usar XULrunner para crear aplicaciiones graficas
Alberto Adrián Schiano

Damien Krotkine Curses::Toolkit modern toolkit for old school GUIs - YouTube - 0 views

  •  
    Curses Toolkit - A Toolkit similar to GTK that writes oo apps using Curses for terminals of any platform Curses Toolkit - Juego de herramientas similar a GTK para escribir aplicaciones oo con Curses para terminales de cualquier plataforma
Ali Safe

Climb towards success with only the most stable ladder - 0 views

  •  
    A custom platform is generally a re-design of a standard product and doesn't need to cost the earth as the word "custom" would imply. Give us a call on 1800 895 772 and see how simple it can be to create a custom platform for any scenario.
Ali Safe

How to Choose Truck Access Platform - 0 views

  •  
    Truck access platforms are widely used in a series of different industries, whether it comes to working at high heights or accessing problematic terrains. They are categorized by multiple criteria, while personal necessities represent the most important considerations.
Ali Safe

Scale Towards Achievement With Only The Most even Ladder - 0 views

  •  
    You can find customized versions of aluminum platforms in quite a few areas. Most prominently, you will be able to see them in general stores, used as support for shelf packers.
Alberto Adrián Schiano

APItools Docs! - 0 views

  •  
    Testing web APIs using this tool (see tutorial) Probando APIs web con esta herramienta (ver tutorial)
1 - 20 of 72 Next › Last »
Showing 20 items per page