Pascal's Blog

Python UCP Library (SMS)

  • Aug 30, 2008
  • PROJECTS
https://launchpad.net/ucplib EMI - UCP interface specification v4.6 with ucplib Setup First we need to import the UcpMsg form the library >>> from ucplib import UcpMsg General examples The SMT sends a message to the SMSC with text “hello” in the GSM 7-bit alphabet. Note that “hello” in ASCII has the same encoding. ‘49/00078/O/51/0031612345678/55555/////////////////3//68656C6C6F/////////////0D’ Specific types Type 01 messages Operation Alphanumeric message ‘Short Message’ to receiver 01234567890 from sender 09876543210

Solution for audio-video delay

  • Aug 22, 2008
  • POST
Today I watched a movie with VideoLAN but towards the end I encountered a problem I had several times before. The video and audio became asynchronous really badly. Knowing that VLC has functions to do almost anything, I decided to dig into the deep of the VLC preferences and I discovered what I searched. I found some Hot-keys which might be useful in this context: press: g to augment the audio delay press: f to decrease the audio delay If you watch movies with subtitles the following might be useful as well:

New ucplib for Python

  • Aug 19, 2008
  • POST
As part of my work re-factoring PySMS I decided to abstract some parts into separate libraries. The first victim of this is the UCP message parser and creator. Until now it was a bit of a bricolage. The functionality it had was very specific to the SMS Server and it was not easy to extend and not useful for general use so I decided to create ucplib. It is created from scratch as a general purpose UCP/EMI library and the aim is to provide all of the functionality demanded by the UCP/EMI specification v4.

Use SSH as SOCKSv5 Proxy to securely surf the web

  • Aug 17, 2008
  • POST
Many know that SSH offers the possibility to forward single ports over a secure connection. What many people don’t know is that SSH can work as SOCKSv5 proxy. This way you can securely surf the web from any public WLAN. ssh -D8080 username@my-server.ch This way you have a SOCKSv5 proxy on localhost:8080. You now need to configure Firefox to use this this as you proxy. One way to make your surf adventures even more secure is to tell Firefox to use your proxy for DNS queries to.

How to use VLC 0.8.x NetSync

  • Aug 17, 2008
  • POST
Update: The NetSync module seems not to be included in VLC 0.9.x! VLC the VideoLan Media Player has the ability to play sound synchronously on different machines. This module is called NetSync Unfortunately the documentation about this functionality is not very useful. I had to search several sources until I finally managed to get it working. I will provide a short tutorial here: The Server (Streaming Server) OS: Ubuntu IP: 192.

Bazaar Pro Engineer Helpers

  • Aug 16, 2008
  • PROJECTS
https://launchpad.net/bzr-proe What is Bazaar Pro/E Helper? The aim of this Project is to provide a set of tools to use the Bazaar VCS to handle PTC Pro Engineer CAD files. It currently has a utility (bzr proclean) to clean up and normalise a Pro/E Working directory to prepare it to be stored in Bazaar. Compatibility This plugin is tested with bazaar version up to 2.0.3 future version may work but there is no guarantee.

Use Django ORM as standalone

  • Aug 16, 2008
  • POST
Recently I had to write a tools which acts on data stored in a database managed by Django. As I didn’t want to implement the whole logic around the database I opted to use the Django ORM in my external tool. In an earlier version I used: import os os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' to configure Django with my settings.py. But recently I found a better solution in the excellentDjango Documentation.

How to get WPA with a Flybook A33i

  • Aug 16, 2008
  • POST
The Dialogue Flybook A33i is a nice device but one problem I had until now was the missing WPA support of the internal WM168 network device. But now I finally found a solution, it is based on informations if found here. A quick overview of what I did: You need Windows XP Service Pack 3 Deactivate your WLAN Card via button on the keyboard Download the Modified AVWLPUSB.

About me

  • Jan 1, 0001
  • OTHER
Hi my name is Pascal Bach I finished my master in micro-engineering at EPFL in spring 2011. My interests are mobile and embedded development as-well as computers in general.
Prev
LATESTS
NixOS on a MinnowBoard MAX and Turbot (serial console)
  • Nov 10, 2016
  • POST
Keep your docker clean
  • Nov 7, 2016
  • POST
From TCP to TLS in Go
  • Dec 17, 2015
  • POST
Configurable Yocto/OpenEmbedded recipes
  • Feb 14, 2015
  • POST
New Unison (2.40.102) builds available
  • Jun 5, 2013
  • POST
Using Cygwin SSH with Putty Pageant
  • Mar 11, 2011
  • POST
Use Zentyal Zarafa z-push with an N900
  • Oct 19, 2010
  • POST
Build Ubuntu/Debian packages from source (and apply a patch)
  • May 6, 2010
  • POST
Automatically start SCREEN on SSH login
  • Apr 30, 2010
  • POST
Bazaar Pro Engineer Helpers 0.3.0 Released
  • Jan 21, 2010
  • POST
CATEGORIES
  • development (15)
  • howtos (14)
  • experience (6)
  • projects (2)
  • yocto (1)
TAGS
  • python (9)
  • ucplib (5)
  • openmoko (4)
  • sms (4)
  • bzr (3)
  • proe (3)
  • ssh (3)
  • ubuntu (3)
  • vlc (3)
  • vmware (3)

© Pascal's Blog

Powered by Hugo.

Robust designed by Daisuke Tsuji.