stupid quotes

  • Ob ihr wirklich richtig steht, seht ihr, wenn das Licht ausgeht!

OSX: Most important key-shortcuts

general

CMD - left: home
CMD - right: right

finder

CMD - shift - G: Go to folder
CMD - K: Connect to server

Screenshot

cmd+shift+4
cmd+shitf+4 - Leertaste - Fenster anklicken
in Zwischenablage cmd+schift+ctrl+4

characters

\ - alt+shift+7
{ - alt + 8
} - alt + 9
[ - alt + 5
] - alt + 6
| - alt + 7
# - alt + 3
… - alt + .
~ - alt + n
© - alt + c
ß - alt + s
« alt + ,
» alt + shift + ,

excel

Zeilenumbruch in Zelle - ctrl+cmd+enter

Entry-Level Mac Tipps

Getting rid of messages like "Firefox is an application downloaded from the Internet. Are you sure you want to open it?"

sudo xattr -d -r com.apple.quarantine /Applications/Firefox.app/
sudo xattr -d -r com.apple.quarantine /Applications/Skype.app/

How to: twitter bootstrap css

Twitter provides a super powerful css-bootstrap file.

Here's a simple how-to that shows how to use it:

http://www.adobe.com/devnet/html5/articles/twitter-bootstrap.html

Make drupal accessible via webservice

Did I mention that drupal is great??

Needed to provide webservices to a drupal page. Look at this hillaryous module:

http://drupal.org/project/services

Some helpful sites to help implementing the services:

General overview: http://drupal.org/node/783254
Tutorials and examples: http://drupal.org/node/113697
Nice php-class with example: http://drupal.org/node/1070066
Creating a node: http://drupal.org/node/1354202

Other helpful links:
http://www.barnettech.com/content/drupal-7-create-user-using-rest-and-curl

geany learns drupal .. yay!

Geany now is able to recognize drupal core functions.
It helps a lot if the function helper shows up while typing.

How to:
http://www.mcdruid.co.uk/content/using-geany-as-an-editor-for-drupal-dev...

Drupal build custom forms

Till now I only used to work with the drupal form api in context of the admin interface.
I now realised how obvious it is to use it also for frontend developement.

    function mymod_login_form($form, &$form_state) {
      $form['#action'] = 'http://gocreative.ch/auth';
      $form['username'] = array(
        '#title' => 'Benutzername',
        '#type' => 'textfield',
        '#size' => 40,
      );
      $form['password'] = array(
        '#title' => 'Password',

Create a drupal-node by module

I recently had to implement functionality for a module to automatically import nodes from a XML-file of a foreign system. With this pages as references it turned out to be surprisingly easy:

http://drupal.org/node/1388922
http://drupal.org/node/201594

 

Too Cool for Internet Explorer