7. Januar 2012 | Tags: apache, code, development, dns, domain, gtd, http, web
Auf meinem MacBook habe ich den Apache Webserver laufen1. Das an und für sich ist ja auch gar nichts schlimmes. Ich neige jedoch dazu, häufiger mal Dinge lokal auszuprobieren. Die Dinge die ich ausprobiere, sind dann immer hübsch ordentlich unter ~/Sites/webapp_a oder ~/Sites/wordpress_test_b, aber auf jeden Fall unterhalb des Site-Ordners in meinem Home-Verzeichnis.
Diese Ordner sind dann über etwas krude URLs wie http://localhost/~dennis/webapp_a/ mit dem Browser zu erreichen. Das ist erstens doof zu tippen und zweitens auch ein Problem, wenn man Dinge testen möchte, die darauf beruhen, eben nicht in einem Unterordner einer Site zu wohnen.
Das führte dazu, dass viel an /etc/hosts und dem DocumentRoot-Parameter der apache.conf rumgebaut wurde. Das macht mit zunehmender Ordner-Anzahl immer weniger Spaß.
Glücklicherweise gibt es aber Leute wie Sean Behan und Tim Pope die je eine Domain im DNS auf 127.0.0.1 auflösen lassen.
Das wiederum führt dazu, dass man seinen eigenen Computer unter http://smackaho.st/ und http://hexxie.com/ erreichen kann. Und da die beiden auch noch die Auflösung für *.hexxie.com und *.smackaho.st auf localhost zeigen lassen, kann man mit einer kleinen Anpassung der Apache-Config beliebige Subdomains auf dem eigenen Computer in beliebigen Verzeichnissen unter ~/Sites/ laufen lassen.
Einfach das hier in die Config einbauen2, den Apache neustarten und schon ist das Leben ein wenig leichter geworden:
<VirtualHost *:80>
VirtualDocumentRoot /Users/dennis/Sites/%1
ServerName automated_domains
ServerAlias *.hexxie.com
</VirtualHost>
Nun sind die obigen Beispiele unter http://webapp_a.hexxie.com und http://wordpress_test_b.hexxie.com zu erreichen. Einfach, elegant und äusserst praktisch.
(via: Kristóf Kovács)
25. Oktober 2011 | Tags: apple, applescript, automation, automator, avatar, bash, blog, browser, chrome, cli, code, computer, console, facebook, firefox, freebsd, geek, generator, git, grep, growl, gtd, hardware, html, http, image, iphone, linux, lion, log, mac, math, monitoring, network, notification, osx, photo, rss, safari, script, server, shell, shopping, static, Statistics, stick, sync, sysadmin, testing, theme, twitter, txt, usb, versioncontrol, visualization, web, webkit, website, windows, zsh
Meine pinboard.in-Links vom 8. Oktober bis zum 22. Oktober:
- Apple Store Refurb Tracker – provides different feeds enabling you to track apparition of new products on the Apple Store Refurb pages.
- Pinky – is a free portable web server.
- PieCrust – is a static website generator and lightweight CMS that’s all managed with text files. No complex setup, databases, or administrative panels.
- num-utils – are a set of programs for dealing with numbers from the Unix command line. Much like the other Unix command line utilities like grep, awk, sort, cut, etc. these utilities work on data from both standard in and data from files.
- Bashish – is a theme enviroment for text terminals. It can change colors, font, transparency and background image on a per-application basis. Additionally Bashish supports prompt changing on common shells such as bash, zsh and tcsh.
- Fake – is a new browser for Mac OS X that makes web automation simple. Fake allows you to drag discrete browser Actions into a graphical Workflow that can be run again and again without human interaction.
- Avatar Harmony – Synchronize your profile pics between Facebook, Twitter and Gravatar.
- git-dude – is a simple git desktop notifier. It monitors git repositories in current directory for new commits/branches/tags and shows desktop notification if anything new arrived.
- Private Eye – is a free network monitor for Mac OS X Lion
- bcat – pipe to browser utility
10. Oktober 2011 | Tags: apache, apple, audio, backup, bookmarklet, browser, cli, code, configuration, converter, deployment, diff, dvd, editor, encoding, evag, fahrplan, flash, gem, git, gtd, h.264, hardware, howto, html, http, ipad, iphone, java, last.fm, linux, lion, mac, macbook, markdown, mercurial, merge, mp3, music, mysql, öpnv, osx, plan, plugin, quicklook, restore, rip, ruby, shell, snippets, text, timemachine, txt, unix, utf8, versioncontrol, video, vim, visualization, vrr, web, windows, youtube
Meine pinboard.in-Links vom 17. September bis zum 5. Oktober:
- threesome – is a Vim plugin for resolving conflicts during three-way merges. It's designed to be used as a merge tool for version control systems like Mercurial and Git.
- efa – is a commandline client for the http://efa.vrr.de web interface. It can request itineraries for train/tram/bus connections throughout Germany, based on various parameters such as date/time, preferred train types and such. It is most useful inside the VRR, but works fine for the rest of Germany as well.
- Format Factory – is a multifunctional media converter for Windows.
- qlmarkdown – is a simple QuickLook generator for Markdown files.
- LastHistory – allows you to analyze music listening histories from Last.fm through an interactive visualization and to explore your own past by combining the music you listened to with your own photos and calendar entries.
- How to clean Apple products –
- Bookmarklets for text manipulation – Quickly create markdown links to current page with selected text.
- Mass Deploying Time Machine in Mac OS X Lion – The tmutil command allows administrators to enable Time Machine, make snapshots, kick off backups, delete snapshots, perform restores, configure options within Time Machine and, with a little scripting, build a centralized dashboard, pulling in Time Machine statistics from clients.
- boom – motherfucking text snippets on the command line.
- HOWTO Use UTF-8 Throughout Your Web Stack – You write web apps. You understand the web is global, and want to support internationalization. You want UTF-8.
22. August 2011 | Tags: apple, automation, bluetooth, boot, browser, chrome, code, cryptography, css, development, download, dvd, filesystem, firefox, firmware, gem, gnome, gtd, hash, html, http, ios, iphone, jailbreak, linux, lion, mac, md5, osx, plugin, portable, rack, rails, rename, ruby, server, sha1, shell, time, Tracking, unix, usb, versioncontrol, web, webdesign, webdevelopment, windows, wlan, Zeit
Meine pinboard.in-Links vom 3. August bis zum 16. August:
- checksum – is a blisteringly fast, no-nonsense file hashing application for Windows that generates and verifies SHA1 and MD5 hashes
- Web Developer Extension – adds various web developer tools to a browser. The extension is available for Firefox and Chrome, and will run on any platform that these browsers support including Windows, Mac OS X and Linux.
- renameutils – are a set of programs designed to make renaming of files faster and less cumbersome.
- Lion DiskMaker – is a small application programmed with AppleScript that you can use with Mac OS X 10.6 or 10.7 to burn a DVD or build a bootable USB key from Mac OS X Lion’s Installation programm.
- ipswDownloader – Simple app for downloading firmware for Apple iPhone / iPad / iPod Touch.
- LiveReload – monitors changes in the file system. As soon as you save a file, it is preprocessed as needed, and the browser is refreshed.
- LESS.app – extends CSS with variables, nested rules, operators and more. If you're still building websites without it, you're an idiot. This app makes it dead simple to use {Less} by automatically compiling *.less files into standard CSS.
- Project Hamster – is time tracking for individuals. It helps you to keep track on how much time you have spent during the day on activities you choose to track.
- ControlPlane – Using a number of configurable evidence sources, rules and actions you can reconfigure your Mac based on what you are doing, where you are at or the time of day. Set the office printer as your default printer while at work or start a set of apps once you’re home.
- pow – is a zero-config Rack server for Mac OS X
14. Juni 2011 | Tags: ajax, api, backup, bash, blog, css, documentation, exchange, firewall, fun, geek, git, gnome, gtd, html, http, imap, internet, links, linux, mac, mail, mail.app, mapi, markdown, markup, mbox, microsoft, mutt, osx, outlook, php, plugin, proxy, scroll, search, shell, shortcuts, shorturl, static, sysadmin, terminal, unix, visor, web, wiki, wordpress
Meine pinboard.in-Links vom 25. Mai bis zum 6. Juni:
- Squeaky – is a web proxy, in the spirit of a2 or PHProxy
- Archive – This free plugin extends Apple Mail with the archive feature that you know and love from MobileMe and Gmail.
- lesspipe – is an input filter for the pager less as described in its man page. The script runs under a ksh compliant shell (ksh, bash, zsh) and allows to view files with binary content, compressed files, archives and files contained in archives.
- YOURLS – is a small set of PHP scripts that will allow you to run your own URL shortening service (a la TinyURL). You can make it private or public, you can pick custom keyword URLs, it comes with its own API. You will love it.
- MFCMAPI – uses Microsoft's published APIs to provide access to MAPI stores through a graphical user interface. Its purpose is to facilitate investigation of Exchange and Outlook issues and to provide developers with a canonical sample for MAPI development.
- Markdoc – is a lightweight Markdown-based wiki system. It's been designed to allow you to create and manage wikis as quickly and easily as possible.
- SL – (Steam Locomotive) runs across your terminal when you type "sl" as you meant to type "ls". It's just a joke command, and not usefull at all.
- mairix – is a program for indexing and searching email messages stored in maildir, MH or mbox folders.
- Guake – is a top-down terminal for Gnome (in the style of Yakuake for KDE, Tilda or the terminal used in Quake).
- Infinite Scroll – Automatically append the next page of posts (via AJAX) to your page when a user scrolls to the bottom.
4. Mai 2011 | Tags: 2k, 7, backup, bash, bsd, code, color, crossplatform, cygwin, database, del.icio.us, desktop, dns, download, dropbox, exodus, filesharing, flickr, ftp, git, github, graph, gtd, http, internet, iphoto, java, keyboard, linux, mac, mail, mediathek, migration, monitoring, mysql, network, ntlm, organisation, osx, password, photo, photography, photos, pinboard, proxy, python, quicksilver, screenshot, shell, starter, sync, sysadmin, terminal, tv, unix, versioncontrol, video, vista, visualization, webserver, windows, xp
Meine pinboard.in-Links vom 8. April bis zum 30. April:
- flickrtouchr – A Python script to grab all your photos from Flickr and dump them into a directory, organized into folders by set name.
- Scrup – Take a screenshot in OS X and have a URL to the picture in your pasteboard a second later.
- SuprSetr – Advanced, cross-platform set management for your Flickr photosets.
- MediathekView – durchsucht die Online-Mediatheken verschiedener Sender lädt Beiträge mit einem Programm eigener Wahl und kann Themen als Abos anlegen und neue Beiträge automatisch herunterladen
- LSCOLORS Generator – Color generator for ls with preview
- DVCS-Autosync – A personal Dropbox replacement based on Git
- PasTmon – is a passive network traffic analyser that can measure user transaction response times of web, ftp, dns, irc, pop, mail, postgresql, and mysql database servers. You can even define your own signature rules to monitor custom TCP based applications.
- Enso Launcher – is designed to give you instant access to your applications and windows. With a few easily remembered keystrokes, you can launch an application, switch to a window by name, and control the state of your windows.
- Cntlm – is an NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy intended to help you break free from the chains of Microsoft proprietary world.
20. Januar 2011 | Tags: addressbook, analysis, api, bash, browser, code, datamining, development, ebook, edit, editor, game, gem, golf, howto, html, http, icinga, java, javascript, jruby, linux, mac, mail, math, microformats, monitoring, music, nagios, netiquette, osx, perl, plot, plugin, record, regexp, review, rfc, ruby, security, server, shell, socialweb, society, ssh, Statistics, sysadmin, testing, textedit, txt, unix, usenet, vcard, versioncontrol, vim, virtualization, visualization, web, web2.0, webapp, windows, writing
Meine pinboard.in-Links vom 5. Januar bis zum 15. Januar:
- RFC 1855: Netiquette Guidelines – This document provides a minimum set of guidelines for Network Etiquette (Netiquette) which organizations may take and adapt for their own use.
- Celerity – is a JRuby wrapper around HtmlUnit – a headless Java browser with JavaScript support. It provides a simple API for programmatic navigation through web applications.
- cucumber-nagios – lets you describe how a system should work in natural language, and outputs whether it does in the Nagios plugin format
- Traverso – Is an audio recording and editing program which is very well suited to record a single voice, a band, an ensemble, a whole orchestra or any other source of music
- VimGolf – Real Vim ninjas count every keystroke – do you?
- Ad Hoc Data Analysis From The Unix Command Line – Your friends: cat, find, grep, wc, cut, sort, uniq
- Free e-books for Windows administrators – This is a list of free e-books that are useful for Windows administrators. It will be regularly updated.
- Review Board – is a powerful web-based code review tool that offers developers an easy way to handle code reviews. It scales well from small projects to large companies and offers a variety of tools to take much of the stress and time out of the code review process.
- Shelf – is an app for MacOS that looks at the current foreground application, and tries to figure out if what you’re looking at corresponds to a person in your Address Book. Then it’ll tell you things about them.
- NanoCount – is a little utility for MacOS X. It provides a word count feature for TextEdit, OS X's built-in word processor.
1. Januar 2011 | Tags: 3d, animation, apache, bash, chat, clipboard, code, copy, editor, git, gmail, google, gtd, howto, html, http, irc, linux, log, mac, mail, mercurial, opengl, osx, paste, projectmanagement, ruby, screen, search, shell, sneakernet, solaris, svn, sync, testing, unix, usb, versioncontrol, vim, visualization, webserver, windows
Meine pinboard.in-Links vom 23. Dezember bis zum 1. Januar:
- Guide to using Screen and Irssi –
- logstalgia – is a website traffic visualization that replays or streams Apache web-server access logs as a pong-like battle between the web server and an never ending torrent of requests.
- gource – is a software version control visualization tool.
- The git pickaxe: finding changes was never easier – Wouldn't it be great if you could find all the changes to a line in your entire history? Sort of like git blame, but only for revisions that match some string.This is where git's pickaxe functionality comes in.
- ClipX – is a tiny clipboard history manager for windows. It is sweet, it is free, use it.
- Git sync via USB –
- Vmail – is a Vim interface to Gmail
- pit – is a command-line project manager that integrates with Git
- Cram – is a functional testing framework for command line applications based on Mercurial's unified test format.
25. August 2010 | Tags: 7, airport, amazon, api, audio, backup, cli, cloud, code, converter, desktop, documentation, editor, encoding, git, grid, gtd, h.264, howto, html, http, ide, internet, itunes, java, last.fm, mac, markdown, monitoring, mp3, mp4, organisation, osx, radio, ruby, s3, script, semantic, shell, simpledb, stream, textmate, txt, versioncontrol, video, vista, web, webserver, website, wiki, windows, xp
Meine delicious.com-Links vom 10. August bis zum 23. August:
- Simple Software – Open Source Tools – Very nice collection of handy scripts. Most of which are windows only…
- Using Git to manage a web site – The one-line summary: push into a remote repository that has a detached work tree, and a post-receive hook that runs "git checkout -f".
- How to use TextMate – Great overview with many links. Something to learn for every TextMate user.
- quillen – backs up your important documents or other data to your Amazon S3 and SimpleDB account.
- gollum – Gollum wikis are simply Git repositories that adhere to a specific format. Gollum pages may be written in a variety of formats and can be edited in a number of ways depending on your needs.
- lastfm-cli – is an interactive command-line & telnet interface to a last.fm account and last.fm audio streams.
- Hamster – Free Video converter with built in video player witch Supports Any Video Formats and Easy-to-Use!
- Gridy – adds an invisible grid to Windows, so that any window you move or resize is snapped to it.
- Time-Track-CLI – In the spirit of TODO.TXT, this little Tcl script will handle tracking how much time you spend on tasks throughout the day. All records are stored in a plain text file so you’re not dependent on anyone else’s format.
15. Januar 2010 | Tags: 7, apache, apple, bbc, clone, code, dhcp, download, fedora, filesharing, frontrow, ftp, growl, gtd, http, hulu, image, imap, internet, iphone, iplayer, linux, mac, mail, microsoft, netflix, nfs, notification, ntfs, osx, perl, php, prowl, push, pxe, software, softwareengineering, stream, sysadmin, tftp, tv, ubuntu, upload, video, vista, web, webserver, windows, xp, youtube
Meine delicious.com-Links vom 4. Januar bis zum 15. Januar:
- MAP, ACT, WAIK, MDT: Windows 7 im Netz verteilen mit Microsoft-Tools – Schöner Überblick über die von Microsoft bereitgestellten Werkzeuge für die Verteilung von und Migration auf Windows 7.
- FOG – is a Linux-based, free and open source computer imaging solution for Windows XP and Vista that ties together a few open-source tools with a php-based web interface. Fog doesn't use any boot disks, or CDs; everything is done via TFTP and PXE.
- understudy – allows access to streaming video through the Front Row interface of Mac OS X. The user can subscribe to multiple feeds, and select a video to watch from them. Understudy currently supports Hulu, Netflix, YouTube, and to some degree the BBC iPlayer.
- Software Is Hard –
- GhettoPush – A Perl implementation of IMAP push for the iPhone with generic IMAP servers.
- HFS – Nice looking HTTP-Fileserver for Windows.