background preloader

PROGRAMMING

Facebook Twitter

VBScript Scripting Techniques: Environment Variables. VBScript Scripting Techniques > Data > Environment Variables There are several ways to read or write environment variables: As directly accessing the registry is both risky and usually requires a reboot for the changes to take effect, I would not recommend using it, unless all other methods fail. WSH Shell Object Read Environment Variables Reading an environment variable is simple: Set wshShell = CreateObject( "WScript.Shell" ) WScript.Echo wshShell.ExpandEnvironmentStrings( "%PATHEXT%" ) wshShell = Nothing The output will look like this: The ExpandEnvironmentStrings method can expand environment variables embedded in a string too: Set wshShell = CreateObject( "WScript.Shell" ) WScript.Echo wshShell.ExpandEnvironmentStrings( "PATH=%PATH%" ) wshShell = Nothing The output will look like this (but probably longer): PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem Some environment variables are actually the result of two variables being merged.

TEMP=C:\DOCUME~1\You\LOCALS~1\Temp. Chap03. Integrating UCD and Agile methodologies. Development budgets often have limited funding for UX practices, especially with the rising cost and limited availability on the development front. This has led to the use of lightweight usability testing methods and the rapid movement toward agile usability engineering. In 2003, Jakob Nielson recommended that tech projects should spend around 10% of their total budget on product usability which is a major cost to take into consideration. Unfortunately cutting budget in agile UCD means costs and time constraints on UX practices which often means teams don’t have enough time to focus on design which can take a large knock on other aspects of the project. Author/Copyright holder: Wonderlane. Copyright terms and licence: CC BY-NC 2.0 The iterations between sprints is far too short and can often mean that usability testing is cut out completely for a particular sprint.

With UXers only being involved part time can mean that the team is working blind with very little information to work off. Expect - Expect - Home Page. This page describes Expect and several other tools that can be found at this site. First, Expect . . . Introduction Expect is a tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. Expect really makes this stuff trivial. Expect is also useful for testing these same applications. And by adding Tk, you can also wrap interactive applications in X11 GUIs. Expect can make easy all sorts of tasks that are prohibitively difficult with anything else.

More information on Expect is available in the following documents: Obtaining Expect for UNIX You can get Expect and the examples from its File manager at SourceForge. Gunzip expect.tar.gz tar -xvf expect.tar This will create a directory containing the Expect distribution. Note: Expect requires Tcl. The most current snapshots of Expect will be found in the SourceForge CVS repository. Not all old versions of Expect are available, but some are. Obtaining Expect for Windows Obtaining the examples History Books FAQs. Expect - Expect - Home Page. Io (langage) Un article de Wikipédia, l'encyclopédie libre. Pour les articles homonymes, voir Io. Io est un langage de programmation pur objet basé sur les prototypes et distribué sous licence BSD. Il a été créé en 2002 par Steve Dekorte. Lorsque Steve Dekorte imagina son langage, il le voulait léger, simple, multi-plateforme et facile à embarquer dans un autre programme. C'est ainsi qu'est né Io (dont le nom doit refléter sa simplicité).

Il s'inspire de différents langages tout en tirant parti de leurs qualités respectives : Io est un langage de script disposant de plusieurs extensions dans divers domaines tels que le chiffrement des données, la programmation réseau, le graphisme ou encore les bases de données. Io se décline sous trois machines virtuelles ce qui lui apporte une grande portabilité puisque celui-ci (comme tout langage interprété) peut être exécuté sous n'importe quelle architecture pour autant que la machine virtuelle soit disponible pour celle-ci.

"Bonjour tout le monde ! " Asynchronous I/O. Input and output (I/O) operations on a computer can be extremely slow compared to the processing of data. An I/O device can incorporate mechanical devices that must physically move, such as a hard drive seeking a track to read or write; this is often orders of magnitude slower than the switching of electric current. For example, during a disk operation that takes ten milliseconds to perform, a processor that is clocked at one gigahertz could have performed ten million instruction-processing cycles. A simple approach to I/O would be to start the access and then wait for it to complete. But such an approach (called synchronous I/O or blocking I/O) would block the progress of a program while the communication is in progress, leaving system resources idle.

Alternatively, it is possible to start the communication and then perform processing that does not require that the I/O has completed. Asynchronous I/O is used to improve throughput, latency, and/or responsiveness. Forms[edit] Process[edit] Javascript: Your New Overlord. Programmation. Erlang, partie 4 : la programmation concurrente. Programmation concurrente. L3 - ALGO. Equipe enseignante Cours: François Laroussinie (mercredi 10h30-12h30, amphi 12E) TD Groupe 1: Alberto Carraro (jeudi 14h30--16h30; 478F) TD Groupe 2: Sylvain Jacob (mardi 14h30--16h30; 473F) TD Groupe 3: Thu-Hien To (mardi 8h30--10h30; 470E) TD Groupe 4 (math-info): Pierre Aboulker (mardi 16h30--18h30; 376F) TD Groupe 5 (EIDD): Sylvain Perifel (vendredi 10h45--12h45; 056A Bât. Condorcet) Actualités Résultats de la sesion 2 : Les notes de la session 2 sont disponibles ICI. Programme Une version du polycopié est disponible ici.

Introduction, complexité Transparents du premier cours Arbres binaires de recherche (algorithmes de base + analyse de complexité dans le pire cas et en moyenne) Un programme Java pour les ABR Arbres binaires de recherche équilibrés Un programme Java pour les AVL (ajout et recherche) Introduction aux graphes; parcours en largeur; parcours en profondeur; recherche d'extension linéaire. Examen et contrôle des connaissances Sujets des TD. Python School.

Club des développeurs Python : actualités, cours, tutoriels, faq, sources, forum. XML Elements. Android Development: Do You Know Your Options? Nowadays everyone wants to be an Android developer. Android applications can be built in many programming languages. Some users are familiar with web programming (HTML5/CSS/JS/Ruby.. ) some others are very much familiar with software programming (Java) or Game or Flash programming(AS3) etc.

Today I am going to introduce you about different platforms which you can use them to develop applications for an Android. Java Programming This is one of the familiar, and preferred, ways to develop for an Android using Java. PhoneGap PhoneGap is an open source, cross platform JavaScript framework where JavaScript developers can build native applications using HTML, CSS, and JavaScript.

Sencha Touch Sencha Touch is a free JavaScript mobile framework which allows you to build appliaction for touch devices. jQuery Mobile RHOMobile RHOMobile supports all Smartphones and is best suited for Ruby developers. Titanium Mobile Corona Corona SDK is very powerful when creating complex games! Adobe AIR Adobe Flex Flixel.

W3Schools Online Web Tutorials. UNIX/LINUX script examples, rules. Scripting rules Scripts: commands in files A program or command is executed by typing the name, with any inputs after it. A file with commands in it may be executed the same way, if it has execute permission (chmod u+x file or chmod 700 file.) These are called scripts. Lines in the file are run as if they were typed at the keyboard. There are a few extra commands that are only useful in scripts: The echo UNIX command prints all of it's inputs to the screen, with a space between them.

The second echo has two inputs: "a b c" and d. To keep echo on the same line, use the -n option: Input/Parameters Inputs are "numbered" $1, $2, $3, ... . $0 is the command name. $# is the number of parameters, and is made automatically when you run a script. $@ is a short-cut for $1 $2 $3 ... . Variables You can make your own variables just by picking a name. This is different from many computer languages, when it is obvious you are using a variable (examples: =, for a in, read a) leave out the $. Ifs and tests. Programmation.