![]() | ||
| Weblog | ||
|
|
||
First public Release of PhotoImporter
Download PhotoImporter 0.3 here
Requirements: Microsoft .NET Framework 2.0 Cool Tool: Copy Source As HTML
After a little search in the web I found a cool tool for Visual Studio Developers: CopySourceAsHtml (CSAH)! With this Add-On available for both Visual Studio 2003 & 2005 you can grab the code directly from within the Visual Studio editor and paste it as HTML into the source code view of your blog editor. The Add-On has several config options to make it suite your needs. For me this is the best (and most stable) solution for publishing my source code snippets on the web. Maybe you have a better one? Tell me in your comments… You can get the tool here: Create an MD5 sum of a string
Use this little static method to create an MD5 hash from a string instance: /// <summary> /// Create an md5 sum string of this string /// </summary> /// <param name=”str”>the input string</param> /// <returns>the md5 hash of the input string</returns> static private string GetMd5Sum(string str) { // First we need to convert the string into bytes, which // means using a text encoder. Encoder enc = System.Text.Encoding.Unicode.GetEncoder();
// Create a buffer large enough to hold the string byte[] unicodeText = new byte[str.Length * 2]; enc.GetBytes(str.ToCharArray(), 0, str.Length, unicodeText, 0, true);
// Now that we have a byte array we can ask the CSP to hash it MD5 md5 = new MD5CryptoServiceProvider(); byte[] result = md5.ComputeHash(unicodeText);
// Build the final string by converting each byte // into hex and appending it to a StringBuilder StringBuilder sb = new StringBuilder(); for (int i=0;i<result.Length;i++) { sb.Append(result[i].ToString(“X2″)); }
// And return it return sb.ToString(); } Rock & Rule
without words… Enable Visual Styles on Windows 2003 ServerWhy? Imagine you have a development system (in my case on a VMWare Virtual Machine) based on Windows 2003 Server (don’t ask why I have a server OS for developing applications First Screenshots of my new tool: PhotoImporter
Using Get-Member for learning PowershellOne of the most powerful commands for learning-by-doing users is Get-Member. This command dumps out the members of the different object types that come out from several CmdLets.
With this command you get all members of
A little trap in using operatorsYesterday I ran into an ugly trap on Powershell. I tried to concat two strings directly in an echo statement but the result was somewhat confusing:
But then I remembered the good old times of Bash Shellscripts
Ed & Fred
Illy Espresso
|
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. |
||