![]() | ||
| Weblog | ||
|
|
||
Version Control at it’s best
Recursive file search
dir *.doc -recurse | foreach-object -process { echo $_.Name; }
Loop through argument list of a script
myscript.ps1: Invoke the script with some random arguments:
The output looks like:
Simple if-statement
Your first script in PowershellAssumed you have successfully installed Windows Powershell on your computer you can start creating your first script. Here are the steps:
Want to have some Mac feeling on your PC?
How many VMs can be cascaded with VMWare?The question is: how many VMs can be installed inside each other. How deep is the tree of VMs? Hmm… anyone should check this out Syntax Highlight TestThis is a test for the new SyntHihol Plugin for source code highlighting written by Jay Tuley.
using System;
using System.Drawing.Imaging;namespace De.Speedesign.Graphics.Exif
{
public class ExifHelper
{
public static PropertyItem FindPropertyItemById(int exifFieldId, PropertyItem[] propertyItems)
{
foreach (PropertyItem pItem in propertyItems)
{
if (pItem.Id == exifFieldId)
{
return pItem;
}
}
throw new Exception("Item not found in given PropertyItem Array!");
}
}
}
Well I think it’s fairly nice but the text formatting is not what makes me satisfied. Perhaps I will give the good old pre-Tag a new chance
using System;
using System.Drawing.Imaging;namespace De.Speedesign.Graphics.Exif
{
public class ExifHelper
{
public static PropertyItem FindPropertyItemById(int exifFieldId, PropertyItem[] propertyItems)
{
foreach (PropertyItem pItem in propertyItems)
{
if (pItem.Id == exifFieldId)
{
return pItem;
}
}
throw new Exception("Item not found in given PropertyItem Array!");
}
}
}
First Steps in Windows Powershell
Yesterday I started playing around a bit with this new “Supertool”. But after only a few minutes I realized the new shell is a very good idea but lightyears away from comparable Unix Tools. I just wanted to craft a little script that executes some tools and after that pipes some new configuration into an existing file. But i began to stutter when I saw the existing “getting started” documents about Powershell. Well, the first contact with Powershell was not so amazing. Maybe we have to wait for some new good starting tutorials. Since I find the concept and ideas behind Powershell very interesting I will stay tuned for this topic… Links: A first look at Windows Vista
One word about hardware consumption of Windows Vista: my PC runs a P4 with 3.2 Ghz and Hyperthreading. It has 1GB of RAM and a 128 MB ATI X700 Graphics Adapter… and Vista runs very fine on it! After a fresh start it consumes about 450 MB of RAM (including some services started like Skype and my local Apache Webserver). Click here to view the Screenshot Gallery |
Suche im BlogKategorienPhotographie (40)Technologie (23) Programme & Tools (17) Speedesign (16) Design & Bildbearbeitung (15) Persönliches (15) Lichtmaler (13) Ausrüstung (9) Spass (8) Wordpress (7) Strobist-Studio (7) Entertainment (6) Freizeit (5) Snippets (5) Apple (5) Panorama (5) Entfesselt Blitzen (5) Software (5) Wettbewerbe (4) Photoshop (4) Wie bitte? (4) Desktop Wallpaper (4) Studio (2) Letzte KommentareAchim (Strobist-Studio: Blitzsystem)Hi. Also bei einem Cactus-System ist das ja egal. Da hast Du den Funksender auf der Kamera und für jeden Blitz einen Empfänger. Da kannst Du dann auch Typen mischen, weil die Blitze ja nicht mit ...
Claudia (Strobist-Studio: Blitzsystem)Wie sieht das denn aus, wenn ich einen Nikon SB-900 hab. Kann ich den als Master für so alte Blitze wie SB-20 verwenden?
Lg, Claudia
Rene (Mein Low-Budget Strobist Studio)Also ich denke die Größe kommt immer auf den Einsatzzweck an. Ich selber habe noch ein kleineres Studio eingerichtet, da ich allerdings hauptsächlich Produkt- und Portraitaufbahmen mache, ist di...
Achim (Strobist-Studio: Blitzsystem)Hallo Torsten,
genau so ist es. Entscheidender Unterschied: die Blitze sind komplett manuell zu steuern (also i.d.R. Reflektoreinstellung und Blitzleistung). Über die Funkauslöser wird nur das A...
Torsten (Strobist-Studio: Blitzsystem)Hallo, sehe ich das jetzt richtig, das der Funkauslöser Cactus Wireless Trigger V2s an stelle eines Blitzes auf die Kamera gesteckt wird und somit jede Kamera mit Blitzaufsatz nun mehrer Blitze tr...
| |
|
© 1999-2010 by speedesign.de - Alle Rechte vorbehalten powered by Wordpress und dem SitBackAndJoy-Theme v1.5 Theme Icons (Diagona Iconset) by pinvoke.com Entwickelt mit Eclipse auf einem Mac Danke an Nicole für die ehrliche und schonungslose Kritik. |
||