how to join-split media files

I needed to join several flac files.

For this purpose I found shntool โ€“ very useful tool.ย  If you add flac library then everything works as expected.

steps:

  1. add shntool to windows folder
  2. add flac exe also to windows folder
  3. go to folder where you have flac files

joining flac files

shntool join -o flac *.flac

Advertisements

how to connect on share with specific user in windows

I am mainly working on Mac. If you want to connect to some share and want to log in as specific user (i.e. to see not only shared folders for guest, but also shared folder for logged in users) you can click on button Connect As in Finder and you are done.
How to do this in windows ?

net use z: \\192.168.1.1 /user:username password

if you don’t write password command window pops up and you can eneter it there.

You can delete the drive mapping letter (“z:”) and everything is working also.


OpenOffice having landscape and portrait in document

It is quite hard to find out how to have Landscape and Portrait size in one document, specially let say you want to have page 5 and 8 in Landscape and the rest in Portrait.

The solution is to create style which will do formating. There is one more option and it is “next style” so either keep it as default and next page will be back in Portrait (that is default style) or have next style in Landscape and the whole document will be in landscape.

To change just one page you have to do right click

  1. Click into the first paragraph where you want to change the page orientation.
  2. Choose Format – Paragraph.
  3. Click theText Flow tab.
  4. Under Breaks, enable Insert. Then enable With Page Style. Select a page style that uses the landscape or portrait page orientation.
    To change the orientation of the current page only, select a page style where the Next Style option is set to “Default”.
    To change the orientation of the current and subsequent pages, select a page style where the Next Style option is set to the name of the page style.
    If you want to change the page orientation later on in the document, repeat these steps for the first paragraph on the page.
  5. Click OK.

More you can find in OO help pages


Mio A701 & Leopard

Finaly I had some time to play with my “old phone” and connect it with my Leopard and use it as modem to get to the internet.

Here are steps:

  1. Search for bluetooth device. If you select Mobile Phone for some reason it will not find it. Choose Other Bluetoothe device and then it will find it.
  2. Select that you want use it to connect to internet.
  3. You can let it show you modem status in status bar
  4. Select phone number. I live in Czech and my carrier is Vodafone so I will put *99# as phone number and same as user, password can be empty.

Whoala and you can surf the net without any problem. Just wait for phone bill ๐Ÿ™‚

For windows:

  1. install activesync
  2. on Mio start Modem Link application
  3. Click activate and connect USB cable to windows
  4. It will show you new modem and would need driver, which is on Getting Started CD
  5. On modem properties in your Windows:
    1. Select your phone number *99#
    1. In the guide there is also some extra setting “+cgdcont=1,”IP”,”internet”,””,0,0″ in Extra initialization commands
  6. You are set

HOW-TO tortoise SVN

I like to use SVN and specially their client for Win XP TortoiseSVN. But still didn’t use all the functionality which it gives. Here is very nice tutorial done by BEA.

In Mac OS X I like the scplugin which looks similar as tortoiseSVN. And of course you can use Eclipse and their subversive or subclipse.

Because I didn’t know what is the difference between tagging and branching here some thoughts I have found:

  • tag:
    • you can name it as you want aka release_1.0
    • it will take snapshot of all files and their revision number
      • CVS will increase revision number for file(s) we are committing to repository, so we have to somehow keep information of all revision numbers of all files.
      • SVN A tag is just a โ€œsnapshotโ€ of a project in time. In Subversion, this idea already seems to be everywhere. Each repository revision is exactly thatโ€”a snapshot of the filesystem after each commit. Advantage of having tag command in SVN is that you can put name like release_1.1 instead of 673.
  • branch
    • when your software goes to production, tag it.
    • then you continue programing. But during time, customer finds some bugs. So what to do ? Just checkout on to some other folder your code but with revision/tag name release_1.0. You will get your code which customer has and you can repair it, commit it back to your “release_1.0” revision and delivered the build to customer
    • Next you will repair your code in your HEAD revision.
    • Branches allows you to work on code which was already delivered

juction – symbolic links in windows

Do you want to have symbolic links under windows?

Try this

Create sym link

  • junction.exe c:\aaa c:\install => this will create symbolic link c:\aaa which points to c:\install

Delete sym link

  • junction.exe -d c:\aaa

Total Commander Ultime Prime

TC UP (Total Commander Ultime Prime) is better total commander. It has already lots of plugins so you don’t have to install it manually.

It has also very nice skins and others little funny things.

This pack is done by polish “brothers” , so there is limited (which is growing) list of localizations. (of course Polish, english, czech,…)

You can download it from here

Screenshoots are here