mafflog
random stuff for teh interwebs
  • About
  • Projects
  • Archives
Home » 2008 » September
Use PuTTY as Cygwin terminal

Use PuTTY as Cygwin terminal

September 29, 2008 · in Development, How-Tos

“Cygwin is a Linux-like environment for Windows.” This means, you can use linux/unix commandline tools like ls, grep and find on your Windows system. However, the default installation of Cygwin uses Windows’ default commandline terminal cmd.exe, which is not really handy. Fortunately, there’s a solution to use PuTTY as Cygwin terminal.

  1. Download and install Cygwin. The setup will download all needed packages, so make sure you check what you need (my main reason to install Cygwin was to have a Git client on Windows)
  2. Download PuTTYcyg and extract the contents of the archive anywhere on you hard drive
  3. Start putty.exe, select Cygterm as connection type and enter - (dash) as command. Enter a session name (e.g. cygwin) in the text field below Saved Sessions and click on Save.
  4. Create a shortcut to putty.exe. Right click the shortcut, select Properties and append the following string to the target field: -load "cygwin". Of course you have to replace cygwin with the name of the session you saved in PuTTYcyg.
  5. Open the shortcut and you should directly get into your Cygwin shell

Magento design resources

September 17, 2008 · in Development, Web

As the documentation on Magento is a bit…spread around the web: here’s a collection of links to guides and hints how to deal with magento’s templating system (partially german). I will add more as I find them.

  • Designer’s Guide to Magento
  • Designer’s Guide to Magento (PDF)
  • Theming Magento Commerce (many links are from there)
  • Designing for Magento
  • Magento folder structure
  • How to build a template with blocks
  • Add a new layout template
  • Change texts in locale file
  • List of available XML handles
  • Terminologie im Online-Shop Magento

Screencasts

  • Designing for Magento Webinar
  • Designer’s Guide: Creating Themes
  • Static Blocks
  • Layered Navigation
  • Landing Pages

Use VPN connections in network-manager-pptp without rebooting

September 17, 2008 · in How-Tos, Linux

When configuring VPN connections in Ubuntu through network-manager-pptp the connections don’t get displayed until a reboot due to a bug. In the bugtracker I found a solution which makes the connections available without a reboot.

First, restart dbus

sudo /etc/init.d/dbus restart

Then run the NetworkManager applet by opening a command window with ALT+F2 and typing in nm-applet.

IGNOREME

September 16, 2008 · in Fun, Web

Just found this in PvPGN‘s README :D

CONGRATULATIONS!!!!

WHY ?? BECAUSE YOU ARE ONE OF THE VERY VERY VERY FEW WHO READ THE README FILE!!

But because the other, huge percentage do NOT, we moved the actual contents 
of this file into IGNOREME file because the chances for most of the people to 
read IGNOREME are at least the chances to read README (more than that, we 
believe they are really much higher).

So now, go read IGNOREME with the actual contents what you would have 
expected here.

Raumbelegung Update

September 15, 2008 · in Development, Projects

Wieder ein Update für den Raumbelegungs-Webservice: das Webinterface wurde (zumindest für vernünftige Browser) zum Großteil webzweinulljqueryajaxifiziert ™. Außerdem gibts mittlerweile den Desktopclient in der aktualisierten Version für die neue Basis zum Download auf der Projektseite.

Note to self

September 10, 2008 · in General

Note to self: nicht hektisch zwischen Küche und Texteditor hin und her rennen – stresst nur und es kommt auf beiden Seiten nix vernünftiges raus. Btw: ich muss zurück in die Küche ;)

Neue Version des FH Kufstein Raumbelegungs-Webservice

September 9, 2008 · in Development, Projects

Ich hab mich mal wieder meinem Raumbelegungs-Webservice für die FH Kufstein gewidmet und das komplette System auf Basis des Zend Frameworks neu aufgebaut.

Resultat: der Code ist sauber und wartbar – das ZF nimmt einem einiges an Arbeit ab. Nur der Webservice hat einige Experimente gefordert, bis er mal lief. Ich habe übrigens nicht wie geplant Zend_Soap_Autodiscover eingesetzt, da ich damit kein funktionierendes Ergebnis hinbekommen habe. Im Endeffekt hab ich dann das WSDL-Dokument des alten Webservices kopiert und angepasst, war die einfachste Lösung und funktioniert.

Neuigkeiten:

  • Generelle Architektur basierend auf der MVC-Implementation des ZF
  • SOAP Webservice über Zend_Soap
  • Caching mittels Zend_Cache
  • Screenscraping mit simple_html_dom
  • Webclient mit einigen Änderungen beim URL-Handling

Mehr dazu auf der Projektseite.

Disable layout and view renderer in Zend Framework

September 5, 2008 · in Development

Just a quick tip: I’m working on a project using Zend Framework and needed to switch off layout and view renderer for a specific controller. This can be achieved by adding the following calls to the controller’s preDispatch() method:

public function preDispatch()
{
    $this->_helper->layout()->disableLayout(); 
    $this->_helper->viewRenderer->setNoRender(true);
}
Google Chrome

Google Chrome

September 2, 2008 · in General, Software, Web

Sieht sehr interessant aus, bin mal gespannt, wie das dann in Realität aussieht. Anscheinend soll die erste Beta für Windows heute noch rauskommen. Der Comic ist übrigens sehr anschaulich und interessant gestaltet und einen Blick wert.

Update: der Browser ist mittlerweile für Windows XP/Vista verfügbar. Habs mir gleich mal angesehen und bin durchaus positiv überrascht. Nach 15 Minuten testbrowsen kann ich nur sagen: der gesamte Browser ist sehr schnell, sei es beim Starten des Browsers selbst aber auch beim Rendern von Webseiten. Die Oberfläche ist gut gelungen und wirkt sehr aufgeräumt und auf das Nötigste beschränkt. Subtile Animationen lassen den Browser dabei sehr “flüssig” wirken. Interessant und gut umgesetzt finde ich den Downloadmanager mit Fortschrittsanzeige am unteren Browserrand und die Statuszeile, die nur bei Bedarf eingeblendet wird. Alleine die Tabs am oberen Rand sind vielleicht etwas gewöhnungsbedürftig, besonders im Vollbildmodus. Um Chrome wirklich einzusetzen fehlen mir diverse Features wie beispielsweise der “automatische Bildlauf” oder die Möglichkeit, URLs per Drag&Drop auf einen Tab zu öffnen, der Browser hat aber einiges an Potential und ich freu mich auf weitere Versionen.

github github github

Search

Categories

  • Android
  • Development
  • Fun
  • General
  • Hardware
  • How-Tos
  • Kitchen
  • Linux
  • No Comment
  • Projects
  • Server
  • Snippets
  • Software
  • Video
  • Web
  • Windows
  • Wordpress

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Copyright © 2008-2013 mafflog