Pascal Polleunus

Dec 18

Multiple calendars via Google Sync on Apple devices (iPhone, iPad, iPod Touch)

Requires iOS 3.0+

Everything is done on your device (iPhone, iPad, or iPod Touch)

Don’t forget to back up! Sync with iTunes/iCloud.

0. Delete the Gmail account (Settings › Mails, Contacts, Calendars › Gmail › Delete Account) 0. In Safari, go to [m.google.com/sync](http://m.google.com/sync) [Resource 1] [1] 0. Sign in 0. Select the most recent sync 0. Select the calendars you want to sync on your device 0. Save 0. (I don't think it's necessary but I rebooted my device to be sure) 0. Create an Exchange account (Settings › Mails, Contacts, Calendars › Add Account › Exchange) [Resource 2] [2] 0. Enter your email in email and username, and your password, leave domain blank. Tap Next. Tap Cancel if "Unable to Verify Certificate". 0. When "Server" field appears, enter "m.google.com". Tap Next.

Resources:

Jul 18

Eclipse installation and configuration on Ubuntu and OS X

Ubuntu Install

Reference: http://askubuntu.com/questions/47864/how-to-update-eclipse-3-5-2-to-3-6-2

Download http://www.eclipse.org/downloads/ » Eclipse Classic » Other Downloads » 3.6.2 » Platform Runtime Binary » eclipse-platform-3.6.2-linux-gtk-x86_64.tar.gz

Make a .deb package

As root

cd ~
mkdir eclipse-platform
apt-get install fakeroot dpkg-dev debhelper unp
unp eclipse-platform-3.6.2-linux-gtk-x86_64.tar.gz
mkdir -p eclipse-platform/usr/lib
mv eclipse eclipse-platform/usr/lib/
mkdir -p eclipse-platform/usr/bin

vi eclipse-platform/usr/bin/eclipse

#!/bin/sh

export UBUNTU_MENUPROXY=0
exec /usr/lib/eclipse/eclipse “$@”

chmod +x eclipse-platform/usr/bin/eclipse
mkdir -p eclipse-platform/usr/share/applications

vi eclipse-platform/usr/share/applications/eclipse.desktop

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Eclipse
Exec=eclipse
Terminal=false
Icon=/usr/lib/eclipse/icon.xpm
Comment=Eclipse Integrated Development Environment
Categories=Development;IDE;

mkdir eclipse-platform/DEBIAN

vi eclipse-platform/DEBIAN/control

Note: Replace maintainer’s name on line 4.

Package: eclipse-platform
Version: 3.6.2-1
Architecture: amd64
Maintainer: YourName
Depends: openjdk-6-jre | sun-java6-jre
Section: devel
Priority: optional
Description: Eclipse IDE, static-linked, minimal plugins.

fakeroot dpkg -b eclipse-platform eclipse-platform_3.6.2-1_amd64.deb
dpkg -i eclipse-platform_3.6.2-1_amd64.deb
rm -rf eclipse-platform*

OS X Install

Plug-ins

Launch Eclipse

Help » Install New Software   // Restart after each install

Configuration

OS X

Eclipse » Preferences » PyDev » Interpreter – Python

Jul 14

OS X: Keyboard shortcuts

OS X: Launch Terminal via a keyboard shortcut

Applications » Automator

  1. Choose “Services”
  2. On top-right: Service receives [no input] in [any application]
  3. Search for “Launch Application” on the left and drag it to the right
  4. On the right, select Terminal (in Other… » Utilities)
  5. File » Save and name it “Launch Terminal”

System Preferences

Keyboard » Keyboard Shortcuts

  1. On the left, select Services
  2. On the right, in General » Launch Terminal
  3. Double click on the right of the name (in the “invisible shortcut column”)
  4. Assign the key combinaison (I use Ctrl+Alt+Cmd+T)

Source in Mac Rumors’ Forum.

Jul 13

OS X: Lock the screen via a keyboard shortcut

Update: There’s actually a default shortcut: Ctrl+Shift+Eject.

What I did to undo what I did below:

  1. System Preferences: Keyboard » Keyboard Shortcuts » Uncheck “Start Screen Saver”
  2. Finder: Home » Library » Services » Delete “Start Screen Saver.workflow”

Read More

Apr 01

Our first Django application

Vv_blog
A double community website for 2 travel magazines:


Credits

Thank you for your collaboration!

Web Design: Be-Spicy
HTML Integration: MediaAndMe

Thank you also to Spice Up for their collaboration on the first PHP version ;-)